configurerfakes

package
v0.0.0-...-211d904 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

This file was generated by counterfeiter

Index

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

func (fake *FakeBridgeCreator) Attach(bridge *net.Interface, hostVeth *net.Interface) error

func (*FakeBridgeCreator) AttachArgsForCall

func (fake *FakeBridgeCreator) AttachArgsForCall(i int) (*net.Interface, *net.Interface)

func (*FakeBridgeCreator) AttachCallCount

func (fake *FakeBridgeCreator) AttachCallCount() int

func (*FakeBridgeCreator) AttachReturns

func (fake *FakeBridgeCreator) AttachReturns(result1 error)

func (*FakeBridgeCreator) Create

func (fake *FakeBridgeCreator) Create(name string, ip net.IP, subnet *net.IPNet) (*net.Interface, error)

func (*FakeBridgeCreator) CreateArgsForCall

func (fake *FakeBridgeCreator) CreateArgsForCall(i int) (string, net.IP, *net.IPNet)

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

func (fake *FakeVethCreator) Create(vethNamePrefix string) (*net.Interface, *net.Interface, error)

func (*FakeVethCreator) CreateArgsForCall

func (fake *FakeVethCreator) CreateArgsForCall(i int) string

func (*FakeVethCreator) CreateCallCount

func (fake *FakeVethCreator) CreateCallCount() int

func (*FakeVethCreator) CreateReturns

func (fake *FakeVethCreator) CreateReturns(result1 *net.Interface, result2 *net.Interface, result3 error)

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL