mocks

package
v0.0.0-...-9ec3720 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2021 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAddSubnetsState

type MockAddSubnetsState struct {
	// contains filtered or unexported fields
}

MockAddSubnetsState is a mock of AddSubnetsState interface

func NewMockAddSubnetsState

func NewMockAddSubnetsState(ctrl *gomock.Controller) *MockAddSubnetsState

NewMockAddSubnetsState creates a new mock instance

func (*MockAddSubnetsState) AddSubnetOps

func (m *MockAddSubnetsState) AddSubnetOps(arg0 network.SubnetInfo) ([]txn.Op, error)

AddSubnetOps mocks base method

func (*MockAddSubnetsState) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

type MockAddSubnetsStateMockRecorder

type MockAddSubnetsStateMockRecorder struct {
	// contains filtered or unexported fields
}

MockAddSubnetsStateMockRecorder is the mock recorder for MockAddSubnetsState

func (*MockAddSubnetsStateMockRecorder) AddSubnetOps

func (mr *MockAddSubnetsStateMockRecorder) AddSubnetOps(arg0 interface{}) *gomock.Call

AddSubnetOps indicates an expected call of AddSubnetOps

type MockBackingSpace

type MockBackingSpace struct {
	// contains filtered or unexported fields
}

MockBackingSpace is a mock of BackingSpace interface

func NewMockBackingSpace

func NewMockBackingSpace(ctrl *gomock.Controller) *MockBackingSpace

NewMockBackingSpace creates a new mock instance

func (*MockBackingSpace) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockBackingSpace) Id

func (m *MockBackingSpace) Id() string

Id mocks base method

func (*MockBackingSpace) Name

func (m *MockBackingSpace) Name() string

Name mocks base method

func (*MockBackingSpace) ProviderId

func (m *MockBackingSpace) ProviderId() network.Id

ProviderId mocks base method

func (*MockBackingSpace) Subnets

Subnets mocks base method

type MockBackingSpaceMockRecorder

type MockBackingSpaceMockRecorder struct {
	// contains filtered or unexported fields
}

MockBackingSpaceMockRecorder is the mock recorder for MockBackingSpace

func (*MockBackingSpaceMockRecorder) Id

Id indicates an expected call of Id

func (*MockBackingSpaceMockRecorder) Name

Name indicates an expected call of Name

func (*MockBackingSpaceMockRecorder) ProviderId

func (mr *MockBackingSpaceMockRecorder) ProviderId() *gomock.Call

ProviderId indicates an expected call of ProviderId

func (*MockBackingSpaceMockRecorder) Subnets

func (mr *MockBackingSpaceMockRecorder) Subnets() *gomock.Call

Subnets indicates an expected call of Subnets

type MockBackingSubnet

type MockBackingSubnet struct {
	// contains filtered or unexported fields
}

MockBackingSubnet is a mock of BackingSubnet interface

func NewMockBackingSubnet

func NewMockBackingSubnet(ctrl *gomock.Controller) *MockBackingSubnet

NewMockBackingSubnet creates a new mock instance

func (*MockBackingSubnet) AvailabilityZones

func (m *MockBackingSubnet) AvailabilityZones() []string

AvailabilityZones mocks base method

func (*MockBackingSubnet) CIDR

func (m *MockBackingSubnet) CIDR() string

CIDR mocks base method

func (*MockBackingSubnet) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockBackingSubnet) ID

func (m *MockBackingSubnet) ID() string

ID mocks base method

func (*MockBackingSubnet) Life

func (m *MockBackingSubnet) Life() life.Value

Life mocks base method

func (*MockBackingSubnet) ProviderId

func (m *MockBackingSubnet) ProviderId() network.Id

ProviderId mocks base method

func (*MockBackingSubnet) ProviderNetworkId

func (m *MockBackingSubnet) ProviderNetworkId() network.Id

ProviderNetworkId mocks base method

func (*MockBackingSubnet) SpaceID

func (m *MockBackingSubnet) SpaceID() string

SpaceID mocks base method

func (*MockBackingSubnet) SpaceName

func (m *MockBackingSubnet) SpaceName() string

SpaceName mocks base method

func (*MockBackingSubnet) Status

func (m *MockBackingSubnet) Status() string

Status mocks base method

func (*MockBackingSubnet) VLANTag

func (m *MockBackingSubnet) VLANTag() int

VLANTag mocks base method

type MockBackingSubnetMockRecorder

type MockBackingSubnetMockRecorder struct {
	// contains filtered or unexported fields
}

MockBackingSubnetMockRecorder is the mock recorder for MockBackingSubnet

func (*MockBackingSubnetMockRecorder) AvailabilityZones

func (mr *MockBackingSubnetMockRecorder) AvailabilityZones() *gomock.Call

AvailabilityZones indicates an expected call of AvailabilityZones

func (*MockBackingSubnetMockRecorder) CIDR

CIDR indicates an expected call of CIDR

func (*MockBackingSubnetMockRecorder) ID

ID indicates an expected call of ID

func (*MockBackingSubnetMockRecorder) Life

Life indicates an expected call of Life

func (*MockBackingSubnetMockRecorder) ProviderId

func (mr *MockBackingSubnetMockRecorder) ProviderId() *gomock.Call

ProviderId indicates an expected call of ProviderId

func (*MockBackingSubnetMockRecorder) ProviderNetworkId

func (mr *MockBackingSubnetMockRecorder) ProviderNetworkId() *gomock.Call

ProviderNetworkId indicates an expected call of ProviderNetworkId

func (*MockBackingSubnetMockRecorder) SpaceID

func (mr *MockBackingSubnetMockRecorder) SpaceID() *gomock.Call

SpaceID indicates an expected call of SpaceID

func (*MockBackingSubnetMockRecorder) SpaceName

func (mr *MockBackingSubnetMockRecorder) SpaceName() *gomock.Call

SpaceName indicates an expected call of SpaceName

func (*MockBackingSubnetMockRecorder) Status

Status indicates an expected call of Status

func (*MockBackingSubnetMockRecorder) VLANTag

func (mr *MockBackingSubnetMockRecorder) VLANTag() *gomock.Call

VLANTag indicates an expected call of VLANTag

type MockLinkLayerAddress

type MockLinkLayerAddress struct {
	// contains filtered or unexported fields
}

MockLinkLayerAddress is a mock of LinkLayerAddress interface

func NewMockLinkLayerAddress

func NewMockLinkLayerAddress(ctrl *gomock.Controller) *MockLinkLayerAddress

NewMockLinkLayerAddress creates a new mock instance

func (*MockLinkLayerAddress) DeviceName

func (m *MockLinkLayerAddress) DeviceName() string

DeviceName mocks base method

func (*MockLinkLayerAddress) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockLinkLayerAddress) Origin

func (m *MockLinkLayerAddress) Origin() network.Origin

Origin mocks base method

func (*MockLinkLayerAddress) RemoveOps

func (m *MockLinkLayerAddress) RemoveOps() []txn.Op

RemoveOps mocks base method

func (*MockLinkLayerAddress) SetOriginOps

func (m *MockLinkLayerAddress) SetOriginOps(arg0 network.Origin) []txn.Op

SetOriginOps mocks base method

func (*MockLinkLayerAddress) SetProviderIDOps

func (m *MockLinkLayerAddress) SetProviderIDOps(arg0 network.Id) ([]txn.Op, error)

SetProviderIDOps mocks base method

func (*MockLinkLayerAddress) SetProviderNetIDsOps

func (m *MockLinkLayerAddress) SetProviderNetIDsOps(arg0, arg1 network.Id) []txn.Op

SetProviderNetIDsOps mocks base method

func (*MockLinkLayerAddress) UpdateOps

func (m *MockLinkLayerAddress) UpdateOps(arg0 state.LinkLayerDeviceAddress) ([]txn.Op, error)

UpdateOps mocks base method

func (*MockLinkLayerAddress) Value

func (m *MockLinkLayerAddress) Value() string

Value mocks base method

type MockLinkLayerAddressMockRecorder

type MockLinkLayerAddressMockRecorder struct {
	// contains filtered or unexported fields
}

MockLinkLayerAddressMockRecorder is the mock recorder for MockLinkLayerAddress

func (*MockLinkLayerAddressMockRecorder) DeviceName

func (mr *MockLinkLayerAddressMockRecorder) DeviceName() *gomock.Call

DeviceName indicates an expected call of DeviceName

func (*MockLinkLayerAddressMockRecorder) Origin

Origin indicates an expected call of Origin

func (*MockLinkLayerAddressMockRecorder) RemoveOps

func (mr *MockLinkLayerAddressMockRecorder) RemoveOps() *gomock.Call

RemoveOps indicates an expected call of RemoveOps

func (*MockLinkLayerAddressMockRecorder) SetOriginOps

func (mr *MockLinkLayerAddressMockRecorder) SetOriginOps(arg0 interface{}) *gomock.Call

SetOriginOps indicates an expected call of SetOriginOps

func (*MockLinkLayerAddressMockRecorder) SetProviderIDOps

func (mr *MockLinkLayerAddressMockRecorder) SetProviderIDOps(arg0 interface{}) *gomock.Call

SetProviderIDOps indicates an expected call of SetProviderIDOps

func (*MockLinkLayerAddressMockRecorder) SetProviderNetIDsOps

func (mr *MockLinkLayerAddressMockRecorder) SetProviderNetIDsOps(arg0, arg1 interface{}) *gomock.Call

SetProviderNetIDsOps indicates an expected call of SetProviderNetIDsOps

func (*MockLinkLayerAddressMockRecorder) UpdateOps

func (mr *MockLinkLayerAddressMockRecorder) UpdateOps(arg0 interface{}) *gomock.Call

UpdateOps indicates an expected call of UpdateOps

func (*MockLinkLayerAddressMockRecorder) Value

Value indicates an expected call of Value

type MockLinkLayerAndSubnetsState

type MockLinkLayerAndSubnetsState struct {
	// contains filtered or unexported fields
}

MockLinkLayerAndSubnetsState is a mock of LinkLayerAndSubnetsState interface

func NewMockLinkLayerAndSubnetsState

func NewMockLinkLayerAndSubnetsState(ctrl *gomock.Controller) *MockLinkLayerAndSubnetsState

NewMockLinkLayerAndSubnetsState creates a new mock instance

func (*MockLinkLayerAndSubnetsState) AddSubnetOps

func (m *MockLinkLayerAndSubnetsState) AddSubnetOps(arg0 network.SubnetInfo) ([]txn.Op, error)

AddSubnetOps mocks base method

func (*MockLinkLayerAndSubnetsState) AllSubnetInfos

func (m *MockLinkLayerAndSubnetsState) AllSubnetInfos() (network.SubnetInfos, error)

AllSubnetInfos mocks base method

func (*MockLinkLayerAndSubnetsState) ApplyOperation

func (m *MockLinkLayerAndSubnetsState) ApplyOperation(arg0 state.ModelOperation) error

ApplyOperation mocks base method

func (*MockLinkLayerAndSubnetsState) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockLinkLayerAndSubnetsState) Machine

Machine mocks base method

type MockLinkLayerAndSubnetsStateMockRecorder

type MockLinkLayerAndSubnetsStateMockRecorder struct {
	// contains filtered or unexported fields
}

MockLinkLayerAndSubnetsStateMockRecorder is the mock recorder for MockLinkLayerAndSubnetsState

func (*MockLinkLayerAndSubnetsStateMockRecorder) AddSubnetOps

func (mr *MockLinkLayerAndSubnetsStateMockRecorder) AddSubnetOps(arg0 interface{}) *gomock.Call

AddSubnetOps indicates an expected call of AddSubnetOps

func (*MockLinkLayerAndSubnetsStateMockRecorder) AllSubnetInfos

AllSubnetInfos indicates an expected call of AllSubnetInfos

func (*MockLinkLayerAndSubnetsStateMockRecorder) ApplyOperation

func (mr *MockLinkLayerAndSubnetsStateMockRecorder) ApplyOperation(arg0 interface{}) *gomock.Call

ApplyOperation indicates an expected call of ApplyOperation

func (*MockLinkLayerAndSubnetsStateMockRecorder) Machine

func (mr *MockLinkLayerAndSubnetsStateMockRecorder) Machine(arg0 interface{}) *gomock.Call

Machine indicates an expected call of Machine

type MockLinkLayerDevice

type MockLinkLayerDevice struct {
	// contains filtered or unexported fields
}

MockLinkLayerDevice is a mock of LinkLayerDevice interface

func NewMockLinkLayerDevice

func NewMockLinkLayerDevice(ctrl *gomock.Controller) *MockLinkLayerDevice

NewMockLinkLayerDevice creates a new mock instance

func (*MockLinkLayerDevice) AddAddressOps

func (m *MockLinkLayerDevice) AddAddressOps(arg0 state.LinkLayerDeviceAddress) ([]txn.Op, error)

AddAddressOps mocks base method

func (*MockLinkLayerDevice) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockLinkLayerDevice) MACAddress

func (m *MockLinkLayerDevice) MACAddress() string

MACAddress mocks base method

func (*MockLinkLayerDevice) Name

func (m *MockLinkLayerDevice) Name() string

Name mocks base method

func (*MockLinkLayerDevice) ProviderID

func (m *MockLinkLayerDevice) ProviderID() network.Id

ProviderID mocks base method

func (*MockLinkLayerDevice) RemoveOps

func (m *MockLinkLayerDevice) RemoveOps() []txn.Op

RemoveOps mocks base method

func (*MockLinkLayerDevice) SetProviderIDOps

func (m *MockLinkLayerDevice) SetProviderIDOps(arg0 network.Id) ([]txn.Op, error)

SetProviderIDOps mocks base method

func (*MockLinkLayerDevice) Type

Type mocks base method

func (*MockLinkLayerDevice) UpdateOps

func (m *MockLinkLayerDevice) UpdateOps(arg0 state.LinkLayerDeviceArgs) []txn.Op

UpdateOps mocks base method

type MockLinkLayerDeviceMockRecorder

type MockLinkLayerDeviceMockRecorder struct {
	// contains filtered or unexported fields
}

MockLinkLayerDeviceMockRecorder is the mock recorder for MockLinkLayerDevice

func (*MockLinkLayerDeviceMockRecorder) AddAddressOps

func (mr *MockLinkLayerDeviceMockRecorder) AddAddressOps(arg0 interface{}) *gomock.Call

AddAddressOps indicates an expected call of AddAddressOps

func (*MockLinkLayerDeviceMockRecorder) MACAddress

func (mr *MockLinkLayerDeviceMockRecorder) MACAddress() *gomock.Call

MACAddress indicates an expected call of MACAddress

func (*MockLinkLayerDeviceMockRecorder) Name

Name indicates an expected call of Name

func (*MockLinkLayerDeviceMockRecorder) ProviderID

func (mr *MockLinkLayerDeviceMockRecorder) ProviderID() *gomock.Call

ProviderID indicates an expected call of ProviderID

func (*MockLinkLayerDeviceMockRecorder) RemoveOps

func (mr *MockLinkLayerDeviceMockRecorder) RemoveOps() *gomock.Call

RemoveOps indicates an expected call of RemoveOps

func (*MockLinkLayerDeviceMockRecorder) SetProviderIDOps

func (mr *MockLinkLayerDeviceMockRecorder) SetProviderIDOps(arg0 interface{}) *gomock.Call

SetProviderIDOps indicates an expected call of SetProviderIDOps

func (*MockLinkLayerDeviceMockRecorder) Type

Type indicates an expected call of Type

func (*MockLinkLayerDeviceMockRecorder) UpdateOps

func (mr *MockLinkLayerDeviceMockRecorder) UpdateOps(arg0 interface{}) *gomock.Call

UpdateOps indicates an expected call of UpdateOps

type MockLinkLayerMachine

type MockLinkLayerMachine struct {
	// contains filtered or unexported fields
}

MockLinkLayerMachine is a mock of LinkLayerMachine interface

func NewMockLinkLayerMachine

func NewMockLinkLayerMachine(ctrl *gomock.Controller) *MockLinkLayerMachine

NewMockLinkLayerMachine creates a new mock instance

func (*MockLinkLayerMachine) AddLinkLayerDeviceOps

func (m *MockLinkLayerMachine) AddLinkLayerDeviceOps(arg0 state.LinkLayerDeviceArgs, arg1 ...state.LinkLayerDeviceAddress) ([]txn.Op, error)

AddLinkLayerDeviceOps mocks base method

func (*MockLinkLayerMachine) AllAddresses

AllAddresses mocks base method

func (*MockLinkLayerMachine) AllLinkLayerDevices

func (m *MockLinkLayerMachine) AllLinkLayerDevices() ([]networkingcommon.LinkLayerDevice, error)

AllLinkLayerDevices mocks base method

func (*MockLinkLayerMachine) AssertAliveOp

func (m *MockLinkLayerMachine) AssertAliveOp() txn.Op

AssertAliveOp mocks base method

func (*MockLinkLayerMachine) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockLinkLayerMachine) Id

func (m *MockLinkLayerMachine) Id() string

Id mocks base method

type MockLinkLayerMachineMockRecorder

type MockLinkLayerMachineMockRecorder struct {
	// contains filtered or unexported fields
}

MockLinkLayerMachineMockRecorder is the mock recorder for MockLinkLayerMachine

func (*MockLinkLayerMachineMockRecorder) AddLinkLayerDeviceOps

func (mr *MockLinkLayerMachineMockRecorder) AddLinkLayerDeviceOps(arg0 interface{}, arg1 ...interface{}) *gomock.Call

AddLinkLayerDeviceOps indicates an expected call of AddLinkLayerDeviceOps

func (*MockLinkLayerMachineMockRecorder) AllAddresses

func (mr *MockLinkLayerMachineMockRecorder) AllAddresses() *gomock.Call

AllAddresses indicates an expected call of AllAddresses

func (*MockLinkLayerMachineMockRecorder) AllLinkLayerDevices

func (mr *MockLinkLayerMachineMockRecorder) AllLinkLayerDevices() *gomock.Call

AllLinkLayerDevices indicates an expected call of AllLinkLayerDevices

func (*MockLinkLayerMachineMockRecorder) AssertAliveOp

func (mr *MockLinkLayerMachineMockRecorder) AssertAliveOp() *gomock.Call

AssertAliveOp indicates an expected call of AssertAliveOp

func (*MockLinkLayerMachineMockRecorder) Id

Id indicates an expected call of Id

type MockLinkLayerState

type MockLinkLayerState struct {
	// contains filtered or unexported fields
}

MockLinkLayerState is a mock of LinkLayerState interface

func NewMockLinkLayerState

func NewMockLinkLayerState(ctrl *gomock.Controller) *MockLinkLayerState

NewMockLinkLayerState creates a new mock instance

func (*MockLinkLayerState) AllSubnetInfos

func (m *MockLinkLayerState) AllSubnetInfos() (network.SubnetInfos, error)

AllSubnetInfos mocks base method

func (*MockLinkLayerState) ApplyOperation

func (m *MockLinkLayerState) ApplyOperation(arg0 state.ModelOperation) error

ApplyOperation mocks base method

func (*MockLinkLayerState) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockLinkLayerState) Machine

Machine mocks base method

type MockLinkLayerStateMockRecorder

type MockLinkLayerStateMockRecorder struct {
	// contains filtered or unexported fields
}

MockLinkLayerStateMockRecorder is the mock recorder for MockLinkLayerState

func (*MockLinkLayerStateMockRecorder) AllSubnetInfos

func (mr *MockLinkLayerStateMockRecorder) AllSubnetInfos() *gomock.Call

AllSubnetInfos indicates an expected call of AllSubnetInfos

func (*MockLinkLayerStateMockRecorder) ApplyOperation

func (mr *MockLinkLayerStateMockRecorder) ApplyOperation(arg0 interface{}) *gomock.Call

ApplyOperation indicates an expected call of ApplyOperation

func (*MockLinkLayerStateMockRecorder) Machine

func (mr *MockLinkLayerStateMockRecorder) Machine(arg0 interface{}) *gomock.Call

Machine indicates an expected call of Machine

Jump to

Keyboard shortcuts

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