juju: github.com/juju/juju/worker/upgradedatabase/mocks Index | Files

package mocks

import "github.com/juju/juju/worker/upgradedatabase/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

agent.go lock.go package.go watcher.go

type MockAgent Uses

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

MockAgent is a mock of Agent interface

func NewMockAgent Uses

func NewMockAgent(ctrl *gomock.Controller) *MockAgent

NewMockAgent creates a new mock instance

func (*MockAgent) ChangeConfig Uses

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

ChangeConfig mocks base method

func (*MockAgent) CurrentConfig Uses

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

CurrentConfig mocks base method

func (*MockAgent) EXPECT Uses

func (m *MockAgent) EXPECT() *MockAgentMockRecorder

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

type MockAgentMockRecorder Uses

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

MockAgentMockRecorder is the mock recorder for MockAgent

func (*MockAgentMockRecorder) ChangeConfig Uses

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

ChangeConfig indicates an expected call of ChangeConfig

func (*MockAgentMockRecorder) CurrentConfig Uses

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

CurrentConfig indicates an expected call of CurrentConfig

type MockConfig Uses

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

MockConfig is a mock of Config interface

func NewMockConfig Uses

func NewMockConfig(ctrl *gomock.Controller) *MockConfig

NewMockConfig creates a new mock instance

func (*MockConfig) APIAddresses Uses

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

APIAddresses mocks base method

func (*MockConfig) APIInfo Uses

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

APIInfo mocks base method

func (*MockConfig) CACert Uses

func (m *MockConfig) CACert() string

CACert mocks base method

func (*MockConfig) Controller Uses

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

Controller mocks base method

func (*MockConfig) DataDir Uses

func (m *MockConfig) DataDir() string

DataDir mocks base method

func (*MockConfig) Dir Uses

func (m *MockConfig) Dir() string

Dir mocks base method

func (*MockConfig) EXPECT Uses

func (m *MockConfig) EXPECT() *MockConfigMockRecorder

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

func (*MockConfig) Jobs Uses

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

Jobs mocks base method

func (*MockConfig) LogDir Uses

func (m *MockConfig) LogDir() string

LogDir mocks base method

func (*MockConfig) LoggingConfig Uses

func (m *MockConfig) LoggingConfig() string

LoggingConfig mocks base method

func (*MockConfig) MetricsSpoolDir Uses

func (m *MockConfig) MetricsSpoolDir() string

MetricsSpoolDir mocks base method

func (*MockConfig) Model Uses

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

Model mocks base method

func (*MockConfig) MongoInfo Uses

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

MongoInfo mocks base method

func (*MockConfig) MongoMemoryProfile Uses

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

MongoMemoryProfile mocks base method

func (*MockConfig) MongoVersion Uses

func (m *MockConfig) MongoVersion() mongo.Version

MongoVersion mocks base method

func (*MockConfig) Nonce Uses

func (m *MockConfig) Nonce() string

Nonce mocks base method

func (*MockConfig) OldPassword Uses

func (m *MockConfig) OldPassword() string

OldPassword mocks base method

func (*MockConfig) StateServingInfo Uses

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

StateServingInfo mocks base method

func (*MockConfig) SystemIdentityPath Uses

func (m *MockConfig) SystemIdentityPath() string

SystemIdentityPath mocks base method

func (*MockConfig) Tag Uses

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

Tag mocks base method

func (*MockConfig) UpgradedToVersion Uses

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

UpgradedToVersion mocks base method

func (*MockConfig) Value Uses

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

Value mocks base method

func (*MockConfig) WriteCommands Uses

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

WriteCommands mocks base method

type MockConfigMockRecorder Uses

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

MockConfigMockRecorder is the mock recorder for MockConfig

func (*MockConfigMockRecorder) APIAddresses Uses

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

APIAddresses indicates an expected call of APIAddresses

func (*MockConfigMockRecorder) APIInfo Uses

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

APIInfo indicates an expected call of APIInfo

func (*MockConfigMockRecorder) CACert Uses

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

CACert indicates an expected call of CACert

func (*MockConfigMockRecorder) Controller Uses

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

Controller indicates an expected call of Controller

func (*MockConfigMockRecorder) DataDir Uses

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

DataDir indicates an expected call of DataDir

func (*MockConfigMockRecorder) Dir Uses

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

Dir indicates an expected call of Dir

func (*MockConfigMockRecorder) Jobs Uses

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

Jobs indicates an expected call of Jobs

func (*MockConfigMockRecorder) LogDir Uses

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

LogDir indicates an expected call of LogDir

func (*MockConfigMockRecorder) LoggingConfig Uses

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

LoggingConfig indicates an expected call of LoggingConfig

func (*MockConfigMockRecorder) MetricsSpoolDir Uses

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

MetricsSpoolDir indicates an expected call of MetricsSpoolDir

func (*MockConfigMockRecorder) Model Uses

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

Model indicates an expected call of Model

func (*MockConfigMockRecorder) MongoInfo Uses

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

MongoInfo indicates an expected call of MongoInfo

func (*MockConfigMockRecorder) MongoMemoryProfile Uses

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

MongoMemoryProfile indicates an expected call of MongoMemoryProfile

func (*MockConfigMockRecorder) MongoVersion Uses

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

MongoVersion indicates an expected call of MongoVersion

func (*MockConfigMockRecorder) Nonce Uses

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

Nonce indicates an expected call of Nonce

func (*MockConfigMockRecorder) OldPassword Uses

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

OldPassword indicates an expected call of OldPassword

func (*MockConfigMockRecorder) StateServingInfo Uses

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

StateServingInfo indicates an expected call of StateServingInfo

func (*MockConfigMockRecorder) SystemIdentityPath Uses

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

SystemIdentityPath indicates an expected call of SystemIdentityPath

func (*MockConfigMockRecorder) Tag Uses

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

Tag indicates an expected call of Tag

func (*MockConfigMockRecorder) UpgradedToVersion Uses

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

UpgradedToVersion indicates an expected call of UpgradedToVersion

func (*MockConfigMockRecorder) Value Uses

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

Value indicates an expected call of Value

func (*MockConfigMockRecorder) WriteCommands Uses

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

WriteCommands indicates an expected call of WriteCommands

type MockConfigSetter Uses

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

MockConfigSetter is a mock of ConfigSetter interface

func NewMockConfigSetter Uses

func NewMockConfigSetter(ctrl *gomock.Controller) *MockConfigSetter

NewMockConfigSetter creates a new mock instance

func (*MockConfigSetter) APIAddresses Uses

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

APIAddresses mocks base method

func (*MockConfigSetter) APIInfo Uses

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

APIInfo mocks base method

func (*MockConfigSetter) CACert Uses

func (m *MockConfigSetter) CACert() string

CACert mocks base method

func (*MockConfigSetter) Clone Uses

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

Clone mocks base method

func (*MockConfigSetter) Controller Uses

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

Controller mocks base method

func (*MockConfigSetter) DataDir Uses

func (m *MockConfigSetter) DataDir() string

DataDir mocks base method

func (*MockConfigSetter) Dir Uses

func (m *MockConfigSetter) Dir() string

Dir mocks base method

func (*MockConfigSetter) EXPECT Uses

func (m *MockConfigSetter) EXPECT() *MockConfigSetterMockRecorder

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

func (*MockConfigSetter) Jobs Uses

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

Jobs mocks base method

func (*MockConfigSetter) LogDir Uses

func (m *MockConfigSetter) LogDir() string

LogDir mocks base method

func (*MockConfigSetter) LoggingConfig Uses

func (m *MockConfigSetter) LoggingConfig() string

LoggingConfig mocks base method

func (*MockConfigSetter) MetricsSpoolDir Uses

func (m *MockConfigSetter) MetricsSpoolDir() string

MetricsSpoolDir mocks base method

func (*MockConfigSetter) Model Uses

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

Model mocks base method

func (*MockConfigSetter) MongoInfo Uses

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

MongoInfo mocks base method

func (*MockConfigSetter) MongoMemoryProfile Uses

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

MongoMemoryProfile mocks base method

func (*MockConfigSetter) MongoVersion Uses

func (m *MockConfigSetter) MongoVersion() mongo.Version

MongoVersion mocks base method

func (*MockConfigSetter) Nonce Uses

func (m *MockConfigSetter) Nonce() string

Nonce mocks base method

func (*MockConfigSetter) OldPassword Uses

func (m *MockConfigSetter) OldPassword() string

OldPassword mocks base method

func (*MockConfigSetter) SetAPIHostPorts Uses

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

SetAPIHostPorts mocks base method

func (*MockConfigSetter) SetCACert Uses

func (m *MockConfigSetter) SetCACert(arg0 string)

SetCACert mocks base method

func (*MockConfigSetter) SetControllerAPIPort Uses

func (m *MockConfigSetter) SetControllerAPIPort(arg0 int)

SetControllerAPIPort mocks base method

func (*MockConfigSetter) SetLoggingConfig Uses

func (m *MockConfigSetter) SetLoggingConfig(arg0 string)

SetLoggingConfig mocks base method

func (*MockConfigSetter) SetMongoMemoryProfile Uses

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

SetMongoMemoryProfile mocks base method

func (*MockConfigSetter) SetMongoVersion Uses

func (m *MockConfigSetter) SetMongoVersion(arg0 mongo.Version)

SetMongoVersion mocks base method

func (*MockConfigSetter) SetOldPassword Uses

func (m *MockConfigSetter) SetOldPassword(arg0 string)

SetOldPassword mocks base method

func (*MockConfigSetter) SetPassword Uses

func (m *MockConfigSetter) SetPassword(arg0 string)

SetPassword mocks base method

func (*MockConfigSetter) SetStateServingInfo Uses

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

SetStateServingInfo mocks base method

func (*MockConfigSetter) SetUpgradedToVersion Uses

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

SetUpgradedToVersion mocks base method

func (*MockConfigSetter) SetValue Uses

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

SetValue mocks base method

func (*MockConfigSetter) StateServingInfo Uses

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

StateServingInfo mocks base method

func (*MockConfigSetter) SystemIdentityPath Uses

func (m *MockConfigSetter) SystemIdentityPath() string

SystemIdentityPath mocks base method

func (*MockConfigSetter) Tag Uses

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

Tag mocks base method

func (*MockConfigSetter) UpgradedToVersion Uses

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

UpgradedToVersion mocks base method

func (*MockConfigSetter) Value Uses

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

Value mocks base method

func (*MockConfigSetter) WriteCommands Uses

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

WriteCommands mocks base method

type MockConfigSetterMockRecorder Uses

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

MockConfigSetterMockRecorder is the mock recorder for MockConfigSetter

func (*MockConfigSetterMockRecorder) APIAddresses Uses

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

APIAddresses indicates an expected call of APIAddresses

func (*MockConfigSetterMockRecorder) APIInfo Uses

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

APIInfo indicates an expected call of APIInfo

func (*MockConfigSetterMockRecorder) CACert Uses

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

CACert indicates an expected call of CACert

func (*MockConfigSetterMockRecorder) Clone Uses

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

Clone indicates an expected call of Clone

func (*MockConfigSetterMockRecorder) Controller Uses

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

Controller indicates an expected call of Controller

func (*MockConfigSetterMockRecorder) DataDir Uses

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

DataDir indicates an expected call of DataDir

func (*MockConfigSetterMockRecorder) Dir Uses

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

Dir indicates an expected call of Dir

func (*MockConfigSetterMockRecorder) Jobs Uses

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

Jobs indicates an expected call of Jobs

func (*MockConfigSetterMockRecorder) LogDir Uses

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

LogDir indicates an expected call of LogDir

func (*MockConfigSetterMockRecorder) LoggingConfig Uses

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

LoggingConfig indicates an expected call of LoggingConfig

func (*MockConfigSetterMockRecorder) MetricsSpoolDir Uses

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

MetricsSpoolDir indicates an expected call of MetricsSpoolDir

func (*MockConfigSetterMockRecorder) Model Uses

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

Model indicates an expected call of Model

func (*MockConfigSetterMockRecorder) MongoInfo Uses

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

MongoInfo indicates an expected call of MongoInfo

func (*MockConfigSetterMockRecorder) MongoMemoryProfile Uses

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

MongoMemoryProfile indicates an expected call of MongoMemoryProfile

func (*MockConfigSetterMockRecorder) MongoVersion Uses

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

MongoVersion indicates an expected call of MongoVersion

func (*MockConfigSetterMockRecorder) Nonce Uses

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

Nonce indicates an expected call of Nonce

func (*MockConfigSetterMockRecorder) OldPassword Uses

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

OldPassword indicates an expected call of OldPassword

func (*MockConfigSetterMockRecorder) SetAPIHostPorts Uses

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

SetAPIHostPorts indicates an expected call of SetAPIHostPorts

func (*MockConfigSetterMockRecorder) SetCACert Uses

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

SetCACert indicates an expected call of SetCACert

func (*MockConfigSetterMockRecorder) SetControllerAPIPort Uses

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

SetControllerAPIPort indicates an expected call of SetControllerAPIPort

func (*MockConfigSetterMockRecorder) SetLoggingConfig Uses

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

SetLoggingConfig indicates an expected call of SetLoggingConfig

func (*MockConfigSetterMockRecorder) SetMongoMemoryProfile Uses

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

SetMongoMemoryProfile indicates an expected call of SetMongoMemoryProfile

func (*MockConfigSetterMockRecorder) SetMongoVersion Uses

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

SetMongoVersion indicates an expected call of SetMongoVersion

func (*MockConfigSetterMockRecorder) SetOldPassword Uses

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

SetOldPassword indicates an expected call of SetOldPassword

func (*MockConfigSetterMockRecorder) SetPassword Uses

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

SetPassword indicates an expected call of SetPassword

func (*MockConfigSetterMockRecorder) SetStateServingInfo Uses

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

SetStateServingInfo indicates an expected call of SetStateServingInfo

func (*MockConfigSetterMockRecorder) SetUpgradedToVersion Uses

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

SetUpgradedToVersion indicates an expected call of SetUpgradedToVersion

func (*MockConfigSetterMockRecorder) SetValue Uses

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

SetValue indicates an expected call of SetValue

func (*MockConfigSetterMockRecorder) StateServingInfo Uses

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

StateServingInfo indicates an expected call of StateServingInfo

func (*MockConfigSetterMockRecorder) SystemIdentityPath Uses

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

SystemIdentityPath indicates an expected call of SystemIdentityPath

func (*MockConfigSetterMockRecorder) Tag Uses

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

Tag indicates an expected call of Tag

func (*MockConfigSetterMockRecorder) UpgradedToVersion Uses

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

UpgradedToVersion indicates an expected call of UpgradedToVersion

func (*MockConfigSetterMockRecorder) Value Uses

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

Value indicates an expected call of Value

func (*MockConfigSetterMockRecorder) WriteCommands Uses

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

WriteCommands indicates an expected call of WriteCommands

type MockLock Uses

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

MockLock is a mock of Lock interface

func NewMockLock Uses

func NewMockLock(ctrl *gomock.Controller) *MockLock

NewMockLock creates a new mock instance

func (*MockLock) EXPECT Uses

func (m *MockLock) EXPECT() *MockLockMockRecorder

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

func (*MockLock) IsUnlocked Uses

func (m *MockLock) IsUnlocked() bool

IsUnlocked mocks base method

func (*MockLock) Unlock Uses

func (m *MockLock) Unlock()

Unlock mocks base method

func (*MockLock) Unlocked Uses

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

Unlocked mocks base method

type MockLockMockRecorder Uses

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

MockLockMockRecorder is the mock recorder for MockLock

func (*MockLockMockRecorder) IsUnlocked Uses

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

IsUnlocked indicates an expected call of IsUnlocked

func (*MockLockMockRecorder) Unlock Uses

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

Unlock indicates an expected call of Unlock

func (*MockLockMockRecorder) Unlocked Uses

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

Unlocked indicates an expected call of Unlocked

type MockLogger Uses

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

MockLogger is a mock of Logger interface

func NewMockLogger Uses

func NewMockLogger(ctrl *gomock.Controller) *MockLogger

NewMockLogger creates a new mock instance

func (*MockLogger) Debugf Uses

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

Debugf mocks base method

func (*MockLogger) EXPECT Uses

func (m *MockLogger) EXPECT() *MockLoggerMockRecorder

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

func (*MockLogger) Errorf Uses

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

Errorf mocks base method

func (*MockLogger) Infof Uses

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

Infof mocks base method

type MockLoggerMockRecorder Uses

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

MockLoggerMockRecorder is the mock recorder for MockLogger

func (*MockLoggerMockRecorder) Debugf Uses

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

Debugf indicates an expected call of Debugf

func (*MockLoggerMockRecorder) Errorf Uses

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

Errorf indicates an expected call of Errorf

func (*MockLoggerMockRecorder) Infof Uses

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

Infof indicates an expected call of Infof

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

func (m *MockNotifyWatcher) Err() error

Err mocks base method

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

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

Err indicates an expected call of Err

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 MockPool Uses

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

MockPool is a mock of Pool interface

func NewMockPool Uses

func NewMockPool(ctrl *gomock.Controller) *MockPool

NewMockPool creates a new mock instance

func (*MockPool) Close Uses

func (m *MockPool) Close() error

Close mocks base method

func (*MockPool) EXPECT Uses

func (m *MockPool) EXPECT() *MockPoolMockRecorder

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

func (*MockPool) EnsureUpgradeInfo Uses

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

EnsureUpgradeInfo mocks base method

func (*MockPool) IsPrimary Uses

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

IsPrimary mocks base method

func (*MockPool) SetStatus Uses

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

SetStatus mocks base method

type MockPoolMockRecorder Uses

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

MockPoolMockRecorder is the mock recorder for MockPool

func (*MockPoolMockRecorder) Close Uses

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

Close indicates an expected call of Close

func (*MockPoolMockRecorder) EnsureUpgradeInfo Uses

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

EnsureUpgradeInfo indicates an expected call of EnsureUpgradeInfo

func (*MockPoolMockRecorder) IsPrimary Uses

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

IsPrimary indicates an expected call of IsPrimary

func (*MockPoolMockRecorder) SetStatus Uses

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

SetStatus indicates an expected call of SetStatus

type MockUpgradeInfo Uses

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

MockUpgradeInfo is a mock of UpgradeInfo interface

func NewMockUpgradeInfo Uses

func NewMockUpgradeInfo(ctrl *gomock.Controller) *MockUpgradeInfo

NewMockUpgradeInfo creates a new mock instance

func (*MockUpgradeInfo) EXPECT Uses

func (m *MockUpgradeInfo) EXPECT() *MockUpgradeInfoMockRecorder

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

func (*MockUpgradeInfo) Refresh Uses

func (m *MockUpgradeInfo) Refresh() error

Refresh mocks base method

func (*MockUpgradeInfo) SetStatus Uses

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

SetStatus mocks base method

func (*MockUpgradeInfo) Status Uses

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

Status mocks base method

func (*MockUpgradeInfo) Watch Uses

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

Watch mocks base method

type MockUpgradeInfoMockRecorder Uses

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

MockUpgradeInfoMockRecorder is the mock recorder for MockUpgradeInfo

func (*MockUpgradeInfoMockRecorder) Refresh Uses

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

Refresh indicates an expected call of Refresh

func (*MockUpgradeInfoMockRecorder) SetStatus Uses

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

SetStatus indicates an expected call of SetStatus

func (*MockUpgradeInfoMockRecorder) Status Uses

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

Status indicates an expected call of Status

func (*MockUpgradeInfoMockRecorder) Watch Uses

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

Watch indicates an expected call of Watch

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