Documentation

Overview

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

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAgent

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

MockAgent is a mock of Agent interface

func NewMockAgent

func NewMockAgent(ctrl *gomock.Controller) *MockAgent

NewMockAgent creates a new mock instance

func (*MockAgent) ChangeConfig

func (m *MockAgent) ChangeConfig(arg0 agent.ConfigMutator) error

ChangeConfig mocks base method

func (*MockAgent) CurrentConfig

func (m *MockAgent) CurrentConfig() agent.Config

CurrentConfig mocks base method

func (*MockAgent) EXPECT

func (m *MockAgent) EXPECT() *MockAgentMockRecorder

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

type MockAgentMockRecorder

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

MockAgentMockRecorder is the mock recorder for MockAgent

func (*MockAgentMockRecorder) ChangeConfig

func (mr *MockAgentMockRecorder) ChangeConfig(arg0 interface{}) *gomock.Call

ChangeConfig indicates an expected call of ChangeConfig

func (*MockAgentMockRecorder) CurrentConfig

func (mr *MockAgentMockRecorder) CurrentConfig() *gomock.Call

CurrentConfig indicates an expected call of CurrentConfig

type MockConfig

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

MockConfig is a mock of Config interface

func NewMockConfig

func NewMockConfig(ctrl *gomock.Controller) *MockConfig

NewMockConfig creates a new mock instance

func (*MockConfig) APIAddresses

func (m *MockConfig) APIAddresses() ([]string, error)

APIAddresses mocks base method

func (*MockConfig) APIInfo

func (m *MockConfig) APIInfo() (*api.Info, bool)

APIInfo mocks base method

func (*MockConfig) CACert

func (m *MockConfig) CACert() string

CACert mocks base method

func (*MockConfig) Controller

func (m *MockConfig) Controller() names.ControllerTag

Controller mocks base method

func (*MockConfig) DataDir

func (m *MockConfig) DataDir() string

DataDir mocks base method

func (*MockConfig) Dir

func (m *MockConfig) Dir() string

Dir mocks base method

func (*MockConfig) EXPECT

func (m *MockConfig) EXPECT() *MockConfigMockRecorder

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

func (*MockConfig) Jobs

func (m *MockConfig) Jobs() []model.MachineJob

Jobs mocks base method

func (*MockConfig) JujuDBSnapChannel

func (m *MockConfig) JujuDBSnapChannel() string

JujuDBSnapChannel mocks base method

func (*MockConfig) LogDir

func (m *MockConfig) LogDir() string

LogDir mocks base method

func (*MockConfig) LoggingConfig

func (m *MockConfig) LoggingConfig() string

LoggingConfig mocks base method

func (*MockConfig) MetricsSpoolDir

func (m *MockConfig) MetricsSpoolDir() string

MetricsSpoolDir mocks base method

func (*MockConfig) Model

func (m *MockConfig) Model() names.ModelTag

Model mocks base method

func (*MockConfig) MongoInfo

func (m *MockConfig) MongoInfo() (*mongo.MongoInfo, bool)

MongoInfo mocks base method

func (*MockConfig) MongoMemoryProfile

func (m *MockConfig) MongoMemoryProfile() mongo.MemoryProfile

MongoMemoryProfile mocks base method

func (*MockConfig) NonSyncedWritesToRaftLog

func (m *MockConfig) NonSyncedWritesToRaftLog() bool

NonSyncedWritesToRaftLog mocks base method

func (*MockConfig) Nonce

func (m *MockConfig) Nonce() string

Nonce mocks base method

func (*MockConfig) OldPassword

func (m *MockConfig) OldPassword() string

OldPassword mocks base method

func (*MockConfig) StateServingInfo

func (m *MockConfig) StateServingInfo() (controller.StateServingInfo, bool)

StateServingInfo mocks base method

func (*MockConfig) SystemIdentityPath

func (m *MockConfig) SystemIdentityPath() string

SystemIdentityPath mocks base method

func (*MockConfig) Tag

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

Tag mocks base method

func (*MockConfig) TransientDataDir

func (m *MockConfig) TransientDataDir() string

TransientDataDir mocks base method

func (*MockConfig) UpgradedToVersion

func (m *MockConfig) UpgradedToVersion() version.Number

UpgradedToVersion mocks base method

func (*MockConfig) Value

func (m *MockConfig) Value(arg0 string) string

Value mocks base method

func (*MockConfig) WriteCommands

func (m *MockConfig) WriteCommands(arg0 shell.Renderer) ([]string, error)

WriteCommands mocks base method

type MockConfigMockRecorder

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

MockConfigMockRecorder is the mock recorder for MockConfig

func (*MockConfigMockRecorder) APIAddresses

func (mr *MockConfigMockRecorder) APIAddresses() *gomock.Call

APIAddresses indicates an expected call of APIAddresses

func (*MockConfigMockRecorder) APIInfo

func (mr *MockConfigMockRecorder) APIInfo() *gomock.Call

APIInfo indicates an expected call of APIInfo

func (*MockConfigMockRecorder) CACert

func (mr *MockConfigMockRecorder) CACert() *gomock.Call

CACert indicates an expected call of CACert

func (*MockConfigMockRecorder) Controller

func (mr *MockConfigMockRecorder) Controller() *gomock.Call

Controller indicates an expected call of Controller

func (*MockConfigMockRecorder) DataDir

func (mr *MockConfigMockRecorder) DataDir() *gomock.Call

DataDir indicates an expected call of DataDir

func (*MockConfigMockRecorder) Dir

func (mr *MockConfigMockRecorder) Dir() *gomock.Call

Dir indicates an expected call of Dir

func (*MockConfigMockRecorder) Jobs

func (mr *MockConfigMockRecorder) Jobs() *gomock.Call

Jobs indicates an expected call of Jobs

func (*MockConfigMockRecorder) JujuDBSnapChannel

func (mr *MockConfigMockRecorder) JujuDBSnapChannel() *gomock.Call

JujuDBSnapChannel indicates an expected call of JujuDBSnapChannel

func (*MockConfigMockRecorder) LogDir

func (mr *MockConfigMockRecorder) LogDir() *gomock.Call

LogDir indicates an expected call of LogDir

func (*MockConfigMockRecorder) LoggingConfig

func (mr *MockConfigMockRecorder) LoggingConfig() *gomock.Call

LoggingConfig indicates an expected call of LoggingConfig

func (*MockConfigMockRecorder) MetricsSpoolDir

func (mr *MockConfigMockRecorder) MetricsSpoolDir() *gomock.Call

MetricsSpoolDir indicates an expected call of MetricsSpoolDir

func (*MockConfigMockRecorder) Model

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

Model indicates an expected call of Model

func (*MockConfigMockRecorder) MongoInfo

func (mr *MockConfigMockRecorder) MongoInfo() *gomock.Call

MongoInfo indicates an expected call of MongoInfo

func (*MockConfigMockRecorder) MongoMemoryProfile

func (mr *MockConfigMockRecorder) MongoMemoryProfile() *gomock.Call

MongoMemoryProfile indicates an expected call of MongoMemoryProfile

func (*MockConfigMockRecorder) NonSyncedWritesToRaftLog

func (mr *MockConfigMockRecorder) NonSyncedWritesToRaftLog() *gomock.Call

NonSyncedWritesToRaftLog indicates an expected call of NonSyncedWritesToRaftLog

func (*MockConfigMockRecorder) Nonce

func (mr *MockConfigMockRecorder) Nonce() *gomock.Call

Nonce indicates an expected call of Nonce

func (*MockConfigMockRecorder) OldPassword

func (mr *MockConfigMockRecorder) OldPassword() *gomock.Call

OldPassword indicates an expected call of OldPassword

func (*MockConfigMockRecorder) StateServingInfo

func (mr *MockConfigMockRecorder) StateServingInfo() *gomock.Call

StateServingInfo indicates an expected call of StateServingInfo

func (*MockConfigMockRecorder) SystemIdentityPath

func (mr *MockConfigMockRecorder) SystemIdentityPath() *gomock.Call

SystemIdentityPath indicates an expected call of SystemIdentityPath

func (*MockConfigMockRecorder) Tag

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

Tag indicates an expected call of Tag

func (*MockConfigMockRecorder) TransientDataDir

func (mr *MockConfigMockRecorder) TransientDataDir() *gomock.Call

TransientDataDir indicates an expected call of TransientDataDir

func (*MockConfigMockRecorder) UpgradedToVersion

func (mr *MockConfigMockRecorder) UpgradedToVersion() *gomock.Call

UpgradedToVersion indicates an expected call of UpgradedToVersion

func (*MockConfigMockRecorder) Value

func (mr *MockConfigMockRecorder) Value(arg0 interface{}) *gomock.Call

Value indicates an expected call of Value

func (*MockConfigMockRecorder) WriteCommands

func (mr *MockConfigMockRecorder) WriteCommands(arg0 interface{}) *gomock.Call

WriteCommands indicates an expected call of WriteCommands

type MockConfigSetter

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

MockConfigSetter is a mock of ConfigSetter interface

func NewMockConfigSetter

func NewMockConfigSetter(ctrl *gomock.Controller) *MockConfigSetter

NewMockConfigSetter creates a new mock instance

func (*MockConfigSetter) APIAddresses

func (m *MockConfigSetter) APIAddresses() ([]string, error)

APIAddresses mocks base method

func (*MockConfigSetter) APIInfo

func (m *MockConfigSetter) APIInfo() (*api.Info, bool)

APIInfo mocks base method

func (*MockConfigSetter) CACert

func (m *MockConfigSetter) CACert() string

CACert mocks base method

func (*MockConfigSetter) Clone

func (m *MockConfigSetter) Clone() agent.Config

Clone mocks base method

func (*MockConfigSetter) Controller

func (m *MockConfigSetter) Controller() names.ControllerTag

Controller mocks base method

func (*MockConfigSetter) DataDir

func (m *MockConfigSetter) DataDir() string

DataDir mocks base method

func (*MockConfigSetter) Dir

func (m *MockConfigSetter) Dir() string

Dir mocks base method

func (*MockConfigSetter) EXPECT

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

func (*MockConfigSetter) Jobs

func (m *MockConfigSetter) Jobs() []model.MachineJob

Jobs mocks base method

func (*MockConfigSetter) JujuDBSnapChannel

func (m *MockConfigSetter) JujuDBSnapChannel() string

JujuDBSnapChannel mocks base method

func (*MockConfigSetter) LogDir

func (m *MockConfigSetter) LogDir() string

LogDir mocks base method

func (*MockConfigSetter) LoggingConfig

func (m *MockConfigSetter) LoggingConfig() string

LoggingConfig mocks base method

func (*MockConfigSetter) MetricsSpoolDir

func (m *MockConfigSetter) MetricsSpoolDir() string

MetricsSpoolDir mocks base method

func (*MockConfigSetter) Model

func (m *MockConfigSetter) Model() names.ModelTag

Model mocks base method

func (*MockConfigSetter) MongoInfo

func (m *MockConfigSetter) MongoInfo() (*mongo.MongoInfo, bool)

MongoInfo mocks base method

func (*MockConfigSetter) MongoMemoryProfile

func (m *MockConfigSetter) MongoMemoryProfile() mongo.MemoryProfile

MongoMemoryProfile mocks base method

func (*MockConfigSetter) NonSyncedWritesToRaftLog

func (m *MockConfigSetter) NonSyncedWritesToRaftLog() bool

NonSyncedWritesToRaftLog mocks base method

func (*MockConfigSetter) Nonce

func (m *MockConfigSetter) Nonce() string

Nonce mocks base method

func (*MockConfigSetter) OldPassword

func (m *MockConfigSetter) OldPassword() string

OldPassword mocks base method

func (*MockConfigSetter) SetAPIHostPorts

func (m *MockConfigSetter) SetAPIHostPorts(arg0 []network.HostPorts)

SetAPIHostPorts mocks base method

func (*MockConfigSetter) SetCACert

func (m *MockConfigSetter) SetCACert(arg0 string)

SetCACert mocks base method

func (*MockConfigSetter) SetControllerAPIPort

func (m *MockConfigSetter) SetControllerAPIPort(arg0 int)

SetControllerAPIPort mocks base method

func (*MockConfigSetter) SetJujuDBSnapChannel

func (m *MockConfigSetter) SetJujuDBSnapChannel(arg0 string)

SetJujuDBSnapChannel mocks base method

func (*MockConfigSetter) SetLoggingConfig

func (m *MockConfigSetter) SetLoggingConfig(arg0 string)

SetLoggingConfig mocks base method

func (*MockConfigSetter) SetMongoMemoryProfile

func (m *MockConfigSetter) SetMongoMemoryProfile(arg0 mongo.MemoryProfile)

SetMongoMemoryProfile mocks base method

func (*MockConfigSetter) SetNonSyncedWritesToRaftLog

func (m *MockConfigSetter) SetNonSyncedWritesToRaftLog(arg0 bool)

SetNonSyncedWritesToRaftLog mocks base method

func (*MockConfigSetter) SetOldPassword

func (m *MockConfigSetter) SetOldPassword(arg0 string)

SetOldPassword mocks base method

func (*MockConfigSetter) SetPassword

func (m *MockConfigSetter) SetPassword(arg0 string)

SetPassword mocks base method

func (*MockConfigSetter) SetStateServingInfo

func (m *MockConfigSetter) SetStateServingInfo(arg0 controller.StateServingInfo)

SetStateServingInfo mocks base method

func (*MockConfigSetter) SetUpgradedToVersion

func (m *MockConfigSetter) SetUpgradedToVersion(arg0 version.Number)

SetUpgradedToVersion mocks base method

func (*MockConfigSetter) SetValue

func (m *MockConfigSetter) SetValue(arg0, arg1 string)

SetValue mocks base method

func (*MockConfigSetter) StateServingInfo

func (m *MockConfigSetter) StateServingInfo() (controller.StateServingInfo, bool)

StateServingInfo mocks base method

func (*MockConfigSetter) SystemIdentityPath

func (m *MockConfigSetter) SystemIdentityPath() string

SystemIdentityPath mocks base method

func (*MockConfigSetter) Tag

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

Tag mocks base method

func (*MockConfigSetter) TransientDataDir

func (m *MockConfigSetter) TransientDataDir() string

TransientDataDir mocks base method

func (*MockConfigSetter) UpgradedToVersion

func (m *MockConfigSetter) UpgradedToVersion() version.Number

UpgradedToVersion mocks base method

func (*MockConfigSetter) Value

func (m *MockConfigSetter) Value(arg0 string) string

Value mocks base method

func (*MockConfigSetter) WriteCommands

func (m *MockConfigSetter) WriteCommands(arg0 shell.Renderer) ([]string, error)

WriteCommands mocks base method

type MockConfigSetterMockRecorder

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

MockConfigSetterMockRecorder is the mock recorder for MockConfigSetter

func (*MockConfigSetterMockRecorder) APIAddresses

func (mr *MockConfigSetterMockRecorder) APIAddresses() *gomock.Call

APIAddresses indicates an expected call of APIAddresses

func (*MockConfigSetterMockRecorder) APIInfo

func (mr *MockConfigSetterMockRecorder) APIInfo() *gomock.Call

APIInfo indicates an expected call of APIInfo

func (*MockConfigSetterMockRecorder) CACert

CACert indicates an expected call of CACert

func (*MockConfigSetterMockRecorder) Clone

Clone indicates an expected call of Clone

func (*MockConfigSetterMockRecorder) Controller

func (mr *MockConfigSetterMockRecorder) Controller() *gomock.Call

Controller indicates an expected call of Controller

func (*MockConfigSetterMockRecorder) DataDir

func (mr *MockConfigSetterMockRecorder) DataDir() *gomock.Call

DataDir indicates an expected call of DataDir

func (*MockConfigSetterMockRecorder) Dir

Dir indicates an expected call of Dir

func (*MockConfigSetterMockRecorder) Jobs

Jobs indicates an expected call of Jobs

func (*MockConfigSetterMockRecorder) JujuDBSnapChannel

func (mr *MockConfigSetterMockRecorder) JujuDBSnapChannel() *gomock.Call

JujuDBSnapChannel indicates an expected call of JujuDBSnapChannel

func (*MockConfigSetterMockRecorder) LogDir

LogDir indicates an expected call of LogDir

func (*MockConfigSetterMockRecorder) LoggingConfig

func (mr *MockConfigSetterMockRecorder) LoggingConfig() *gomock.Call

LoggingConfig indicates an expected call of LoggingConfig

func (*MockConfigSetterMockRecorder) MetricsSpoolDir

func (mr *MockConfigSetterMockRecorder) MetricsSpoolDir() *gomock.Call

MetricsSpoolDir indicates an expected call of MetricsSpoolDir

func (*MockConfigSetterMockRecorder) Model

Model indicates an expected call of Model

func (*MockConfigSetterMockRecorder) MongoInfo

func (mr *MockConfigSetterMockRecorder) MongoInfo() *gomock.Call

MongoInfo indicates an expected call of MongoInfo

func (*MockConfigSetterMockRecorder) MongoMemoryProfile

func (mr *MockConfigSetterMockRecorder) MongoMemoryProfile() *gomock.Call

MongoMemoryProfile indicates an expected call of MongoMemoryProfile

func (*MockConfigSetterMockRecorder) NonSyncedWritesToRaftLog

func (mr *MockConfigSetterMockRecorder) NonSyncedWritesToRaftLog() *gomock.Call

NonSyncedWritesToRaftLog indicates an expected call of NonSyncedWritesToRaftLog

func (*MockConfigSetterMockRecorder) Nonce

Nonce indicates an expected call of Nonce

func (*MockConfigSetterMockRecorder) OldPassword

func (mr *MockConfigSetterMockRecorder) OldPassword() *gomock.Call

OldPassword indicates an expected call of OldPassword

func (*MockConfigSetterMockRecorder) SetAPIHostPorts

func (mr *MockConfigSetterMockRecorder) SetAPIHostPorts(arg0 interface{}) *gomock.Call

SetAPIHostPorts indicates an expected call of SetAPIHostPorts

func (*MockConfigSetterMockRecorder) SetCACert

func (mr *MockConfigSetterMockRecorder) SetCACert(arg0 interface{}) *gomock.Call

SetCACert indicates an expected call of SetCACert

func (*MockConfigSetterMockRecorder) SetControllerAPIPort

func (mr *MockConfigSetterMockRecorder) SetControllerAPIPort(arg0 interface{}) *gomock.Call

SetControllerAPIPort indicates an expected call of SetControllerAPIPort

func (*MockConfigSetterMockRecorder) SetJujuDBSnapChannel

func (mr *MockConfigSetterMockRecorder) SetJujuDBSnapChannel(arg0 interface{}) *gomock.Call

SetJujuDBSnapChannel indicates an expected call of SetJujuDBSnapChannel

func (*MockConfigSetterMockRecorder) SetLoggingConfig

func (mr *MockConfigSetterMockRecorder) SetLoggingConfig(arg0 interface{}) *gomock.Call

SetLoggingConfig indicates an expected call of SetLoggingConfig

func (*MockConfigSetterMockRecorder) SetMongoMemoryProfile

func (mr *MockConfigSetterMockRecorder) SetMongoMemoryProfile(arg0 interface{}) *gomock.Call

SetMongoMemoryProfile indicates an expected call of SetMongoMemoryProfile

func (*MockConfigSetterMockRecorder) SetNonSyncedWritesToRaftLog

func (mr *MockConfigSetterMockRecorder) SetNonSyncedWritesToRaftLog(arg0 interface{}) *gomock.Call

SetNonSyncedWritesToRaftLog indicates an expected call of SetNonSyncedWritesToRaftLog

func (*MockConfigSetterMockRecorder) SetOldPassword

func (mr *MockConfigSetterMockRecorder) SetOldPassword(arg0 interface{}) *gomock.Call

SetOldPassword indicates an expected call of SetOldPassword

func (*MockConfigSetterMockRecorder) SetPassword

func (mr *MockConfigSetterMockRecorder) SetPassword(arg0 interface{}) *gomock.Call

SetPassword indicates an expected call of SetPassword

func (*MockConfigSetterMockRecorder) SetStateServingInfo

func (mr *MockConfigSetterMockRecorder) SetStateServingInfo(arg0 interface{}) *gomock.Call

SetStateServingInfo indicates an expected call of SetStateServingInfo

func (*MockConfigSetterMockRecorder) SetUpgradedToVersion

func (mr *MockConfigSetterMockRecorder) SetUpgradedToVersion(arg0 interface{}) *gomock.Call

SetUpgradedToVersion indicates an expected call of SetUpgradedToVersion

func (*MockConfigSetterMockRecorder) SetValue

func (mr *MockConfigSetterMockRecorder) SetValue(arg0, arg1 interface{}) *gomock.Call

SetValue indicates an expected call of SetValue

func (*MockConfigSetterMockRecorder) StateServingInfo

func (mr *MockConfigSetterMockRecorder) StateServingInfo() *gomock.Call

StateServingInfo indicates an expected call of StateServingInfo

func (*MockConfigSetterMockRecorder) SystemIdentityPath

func (mr *MockConfigSetterMockRecorder) SystemIdentityPath() *gomock.Call

SystemIdentityPath indicates an expected call of SystemIdentityPath

func (*MockConfigSetterMockRecorder) Tag

Tag indicates an expected call of Tag

func (*MockConfigSetterMockRecorder) TransientDataDir

func (mr *MockConfigSetterMockRecorder) TransientDataDir() *gomock.Call

TransientDataDir indicates an expected call of TransientDataDir

func (*MockConfigSetterMockRecorder) UpgradedToVersion

func (mr *MockConfigSetterMockRecorder) UpgradedToVersion() *gomock.Call

UpgradedToVersion indicates an expected call of UpgradedToVersion

func (*MockConfigSetterMockRecorder) Value

func (mr *MockConfigSetterMockRecorder) Value(arg0 interface{}) *gomock.Call

Value indicates an expected call of Value

func (*MockConfigSetterMockRecorder) WriteCommands

func (mr *MockConfigSetterMockRecorder) WriteCommands(arg0 interface{}) *gomock.Call

WriteCommands indicates an expected call of WriteCommands

type MockLock

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

MockLock is a mock of Lock interface

func NewMockLock

func NewMockLock(ctrl *gomock.Controller) *MockLock

NewMockLock creates a new mock instance

func (*MockLock) EXPECT

func (m *MockLock) EXPECT() *MockLockMockRecorder

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

func (*MockLock) IsUnlocked

func (m *MockLock) IsUnlocked() bool

IsUnlocked mocks base method

func (*MockLock) Unlock

func (m *MockLock) Unlock()

Unlock mocks base method

func (*MockLock) Unlocked

func (m *MockLock) Unlocked() <-chan struct{}

Unlocked mocks base method

type MockLockMockRecorder

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

MockLockMockRecorder is the mock recorder for MockLock

func (*MockLockMockRecorder) IsUnlocked

func (mr *MockLockMockRecorder) IsUnlocked() *gomock.Call

IsUnlocked indicates an expected call of IsUnlocked

func (*MockLockMockRecorder) Unlock

func (mr *MockLockMockRecorder) Unlock() *gomock.Call

Unlock indicates an expected call of Unlock

func (*MockLockMockRecorder) Unlocked

func (mr *MockLockMockRecorder) Unlocked() *gomock.Call

Unlocked indicates an expected call of Unlocked

type MockLogger

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

MockLogger is a mock of Logger interface

func NewMockLogger

func NewMockLogger(ctrl *gomock.Controller) *MockLogger

NewMockLogger creates a new mock instance

func (*MockLogger) Debugf

func (m *MockLogger) Debugf(arg0 string, arg1 ...interface{})

Debugf mocks base method

func (*MockLogger) EXPECT

func (m *MockLogger) EXPECT() *MockLoggerMockRecorder

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

func (*MockLogger) Errorf

func (m *MockLogger) Errorf(arg0 string, arg1 ...interface{})

Errorf mocks base method

func (*MockLogger) Infof

func (m *MockLogger) Infof(arg0 string, arg1 ...interface{})

Infof mocks base method

type MockLoggerMockRecorder

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

MockLoggerMockRecorder is the mock recorder for MockLogger

func (*MockLoggerMockRecorder) Debugf

func (mr *MockLoggerMockRecorder) Debugf(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Debugf indicates an expected call of Debugf

func (*MockLoggerMockRecorder) Errorf

func (mr *MockLoggerMockRecorder) Errorf(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Errorf indicates an expected call of Errorf

func (*MockLoggerMockRecorder) Infof

func (mr *MockLoggerMockRecorder) Infof(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Infof indicates an expected call of Infof

type MockNotifyWatcher

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

MockNotifyWatcher is a mock of NotifyWatcher interface

func NewMockNotifyWatcher

func NewMockNotifyWatcher(ctrl *gomock.Controller) *MockNotifyWatcher

NewMockNotifyWatcher creates a new mock instance

func (*MockNotifyWatcher) Changes

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

Changes mocks base method

func (*MockNotifyWatcher) EXPECT

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

func (*MockNotifyWatcher) Err

func (m *MockNotifyWatcher) Err() error

Err mocks base method

func (*MockNotifyWatcher) Kill

func (m *MockNotifyWatcher) Kill()

Kill mocks base method

func (*MockNotifyWatcher) Stop

func (m *MockNotifyWatcher) Stop() error

Stop mocks base method

func (*MockNotifyWatcher) Wait

func (m *MockNotifyWatcher) Wait() error

Wait mocks base method

type MockNotifyWatcherMockRecorder

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

MockNotifyWatcherMockRecorder is the mock recorder for MockNotifyWatcher

func (*MockNotifyWatcherMockRecorder) Changes

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

Changes indicates an expected call of Changes

func (*MockNotifyWatcherMockRecorder) Err

Err indicates an expected call of Err

func (*MockNotifyWatcherMockRecorder) Kill

Kill indicates an expected call of Kill

func (*MockNotifyWatcherMockRecorder) Stop

Stop indicates an expected call of Stop

func (*MockNotifyWatcherMockRecorder) Wait

Wait indicates an expected call of Wait

type MockPool

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

MockPool is a mock of Pool interface

func NewMockPool

func NewMockPool(ctrl *gomock.Controller) *MockPool

NewMockPool creates a new mock instance

func (*MockPool) Close

func (m *MockPool) Close() error

Close mocks base method

func (*MockPool) EXPECT

func (m *MockPool) EXPECT() *MockPoolMockRecorder

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

func (*MockPool) EnsureUpgradeInfo

func (m *MockPool) EnsureUpgradeInfo(arg0 string, arg1, arg2 version.Number) (upgradedatabase.UpgradeInfo, error)

EnsureUpgradeInfo mocks base method

func (*MockPool) IsPrimary

func (m *MockPool) IsPrimary(arg0 string) (bool, error)

IsPrimary mocks base method

func (*MockPool) SetStatus

func (m *MockPool) SetStatus(arg0 string, arg1 status.Status, arg2 string) error

SetStatus mocks base method

type MockPoolMockRecorder

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

MockPoolMockRecorder is the mock recorder for MockPool

func (*MockPoolMockRecorder) Close

func (mr *MockPoolMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockPoolMockRecorder) EnsureUpgradeInfo

func (mr *MockPoolMockRecorder) EnsureUpgradeInfo(arg0, arg1, arg2 interface{}) *gomock.Call

EnsureUpgradeInfo indicates an expected call of EnsureUpgradeInfo

func (*MockPoolMockRecorder) IsPrimary

func (mr *MockPoolMockRecorder) IsPrimary(arg0 interface{}) *gomock.Call

IsPrimary indicates an expected call of IsPrimary

func (*MockPoolMockRecorder) SetStatus

func (mr *MockPoolMockRecorder) SetStatus(arg0, arg1, arg2 interface{}) *gomock.Call

SetStatus indicates an expected call of SetStatus

type MockUpgradeInfo

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

MockUpgradeInfo is a mock of UpgradeInfo interface

func NewMockUpgradeInfo

func NewMockUpgradeInfo(ctrl *gomock.Controller) *MockUpgradeInfo

NewMockUpgradeInfo creates a new mock instance

func (*MockUpgradeInfo) EXPECT

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

func (*MockUpgradeInfo) Refresh

func (m *MockUpgradeInfo) Refresh() error

Refresh mocks base method

func (*MockUpgradeInfo) SetStatus

func (m *MockUpgradeInfo) SetStatus(arg0 state.UpgradeStatus) error

SetStatus mocks base method

func (*MockUpgradeInfo) Status

func (m *MockUpgradeInfo) Status() state.UpgradeStatus

Status mocks base method

func (*MockUpgradeInfo) Watch

func (m *MockUpgradeInfo) Watch() state.NotifyWatcher

Watch mocks base method

type MockUpgradeInfoMockRecorder

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

MockUpgradeInfoMockRecorder is the mock recorder for MockUpgradeInfo

func (*MockUpgradeInfoMockRecorder) Refresh

func (mr *MockUpgradeInfoMockRecorder) Refresh() *gomock.Call

Refresh indicates an expected call of Refresh

func (*MockUpgradeInfoMockRecorder) SetStatus

func (mr *MockUpgradeInfoMockRecorder) SetStatus(arg0 interface{}) *gomock.Call

SetStatus indicates an expected call of SetStatus

func (*MockUpgradeInfoMockRecorder) Status

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

Status indicates an expected call of Status

func (*MockUpgradeInfoMockRecorder) Watch

Watch indicates an expected call of Watch