Documentation ¶ Index ¶ type Client func (c Client) Client(string) (client.Client, error) func (c Client) Service(name string) (*swarm.Service, error) func (Client) Update(client.Config) error func (c Client) UpdateService(service *swarm.Service) error func (Client) Version() (string, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Client ¶ type Client struct { ServiceFunc func(name string) (*swarm.Service, error) UpdateServiceFunc func(service *swarm.Service) error } func (Client) Client ¶ func (c Client) Client(string) (client.Client, error) func (Client) Service ¶ func (c Client) Service(name string) (*swarm.Service, error) func (Client) Update ¶ func (Client) Update(client.Config) error func (Client) UpdateService ¶ func (c Client) UpdateService(service *swarm.Service) error func (Client) Version ¶ func (Client) Version() (string, error) Source Files ¶ View all Source files client.go Click to show internal directories. Click to hide internal directories.