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

package mocks

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

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Package Files

lxdprofile.go newlxdprofile.go

type MockLXDProfileBackend Uses

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

MockLXDProfileBackend is a mock of LXDProfileBackend interface

func NewMockLXDProfileBackend Uses

func NewMockLXDProfileBackend(ctrl *gomock.Controller) *MockLXDProfileBackend

NewMockLXDProfileBackend creates a new mock instance

func (*MockLXDProfileBackend) EXPECT Uses

func (m *MockLXDProfileBackend) EXPECT() *MockLXDProfileBackendMockRecorder

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

func (*MockLXDProfileBackend) Machine Uses

func (m *MockLXDProfileBackend) Machine(arg0 string) (uniter.LXDProfileMachine, error)

Machine mocks base method

func (*MockLXDProfileBackend) Unit Uses

func (m *MockLXDProfileBackend) Unit(arg0 string) (uniter.LXDProfileUnit, error)

Unit mocks base method

type MockLXDProfileBackendMockRecorder Uses

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

MockLXDProfileBackendMockRecorder is the mock recorder for MockLXDProfileBackend

func (*MockLXDProfileBackendMockRecorder) Machine Uses

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

Machine indicates an expected call of Machine

func (*MockLXDProfileBackendMockRecorder) Unit Uses

func (mr *MockLXDProfileBackendMockRecorder) Unit(arg0 interface{}) *gomock.Call

Unit indicates an expected call of Unit

type MockLXDProfileBackendV2 Uses

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

MockLXDProfileBackendV2 is a mock of LXDProfileBackendV2 interface

func NewMockLXDProfileBackendV2 Uses

func NewMockLXDProfileBackendV2(ctrl *gomock.Controller) *MockLXDProfileBackendV2

NewMockLXDProfileBackendV2 creates a new mock instance

func (*MockLXDProfileBackendV2) Charm Uses

func (m *MockLXDProfileBackendV2) Charm(arg0 *charm.URL) (uniter.LXDProfileCharmV2, error)

Charm mocks base method

func (*MockLXDProfileBackendV2) EXPECT Uses

func (m *MockLXDProfileBackendV2) EXPECT() *MockLXDProfileBackendV2MockRecorder

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

func (*MockLXDProfileBackendV2) Machine Uses

func (m *MockLXDProfileBackendV2) Machine(arg0 string) (uniter.LXDProfileMachineV2, error)

Machine mocks base method

func (*MockLXDProfileBackendV2) Model Uses

func (m *MockLXDProfileBackendV2) Model() (uniter.LXDProfileModelV2, error)

Model mocks base method

func (*MockLXDProfileBackendV2) Unit Uses

func (m *MockLXDProfileBackendV2) Unit(arg0 string) (uniter.LXDProfileUnitV2, error)

Unit mocks base method

type MockLXDProfileBackendV2MockRecorder Uses

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

MockLXDProfileBackendV2MockRecorder is the mock recorder for MockLXDProfileBackendV2

func (*MockLXDProfileBackendV2MockRecorder) Charm Uses

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

Charm indicates an expected call of Charm

func (*MockLXDProfileBackendV2MockRecorder) Machine Uses

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

Machine indicates an expected call of Machine

func (*MockLXDProfileBackendV2MockRecorder) Model Uses

func (mr *MockLXDProfileBackendV2MockRecorder) Model() *gomock.Call

Model indicates an expected call of Model

func (*MockLXDProfileBackendV2MockRecorder) Unit Uses

func (mr *MockLXDProfileBackendV2MockRecorder) Unit(arg0 interface{}) *gomock.Call

Unit indicates an expected call of Unit

type MockLXDProfileCharmV2 Uses

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

MockLXDProfileCharmV2 is a mock of LXDProfileCharmV2 interface

func NewMockLXDProfileCharmV2 Uses

func NewMockLXDProfileCharmV2(ctrl *gomock.Controller) *MockLXDProfileCharmV2

NewMockLXDProfileCharmV2 creates a new mock instance

func (*MockLXDProfileCharmV2) EXPECT Uses

func (m *MockLXDProfileCharmV2) EXPECT() *MockLXDProfileCharmV2MockRecorder

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

func (*MockLXDProfileCharmV2) LXDProfile Uses

func (m *MockLXDProfileCharmV2) LXDProfile() lxdprofile.Profile

LXDProfile mocks base method

type MockLXDProfileCharmV2MockRecorder Uses

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

MockLXDProfileCharmV2MockRecorder is the mock recorder for MockLXDProfileCharmV2

func (*MockLXDProfileCharmV2MockRecorder) LXDProfile Uses

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

LXDProfile indicates an expected call of LXDProfile

type MockLXDProfileMachine Uses

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

MockLXDProfileMachine is a mock of LXDProfileMachine interface

func NewMockLXDProfileMachine Uses

func NewMockLXDProfileMachine(ctrl *gomock.Controller) *MockLXDProfileMachine

NewMockLXDProfileMachine creates a new mock instance

func (*MockLXDProfileMachine) EXPECT Uses

func (m *MockLXDProfileMachine) EXPECT() *MockLXDProfileMachineMockRecorder

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

func (*MockLXDProfileMachine) WatchLXDProfileUpgradeNotifications Uses

func (m *MockLXDProfileMachine) WatchLXDProfileUpgradeNotifications(arg0 string) (state.StringsWatcher, error)

WatchLXDProfileUpgradeNotifications mocks base method

type MockLXDProfileMachineMockRecorder Uses

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

MockLXDProfileMachineMockRecorder is the mock recorder for MockLXDProfileMachine

func (*MockLXDProfileMachineMockRecorder) WatchLXDProfileUpgradeNotifications Uses

func (mr *MockLXDProfileMachineMockRecorder) WatchLXDProfileUpgradeNotifications(arg0 interface{}) *gomock.Call

WatchLXDProfileUpgradeNotifications indicates an expected call of WatchLXDProfileUpgradeNotifications

type MockLXDProfileMachineV2 Uses

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

MockLXDProfileMachineV2 is a mock of LXDProfileMachineV2 interface

func NewMockLXDProfileMachineV2 Uses

func NewMockLXDProfileMachineV2(ctrl *gomock.Controller) *MockLXDProfileMachineV2

NewMockLXDProfileMachineV2 creates a new mock instance

func (*MockLXDProfileMachineV2) CharmProfiles Uses

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

CharmProfiles mocks base method

func (*MockLXDProfileMachineV2) ContainerType Uses

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

ContainerType mocks base method

func (*MockLXDProfileMachineV2) EXPECT Uses

func (m *MockLXDProfileMachineV2) EXPECT() *MockLXDProfileMachineV2MockRecorder

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

func (*MockLXDProfileMachineV2) IsManual Uses

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

IsManual mocks base method

func (*MockLXDProfileMachineV2) WatchInstanceData Uses

func (m *MockLXDProfileMachineV2) WatchInstanceData() state.NotifyWatcher

WatchInstanceData mocks base method

type MockLXDProfileMachineV2MockRecorder Uses

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

MockLXDProfileMachineV2MockRecorder is the mock recorder for MockLXDProfileMachineV2

func (*MockLXDProfileMachineV2MockRecorder) CharmProfiles Uses

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

CharmProfiles indicates an expected call of CharmProfiles

func (*MockLXDProfileMachineV2MockRecorder) ContainerType Uses

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

ContainerType indicates an expected call of ContainerType

func (*MockLXDProfileMachineV2MockRecorder) IsManual Uses

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

IsManual indicates an expected call of IsManual

func (*MockLXDProfileMachineV2MockRecorder) WatchInstanceData Uses

func (mr *MockLXDProfileMachineV2MockRecorder) WatchInstanceData() *gomock.Call

WatchInstanceData indicates an expected call of WatchInstanceData

type MockLXDProfileModelV2 Uses

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

MockLXDProfileModelV2 is a mock of LXDProfileModelV2 interface

func NewMockLXDProfileModelV2 Uses

func NewMockLXDProfileModelV2(ctrl *gomock.Controller) *MockLXDProfileModelV2

NewMockLXDProfileModelV2 creates a new mock instance

func (*MockLXDProfileModelV2) EXPECT Uses

func (m *MockLXDProfileModelV2) EXPECT() *MockLXDProfileModelV2MockRecorder

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

func (*MockLXDProfileModelV2) ModelConfig Uses

func (m *MockLXDProfileModelV2) ModelConfig() (*config.Config, error)

ModelConfig mocks base method

func (*MockLXDProfileModelV2) Type Uses

func (m *MockLXDProfileModelV2) Type() state.ModelType

Type mocks base method

type MockLXDProfileModelV2MockRecorder Uses

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

MockLXDProfileModelV2MockRecorder is the mock recorder for MockLXDProfileModelV2

func (*MockLXDProfileModelV2MockRecorder) ModelConfig Uses

func (mr *MockLXDProfileModelV2MockRecorder) ModelConfig() *gomock.Call

ModelConfig indicates an expected call of ModelConfig

func (*MockLXDProfileModelV2MockRecorder) Type Uses

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

Type indicates an expected call of Type

type MockLXDProfileUnit Uses

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

MockLXDProfileUnit is a mock of LXDProfileUnit interface

func NewMockLXDProfileUnit Uses

func NewMockLXDProfileUnit(ctrl *gomock.Controller) *MockLXDProfileUnit

NewMockLXDProfileUnit creates a new mock instance

func (*MockLXDProfileUnit) AssignedMachineId Uses

func (m *MockLXDProfileUnit) AssignedMachineId() (string, error)

AssignedMachineId mocks base method

func (*MockLXDProfileUnit) EXPECT Uses

func (m *MockLXDProfileUnit) EXPECT() *MockLXDProfileUnitMockRecorder

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

func (*MockLXDProfileUnit) Name Uses

func (m *MockLXDProfileUnit) Name() string

Name mocks base method

func (*MockLXDProfileUnit) Tag Uses

func (m *MockLXDProfileUnit) Tag() names.Tag

Tag mocks base method

func (*MockLXDProfileUnit) WatchLXDProfileUpgradeNotifications Uses

func (m *MockLXDProfileUnit) WatchLXDProfileUpgradeNotifications() (state.StringsWatcher, error)

WatchLXDProfileUpgradeNotifications mocks base method

type MockLXDProfileUnitMockRecorder Uses

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

MockLXDProfileUnitMockRecorder is the mock recorder for MockLXDProfileUnit

func (*MockLXDProfileUnitMockRecorder) AssignedMachineId Uses

func (mr *MockLXDProfileUnitMockRecorder) AssignedMachineId() *gomock.Call

AssignedMachineId indicates an expected call of AssignedMachineId

func (*MockLXDProfileUnitMockRecorder) Name Uses

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

Name indicates an expected call of Name

func (*MockLXDProfileUnitMockRecorder) Tag Uses

func (mr *MockLXDProfileUnitMockRecorder) Tag() *gomock.Call

Tag indicates an expected call of Tag

func (*MockLXDProfileUnitMockRecorder) WatchLXDProfileUpgradeNotifications Uses

func (mr *MockLXDProfileUnitMockRecorder) WatchLXDProfileUpgradeNotifications() *gomock.Call

WatchLXDProfileUpgradeNotifications indicates an expected call of WatchLXDProfileUpgradeNotifications

type MockLXDProfileUnitV2 Uses

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

MockLXDProfileUnitV2 is a mock of LXDProfileUnitV2 interface

func NewMockLXDProfileUnitV2 Uses

func NewMockLXDProfileUnitV2(ctrl *gomock.Controller) *MockLXDProfileUnitV2

NewMockLXDProfileUnitV2 creates a new mock instance

func (*MockLXDProfileUnitV2) ApplicationName Uses

func (m *MockLXDProfileUnitV2) ApplicationName() string

ApplicationName mocks base method

func (*MockLXDProfileUnitV2) AssignedMachineId Uses

func (m *MockLXDProfileUnitV2) AssignedMachineId() (string, error)

AssignedMachineId mocks base method

func (*MockLXDProfileUnitV2) CharmURL Uses

func (m *MockLXDProfileUnitV2) CharmURL() (*charm.URL, bool)

CharmURL mocks base method

func (*MockLXDProfileUnitV2) EXPECT Uses

func (m *MockLXDProfileUnitV2) EXPECT() *MockLXDProfileUnitV2MockRecorder

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

func (*MockLXDProfileUnitV2) Name Uses

func (m *MockLXDProfileUnitV2) Name() string

Name mocks base method

func (*MockLXDProfileUnitV2) Tag Uses

func (m *MockLXDProfileUnitV2) Tag() names.Tag

Tag mocks base method

type MockLXDProfileUnitV2MockRecorder Uses

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

MockLXDProfileUnitV2MockRecorder is the mock recorder for MockLXDProfileUnitV2

func (*MockLXDProfileUnitV2MockRecorder) ApplicationName Uses

func (mr *MockLXDProfileUnitV2MockRecorder) ApplicationName() *gomock.Call

ApplicationName indicates an expected call of ApplicationName

func (*MockLXDProfileUnitV2MockRecorder) AssignedMachineId Uses

func (mr *MockLXDProfileUnitV2MockRecorder) AssignedMachineId() *gomock.Call

AssignedMachineId indicates an expected call of AssignedMachineId

func (*MockLXDProfileUnitV2MockRecorder) CharmURL Uses

func (mr *MockLXDProfileUnitV2MockRecorder) CharmURL() *gomock.Call

CharmURL indicates an expected call of CharmURL

func (*MockLXDProfileUnitV2MockRecorder) Name Uses

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

Name indicates an expected call of Name

func (*MockLXDProfileUnitV2MockRecorder) Tag Uses

func (mr *MockLXDProfileUnitV2MockRecorder) Tag() *gomock.Call

Tag indicates an expected call of Tag

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