mocks

package
v0.0.0-...-8ff1004 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2019 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

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 MockApplication

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

MockApplication is a mock of Application interface

func NewMockApplication

func NewMockApplication(ctrl *gomock.Controller) *MockApplication

NewMockApplication creates a new mock instance

func (*MockApplication) Charm

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

Charm mocks base method

func (*MockApplication) EXPECT

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

func (*MockApplication) Name

func (m *MockApplication) Name() string

Name mocks base method

type MockApplicationMockRecorder

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

MockApplicationMockRecorder is the mock recorder for MockApplication

func (*MockApplicationMockRecorder) Charm

Charm indicates an expected call of Charm

func (*MockApplicationMockRecorder) Name

Name indicates an expected call of Name

type MockCharm

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

MockCharm is a mock of Charm interface

func NewMockCharm

func NewMockCharm(ctrl *gomock.Controller) *MockCharm

NewMockCharm creates a new mock instance

func (*MockCharm) EXPECT

func (m *MockCharm) EXPECT() *MockCharmMockRecorder

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

func (*MockCharm) LXDProfile

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

LXDProfile mocks base method

func (*MockCharm) Revision

func (m *MockCharm) Revision() int

Revision mocks base method

type MockCharmMockRecorder

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

MockCharmMockRecorder is the mock recorder for MockCharm

func (*MockCharmMockRecorder) LXDProfile

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

LXDProfile indicates an expected call of LXDProfile

func (*MockCharmMockRecorder) Revision

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

Revision indicates an expected call of Revision

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

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

Addresses mocks base method

func (*MockLinkLayerDevice) EXPECT

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

func (*MockLinkLayerDevice) EthernetDeviceForBridge

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

EthernetDeviceForBridge mocks base method

func (*MockLinkLayerDevice) IsAutoStart

func (m *MockLinkLayerDevice) IsAutoStart() bool

IsAutoStart mocks base method

func (*MockLinkLayerDevice) IsUp

func (m *MockLinkLayerDevice) IsUp() bool

IsUp mocks base method

func (*MockLinkLayerDevice) MACAddress

func (m *MockLinkLayerDevice) MACAddress() string

MACAddress mocks base method

func (*MockLinkLayerDevice) MTU

func (m *MockLinkLayerDevice) MTU() uint

MTU mocks base method

func (*MockLinkLayerDevice) Name

func (m *MockLinkLayerDevice) Name() string

Name mocks base method

func (*MockLinkLayerDevice) ParentDevice

ParentDevice mocks base method

func (*MockLinkLayerDevice) ParentName

func (m *MockLinkLayerDevice) ParentName() string

ParentName mocks base method

func (*MockLinkLayerDevice) Type

Type mocks base method

type MockLinkLayerDeviceMockRecorder

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

MockLinkLayerDeviceMockRecorder is the mock recorder for MockLinkLayerDevice

func (*MockLinkLayerDeviceMockRecorder) Addresses

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

Addresses indicates an expected call of Addresses

func (*MockLinkLayerDeviceMockRecorder) EthernetDeviceForBridge

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

EthernetDeviceForBridge indicates an expected call of EthernetDeviceForBridge

func (*MockLinkLayerDeviceMockRecorder) IsAutoStart

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

IsAutoStart indicates an expected call of IsAutoStart

func (*MockLinkLayerDeviceMockRecorder) IsUp

IsUp indicates an expected call of IsUp

func (*MockLinkLayerDeviceMockRecorder) MACAddress

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

MACAddress indicates an expected call of MACAddress

func (*MockLinkLayerDeviceMockRecorder) MTU

MTU indicates an expected call of MTU

func (*MockLinkLayerDeviceMockRecorder) Name

Name indicates an expected call of Name

func (*MockLinkLayerDeviceMockRecorder) ParentDevice

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

ParentDevice indicates an expected call of ParentDevice

func (*MockLinkLayerDeviceMockRecorder) ParentName

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

ParentName indicates an expected call of ParentName

func (*MockLinkLayerDeviceMockRecorder) Type

Type indicates an expected call of Type

type MockMachine

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

MockMachine is a mock of Machine interface

func NewMockMachine

func NewMockMachine(ctrl *gomock.Controller) *MockMachine

NewMockMachine creates a new mock instance

func (*MockMachine) AllLinkLayerDevices

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

AllLinkLayerDevices mocks base method

func (*MockMachine) AllSpaces

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

AllSpaces mocks base method

func (*MockMachine) ContainerType

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

ContainerType mocks base method

func (*MockMachine) DesiredSpaces

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

DesiredSpaces mocks base method

func (*MockMachine) EXPECT

func (m *MockMachine) EXPECT() *MockMachineMockRecorder

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

func (*MockMachine) Id

func (m *MockMachine) Id() string

Id mocks base method

func (*MockMachine) InstanceId

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

InstanceId mocks base method

func (*MockMachine) IsManual

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

IsManual mocks base method

func (*MockMachine) LinkLayerDevicesForSpaces

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

LinkLayerDevicesForSpaces mocks base method

func (*MockMachine) MachineTag

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

MachineTag mocks base method

func (*MockMachine) Raw

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

Raw mocks base method

func (*MockMachine) RemoveAllAddresses

func (m *MockMachine) RemoveAllAddresses() error

RemoveAllAddresses mocks base method

func (*MockMachine) SetConstraints

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

SetConstraints mocks base method

func (*MockMachine) SetDevicesAddresses

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

SetDevicesAddresses mocks base method

func (*MockMachine) SetLinkLayerDevices

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

SetLinkLayerDevices mocks base method

func (*MockMachine) SetParentLinkLayerDevicesBeforeTheirChildren

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

SetParentLinkLayerDevicesBeforeTheirChildren mocks base method

func (*MockMachine) Units

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

Units mocks base method

type MockMachineMockRecorder

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

MockMachineMockRecorder is the mock recorder for MockMachine

func (*MockMachineMockRecorder) AllLinkLayerDevices

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

AllLinkLayerDevices indicates an expected call of AllLinkLayerDevices

func (*MockMachineMockRecorder) AllSpaces

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

AllSpaces indicates an expected call of AllSpaces

func (*MockMachineMockRecorder) ContainerType

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

ContainerType indicates an expected call of ContainerType

func (*MockMachineMockRecorder) DesiredSpaces

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

DesiredSpaces indicates an expected call of DesiredSpaces

func (*MockMachineMockRecorder) Id

Id indicates an expected call of Id

func (*MockMachineMockRecorder) InstanceId

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

InstanceId indicates an expected call of InstanceId

func (*MockMachineMockRecorder) IsManual

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

IsManual indicates an expected call of IsManual

func (*MockMachineMockRecorder) LinkLayerDevicesForSpaces

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

LinkLayerDevicesForSpaces indicates an expected call of LinkLayerDevicesForSpaces

func (*MockMachineMockRecorder) MachineTag

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

MachineTag indicates an expected call of MachineTag

func (*MockMachineMockRecorder) Raw

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

Raw indicates an expected call of Raw

func (*MockMachineMockRecorder) RemoveAllAddresses

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

RemoveAllAddresses indicates an expected call of RemoveAllAddresses

func (*MockMachineMockRecorder) SetConstraints

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

SetConstraints indicates an expected call of SetConstraints

func (*MockMachineMockRecorder) SetDevicesAddresses

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

SetDevicesAddresses indicates an expected call of SetDevicesAddresses

func (*MockMachineMockRecorder) SetLinkLayerDevices

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

SetLinkLayerDevices indicates an expected call of SetLinkLayerDevices

func (*MockMachineMockRecorder) SetParentLinkLayerDevicesBeforeTheirChildren

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

SetParentLinkLayerDevicesBeforeTheirChildren indicates an expected call of SetParentLinkLayerDevicesBeforeTheirChildren

func (*MockMachineMockRecorder) Units

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

Units indicates an expected call of Units

type MockProfileBackend

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

MockProfileBackend is a mock of ProfileBackend interface

func NewMockProfileBackend

func NewMockProfileBackend(ctrl *gomock.Controller) *MockProfileBackend

NewMockProfileBackend creates a new mock instance

func (*MockProfileBackend) Charm

Charm mocks base method

func (*MockProfileBackend) EXPECT

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

type MockProfileBackendMockRecorder

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

MockProfileBackendMockRecorder is the mock recorder for MockProfileBackend

func (*MockProfileBackendMockRecorder) Charm

func (mr *MockProfileBackendMockRecorder) Charm(arg0 interface{}) *gomock.Call

Charm indicates an expected call of Charm

type MockProfileCharm

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

MockProfileCharm is a mock of ProfileCharm interface

func NewMockProfileCharm

func NewMockProfileCharm(ctrl *gomock.Controller) *MockProfileCharm

NewMockProfileCharm creates a new mock instance

func (*MockProfileCharm) EXPECT

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

func (*MockProfileCharm) LXDProfile

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

LXDProfile mocks base method

func (*MockProfileCharm) Meta

func (m *MockProfileCharm) Meta() *charm_v6.Meta

Meta mocks base method

func (*MockProfileCharm) Revision

func (m *MockProfileCharm) Revision() int

Revision mocks base method

type MockProfileCharmMockRecorder

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

MockProfileCharmMockRecorder is the mock recorder for MockProfileCharm

func (*MockProfileCharmMockRecorder) LXDProfile

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

LXDProfile indicates an expected call of LXDProfile

func (*MockProfileCharmMockRecorder) Meta

Meta indicates an expected call of Meta

func (*MockProfileCharmMockRecorder) Revision

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

Revision indicates an expected call of Revision

type MockProfileMachine

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

MockProfileMachine is a mock of ProfileMachine interface

func NewMockProfileMachine

func NewMockProfileMachine(ctrl *gomock.Controller) *MockProfileMachine

NewMockProfileMachine creates a new mock instance

func (*MockProfileMachine) CharmProfiles

func (m *MockProfileMachine) CharmProfiles() ([]string, error)

CharmProfiles mocks base method

func (*MockProfileMachine) EXPECT

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

func (*MockProfileMachine) Id

func (m *MockProfileMachine) Id() string

Id mocks base method

func (*MockProfileMachine) ModelName

func (m *MockProfileMachine) ModelName() string

ModelName mocks base method

func (*MockProfileMachine) UpgradeCharmProfileApplication

func (m *MockProfileMachine) UpgradeCharmProfileApplication() (string, error)

UpgradeCharmProfileApplication mocks base method

func (*MockProfileMachine) UpgradeCharmProfileCharmURL

func (m *MockProfileMachine) UpgradeCharmProfileCharmURL() (string, error)

UpgradeCharmProfileCharmURL mocks base method

type MockProfileMachineMockRecorder

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

MockProfileMachineMockRecorder is the mock recorder for MockProfileMachine

func (*MockProfileMachineMockRecorder) CharmProfiles

func (mr *MockProfileMachineMockRecorder) CharmProfiles() *gomock.Call

CharmProfiles indicates an expected call of CharmProfiles

func (*MockProfileMachineMockRecorder) Id

Id indicates an expected call of Id

func (*MockProfileMachineMockRecorder) ModelName

func (mr *MockProfileMachineMockRecorder) ModelName() *gomock.Call

ModelName indicates an expected call of ModelName

func (*MockProfileMachineMockRecorder) UpgradeCharmProfileApplication

func (mr *MockProfileMachineMockRecorder) UpgradeCharmProfileApplication() *gomock.Call

UpgradeCharmProfileApplication indicates an expected call of UpgradeCharmProfileApplication

func (*MockProfileMachineMockRecorder) UpgradeCharmProfileCharmURL

func (mr *MockProfileMachineMockRecorder) UpgradeCharmProfileCharmURL() *gomock.Call

UpgradeCharmProfileCharmURL indicates an expected call of UpgradeCharmProfileCharmURL

type MockUnit

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

MockUnit is a mock of Unit interface

func NewMockUnit

func NewMockUnit(ctrl *gomock.Controller) *MockUnit

NewMockUnit creates a new mock instance

func (*MockUnit) Application

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

Application mocks base method

func (*MockUnit) EXPECT

func (m *MockUnit) EXPECT() *MockUnitMockRecorder

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

func (*MockUnit) Name

func (m *MockUnit) Name() string

Name mocks base method

type MockUnitMockRecorder

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

MockUnitMockRecorder is the mock recorder for MockUnit

func (*MockUnitMockRecorder) Application

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

Application indicates an expected call of Application

func (*MockUnitMockRecorder) Name

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

Name indicates an expected call of Name

Jump to

Keyboard shortcuts

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