mocks

package
v0.0.0-...-9ec3720 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2021 License: AGPL-3.0 Imports: 9 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.

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 MockAuthorizer

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

MockAuthorizer is a mock of Authorizer interface

func NewMockAuthorizer

func NewMockAuthorizer(ctrl *gomock.Controller) *MockAuthorizer

NewMockAuthorizer creates a new mock instance

func (*MockAuthorizer) AuthController

func (m *MockAuthorizer) AuthController() bool

AuthController mocks base method

func (*MockAuthorizer) AuthMachineAgent

func (m *MockAuthorizer) AuthMachineAgent() bool

AuthMachineAgent mocks base method

func (*MockAuthorizer) EXPECT

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

func (*MockAuthorizer) GetAuthTag

func (m *MockAuthorizer) GetAuthTag() names.Tag

GetAuthTag mocks base method

type MockAuthorizerMockRecorder

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

MockAuthorizerMockRecorder is the mock recorder for MockAuthorizer

func (*MockAuthorizerMockRecorder) AuthController

func (mr *MockAuthorizerMockRecorder) AuthController() *gomock.Call

AuthController indicates an expected call of AuthController

func (*MockAuthorizerMockRecorder) AuthMachineAgent

func (mr *MockAuthorizerMockRecorder) AuthMachineAgent() *gomock.Call

AuthMachineAgent indicates an expected call of AuthMachineAgent

func (*MockAuthorizerMockRecorder) GetAuthTag

func (mr *MockAuthorizerMockRecorder) GetAuthTag() *gomock.Call

GetAuthTag indicates an expected call of GetAuthTag

type MockLeadershipMachine

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

MockLeadershipMachine is a mock of LeadershipMachine interface

func NewMockLeadershipMachine

func NewMockLeadershipMachine(ctrl *gomock.Controller) *MockLeadershipMachine

NewMockLeadershipMachine creates a new mock instance

func (*MockLeadershipMachine) ApplicationNames

func (m *MockLeadershipMachine) ApplicationNames() ([]string, error)

ApplicationNames mocks base method

func (*MockLeadershipMachine) EXPECT

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

type MockLeadershipMachineMockRecorder

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

MockLeadershipMachineMockRecorder is the mock recorder for MockLeadershipMachine

func (*MockLeadershipMachineMockRecorder) ApplicationNames

func (mr *MockLeadershipMachineMockRecorder) ApplicationNames() *gomock.Call

ApplicationNames indicates an expected call of ApplicationNames

type MockLeadershipPinningBackend

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

MockLeadershipPinningBackend is a mock of LeadershipPinningBackend interface

func NewMockLeadershipPinningBackend

func NewMockLeadershipPinningBackend(ctrl *gomock.Controller) *MockLeadershipPinningBackend

NewMockLeadershipPinningBackend creates a new mock instance

func (*MockLeadershipPinningBackend) EXPECT

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

func (*MockLeadershipPinningBackend) Machine

Machine mocks base method

type MockLeadershipPinningBackendMockRecorder

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

MockLeadershipPinningBackendMockRecorder is the mock recorder for MockLeadershipPinningBackend

func (*MockLeadershipPinningBackendMockRecorder) Machine

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

Machine indicates an expected call of Machine

type MockModelOperation

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

MockModelOperation is a mock of ModelOperation interface

func NewMockModelOperation

func NewMockModelOperation(ctrl *gomock.Controller) *MockModelOperation

NewMockModelOperation creates a new mock instance

func (*MockModelOperation) Build

func (m *MockModelOperation) Build(arg0 int) ([]txn.Op, error)

Build mocks base method

func (*MockModelOperation) Done

func (m *MockModelOperation) Done(arg0 error) error

Done mocks base method

func (*MockModelOperation) EXPECT

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

type MockModelOperationMockRecorder

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

MockModelOperationMockRecorder is the mock recorder for MockModelOperation

func (*MockModelOperationMockRecorder) Build

func (mr *MockModelOperationMockRecorder) Build(arg0 interface{}) *gomock.Call

Build indicates an expected call of Build

func (*MockModelOperationMockRecorder) Done

func (mr *MockModelOperationMockRecorder) Done(arg0 interface{}) *gomock.Call

Done indicates an expected call of Done

type MockUnitStateBackend

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

MockUnitStateBackend is a mock of UnitStateBackend interface

func NewMockUnitStateBackend

func NewMockUnitStateBackend(ctrl *gomock.Controller) *MockUnitStateBackend

NewMockUnitStateBackend creates a new mock instance

func (*MockUnitStateBackend) ApplyOperation

func (m *MockUnitStateBackend) ApplyOperation(arg0 state.ModelOperation) error

ApplyOperation mocks base method

func (*MockUnitStateBackend) ControllerConfig

func (m *MockUnitStateBackend) ControllerConfig() (controller.Config, error)

ControllerConfig mocks base method

func (*MockUnitStateBackend) EXPECT

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

func (*MockUnitStateBackend) Unit

Unit mocks base method

type MockUnitStateBackendMockRecorder

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

MockUnitStateBackendMockRecorder is the mock recorder for MockUnitStateBackend

func (*MockUnitStateBackendMockRecorder) ApplyOperation

func (mr *MockUnitStateBackendMockRecorder) ApplyOperation(arg0 interface{}) *gomock.Call

ApplyOperation indicates an expected call of ApplyOperation

func (*MockUnitStateBackendMockRecorder) ControllerConfig

func (mr *MockUnitStateBackendMockRecorder) ControllerConfig() *gomock.Call

ControllerConfig indicates an expected call of ControllerConfig

func (*MockUnitStateBackendMockRecorder) Unit

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

Unit indicates an expected call of Unit

type MockUnitStateUnit

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

MockUnitStateUnit is a mock of UnitStateUnit interface

func NewMockUnitStateUnit

func NewMockUnitStateUnit(ctrl *gomock.Controller) *MockUnitStateUnit

NewMockUnitStateUnit creates a new mock instance

func (*MockUnitStateUnit) EXPECT

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

func (*MockUnitStateUnit) SetStateOperation

SetStateOperation mocks base method

func (*MockUnitStateUnit) State

func (m *MockUnitStateUnit) State() (*state.UnitState, error)

State mocks base method

type MockUnitStateUnitMockRecorder

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

MockUnitStateUnitMockRecorder is the mock recorder for MockUnitStateUnit

func (*MockUnitStateUnitMockRecorder) SetStateOperation

func (mr *MockUnitStateUnitMockRecorder) SetStateOperation(arg0, arg1 interface{}) *gomock.Call

SetStateOperation indicates an expected call of SetStateOperation

func (*MockUnitStateUnitMockRecorder) State

State indicates an expected call of State

type MockUpgradeSeriesBackend

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

MockUpgradeSeriesBackend is a mock of UpgradeSeriesBackend interface

func NewMockUpgradeSeriesBackend

func NewMockUpgradeSeriesBackend(ctrl *gomock.Controller) *MockUpgradeSeriesBackend

NewMockUpgradeSeriesBackend creates a new mock instance

func (*MockUpgradeSeriesBackend) EXPECT

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

func (*MockUpgradeSeriesBackend) Machine

Machine mocks base method

func (*MockUpgradeSeriesBackend) Unit

Unit mocks base method

type MockUpgradeSeriesBackendMockRecorder

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

MockUpgradeSeriesBackendMockRecorder is the mock recorder for MockUpgradeSeriesBackend

func (*MockUpgradeSeriesBackendMockRecorder) Machine

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

Machine indicates an expected call of Machine

func (*MockUpgradeSeriesBackendMockRecorder) Unit

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

Unit indicates an expected call of Unit

type MockUpgradeSeriesMachine

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

MockUpgradeSeriesMachine is a mock of UpgradeSeriesMachine interface

func NewMockUpgradeSeriesMachine

func NewMockUpgradeSeriesMachine(ctrl *gomock.Controller) *MockUpgradeSeriesMachine

NewMockUpgradeSeriesMachine creates a new mock instance

func (*MockUpgradeSeriesMachine) EXPECT

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

func (*MockUpgradeSeriesMachine) RemoveUpgradeSeriesLock

func (m *MockUpgradeSeriesMachine) RemoveUpgradeSeriesLock() error

RemoveUpgradeSeriesLock mocks base method

func (*MockUpgradeSeriesMachine) Series

func (m *MockUpgradeSeriesMachine) Series() string

Series mocks base method

func (*MockUpgradeSeriesMachine) SetInstanceStatus

func (m *MockUpgradeSeriesMachine) SetInstanceStatus(arg0 status.StatusInfo) error

SetInstanceStatus mocks base method

func (*MockUpgradeSeriesMachine) SetUpgradeSeriesStatus

func (m *MockUpgradeSeriesMachine) SetUpgradeSeriesStatus(arg0 model.UpgradeSeriesStatus, arg1 string) error

SetUpgradeSeriesStatus mocks base method

func (*MockUpgradeSeriesMachine) StartUpgradeSeriesUnitCompletion

func (m *MockUpgradeSeriesMachine) StartUpgradeSeriesUnitCompletion(arg0 string) error

StartUpgradeSeriesUnitCompletion mocks base method

func (*MockUpgradeSeriesMachine) Units

Units mocks base method

func (*MockUpgradeSeriesMachine) UpdateMachineSeries

func (m *MockUpgradeSeriesMachine) UpdateMachineSeries(arg0 string) error

UpdateMachineSeries mocks base method

func (*MockUpgradeSeriesMachine) UpgradeSeriesStatus

func (m *MockUpgradeSeriesMachine) UpgradeSeriesStatus() (model.UpgradeSeriesStatus, error)

UpgradeSeriesStatus mocks base method

func (*MockUpgradeSeriesMachine) UpgradeSeriesTarget

func (m *MockUpgradeSeriesMachine) UpgradeSeriesTarget() (string, error)

UpgradeSeriesTarget mocks base method

func (*MockUpgradeSeriesMachine) UpgradeSeriesUnitStatuses

func (m *MockUpgradeSeriesMachine) UpgradeSeriesUnitStatuses() (map[string]state.UpgradeSeriesUnitStatus, error)

UpgradeSeriesUnitStatuses mocks base method

func (*MockUpgradeSeriesMachine) WatchUpgradeSeriesNotifications

func (m *MockUpgradeSeriesMachine) WatchUpgradeSeriesNotifications() (state.NotifyWatcher, error)

WatchUpgradeSeriesNotifications mocks base method

type MockUpgradeSeriesMachineMockRecorder

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

MockUpgradeSeriesMachineMockRecorder is the mock recorder for MockUpgradeSeriesMachine

func (*MockUpgradeSeriesMachineMockRecorder) RemoveUpgradeSeriesLock

func (mr *MockUpgradeSeriesMachineMockRecorder) RemoveUpgradeSeriesLock() *gomock.Call

RemoveUpgradeSeriesLock indicates an expected call of RemoveUpgradeSeriesLock

func (*MockUpgradeSeriesMachineMockRecorder) Series

Series indicates an expected call of Series

func (*MockUpgradeSeriesMachineMockRecorder) SetInstanceStatus

func (mr *MockUpgradeSeriesMachineMockRecorder) SetInstanceStatus(arg0 interface{}) *gomock.Call

SetInstanceStatus indicates an expected call of SetInstanceStatus

func (*MockUpgradeSeriesMachineMockRecorder) SetUpgradeSeriesStatus

func (mr *MockUpgradeSeriesMachineMockRecorder) SetUpgradeSeriesStatus(arg0, arg1 interface{}) *gomock.Call

SetUpgradeSeriesStatus indicates an expected call of SetUpgradeSeriesStatus

func (*MockUpgradeSeriesMachineMockRecorder) StartUpgradeSeriesUnitCompletion

func (mr *MockUpgradeSeriesMachineMockRecorder) StartUpgradeSeriesUnitCompletion(arg0 interface{}) *gomock.Call

StartUpgradeSeriesUnitCompletion indicates an expected call of StartUpgradeSeriesUnitCompletion

func (*MockUpgradeSeriesMachineMockRecorder) Units

Units indicates an expected call of Units

func (*MockUpgradeSeriesMachineMockRecorder) UpdateMachineSeries

func (mr *MockUpgradeSeriesMachineMockRecorder) UpdateMachineSeries(arg0 interface{}) *gomock.Call

UpdateMachineSeries indicates an expected call of UpdateMachineSeries

func (*MockUpgradeSeriesMachineMockRecorder) UpgradeSeriesStatus

func (mr *MockUpgradeSeriesMachineMockRecorder) UpgradeSeriesStatus() *gomock.Call

UpgradeSeriesStatus indicates an expected call of UpgradeSeriesStatus

func (*MockUpgradeSeriesMachineMockRecorder) UpgradeSeriesTarget

func (mr *MockUpgradeSeriesMachineMockRecorder) UpgradeSeriesTarget() *gomock.Call

UpgradeSeriesTarget indicates an expected call of UpgradeSeriesTarget

func (*MockUpgradeSeriesMachineMockRecorder) UpgradeSeriesUnitStatuses

func (mr *MockUpgradeSeriesMachineMockRecorder) UpgradeSeriesUnitStatuses() *gomock.Call

UpgradeSeriesUnitStatuses indicates an expected call of UpgradeSeriesUnitStatuses

func (*MockUpgradeSeriesMachineMockRecorder) WatchUpgradeSeriesNotifications

func (mr *MockUpgradeSeriesMachineMockRecorder) WatchUpgradeSeriesNotifications() *gomock.Call

WatchUpgradeSeriesNotifications indicates an expected call of WatchUpgradeSeriesNotifications

type MockUpgradeSeriesUnit

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

MockUpgradeSeriesUnit is a mock of UpgradeSeriesUnit interface

func NewMockUpgradeSeriesUnit

func NewMockUpgradeSeriesUnit(ctrl *gomock.Controller) *MockUpgradeSeriesUnit

NewMockUpgradeSeriesUnit creates a new mock instance

func (*MockUpgradeSeriesUnit) AssignedMachineId

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

AssignedMachineId mocks base method

func (*MockUpgradeSeriesUnit) EXPECT

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

func (*MockUpgradeSeriesUnit) SetUpgradeSeriesStatus

func (m *MockUpgradeSeriesUnit) SetUpgradeSeriesStatus(arg0 model.UpgradeSeriesStatus, arg1 string) error

SetUpgradeSeriesStatus mocks base method

func (*MockUpgradeSeriesUnit) Tag

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

Tag mocks base method

func (*MockUpgradeSeriesUnit) UpgradeSeriesStatus

func (m *MockUpgradeSeriesUnit) UpgradeSeriesStatus() (model.UpgradeSeriesStatus, error)

UpgradeSeriesStatus mocks base method

type MockUpgradeSeriesUnitMockRecorder

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

MockUpgradeSeriesUnitMockRecorder is the mock recorder for MockUpgradeSeriesUnit

func (*MockUpgradeSeriesUnitMockRecorder) AssignedMachineId

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

AssignedMachineId indicates an expected call of AssignedMachineId

func (*MockUpgradeSeriesUnitMockRecorder) SetUpgradeSeriesStatus

func (mr *MockUpgradeSeriesUnitMockRecorder) SetUpgradeSeriesStatus(arg0, arg1 interface{}) *gomock.Call

SetUpgradeSeriesStatus indicates an expected call of SetUpgradeSeriesStatus

func (*MockUpgradeSeriesUnitMockRecorder) Tag

Tag indicates an expected call of Tag

func (*MockUpgradeSeriesUnitMockRecorder) UpgradeSeriesStatus

func (mr *MockUpgradeSeriesUnitMockRecorder) UpgradeSeriesStatus() *gomock.Call

UpgradeSeriesStatus indicates an expected call of UpgradeSeriesStatus

Jump to

Keyboard shortcuts

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