proxy

package
v0.0.2-0...-f822251 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2020 License: Apache-2.0 Imports: 11 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerRequest

type ContainerRequest struct {
	Name          string
	CreateOptions []byte
}

type HTTPProxy

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

func (*HTTPProxy) GetRequests

func (p *HTTPProxy) GetRequests() ([]ContainerRequest, error)

func (*HTTPProxy) Serve

func (p *HTTPProxy) Serve() error

func (*HTTPProxy) Stop

func (p *HTTPProxy) Stop() error

type Proxy

type Proxy interface {
	Serve() error
	Stop() error
	GetRequests() ([]ContainerRequest, error)
}

func NewHTTPProxy

func NewHTTPProxy(listenAt string, endpoint endpoint.Endpoint, noBuild bool) Proxy

type ProxyFactory

type ProxyFactory func(string, endpoint.Endpoint, bool) Proxy

Jump to

Keyboard shortcuts

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