weave

package
v0.16.2 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2016 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"
	MockContainerMAC       = "d6:f2:5a:12:36:a8"
	MockContainerIP        = "10.0.0.123"
	MockHostname           = "hostname.weave.local"
)

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) PS

func (MockClient) PS() (map[string]weave.PSEntry, error)

PS 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