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" 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.