code: func (c *Cluster) RemoveNode(input string, force bool) error {
  	return c.lockedManagerAction(func(ctx context.Context, state nodeState) error {
  		node, err := getNode(ctx, state.controlClient, input)
  		if err != nil {
  			return err
  		}
  
  		_, err = state.controlClient.RemoveNode(ctx, &swarmapi.RemoveNodeRequest{NodeID: node.ID, Force: force})
  		return err
  	})
  }
docs: // RemoveNode removes a node from a cluster