client

package
v1.5.6-rc0 Latest Latest
Warning

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

Go to latest
Published: May 20, 2020 License: MIT Imports: 15 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 interface {
	Update(c Config) error
	Version() (string, error)
	Service(name string) (*swarm.Service, error)
	UpdateService(service *swarm.Service) error
}

func New

func New(c Config) (Client, error)

type Config

type Config struct {
	URLs      []string
	TLSConfig *tls.Config
}

Jump to

Keyboard shortcuts

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