Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockAddSubnetsState
- type MockAddSubnetsStateMockRecorder
- type MockBackingSpace
- type MockBackingSpaceMockRecorder
- type MockBackingSubnet
- func (m *MockBackingSubnet) AvailabilityZones() []string
- func (m *MockBackingSubnet) CIDR() string
- func (m *MockBackingSubnet) EXPECT() *MockBackingSubnetMockRecorder
- func (m *MockBackingSubnet) ID() string
- func (m *MockBackingSubnet) Life() life.Value
- func (m *MockBackingSubnet) ProviderId() network.Id
- func (m *MockBackingSubnet) ProviderNetworkId() network.Id
- func (m *MockBackingSubnet) SpaceID() string
- func (m *MockBackingSubnet) SpaceName() string
- func (m *MockBackingSubnet) Status() string
- func (m *MockBackingSubnet) VLANTag() int
- type MockBackingSubnetMockRecorder
- func (mr *MockBackingSubnetMockRecorder) AvailabilityZones() *gomock.Call
- func (mr *MockBackingSubnetMockRecorder) CIDR() *gomock.Call
- func (mr *MockBackingSubnetMockRecorder) ID() *gomock.Call
- func (mr *MockBackingSubnetMockRecorder) Life() *gomock.Call
- func (mr *MockBackingSubnetMockRecorder) ProviderId() *gomock.Call
- func (mr *MockBackingSubnetMockRecorder) ProviderNetworkId() *gomock.Call
- func (mr *MockBackingSubnetMockRecorder) SpaceID() *gomock.Call
- func (mr *MockBackingSubnetMockRecorder) SpaceName() *gomock.Call
- func (mr *MockBackingSubnetMockRecorder) Status() *gomock.Call
- func (mr *MockBackingSubnetMockRecorder) VLANTag() *gomock.Call
- type MockLinkLayerAddress
- func (m *MockLinkLayerAddress) DeviceName() string
- func (m *MockLinkLayerAddress) EXPECT() *MockLinkLayerAddressMockRecorder
- func (m *MockLinkLayerAddress) Origin() network.Origin
- func (m *MockLinkLayerAddress) RemoveOps() []txn.Op
- func (m *MockLinkLayerAddress) SetOriginOps(arg0 network.Origin) []txn.Op
- func (m *MockLinkLayerAddress) SetProviderIDOps(arg0 network.Id) ([]txn.Op, error)
- func (m *MockLinkLayerAddress) SetProviderNetIDsOps(arg0, arg1 network.Id) []txn.Op
- func (m *MockLinkLayerAddress) UpdateOps(arg0 state.LinkLayerDeviceAddress) ([]txn.Op, error)
- func (m *MockLinkLayerAddress) Value() string
- type MockLinkLayerAddressMockRecorder
- func (mr *MockLinkLayerAddressMockRecorder) DeviceName() *gomock.Call
- func (mr *MockLinkLayerAddressMockRecorder) Origin() *gomock.Call
- func (mr *MockLinkLayerAddressMockRecorder) RemoveOps() *gomock.Call
- func (mr *MockLinkLayerAddressMockRecorder) SetOriginOps(arg0 interface{}) *gomock.Call
- func (mr *MockLinkLayerAddressMockRecorder) SetProviderIDOps(arg0 interface{}) *gomock.Call
- func (mr *MockLinkLayerAddressMockRecorder) SetProviderNetIDsOps(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockLinkLayerAddressMockRecorder) UpdateOps(arg0 interface{}) *gomock.Call
- func (mr *MockLinkLayerAddressMockRecorder) Value() *gomock.Call
- type MockLinkLayerAndSubnetsState
- func (m *MockLinkLayerAndSubnetsState) AddSubnetOps(arg0 network.SubnetInfo) ([]txn.Op, error)
- func (m *MockLinkLayerAndSubnetsState) AllSubnetInfos() (network.SubnetInfos, error)
- func (m *MockLinkLayerAndSubnetsState) ApplyOperation(arg0 state.ModelOperation) error
- func (m *MockLinkLayerAndSubnetsState) EXPECT() *MockLinkLayerAndSubnetsStateMockRecorder
- func (m *MockLinkLayerAndSubnetsState) Machine(arg0 string) (networkingcommon.LinkLayerMachine, error)
- type MockLinkLayerAndSubnetsStateMockRecorder
- func (mr *MockLinkLayerAndSubnetsStateMockRecorder) AddSubnetOps(arg0 interface{}) *gomock.Call
- func (mr *MockLinkLayerAndSubnetsStateMockRecorder) AllSubnetInfos() *gomock.Call
- func (mr *MockLinkLayerAndSubnetsStateMockRecorder) ApplyOperation(arg0 interface{}) *gomock.Call
- func (mr *MockLinkLayerAndSubnetsStateMockRecorder) Machine(arg0 interface{}) *gomock.Call
- type MockLinkLayerDevice
- func (m *MockLinkLayerDevice) AddAddressOps(arg0 state.LinkLayerDeviceAddress) ([]txn.Op, error)
- func (m *MockLinkLayerDevice) EXPECT() *MockLinkLayerDeviceMockRecorder
- func (m *MockLinkLayerDevice) MACAddress() string
- func (m *MockLinkLayerDevice) Name() string
- func (m *MockLinkLayerDevice) ProviderID() network.Id
- func (m *MockLinkLayerDevice) RemoveOps() []txn.Op
- func (m *MockLinkLayerDevice) SetProviderIDOps(arg0 network.Id) ([]txn.Op, error)
- func (m *MockLinkLayerDevice) Type() network.LinkLayerDeviceType
- func (m *MockLinkLayerDevice) UpdateOps(arg0 state.LinkLayerDeviceArgs) []txn.Op
- type MockLinkLayerDeviceMockRecorder
- func (mr *MockLinkLayerDeviceMockRecorder) AddAddressOps(arg0 interface{}) *gomock.Call
- func (mr *MockLinkLayerDeviceMockRecorder) MACAddress() *gomock.Call
- func (mr *MockLinkLayerDeviceMockRecorder) Name() *gomock.Call
- func (mr *MockLinkLayerDeviceMockRecorder) ProviderID() *gomock.Call
- func (mr *MockLinkLayerDeviceMockRecorder) RemoveOps() *gomock.Call
- func (mr *MockLinkLayerDeviceMockRecorder) SetProviderIDOps(arg0 interface{}) *gomock.Call
- func (mr *MockLinkLayerDeviceMockRecorder) Type() *gomock.Call
- func (mr *MockLinkLayerDeviceMockRecorder) UpdateOps(arg0 interface{}) *gomock.Call
- type MockLinkLayerMachine
- func (m *MockLinkLayerMachine) AddLinkLayerDeviceOps(arg0 state.LinkLayerDeviceArgs, arg1 ...state.LinkLayerDeviceAddress) ([]txn.Op, error)
- func (m *MockLinkLayerMachine) AllAddresses() ([]networkingcommon.LinkLayerAddress, error)
- func (m *MockLinkLayerMachine) AllLinkLayerDevices() ([]networkingcommon.LinkLayerDevice, error)
- func (m *MockLinkLayerMachine) AssertAliveOp() txn.Op
- func (m *MockLinkLayerMachine) EXPECT() *MockLinkLayerMachineMockRecorder
- func (m *MockLinkLayerMachine) Id() string
- type MockLinkLayerMachineMockRecorder
- func (mr *MockLinkLayerMachineMockRecorder) AddLinkLayerDeviceOps(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockLinkLayerMachineMockRecorder) AllAddresses() *gomock.Call
- func (mr *MockLinkLayerMachineMockRecorder) AllLinkLayerDevices() *gomock.Call
- func (mr *MockLinkLayerMachineMockRecorder) AssertAliveOp() *gomock.Call
- func (mr *MockLinkLayerMachineMockRecorder) Id() *gomock.Call
- type MockLinkLayerState
- func (m *MockLinkLayerState) AllSubnetInfos() (network.SubnetInfos, error)
- func (m *MockLinkLayerState) ApplyOperation(arg0 state.ModelOperation) error
- func (m *MockLinkLayerState) EXPECT() *MockLinkLayerStateMockRecorder
- func (m *MockLinkLayerState) Machine(arg0 string) (networkingcommon.LinkLayerMachine, error)
- type MockLinkLayerStateMockRecorder
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 ¶
func (m *MockAddSubnetsState) EXPECT() *MockAddSubnetsStateMockRecorder
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 ¶
func (m *MockBackingSpace) EXPECT() *MockBackingSpaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockBackingSpace) ProviderId ¶
func (m *MockBackingSpace) ProviderId() network.Id
ProviderId mocks base method
func (*MockBackingSpace) Subnets ¶
func (m *MockBackingSpace) Subnets() ([]networkingcommon.BackingSubnet, error)
Subnets mocks base method
type MockBackingSpaceMockRecorder ¶
type MockBackingSpaceMockRecorder struct {
// contains filtered or unexported fields
}
MockBackingSpaceMockRecorder is the mock recorder for MockBackingSpace
func (*MockBackingSpaceMockRecorder) Id ¶
func (mr *MockBackingSpaceMockRecorder) Id() *gomock.Call
Id indicates an expected call of Id
func (*MockBackingSpaceMockRecorder) Name ¶
func (mr *MockBackingSpaceMockRecorder) Name() *gomock.Call
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) EXPECT ¶
func (m *MockBackingSubnet) EXPECT() *MockBackingSubnetMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
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 ¶
func (mr *MockBackingSubnetMockRecorder) CIDR() *gomock.Call
CIDR indicates an expected call of CIDR
func (*MockBackingSubnetMockRecorder) ID ¶
func (mr *MockBackingSubnetMockRecorder) ID() *gomock.Call
ID indicates an expected call of ID
func (*MockBackingSubnetMockRecorder) Life ¶
func (mr *MockBackingSubnetMockRecorder) Life() *gomock.Call
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 ¶
func (mr *MockBackingSubnetMockRecorder) Status() *gomock.Call
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 ¶
func (m *MockLinkLayerAddress) EXPECT() *MockLinkLayerAddressMockRecorder
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 ¶
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 ¶
func (mr *MockLinkLayerAddressMockRecorder) Origin() *gomock.Call
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 ¶
func (mr *MockLinkLayerAddressMockRecorder) Value() *gomock.Call
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 ¶
func (m *MockLinkLayerAndSubnetsState) EXPECT() *MockLinkLayerAndSubnetsStateMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockLinkLayerAndSubnetsState) Machine ¶
func (m *MockLinkLayerAndSubnetsState) Machine(arg0 string) (networkingcommon.LinkLayerMachine, error)
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 ¶
func (mr *MockLinkLayerAndSubnetsStateMockRecorder) AllSubnetInfos() *gomock.Call
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 ¶
func (m *MockLinkLayerDevice) EXPECT() *MockLinkLayerDeviceMockRecorder
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 ¶
SetProviderIDOps mocks base method
func (*MockLinkLayerDevice) Type ¶
func (m *MockLinkLayerDevice) Type() network.LinkLayerDeviceType
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 ¶
func (mr *MockLinkLayerDeviceMockRecorder) Name() *gomock.Call
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 ¶
func (mr *MockLinkLayerDeviceMockRecorder) Type() *gomock.Call
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 ¶
func (m *MockLinkLayerMachine) AllAddresses() ([]networkingcommon.LinkLayerAddress, error)
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 ¶
func (m *MockLinkLayerMachine) EXPECT() *MockLinkLayerMachineMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
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 ¶
func (mr *MockLinkLayerMachineMockRecorder) Id() *gomock.Call
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 ¶
func (m *MockLinkLayerState) EXPECT() *MockLinkLayerStateMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockLinkLayerState) Machine ¶
func (m *MockLinkLayerState) Machine(arg0 string) (networkingcommon.LinkLayerMachine, error)
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