juju: github.com/juju/juju/apiserver/facades/agent/provisioner/mocks Index | Files

package mocks

import "github.com/juju/juju/apiserver/facades/agent/provisioner/mocks"

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Package Files

containerizer_mock.go package_mock.go

type MockApplication Uses

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

MockApplication is a mock of Application interface

func NewMockApplication Uses

func NewMockApplication(ctrl *gomock.Controller) *MockApplication

NewMockApplication creates a new mock instance

func (*MockApplication) Charm Uses

func (m *MockApplication) Charm() (containerizer.Charm, bool, error)

Charm mocks base method

func (*MockApplication) EXPECT Uses

func (m *MockApplication) EXPECT() *MockApplicationMockRecorder

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

func (*MockApplication) EndpointBindings Uses

func (m *MockApplication) EndpointBindings() (map[string]string, error)

EndpointBindings mocks base method

func (*MockApplication) Name Uses

func (m *MockApplication) Name() string

Name mocks base method

type MockApplicationMockRecorder Uses

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

MockApplicationMockRecorder is the mock recorder for MockApplication

func (*MockApplicationMockRecorder) Charm Uses

func (mr *MockApplicationMockRecorder) Charm() *gomock.Call

Charm indicates an expected call of Charm

func (*MockApplicationMockRecorder) EndpointBindings Uses

func (mr *MockApplicationMockRecorder) EndpointBindings() *gomock.Call

EndpointBindings indicates an expected call of EndpointBindings

func (*MockApplicationMockRecorder) Name Uses

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

Name indicates an expected call of Name

type MockBridgePolicy Uses

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

MockBridgePolicy is a mock of BridgePolicy interface

func NewMockBridgePolicy Uses

func NewMockBridgePolicy(ctrl *gomock.Controller) *MockBridgePolicy

NewMockBridgePolicy creates a new mock instance

func (*MockBridgePolicy) EXPECT Uses

func (m *MockBridgePolicy) EXPECT() *MockBridgePolicyMockRecorder

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

func (*MockBridgePolicy) FindMissingBridgesForContainer Uses

func (m *MockBridgePolicy) FindMissingBridgesForContainer(arg0 containerizer.Machine, arg1 containerizer.Container) ([]network0.DeviceToBridge, int, error)

FindMissingBridgesForContainer mocks base method

func (*MockBridgePolicy) PopulateContainerLinkLayerDevices Uses

func (m *MockBridgePolicy) PopulateContainerLinkLayerDevices(arg0 containerizer.Machine, arg1 containerizer.Container) error

PopulateContainerLinkLayerDevices mocks base method

type MockBridgePolicyMockRecorder Uses

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

MockBridgePolicyMockRecorder is the mock recorder for MockBridgePolicy

func (*MockBridgePolicyMockRecorder) FindMissingBridgesForContainer Uses

func (mr *MockBridgePolicyMockRecorder) FindMissingBridgesForContainer(arg0, arg1 interface{}) *gomock.Call

FindMissingBridgesForContainer indicates an expected call of FindMissingBridgesForContainer

func (*MockBridgePolicyMockRecorder) PopulateContainerLinkLayerDevices Uses

func (mr *MockBridgePolicyMockRecorder) PopulateContainerLinkLayerDevices(arg0, arg1 interface{}) *gomock.Call

PopulateContainerLinkLayerDevices indicates an expected call of PopulateContainerLinkLayerDevices

type MockCharm Uses

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

MockCharm is a mock of Charm interface

func NewMockCharm Uses

func NewMockCharm(ctrl *gomock.Controller) *MockCharm

NewMockCharm creates a new mock instance

func (*MockCharm) EXPECT Uses

func (m *MockCharm) EXPECT() *MockCharmMockRecorder

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

func (*MockCharm) LXDProfile Uses

func (m *MockCharm) LXDProfile() *charm_v6.LXDProfile

LXDProfile mocks base method

func (*MockCharm) Revision Uses

func (m *MockCharm) Revision() int

Revision mocks base method

type MockCharmMockRecorder Uses

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

MockCharmMockRecorder is the mock recorder for MockCharm

func (*MockCharmMockRecorder) LXDProfile Uses

func (mr *MockCharmMockRecorder) LXDProfile() *gomock.Call

LXDProfile indicates an expected call of LXDProfile

func (*MockCharmMockRecorder) Revision Uses

func (mr *MockCharmMockRecorder) Revision() *gomock.Call

Revision indicates an expected call of Revision

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) Addresses Uses

func (m *MockLinkLayerDevice) Addresses() ([]*state.Address, error)

Addresses 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) EthernetDeviceForBridge Uses

func (m *MockLinkLayerDevice) EthernetDeviceForBridge(arg0 string) (state.LinkLayerDeviceArgs, error)

EthernetDeviceForBridge mocks base method

func (*MockLinkLayerDevice) IsAutoStart Uses

func (m *MockLinkLayerDevice) IsAutoStart() bool

IsAutoStart mocks base method

func (*MockLinkLayerDevice) IsUp Uses

func (m *MockLinkLayerDevice) IsUp() bool

IsUp mocks base method

func (*MockLinkLayerDevice) MACAddress Uses

func (m *MockLinkLayerDevice) MACAddress() string

MACAddress mocks base method

func (*MockLinkLayerDevice) MTU Uses

func (m *MockLinkLayerDevice) MTU() uint

MTU mocks base method

func (*MockLinkLayerDevice) Name Uses

func (m *MockLinkLayerDevice) Name() string

Name mocks base method

func (*MockLinkLayerDevice) ParentDevice Uses

func (m *MockLinkLayerDevice) ParentDevice() (containerizer.LinkLayerDevice, error)

ParentDevice mocks base method

func (*MockLinkLayerDevice) ParentName Uses

func (m *MockLinkLayerDevice) ParentName() string

ParentName mocks base method

func (*MockLinkLayerDevice) Type Uses

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

Type mocks base method

type MockLinkLayerDeviceMockRecorder Uses

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

MockLinkLayerDeviceMockRecorder is the mock recorder for MockLinkLayerDevice

func (*MockLinkLayerDeviceMockRecorder) Addresses Uses

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

Addresses indicates an expected call of Addresses

func (*MockLinkLayerDeviceMockRecorder) EthernetDeviceForBridge Uses

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

EthernetDeviceForBridge indicates an expected call of EthernetDeviceForBridge

func (*MockLinkLayerDeviceMockRecorder) IsAutoStart Uses

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

IsAutoStart indicates an expected call of IsAutoStart

func (*MockLinkLayerDeviceMockRecorder) IsUp Uses

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

IsUp indicates an expected call of IsUp

func (*MockLinkLayerDeviceMockRecorder) MACAddress Uses

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

MACAddress indicates an expected call of MACAddress

func (*MockLinkLayerDeviceMockRecorder) MTU Uses

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

MTU indicates an expected call of MTU

func (*MockLinkLayerDeviceMockRecorder) Name Uses

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

Name indicates an expected call of Name

func (*MockLinkLayerDeviceMockRecorder) ParentDevice Uses

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

ParentDevice indicates an expected call of ParentDevice

func (*MockLinkLayerDeviceMockRecorder) ParentName Uses

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

ParentName indicates an expected call of ParentName

func (*MockLinkLayerDeviceMockRecorder) Type Uses

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

Type indicates an expected call of Type

type MockMachine Uses

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

MockMachine is a mock of Machine interface

func NewMockMachine Uses

func NewMockMachine(ctrl *gomock.Controller) *MockMachine

NewMockMachine creates a new mock instance

func (*MockMachine) AllLinkLayerDevices Uses

func (m *MockMachine) AllLinkLayerDevices() ([]containerizer.LinkLayerDevice, error)

AllLinkLayerDevices mocks base method

func (*MockMachine) AllSpaces Uses

func (m *MockMachine) AllSpaces() (set.Strings, error)

AllSpaces mocks base method

func (*MockMachine) Constraints Uses

func (m *MockMachine) Constraints() (constraints.Value, error)

Constraints mocks base method

func (*MockMachine) ContainerType Uses

func (m *MockMachine) ContainerType() instance.ContainerType

ContainerType mocks base method

func (*MockMachine) EXPECT Uses

func (m *MockMachine) EXPECT() *MockMachineMockRecorder

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

func (*MockMachine) Id Uses

func (m *MockMachine) Id() string

Id mocks base method

func (*MockMachine) InstanceId Uses

func (m *MockMachine) InstanceId() (instance.Id, error)

InstanceId mocks base method

func (*MockMachine) IsManual Uses

func (m *MockMachine) IsManual() (bool, error)

IsManual mocks base method

func (*MockMachine) LinkLayerDevicesForSpaces Uses

func (m *MockMachine) LinkLayerDevicesForSpaces(arg0 network.SpaceInfos) (map[string][]containerizer.LinkLayerDevice, error)

LinkLayerDevicesForSpaces mocks base method

func (*MockMachine) MachineTag Uses

func (m *MockMachine) MachineTag() names_v3.MachineTag

MachineTag mocks base method

func (*MockMachine) Raw Uses

func (m *MockMachine) Raw() *state.Machine

Raw mocks base method

func (*MockMachine) RemoveAllAddresses Uses

func (m *MockMachine) RemoveAllAddresses() error

RemoveAllAddresses mocks base method

func (*MockMachine) SetConstraints Uses

func (m *MockMachine) SetConstraints(arg0 constraints.Value) error

SetConstraints mocks base method

func (*MockMachine) SetDevicesAddresses Uses

func (m *MockMachine) SetDevicesAddresses(arg0 ...state.LinkLayerDeviceAddress) error

SetDevicesAddresses mocks base method

func (*MockMachine) SetLinkLayerDevices Uses

func (m *MockMachine) SetLinkLayerDevices(arg0 ...state.LinkLayerDeviceArgs) error

SetLinkLayerDevices mocks base method

func (*MockMachine) SetParentLinkLayerDevicesBeforeTheirChildren Uses

func (m *MockMachine) SetParentLinkLayerDevicesBeforeTheirChildren(arg0 []state.LinkLayerDeviceArgs) error

SetParentLinkLayerDevicesBeforeTheirChildren mocks base method

func (*MockMachine) Units Uses

func (m *MockMachine) Units() ([]containerizer.Unit, error)

Units mocks base method

type MockMachineMockRecorder Uses

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

MockMachineMockRecorder is the mock recorder for MockMachine

func (*MockMachineMockRecorder) AllLinkLayerDevices Uses

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

AllLinkLayerDevices indicates an expected call of AllLinkLayerDevices

func (*MockMachineMockRecorder) AllSpaces Uses

func (mr *MockMachineMockRecorder) AllSpaces() *gomock.Call

AllSpaces indicates an expected call of AllSpaces

func (*MockMachineMockRecorder) Constraints Uses

func (mr *MockMachineMockRecorder) Constraints() *gomock.Call

Constraints indicates an expected call of Constraints

func (*MockMachineMockRecorder) ContainerType Uses

func (mr *MockMachineMockRecorder) ContainerType() *gomock.Call

ContainerType indicates an expected call of ContainerType

func (*MockMachineMockRecorder) Id Uses

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

Id indicates an expected call of Id

func (*MockMachineMockRecorder) InstanceId Uses

func (mr *MockMachineMockRecorder) InstanceId() *gomock.Call

InstanceId indicates an expected call of InstanceId

func (*MockMachineMockRecorder) IsManual Uses

func (mr *MockMachineMockRecorder) IsManual() *gomock.Call

IsManual indicates an expected call of IsManual

func (*MockMachineMockRecorder) LinkLayerDevicesForSpaces Uses

func (mr *MockMachineMockRecorder) LinkLayerDevicesForSpaces(arg0 interface{}) *gomock.Call

LinkLayerDevicesForSpaces indicates an expected call of LinkLayerDevicesForSpaces

func (*MockMachineMockRecorder) MachineTag Uses

func (mr *MockMachineMockRecorder) MachineTag() *gomock.Call

MachineTag indicates an expected call of MachineTag

func (*MockMachineMockRecorder) Raw Uses

func (mr *MockMachineMockRecorder) Raw() *gomock.Call

Raw indicates an expected call of Raw

func (*MockMachineMockRecorder) RemoveAllAddresses Uses

func (mr *MockMachineMockRecorder) RemoveAllAddresses() *gomock.Call

RemoveAllAddresses indicates an expected call of RemoveAllAddresses

func (*MockMachineMockRecorder) SetConstraints Uses

func (mr *MockMachineMockRecorder) SetConstraints(arg0 interface{}) *gomock.Call

SetConstraints indicates an expected call of SetConstraints

func (*MockMachineMockRecorder) SetDevicesAddresses Uses

func (mr *MockMachineMockRecorder) SetDevicesAddresses(arg0 ...interface{}) *gomock.Call

SetDevicesAddresses indicates an expected call of SetDevicesAddresses

func (*MockMachineMockRecorder) SetLinkLayerDevices Uses

func (mr *MockMachineMockRecorder) SetLinkLayerDevices(arg0 ...interface{}) *gomock.Call

SetLinkLayerDevices indicates an expected call of SetLinkLayerDevices

func (*MockMachineMockRecorder) SetParentLinkLayerDevicesBeforeTheirChildren Uses

func (mr *MockMachineMockRecorder) SetParentLinkLayerDevicesBeforeTheirChildren(arg0 interface{}) *gomock.Call

SetParentLinkLayerDevicesBeforeTheirChildren indicates an expected call of SetParentLinkLayerDevicesBeforeTheirChildren

func (*MockMachineMockRecorder) Units Uses

func (mr *MockMachineMockRecorder) Units() *gomock.Call

Units indicates an expected call of Units

type MockUnit Uses

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

MockUnit is a mock of Unit interface

func NewMockUnit Uses

func NewMockUnit(ctrl *gomock.Controller) *MockUnit

NewMockUnit creates a new mock instance

func (*MockUnit) Application Uses

func (m *MockUnit) Application() (containerizer.Application, error)

Application mocks base method

func (*MockUnit) EXPECT Uses

func (m *MockUnit) EXPECT() *MockUnitMockRecorder

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

func (*MockUnit) Name Uses

func (m *MockUnit) Name() string

Name mocks base method

type MockUnitMockRecorder Uses

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

MockUnitMockRecorder is the mock recorder for MockUnit

func (*MockUnitMockRecorder) Application Uses

func (mr *MockUnitMockRecorder) Application() *gomock.Call

Application indicates an expected call of Application

func (*MockUnitMockRecorder) Name Uses

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

Name indicates an expected call of Name

Package mocks imports 11 packages (graph). Updated 2019-10-19. Refresh now. Tools for package owners.