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
Click to show internal directories.
Click to hide internal directories.