Documentation ¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter
Index ¶
- type FakeBridgeCreator
- func (fake *FakeBridgeCreator) Attach(bridge *net.Interface, hostVeth *net.Interface) error
- func (fake *FakeBridgeCreator) AttachArgsForCall(i int) (*net.Interface, *net.Interface)
- func (fake *FakeBridgeCreator) AttachCallCount() int
- func (fake *FakeBridgeCreator) AttachReturns(result1 error)
- func (fake *FakeBridgeCreator) Create(name string, ip net.IP, subnet *net.IPNet) (*net.Interface, error)
- func (fake *FakeBridgeCreator) CreateArgsForCall(i int) (string, net.IP, *net.IPNet)
- func (fake *FakeBridgeCreator) CreateCallCount() int
- func (fake *FakeBridgeCreator) CreateReturns(result1 *net.Interface, result2 error)
- func (fake *FakeBridgeCreator) Invocations() map[string][][]interface{}
- type FakeVethCreator
- func (fake *FakeVethCreator) Create(vethNamePrefix string) (*net.Interface, *net.Interface, error)
- func (fake *FakeVethCreator) CreateArgsForCall(i int) string
- func (fake *FakeVethCreator) CreateCallCount() int
- func (fake *FakeVethCreator) CreateReturns(result1 *net.Interface, result2 *net.Interface, result3 error)
- func (fake *FakeVethCreator) Invocations() map[string][][]interface{}
- func (fake *FakeVethCreator) MoveToNetworkNamespace(containerVeth *net.Interface, pid int) error
- func (fake *FakeVethCreator) MoveToNetworkNamespaceArgsForCall(i int) (*net.Interface, int)
- func (fake *FakeVethCreator) MoveToNetworkNamespaceCallCount() int
- func (fake *FakeVethCreator) MoveToNetworkNamespaceReturns(result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeBridgeCreator ¶
type FakeBridgeCreator struct { CreateStub func(name string, ip net.IP, subnet *net.IPNet) (*net.Interface, error) AttachStub func(bridge, hostVeth *net.Interface) error // contains filtered or unexported fields }
func (*FakeBridgeCreator) AttachArgsForCall ¶
func (*FakeBridgeCreator) AttachCallCount ¶
func (fake *FakeBridgeCreator) AttachCallCount() int
func (*FakeBridgeCreator) AttachReturns ¶
func (fake *FakeBridgeCreator) AttachReturns(result1 error)
func (*FakeBridgeCreator) CreateArgsForCall ¶
func (*FakeBridgeCreator) CreateCallCount ¶
func (fake *FakeBridgeCreator) CreateCallCount() int
func (*FakeBridgeCreator) CreateReturns ¶
func (fake *FakeBridgeCreator) CreateReturns(result1 *net.Interface, result2 error)
func (*FakeBridgeCreator) Invocations ¶
func (fake *FakeBridgeCreator) Invocations() map[string][][]interface{}
type FakeVethCreator ¶
type FakeVethCreator struct { CreateStub func(vethNamePrefix string) (*net.Interface, *net.Interface, error) MoveToNetworkNamespaceStub func(containerVeth *net.Interface, pid int) error // contains filtered or unexported fields }
func (*FakeVethCreator) CreateArgsForCall ¶
func (fake *FakeVethCreator) CreateArgsForCall(i int) string
func (*FakeVethCreator) CreateCallCount ¶
func (fake *FakeVethCreator) CreateCallCount() int
func (*FakeVethCreator) CreateReturns ¶
func (*FakeVethCreator) Invocations ¶
func (fake *FakeVethCreator) Invocations() map[string][][]interface{}
func (*FakeVethCreator) MoveToNetworkNamespace ¶
func (fake *FakeVethCreator) MoveToNetworkNamespace(containerVeth *net.Interface, pid int) error
func (*FakeVethCreator) MoveToNetworkNamespaceArgsForCall ¶
func (fake *FakeVethCreator) MoveToNetworkNamespaceArgsForCall(i int) (*net.Interface, int)
func (*FakeVethCreator) MoveToNetworkNamespaceCallCount ¶
func (fake *FakeVethCreator) MoveToNetworkNamespaceCallCount() int
func (*FakeVethCreator) MoveToNetworkNamespaceReturns ¶
func (fake *FakeVethCreator) MoveToNetworkNamespaceReturns(result1 error)
Click to show internal directories.
Click to hide internal directories.