docker

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2021 License: MIT Imports: 9 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 {
	Get(url string) (io.ReadCloser, error)
}

func RemoteClient

func RemoteClient() Client

func UnixClient

func UnixClient() Client

type ClientFunc

type ClientFunc func(url string) (io.ReadCloser, error)

func (ClientFunc) Get

func (fn ClientFunc) Get(url string) (io.ReadCloser, error)

type Container

type Container struct {
	// contains filtered or unexported fields
}

func (*Container) Addr

func (c *Container) Addr() string

func (*Container) FetchEndpoints

func (c *Container) FetchEndpoints() ([]*baker.Endpoint, error)

func (*Container) ID

func (c *Container) ID() string

type Watcher

type Watcher struct {
	// contains filtered or unexported fields
}

func NewWatcher

func NewWatcher(client Client) *Watcher

func (*Watcher) Watch

func (w *Watcher) Watch(errs chan<- error) <-chan baker.Container

Jump to

Keyboard shortcuts

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