client

package
v1.7.6 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: MIT Imports: 15 Imported by: 39

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