swarmtest

package
v0.0.0-...-298395c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL