code: func (c *Cluster) GetConfig(input string) (types.Config, error) {
  	var config *swarmapi.Config
  
  	if err := c.lockedManagerAction(func(ctx context.Context, state nodeState) error {
  		s, err := getConfig(ctx, state.controlClient, input)
  		if err != nil {
  			return err
  		}
  		config = s
  		return nil
  	}); err != nil {
  		return types.Config{}, err
  	}
  	return convert.ConfigFromGRPC(config), nil
  }
docs: // GetConfig returns a config from a managed swarm cluster