weave

package
v1.11.2 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MockWeavePeerName      = "winnebago"
	MockWeavePeerNickName  = "winny"
	MockWeaveDefaultSubnet = "10.32.0.1/12"
	MockContainerID        = "83183a667c01"
	MockHostname           = "hostname.weave.local"
	MockProxyAddress       = "unix:///foo/bar/weave.sock"
	MockDriverName         = "weave_mock"
)

Constants used for testing

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient

type MockClient struct{}

MockClient is a mock version of weave.Client

func (MockClient) AddDNSEntry

func (MockClient) AddDNSEntry(fqdn, containerid string, ip net.IP) error

AddDNSEntry implements weave.Client

func (MockClient) Expose

func (MockClient) Expose() error

Expose implements weave.Client

func (MockClient) Status

func (MockClient) Status() (weave.Status, error)

Status implements weave.Client

Jump to

Keyboard shortcuts

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