juju: github.com/juju/juju/apiserver/common/networkingcommon/mocks Index | Files

package mocks

import "github.com/juju/juju/apiserver/common/networkingcommon/mocks"

Package mocks is a generated GoMock package.

Index

Package Files

package_mock.go

type MockAddSubnetsState Uses

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

MockAddSubnetsState is a mock of AddSubnetsState interface

func NewMockAddSubnetsState Uses

func NewMockAddSubnetsState(ctrl *gomock.Controller) *MockAddSubnetsState

NewMockAddSubnetsState creates a new mock instance

func (*MockAddSubnetsState) AddSubnetOps Uses

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

AddSubnetOps mocks base method

func (*MockAddSubnetsState) EXPECT Uses

func (m *MockAddSubnetsState) EXPECT() *MockAddSubnetsStateMockRecorder

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

type MockAddSubnetsStateMockRecorder Uses

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

MockAddSubnetsStateMockRecorder is the mock recorder for MockAddSubnetsState

func (*MockAddSubnetsStateMockRecorder) AddSubnetOps Uses

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

AddSubnetOps indicates an expected call of AddSubnetOps

type MockBackingSpace Uses

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

MockBackingSpace is a mock of BackingSpace interface

func NewMockBackingSpace Uses

func NewMockBackingSpace(ctrl *gomock.Controller) *MockBackingSpace

NewMockBackingSpace creates a new mock instance

func (*MockBackingSpace) EXPECT Uses

func (m *MockBackingSpace) EXPECT() *MockBackingSpaceMockRecorder

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

func (*MockBackingSpace) Id Uses

func (m *MockBackingSpace) Id() string

Id mocks base method

func (*MockBackingSpace) Name Uses

func (m *MockBackingSpace) Name() string

Name mocks base method

func (*MockBackingSpace) ProviderId Uses

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

ProviderId mocks base method

func (*MockBackingSpace) Subnets Uses

func (m *MockBackingSpace) Subnets() ([]networkingcommon.BackingSubnet, error)

Subnets mocks base method

type MockBackingSpaceMockRecorder Uses

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

MockBackingSpaceMockRecorder is the mock recorder for MockBackingSpace

func (*MockBackingSpaceMockRecorder) Id Uses

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

Id indicates an expected call of Id

func (*MockBackingSpaceMockRecorder) Name Uses

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

Name indicates an expected call of Name

func (*MockBackingSpaceMockRecorder) ProviderId Uses

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

ProviderId indicates an expected call of ProviderId

func (*MockBackingSpaceMockRecorder) Subnets Uses

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

Subnets indicates an expected call of Subnets

type MockBackingSubnet Uses

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

MockBackingSubnet is a mock of BackingSubnet interface

func NewMockBackingSubnet Uses

func NewMockBackingSubnet(ctrl *gomock.Controller) *MockBackingSubnet

NewMockBackingSubnet creates a new mock instance

func (*MockBackingSubnet) AvailabilityZones Uses

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

AvailabilityZones mocks base method

func (*MockBackingSubnet) CIDR Uses

func (m *MockBackingSubnet) CIDR() string

CIDR mocks base method

func (*MockBackingSubnet) EXPECT Uses

func (m *MockBackingSubnet) EXPECT() *MockBackingSubnetMockRecorder

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

func (*MockBackingSubnet) ID Uses

func (m *MockBackingSubnet) ID() string

ID mocks base method

func (*MockBackingSubnet) Life Uses

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

Life mocks base method

func (*MockBackingSubnet) ProviderId Uses

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

ProviderId mocks base method

func (*MockBackingSubnet) ProviderNetworkId Uses

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

ProviderNetworkId mocks base method

func (*MockBackingSubnet) SpaceID Uses

func (m *MockBackingSubnet) SpaceID() string

SpaceID mocks base method

func (*MockBackingSubnet) SpaceName Uses

func (m *MockBackingSubnet) SpaceName() string

SpaceName mocks base method

func (*MockBackingSubnet) Status Uses

func (m *MockBackingSubnet) Status() string

Status mocks base method

func (*MockBackingSubnet) VLANTag Uses

func (m *MockBackingSubnet) VLANTag() int

VLANTag mocks base method

type MockBackingSubnetMockRecorder Uses

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

MockBackingSubnetMockRecorder is the mock recorder for MockBackingSubnet

func (*MockBackingSubnetMockRecorder) AvailabilityZones Uses

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

AvailabilityZones indicates an expected call of AvailabilityZones

func (*MockBackingSubnetMockRecorder) CIDR Uses

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

CIDR indicates an expected call of CIDR

func (*MockBackingSubnetMockRecorder) ID Uses

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

ID indicates an expected call of ID

func (*MockBackingSubnetMockRecorder) Life Uses

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

Life indicates an expected call of Life

func (*MockBackingSubnetMockRecorder) ProviderId Uses

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

ProviderId indicates an expected call of ProviderId

func (*MockBackingSubnetMockRecorder) ProviderNetworkId Uses

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

ProviderNetworkId indicates an expected call of ProviderNetworkId

func (*MockBackingSubnetMockRecorder) SpaceID Uses

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

SpaceID indicates an expected call of SpaceID

func (*MockBackingSubnetMockRecorder) SpaceName Uses

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

SpaceName indicates an expected call of SpaceName

func (*MockBackingSubnetMockRecorder) Status Uses

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

Status indicates an expected call of Status

func (*MockBackingSubnetMockRecorder) VLANTag Uses

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

VLANTag indicates an expected call of VLANTag

type MockLinkLayerAddress Uses

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

MockLinkLayerAddress is a mock of LinkLayerAddress interface

func NewMockLinkLayerAddress Uses

func NewMockLinkLayerAddress(ctrl *gomock.Controller) *MockLinkLayerAddress

NewMockLinkLayerAddress creates a new mock instance

func (*MockLinkLayerAddress) DeviceName Uses

func (m *MockLinkLayerAddress) DeviceName() string

DeviceName mocks base method

func (*MockLinkLayerAddress) EXPECT Uses

func (m *MockLinkLayerAddress) EXPECT() *MockLinkLayerAddressMockRecorder

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

func (*MockLinkLayerAddress) Origin Uses

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

Origin mocks base method

func (*MockLinkLayerAddress) RemoveOps Uses

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

RemoveOps mocks base method

func (*MockLinkLayerAddress) SetOriginOps Uses

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

SetOriginOps mocks base method

func (*MockLinkLayerAddress) SetProviderIDOps Uses

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

SetProviderIDOps mocks base method

func (*MockLinkLayerAddress) SetProviderNetIDsOps Uses

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

SetProviderNetIDsOps mocks base method

func (*MockLinkLayerAddress) UpdateOps Uses

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

UpdateOps mocks base method

func (*MockLinkLayerAddress) Value Uses

func (m *MockLinkLayerAddress) Value() string

Value mocks base method

type MockLinkLayerAddressMockRecorder Uses

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

MockLinkLayerAddressMockRecorder is the mock recorder for MockLinkLayerAddress

func (*MockLinkLayerAddressMockRecorder) DeviceName Uses

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

DeviceName indicates an expected call of DeviceName

func (*MockLinkLayerAddressMockRecorder) Origin Uses

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

Origin indicates an expected call of Origin

func (*MockLinkLayerAddressMockRecorder) RemoveOps Uses

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

RemoveOps indicates an expected call of RemoveOps

func (*MockLinkLayerAddressMockRecorder) SetOriginOps Uses

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

SetOriginOps indicates an expected call of SetOriginOps

func (*MockLinkLayerAddressMockRecorder) SetProviderIDOps Uses

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

SetProviderIDOps indicates an expected call of SetProviderIDOps

func (*MockLinkLayerAddressMockRecorder) SetProviderNetIDsOps Uses

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

SetProviderNetIDsOps indicates an expected call of SetProviderNetIDsOps

func (*MockLinkLayerAddressMockRecorder) UpdateOps Uses

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

UpdateOps indicates an expected call of UpdateOps

func (*MockLinkLayerAddressMockRecorder) Value Uses

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

Value indicates an expected call of Value

type MockLinkLayerAndSubnetsState Uses

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

MockLinkLayerAndSubnetsState is a mock of LinkLayerAndSubnetsState interface

func NewMockLinkLayerAndSubnetsState Uses

func NewMockLinkLayerAndSubnetsState(ctrl *gomock.Controller) *MockLinkLayerAndSubnetsState

NewMockLinkLayerAndSubnetsState creates a new mock instance

func (*MockLinkLayerAndSubnetsState) AddSubnetOps Uses

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

AddSubnetOps mocks base method

func (*MockLinkLayerAndSubnetsState) AllSubnetInfos Uses

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

AllSubnetInfos mocks base method

func (*MockLinkLayerAndSubnetsState) ApplyOperation Uses

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

ApplyOperation mocks base method

func (*MockLinkLayerAndSubnetsState) EXPECT Uses

func (m *MockLinkLayerAndSubnetsState) EXPECT() *MockLinkLayerAndSubnetsStateMockRecorder

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

func (*MockLinkLayerAndSubnetsState) Machine Uses

func (m *MockLinkLayerAndSubnetsState) Machine(arg0 string) (networkingcommon.LinkLayerMachine, error)

Machine mocks base method

type MockLinkLayerAndSubnetsStateMockRecorder Uses

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

MockLinkLayerAndSubnetsStateMockRecorder is the mock recorder for MockLinkLayerAndSubnetsState

func (*MockLinkLayerAndSubnetsStateMockRecorder) AddSubnetOps Uses

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

AddSubnetOps indicates an expected call of AddSubnetOps

func (*MockLinkLayerAndSubnetsStateMockRecorder) AllSubnetInfos Uses

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

AllSubnetInfos indicates an expected call of AllSubnetInfos

func (*MockLinkLayerAndSubnetsStateMockRecorder) ApplyOperation Uses

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

ApplyOperation indicates an expected call of ApplyOperation

func (*MockLinkLayerAndSubnetsStateMockRecorder) Machine Uses

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

Machine indicates an expected call of Machine

type MockLinkLayerDevice Uses

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

MockLinkLayerDevice is a mock of LinkLayerDevice interface

func NewMockLinkLayerDevice Uses

func NewMockLinkLayerDevice(ctrl *gomock.Controller) *MockLinkLayerDevice

NewMockLinkLayerDevice creates a new mock instance

func (*MockLinkLayerDevice) AddAddressOps Uses

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

AddAddressOps mocks base method

func (*MockLinkLayerDevice) EXPECT Uses

func (m *MockLinkLayerDevice) EXPECT() *MockLinkLayerDeviceMockRecorder

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

func (*MockLinkLayerDevice) MACAddress Uses

func (m *MockLinkLayerDevice) MACAddress() string

MACAddress mocks base method

func (*MockLinkLayerDevice) Name Uses

func (m *MockLinkLayerDevice) Name() string

Name mocks base method

func (*MockLinkLayerDevice) ProviderID Uses

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

ProviderID mocks base method

func (*MockLinkLayerDevice) RemoveOps Uses

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

RemoveOps mocks base method

func (*MockLinkLayerDevice) SetProviderIDOps Uses

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

SetProviderIDOps mocks base method

func (*MockLinkLayerDevice) Type Uses

func (m *MockLinkLayerDevice) Type() network.LinkLayerDeviceType

Type mocks base method

func (*MockLinkLayerDevice) UpdateOps Uses

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

UpdateOps mocks base method

type MockLinkLayerDeviceMockRecorder Uses

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

MockLinkLayerDeviceMockRecorder is the mock recorder for MockLinkLayerDevice

func (*MockLinkLayerDeviceMockRecorder) AddAddressOps Uses

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

AddAddressOps indicates an expected call of AddAddressOps

func (*MockLinkLayerDeviceMockRecorder) MACAddress Uses

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

MACAddress indicates an expected call of MACAddress

func (*MockLinkLayerDeviceMockRecorder) Name Uses

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

Name indicates an expected call of Name

func (*MockLinkLayerDeviceMockRecorder) ProviderID Uses

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

ProviderID indicates an expected call of ProviderID

func (*MockLinkLayerDeviceMockRecorder) RemoveOps Uses

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

RemoveOps indicates an expected call of RemoveOps

func (*MockLinkLayerDeviceMockRecorder) SetProviderIDOps Uses

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

SetProviderIDOps indicates an expected call of SetProviderIDOps

func (*MockLinkLayerDeviceMockRecorder) Type Uses

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

Type indicates an expected call of Type

func (*MockLinkLayerDeviceMockRecorder) UpdateOps Uses

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

UpdateOps indicates an expected call of UpdateOps

type MockLinkLayerMachine Uses

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

MockLinkLayerMachine is a mock of LinkLayerMachine interface

func NewMockLinkLayerMachine Uses

func NewMockLinkLayerMachine(ctrl *gomock.Controller) *MockLinkLayerMachine

NewMockLinkLayerMachine creates a new mock instance

func (*MockLinkLayerMachine) AddLinkLayerDeviceOps Uses

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

AddLinkLayerDeviceOps mocks base method

func (*MockLinkLayerMachine) AllAddresses Uses

func (m *MockLinkLayerMachine) AllAddresses() ([]networkingcommon.LinkLayerAddress, error)

AllAddresses mocks base method

func (*MockLinkLayerMachine) AllLinkLayerDevices Uses

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

AllLinkLayerDevices mocks base method

func (*MockLinkLayerMachine) AssertAliveOp Uses

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

AssertAliveOp mocks base method

func (*MockLinkLayerMachine) EXPECT Uses

func (m *MockLinkLayerMachine) EXPECT() *MockLinkLayerMachineMockRecorder

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

func (*MockLinkLayerMachine) Id Uses

func (m *MockLinkLayerMachine) Id() string

Id mocks base method

type MockLinkLayerMachineMockRecorder Uses

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

MockLinkLayerMachineMockRecorder is the mock recorder for MockLinkLayerMachine

func (*MockLinkLayerMachineMockRecorder) AddLinkLayerDeviceOps Uses

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

AddLinkLayerDeviceOps indicates an expected call of AddLinkLayerDeviceOps

func (*MockLinkLayerMachineMockRecorder) AllAddresses Uses

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

AllAddresses indicates an expected call of AllAddresses

func (*MockLinkLayerMachineMockRecorder) AllLinkLayerDevices Uses

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

AllLinkLayerDevices indicates an expected call of AllLinkLayerDevices

func (*MockLinkLayerMachineMockRecorder) AssertAliveOp Uses

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

AssertAliveOp indicates an expected call of AssertAliveOp

func (*MockLinkLayerMachineMockRecorder) Id Uses

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

Id indicates an expected call of Id

type MockLinkLayerState Uses

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

MockLinkLayerState is a mock of LinkLayerState interface

func NewMockLinkLayerState Uses

func NewMockLinkLayerState(ctrl *gomock.Controller) *MockLinkLayerState

NewMockLinkLayerState creates a new mock instance

func (*MockLinkLayerState) AllSubnetInfos Uses

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

AllSubnetInfos mocks base method

func (*MockLinkLayerState) ApplyOperation Uses

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

ApplyOperation mocks base method

func (*MockLinkLayerState) EXPECT Uses

func (m *MockLinkLayerState) EXPECT() *MockLinkLayerStateMockRecorder

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

func (*MockLinkLayerState) Machine Uses

func (m *MockLinkLayerState) Machine(arg0 string) (networkingcommon.LinkLayerMachine, error)

Machine mocks base method

type MockLinkLayerStateMockRecorder Uses

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

MockLinkLayerStateMockRecorder is the mock recorder for MockLinkLayerState

func (*MockLinkLayerStateMockRecorder) AllSubnetInfos Uses

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

AllSubnetInfos indicates an expected call of AllSubnetInfos

func (*MockLinkLayerStateMockRecorder) ApplyOperation Uses

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

ApplyOperation indicates an expected call of ApplyOperation

func (*MockLinkLayerStateMockRecorder) Machine Uses

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

Machine indicates an expected call of Machine

Package mocks imports 7 packages (graph). Updated 2020-09-27. Refresh now. Tools for package owners.