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

package mocks

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

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Package Files

instancemutater_mock.go modelcache_mock.go state_mock.go watcher_mock.go

type MockEntity Uses

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

MockEntity is a mock of Entity interface

func NewMockEntity Uses

func NewMockEntity(ctrl *gomock.Controller) *MockEntity

NewMockEntity creates a new mock instance

func (*MockEntity) EXPECT Uses

func (m *MockEntity) EXPECT() *MockEntityMockRecorder

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

func (*MockEntity) Tag Uses

func (m *MockEntity) Tag() names_v3.Tag

Tag mocks base method

type MockEntityFinder Uses

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

MockEntityFinder is a mock of EntityFinder interface

func NewMockEntityFinder Uses

func NewMockEntityFinder(ctrl *gomock.Controller) *MockEntityFinder

NewMockEntityFinder creates a new mock instance

func (*MockEntityFinder) EXPECT Uses

func (m *MockEntityFinder) EXPECT() *MockEntityFinderMockRecorder

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

func (*MockEntityFinder) FindEntity Uses

func (m *MockEntityFinder) FindEntity(arg0 names_v3.Tag) (state.Entity, error)

FindEntity mocks base method

type MockEntityFinderMockRecorder Uses

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

MockEntityFinderMockRecorder is the mock recorder for MockEntityFinder

func (*MockEntityFinderMockRecorder) FindEntity Uses

func (mr *MockEntityFinderMockRecorder) FindEntity(arg0 interface{}) *gomock.Call

FindEntity indicates an expected call of FindEntity

type MockEntityMockRecorder Uses

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

MockEntityMockRecorder is the mock recorder for MockEntity

func (*MockEntityMockRecorder) Tag Uses

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

Tag indicates an expected call of Tag

type MockInstanceMutaterState Uses

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

MockInstanceMutaterState is a mock of InstanceMutaterState interface

func NewMockInstanceMutaterState Uses

func NewMockInstanceMutaterState(ctrl *gomock.Controller) *MockInstanceMutaterState

NewMockInstanceMutaterState creates a new mock instance

func (*MockInstanceMutaterState) ControllerTimestamp Uses

func (m *MockInstanceMutaterState) ControllerTimestamp() (*time.Time, error)

ControllerTimestamp mocks base method

func (*MockInstanceMutaterState) EXPECT Uses

func (m *MockInstanceMutaterState) EXPECT() *MockInstanceMutaterStateMockRecorder

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

func (*MockInstanceMutaterState) FindEntity Uses

func (m *MockInstanceMutaterState) FindEntity(arg0 names_v3.Tag) (state.Entity, error)

FindEntity mocks base method

type MockInstanceMutaterStateMockRecorder Uses

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

MockInstanceMutaterStateMockRecorder is the mock recorder for MockInstanceMutaterState

func (*MockInstanceMutaterStateMockRecorder) ControllerTimestamp Uses

func (mr *MockInstanceMutaterStateMockRecorder) ControllerTimestamp() *gomock.Call

ControllerTimestamp indicates an expected call of ControllerTimestamp

func (*MockInstanceMutaterStateMockRecorder) FindEntity Uses

func (mr *MockInstanceMutaterStateMockRecorder) FindEntity(arg0 interface{}) *gomock.Call

FindEntity indicates an expected call of FindEntity

type MockLXDProfile Uses

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

MockLXDProfile is a mock of LXDProfile interface

func NewMockLXDProfile Uses

func NewMockLXDProfile(ctrl *gomock.Controller) *MockLXDProfile

NewMockLXDProfile creates a new mock instance

func (*MockLXDProfile) Config Uses

func (m *MockLXDProfile) Config() map[string]string

Config mocks base method

func (*MockLXDProfile) Description Uses

func (m *MockLXDProfile) Description() string

Description mocks base method

func (*MockLXDProfile) Devices Uses

func (m *MockLXDProfile) Devices() map[string]map[string]string

Devices mocks base method

func (*MockLXDProfile) EXPECT Uses

func (m *MockLXDProfile) EXPECT() *MockLXDProfileMockRecorder

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

func (*MockLXDProfile) Empty Uses

func (m *MockLXDProfile) Empty() bool

Empty mocks base method

func (*MockLXDProfile) ValidateConfigDevices Uses

func (m *MockLXDProfile) ValidateConfigDevices() error

ValidateConfigDevices mocks base method

type MockLXDProfileMockRecorder Uses

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

MockLXDProfileMockRecorder is the mock recorder for MockLXDProfile

func (*MockLXDProfileMockRecorder) Config Uses

func (mr *MockLXDProfileMockRecorder) Config() *gomock.Call

Config indicates an expected call of Config

func (*MockLXDProfileMockRecorder) Description Uses

func (mr *MockLXDProfileMockRecorder) Description() *gomock.Call

Description indicates an expected call of Description

func (*MockLXDProfileMockRecorder) Devices Uses

func (mr *MockLXDProfileMockRecorder) Devices() *gomock.Call

Devices indicates an expected call of Devices

func (*MockLXDProfileMockRecorder) Empty Uses

func (mr *MockLXDProfileMockRecorder) Empty() *gomock.Call

Empty indicates an expected call of Empty

func (*MockLXDProfileMockRecorder) ValidateConfigDevices Uses

func (mr *MockLXDProfileMockRecorder) ValidateConfigDevices() *gomock.Call

ValidateConfigDevices indicates an expected call of ValidateConfigDevices

type MockLifer Uses

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

MockLifer is a mock of Lifer interface

func NewMockLifer Uses

func NewMockLifer(ctrl *gomock.Controller) *MockLifer

NewMockLifer creates a new mock instance

func (*MockLifer) EXPECT Uses

func (m *MockLifer) EXPECT() *MockLiferMockRecorder

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

func (*MockLifer) Life Uses

func (m *MockLifer) Life() state.Life

Life mocks base method

type MockLiferMockRecorder Uses

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

MockLiferMockRecorder is the mock recorder for MockLifer

func (*MockLiferMockRecorder) Life Uses

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

Life indicates an expected call of Life

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

func (m *MockMachine) EXPECT() *MockMachineMockRecorder

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

func (*MockMachine) SetCharmProfiles Uses

func (m *MockMachine) SetCharmProfiles(arg0 []string) error

SetCharmProfiles mocks base method

func (*MockMachine) SetModificationStatus Uses

func (m *MockMachine) SetModificationStatus(arg0 status.StatusInfo) error

SetModificationStatus mocks base method

type MockMachineMockRecorder Uses

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

MockMachineMockRecorder is the mock recorder for MockMachine

func (*MockMachineMockRecorder) SetCharmProfiles Uses

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

SetCharmProfiles indicates an expected call of SetCharmProfiles

func (*MockMachineMockRecorder) SetModificationStatus Uses

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

SetModificationStatus indicates an expected call of SetModificationStatus

type MockModelCache Uses

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

MockModelCache is a mock of ModelCache interface

func NewMockModelCache Uses

func NewMockModelCache(ctrl *gomock.Controller) *MockModelCache

NewMockModelCache creates a new mock instance

func (*MockModelCache) Application Uses

func (m *MockModelCache) Application(arg0 string) (instancemutater.ModelCacheApplication, error)

Application mocks base method

func (*MockModelCache) Charm Uses

func (m *MockModelCache) Charm(arg0 string) (instancemutater.ModelCacheCharm, error)

Charm mocks base method

func (*MockModelCache) EXPECT Uses

func (m *MockModelCache) EXPECT() *MockModelCacheMockRecorder

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

func (*MockModelCache) Machine Uses

func (m *MockModelCache) Machine(arg0 string) (instancemutater.ModelCacheMachine, error)

Machine mocks base method

func (*MockModelCache) Name Uses

func (m *MockModelCache) Name() string

Name mocks base method

func (*MockModelCache) WatchMachines Uses

func (m *MockModelCache) WatchMachines() (cache.StringsWatcher, error)

WatchMachines mocks base method

type MockModelCacheApplication Uses

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

MockModelCacheApplication is a mock of ModelCacheApplication interface

func NewMockModelCacheApplication Uses

func NewMockModelCacheApplication(ctrl *gomock.Controller) *MockModelCacheApplication

NewMockModelCacheApplication creates a new mock instance

func (*MockModelCacheApplication) CharmURL Uses

func (m *MockModelCacheApplication) CharmURL() string

CharmURL mocks base method

func (*MockModelCacheApplication) EXPECT Uses

func (m *MockModelCacheApplication) EXPECT() *MockModelCacheApplicationMockRecorder

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

type MockModelCacheApplicationMockRecorder Uses

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

MockModelCacheApplicationMockRecorder is the mock recorder for MockModelCacheApplication

func (*MockModelCacheApplicationMockRecorder) CharmURL Uses

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

CharmURL indicates an expected call of CharmURL

type MockModelCacheCharm Uses

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

MockModelCacheCharm is a mock of ModelCacheCharm interface

func NewMockModelCacheCharm Uses

func NewMockModelCacheCharm(ctrl *gomock.Controller) *MockModelCacheCharm

NewMockModelCacheCharm creates a new mock instance

func (*MockModelCacheCharm) EXPECT Uses

func (m *MockModelCacheCharm) EXPECT() *MockModelCacheCharmMockRecorder

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

func (*MockModelCacheCharm) LXDProfile Uses

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

LXDProfile mocks base method

type MockModelCacheCharmMockRecorder Uses

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

MockModelCacheCharmMockRecorder is the mock recorder for MockModelCacheCharm

func (*MockModelCacheCharmMockRecorder) LXDProfile Uses

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

LXDProfile indicates an expected call of LXDProfile

type MockModelCacheMachine Uses

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

MockModelCacheMachine is a mock of ModelCacheMachine interface

func NewMockModelCacheMachine Uses

func NewMockModelCacheMachine(ctrl *gomock.Controller) *MockModelCacheMachine

NewMockModelCacheMachine creates a new mock instance

func (*MockModelCacheMachine) CharmProfiles Uses

func (m *MockModelCacheMachine) CharmProfiles() []string

CharmProfiles mocks base method

func (*MockModelCacheMachine) ContainerType Uses

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

ContainerType mocks base method

func (*MockModelCacheMachine) EXPECT Uses

func (m *MockModelCacheMachine) EXPECT() *MockModelCacheMachineMockRecorder

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

func (*MockModelCacheMachine) InstanceId Uses

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

InstanceId mocks base method

func (*MockModelCacheMachine) Units Uses

func (m *MockModelCacheMachine) Units() ([]instancemutater.ModelCacheUnit, error)

Units mocks base method

func (*MockModelCacheMachine) WatchContainers Uses

func (m *MockModelCacheMachine) WatchContainers() (cache.StringsWatcher, error)

WatchContainers mocks base method

func (*MockModelCacheMachine) WatchLXDProfileVerificationNeeded Uses

func (m *MockModelCacheMachine) WatchLXDProfileVerificationNeeded() (cache.NotifyWatcher, error)

WatchLXDProfileVerificationNeeded mocks base method

type MockModelCacheMachineMockRecorder Uses

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

MockModelCacheMachineMockRecorder is the mock recorder for MockModelCacheMachine

func (*MockModelCacheMachineMockRecorder) CharmProfiles Uses

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

CharmProfiles indicates an expected call of CharmProfiles

func (*MockModelCacheMachineMockRecorder) ContainerType Uses

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

ContainerType indicates an expected call of ContainerType

func (*MockModelCacheMachineMockRecorder) InstanceId Uses

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

InstanceId indicates an expected call of InstanceId

func (*MockModelCacheMachineMockRecorder) Units Uses

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

Units indicates an expected call of Units

func (*MockModelCacheMachineMockRecorder) WatchContainers Uses

func (mr *MockModelCacheMachineMockRecorder) WatchContainers() *gomock.Call

WatchContainers indicates an expected call of WatchContainers

func (*MockModelCacheMachineMockRecorder) WatchLXDProfileVerificationNeeded Uses

func (mr *MockModelCacheMachineMockRecorder) WatchLXDProfileVerificationNeeded() *gomock.Call

WatchLXDProfileVerificationNeeded indicates an expected call of WatchLXDProfileVerificationNeeded

type MockModelCacheMockRecorder Uses

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

MockModelCacheMockRecorder is the mock recorder for MockModelCache

func (*MockModelCacheMockRecorder) Application Uses

func (mr *MockModelCacheMockRecorder) Application(arg0 interface{}) *gomock.Call

Application indicates an expected call of Application

func (*MockModelCacheMockRecorder) Charm Uses

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

Charm indicates an expected call of Charm

func (*MockModelCacheMockRecorder) Machine Uses

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

Machine indicates an expected call of Machine

func (*MockModelCacheMockRecorder) Name Uses

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

Name indicates an expected call of Name

func (*MockModelCacheMockRecorder) WatchMachines Uses

func (mr *MockModelCacheMockRecorder) WatchMachines() *gomock.Call

WatchMachines indicates an expected call of WatchMachines

type MockModelCacheUnit Uses

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

MockModelCacheUnit is a mock of ModelCacheUnit interface

func NewMockModelCacheUnit Uses

func NewMockModelCacheUnit(ctrl *gomock.Controller) *MockModelCacheUnit

NewMockModelCacheUnit creates a new mock instance

func (*MockModelCacheUnit) Application Uses

func (m *MockModelCacheUnit) Application() string

Application mocks base method

func (*MockModelCacheUnit) EXPECT Uses

func (m *MockModelCacheUnit) EXPECT() *MockModelCacheUnitMockRecorder

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

type MockModelCacheUnitMockRecorder Uses

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

MockModelCacheUnitMockRecorder is the mock recorder for MockModelCacheUnit

func (*MockModelCacheUnitMockRecorder) Application Uses

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

Application indicates an expected call of Application

type MockNotifyWatcher Uses

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

MockNotifyWatcher is a mock of NotifyWatcher interface

func NewMockNotifyWatcher Uses

func NewMockNotifyWatcher(ctrl *gomock.Controller) *MockNotifyWatcher

NewMockNotifyWatcher creates a new mock instance

func (*MockNotifyWatcher) Changes Uses

func (m *MockNotifyWatcher) Changes() <-chan struct{}

Changes mocks base method

func (*MockNotifyWatcher) EXPECT Uses

func (m *MockNotifyWatcher) EXPECT() *MockNotifyWatcherMockRecorder

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

func (*MockNotifyWatcher) Kill Uses

func (m *MockNotifyWatcher) Kill()

Kill mocks base method

func (*MockNotifyWatcher) Stop Uses

func (m *MockNotifyWatcher) Stop() error

Stop mocks base method

func (*MockNotifyWatcher) Wait Uses

func (m *MockNotifyWatcher) Wait() error

Wait mocks base method

type MockNotifyWatcherMockRecorder Uses

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

MockNotifyWatcherMockRecorder is the mock recorder for MockNotifyWatcher

func (*MockNotifyWatcherMockRecorder) Changes Uses

func (mr *MockNotifyWatcherMockRecorder) Changes() *gomock.Call

Changes indicates an expected call of Changes

func (*MockNotifyWatcherMockRecorder) Kill Uses

func (mr *MockNotifyWatcherMockRecorder) Kill() *gomock.Call

Kill indicates an expected call of Kill

func (*MockNotifyWatcherMockRecorder) Stop Uses

func (mr *MockNotifyWatcherMockRecorder) Stop() *gomock.Call

Stop indicates an expected call of Stop

func (*MockNotifyWatcherMockRecorder) Wait Uses

func (mr *MockNotifyWatcherMockRecorder) Wait() *gomock.Call

Wait indicates an expected call of Wait

type MockStringsWatcher Uses

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

MockStringsWatcher is a mock of StringsWatcher interface

func NewMockStringsWatcher Uses

func NewMockStringsWatcher(ctrl *gomock.Controller) *MockStringsWatcher

NewMockStringsWatcher creates a new mock instance

func (*MockStringsWatcher) Changes Uses

func (m *MockStringsWatcher) Changes() <-chan []string

Changes mocks base method

func (*MockStringsWatcher) EXPECT Uses

func (m *MockStringsWatcher) EXPECT() *MockStringsWatcherMockRecorder

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

func (*MockStringsWatcher) Kill Uses

func (m *MockStringsWatcher) Kill()

Kill mocks base method

func (*MockStringsWatcher) Stop Uses

func (m *MockStringsWatcher) Stop() error

Stop mocks base method

func (*MockStringsWatcher) Wait Uses

func (m *MockStringsWatcher) Wait() error

Wait mocks base method

type MockStringsWatcherMockRecorder Uses

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

MockStringsWatcherMockRecorder is the mock recorder for MockStringsWatcher

func (*MockStringsWatcherMockRecorder) Changes Uses

func (mr *MockStringsWatcherMockRecorder) Changes() *gomock.Call

Changes indicates an expected call of Changes

func (*MockStringsWatcherMockRecorder) Kill Uses

func (mr *MockStringsWatcherMockRecorder) Kill() *gomock.Call

Kill indicates an expected call of Kill

func (*MockStringsWatcherMockRecorder) Stop Uses

func (mr *MockStringsWatcherMockRecorder) Stop() *gomock.Call

Stop indicates an expected call of Stop

func (*MockStringsWatcherMockRecorder) Wait Uses

func (mr *MockStringsWatcherMockRecorder) Wait() *gomock.Call

Wait indicates an expected call of Wait

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