code: func (c *Cluster) Inspect() (types.Swarm, error) {
  	var swarm types.Swarm
  	if err := c.lockedManagerAction(func(ctx context.Context, state nodeState) error {
  		s, err := c.inspect(ctx, state)
  		if err != nil {
  			return err
  		}
  		swarm = s
  		return nil
  	}); err != nil {
  		return types.Swarm{}, err
  	}
  	return swarm, nil
  }
docs: // Inspect retrieves the configuration properties of a managed swarm cluster.