proxy

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2016 License: GPL-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrMisconfigured = errors.New("Proxy URL not configured")

Functions

func RunUpdater

func RunUpdater(cli container.DockerClient, proxy Proxy) error

Types

type Proxy

type Proxy interface {
	// Add endpoints associated to a container.
	AddEndpoints(id string, endpoints []*manifest.Endpoint) error

	// Remove endpoints associated to a container.
	RemoveEndpoints(id string) error

	// Reset the proxy to an initial state.
	Reset() error

	// Close connection to the proxy.
	Close() error
}

func New

func New(proxyUrl string) (Proxy, error)

type UnsupportedSchemeError

type UnsupportedSchemeError string

func (UnsupportedSchemeError) Error

func (scheme UnsupportedSchemeError) Error() string

Jump to

Keyboard shortcuts

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