Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type DeviceNameGenerator
- func (fake *DeviceNameGenerator) GenerateForHost(containerIP net.IP) (string, error)
- func (fake *DeviceNameGenerator) GenerateForHostArgsForCall(i int) net.IP
- func (fake *DeviceNameGenerator) GenerateForHostCallCount() int
- func (fake *DeviceNameGenerator) GenerateForHostReturns(result1 string, result2 error)
- func (fake *DeviceNameGenerator) GenerateForHostReturnsOnCall(i int, result1 string, result2 error)
- func (fake *DeviceNameGenerator) GenerateTemporaryForContainer(containerIP net.IP) (string, error)
- func (fake *DeviceNameGenerator) GenerateTemporaryForContainerArgsForCall(i int) net.IP
- func (fake *DeviceNameGenerator) GenerateTemporaryForContainerCallCount() int
- func (fake *DeviceNameGenerator) GenerateTemporaryForContainerReturns(result1 string, result2 error)
- func (fake *DeviceNameGenerator) GenerateTemporaryForContainerReturnsOnCall(i int, result1 string, result2 error)
- func (fake *DeviceNameGenerator) Invocations() map[string][][]interface{}
- type HardwareAddressGenerator
- func (fake *HardwareAddressGenerator) GenerateForContainer(containerIP net.IP) (net.HardwareAddr, error)
- func (fake *HardwareAddressGenerator) GenerateForContainerArgsForCall(i int) net.IP
- func (fake *HardwareAddressGenerator) GenerateForContainerCallCount() int
- func (fake *HardwareAddressGenerator) GenerateForContainerReturns(result1 net.HardwareAddr, result2 error)
- func (fake *HardwareAddressGenerator) GenerateForContainerReturnsOnCall(i int, result1 net.HardwareAddr, result2 error)
- func (fake *HardwareAddressGenerator) GenerateForHost(containerIP net.IP) (net.HardwareAddr, error)
- func (fake *HardwareAddressGenerator) GenerateForHostArgsForCall(i int) net.IP
- func (fake *HardwareAddressGenerator) GenerateForHostCallCount() int
- func (fake *HardwareAddressGenerator) GenerateForHostReturns(result1 net.HardwareAddr, result2 error)
- func (fake *HardwareAddressGenerator) GenerateForHostReturnsOnCall(i int, result1 net.HardwareAddr, result2 error)
- func (fake *HardwareAddressGenerator) Invocations() map[string][][]interface{}
- type NamespaceAdapter
- func (fake *NamespaceAdapter) GetCurrentNS() (ns.NetNS, error)
- func (fake *NamespaceAdapter) GetCurrentNSCallCount() int
- func (fake *NamespaceAdapter) GetCurrentNSReturns(result1 ns.NetNS, result2 error)
- func (fake *NamespaceAdapter) GetCurrentNSReturnsOnCall(i int, result1 ns.NetNS, result2 error)
- func (fake *NamespaceAdapter) GetNS(arg1 string) (ns.NetNS, error)
- func (fake *NamespaceAdapter) GetNSArgsForCall(i int) string
- func (fake *NamespaceAdapter) GetNSCallCount() int
- func (fake *NamespaceAdapter) GetNSReturns(result1 ns.NetNS, result2 error)
- func (fake *NamespaceAdapter) GetNSReturnsOnCall(i int, result1 ns.NetNS, result2 error)
- func (fake *NamespaceAdapter) Invocations() map[string][][]interface{}
- type NetNS
- func (fake *NetNS) Close() error
- func (fake *NetNS) CloseCallCount() int
- func (fake *NetNS) CloseReturns(result1 error)
- func (fake *NetNS) CloseReturnsOnCall(i int, result1 error)
- func (fake *NetNS) Do(toRun func(ns.NetNS) error) error
- func (fake *NetNS) DoArgsForCall(i int) func(ns.NetNS) error
- func (fake *NetNS) DoCallCount() int
- func (fake *NetNS) DoReturns(result1 error)
- func (fake *NetNS) DoReturnsOnCall(i int, result1 error)
- func (fake *NetNS) Fd() uintptr
- func (fake *NetNS) FdCallCount() int
- func (fake *NetNS) FdReturns(result1 uintptr)
- func (fake *NetNS) FdReturnsOnCall(i int, result1 uintptr)
- func (fake *NetNS) Invocations() map[string][][]interface{}
- func (fake *NetNS) Path() string
- func (fake *NetNS) PathCallCount() int
- func (fake *NetNS) PathReturns(result1 string)
- func (fake *NetNS) PathReturnsOnCall(i int, result1 string)
- func (fake *NetNS) Set() error
- func (fake *NetNS) SetCallCount() int
- func (fake *NetNS) SetReturns(result1 error)
- func (fake *NetNS) SetReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeviceNameGenerator ¶
type DeviceNameGenerator struct { GenerateForHostStub func(containerIP net.IP) (string, error) GenerateTemporaryForContainerStub func(containerIP net.IP) (string, error) // contains filtered or unexported fields }
func (*DeviceNameGenerator) GenerateForHost ¶
func (fake *DeviceNameGenerator) GenerateForHost(containerIP net.IP) (string, error)
func (*DeviceNameGenerator) GenerateForHostArgsForCall ¶
func (fake *DeviceNameGenerator) GenerateForHostArgsForCall(i int) net.IP
func (*DeviceNameGenerator) GenerateForHostCallCount ¶
func (fake *DeviceNameGenerator) GenerateForHostCallCount() int
func (*DeviceNameGenerator) GenerateForHostReturns ¶
func (fake *DeviceNameGenerator) GenerateForHostReturns(result1 string, result2 error)
func (*DeviceNameGenerator) GenerateForHostReturnsOnCall ¶
func (fake *DeviceNameGenerator) GenerateForHostReturnsOnCall(i int, result1 string, result2 error)
func (*DeviceNameGenerator) GenerateTemporaryForContainer ¶
func (fake *DeviceNameGenerator) GenerateTemporaryForContainer(containerIP net.IP) (string, error)
func (*DeviceNameGenerator) GenerateTemporaryForContainerArgsForCall ¶
func (fake *DeviceNameGenerator) GenerateTemporaryForContainerArgsForCall(i int) net.IP
func (*DeviceNameGenerator) GenerateTemporaryForContainerCallCount ¶
func (fake *DeviceNameGenerator) GenerateTemporaryForContainerCallCount() int
func (*DeviceNameGenerator) GenerateTemporaryForContainerReturns ¶
func (fake *DeviceNameGenerator) GenerateTemporaryForContainerReturns(result1 string, result2 error)
func (*DeviceNameGenerator) GenerateTemporaryForContainerReturnsOnCall ¶
func (fake *DeviceNameGenerator) GenerateTemporaryForContainerReturnsOnCall(i int, result1 string, result2 error)
func (*DeviceNameGenerator) Invocations ¶
func (fake *DeviceNameGenerator) Invocations() map[string][][]interface{}
type HardwareAddressGenerator ¶
type HardwareAddressGenerator struct { GenerateForContainerStub func(containerIP net.IP) (net.HardwareAddr, error) GenerateForHostStub func(containerIP net.IP) (net.HardwareAddr, error) // contains filtered or unexported fields }
func (*HardwareAddressGenerator) GenerateForContainer ¶
func (fake *HardwareAddressGenerator) GenerateForContainer(containerIP net.IP) (net.HardwareAddr, error)
func (*HardwareAddressGenerator) GenerateForContainerArgsForCall ¶
func (fake *HardwareAddressGenerator) GenerateForContainerArgsForCall(i int) net.IP
func (*HardwareAddressGenerator) GenerateForContainerCallCount ¶
func (fake *HardwareAddressGenerator) GenerateForContainerCallCount() int
func (*HardwareAddressGenerator) GenerateForContainerReturns ¶
func (fake *HardwareAddressGenerator) GenerateForContainerReturns(result1 net.HardwareAddr, result2 error)
func (*HardwareAddressGenerator) GenerateForContainerReturnsOnCall ¶
func (fake *HardwareAddressGenerator) GenerateForContainerReturnsOnCall(i int, result1 net.HardwareAddr, result2 error)
func (*HardwareAddressGenerator) GenerateForHost ¶
func (fake *HardwareAddressGenerator) GenerateForHost(containerIP net.IP) (net.HardwareAddr, error)
func (*HardwareAddressGenerator) GenerateForHostArgsForCall ¶
func (fake *HardwareAddressGenerator) GenerateForHostArgsForCall(i int) net.IP
func (*HardwareAddressGenerator) GenerateForHostCallCount ¶
func (fake *HardwareAddressGenerator) GenerateForHostCallCount() int
func (*HardwareAddressGenerator) GenerateForHostReturns ¶
func (fake *HardwareAddressGenerator) GenerateForHostReturns(result1 net.HardwareAddr, result2 error)
func (*HardwareAddressGenerator) GenerateForHostReturnsOnCall ¶
func (fake *HardwareAddressGenerator) GenerateForHostReturnsOnCall(i int, result1 net.HardwareAddr, result2 error)
func (*HardwareAddressGenerator) Invocations ¶
func (fake *HardwareAddressGenerator) Invocations() map[string][][]interface{}
type NamespaceAdapter ¶
type NamespaceAdapter struct { GetNSStub func(string) (ns.NetNS, error) GetCurrentNSStub func() (ns.NetNS, error) // contains filtered or unexported fields }
func (*NamespaceAdapter) GetCurrentNS ¶
func (fake *NamespaceAdapter) GetCurrentNS() (ns.NetNS, error)
func (*NamespaceAdapter) GetCurrentNSCallCount ¶
func (fake *NamespaceAdapter) GetCurrentNSCallCount() int
func (*NamespaceAdapter) GetCurrentNSReturns ¶
func (fake *NamespaceAdapter) GetCurrentNSReturns(result1 ns.NetNS, result2 error)
func (*NamespaceAdapter) GetCurrentNSReturnsOnCall ¶
func (fake *NamespaceAdapter) GetCurrentNSReturnsOnCall(i int, result1 ns.NetNS, result2 error)
func (*NamespaceAdapter) GetNSArgsForCall ¶
func (fake *NamespaceAdapter) GetNSArgsForCall(i int) string
func (*NamespaceAdapter) GetNSCallCount ¶
func (fake *NamespaceAdapter) GetNSCallCount() int
func (*NamespaceAdapter) GetNSReturns ¶
func (fake *NamespaceAdapter) GetNSReturns(result1 ns.NetNS, result2 error)
func (*NamespaceAdapter) GetNSReturnsOnCall ¶
func (fake *NamespaceAdapter) GetNSReturnsOnCall(i int, result1 ns.NetNS, result2 error)
func (*NamespaceAdapter) Invocations ¶
func (fake *NamespaceAdapter) Invocations() map[string][][]interface{}
type NetNS ¶
type NetNS struct { DoStub func(toRun func(ns.NetNS) error) error SetStub func() error PathStub func() string FdStub func() uintptr CloseStub func() error // contains filtered or unexported fields }
func (*NetNS) CloseCallCount ¶
func (*NetNS) CloseReturns ¶
func (*NetNS) CloseReturnsOnCall ¶
func (*NetNS) DoCallCount ¶
func (*NetNS) DoReturnsOnCall ¶
func (*NetNS) FdCallCount ¶
func (*NetNS) FdReturnsOnCall ¶
func (*NetNS) Invocations ¶
func (*NetNS) PathCallCount ¶
func (*NetNS) PathReturns ¶
func (*NetNS) PathReturnsOnCall ¶
func (*NetNS) SetCallCount ¶
func (*NetNS) SetReturns ¶
func (*NetNS) SetReturnsOnCall ¶
Click to show internal directories.
Click to hide internal directories.