mocks

package
v0.0.0-...-b0bff92 Latest Latest
Warning

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

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

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 MockBaseWatcher

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

MockBaseWatcher is a mock of BaseWatcher interface

func NewMockBaseWatcher

func NewMockBaseWatcher(ctrl *gomock.Controller) *MockBaseWatcher

NewMockBaseWatcher creates a new mock instance

func (*MockBaseWatcher) Dead

func (m *MockBaseWatcher) Dead() <-chan struct{}

Dead mocks base method

func (*MockBaseWatcher) EXPECT

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

func (*MockBaseWatcher) Err

func (m *MockBaseWatcher) Err() error

Err mocks base method

func (*MockBaseWatcher) Kill

func (m *MockBaseWatcher) Kill()

Kill mocks base method

func (*MockBaseWatcher) Unwatch

func (m *MockBaseWatcher) Unwatch(arg0 string, arg1 interface{}, arg2 chan<- watcher.Change)

Unwatch mocks base method

func (*MockBaseWatcher) UnwatchCollection

func (m *MockBaseWatcher) UnwatchCollection(arg0 string, arg1 chan<- watcher.Change)

UnwatchCollection mocks base method

func (*MockBaseWatcher) Wait

func (m *MockBaseWatcher) Wait() error

Wait mocks base method

func (*MockBaseWatcher) Watch

func (m *MockBaseWatcher) Watch(arg0 string, arg1 interface{}, arg2 chan<- watcher.Change)

Watch mocks base method

func (*MockBaseWatcher) WatchCollection

func (m *MockBaseWatcher) WatchCollection(arg0 string, arg1 chan<- watcher.Change)

WatchCollection mocks base method

func (*MockBaseWatcher) WatchCollectionWithFilter

func (m *MockBaseWatcher) WatchCollectionWithFilter(arg0 string, arg1 chan<- watcher.Change, arg2 func(interface{}) bool)

WatchCollectionWithFilter mocks base method

func (*MockBaseWatcher) WatchMulti

func (m *MockBaseWatcher) WatchMulti(arg0 string, arg1 []interface{}, arg2 chan<- watcher.Change) error

WatchMulti mocks base method

type MockBaseWatcherMockRecorder

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

MockBaseWatcherMockRecorder is the mock recorder for MockBaseWatcher

func (*MockBaseWatcherMockRecorder) Dead

Dead indicates an expected call of Dead

func (*MockBaseWatcherMockRecorder) Err

Err indicates an expected call of Err

func (*MockBaseWatcherMockRecorder) Kill

Kill indicates an expected call of Kill

func (*MockBaseWatcherMockRecorder) Unwatch

func (mr *MockBaseWatcherMockRecorder) Unwatch(arg0, arg1, arg2 interface{}) *gomock.Call

Unwatch indicates an expected call of Unwatch

func (*MockBaseWatcherMockRecorder) UnwatchCollection

func (mr *MockBaseWatcherMockRecorder) UnwatchCollection(arg0, arg1 interface{}) *gomock.Call

UnwatchCollection indicates an expected call of UnwatchCollection

func (*MockBaseWatcherMockRecorder) Wait

Wait indicates an expected call of Wait

func (*MockBaseWatcherMockRecorder) Watch

func (mr *MockBaseWatcherMockRecorder) Watch(arg0, arg1, arg2 interface{}) *gomock.Call

Watch indicates an expected call of Watch

func (*MockBaseWatcherMockRecorder) WatchCollection

func (mr *MockBaseWatcherMockRecorder) WatchCollection(arg0, arg1 interface{}) *gomock.Call

WatchCollection indicates an expected call of WatchCollection

func (*MockBaseWatcherMockRecorder) WatchCollectionWithFilter

func (mr *MockBaseWatcherMockRecorder) WatchCollectionWithFilter(arg0, arg1, arg2 interface{}) *gomock.Call

WatchCollectionWithFilter indicates an expected call of WatchCollectionWithFilter

func (*MockBaseWatcherMockRecorder) WatchMulti

func (mr *MockBaseWatcherMockRecorder) WatchMulti(arg0, arg1, arg2 interface{}) *gomock.Call

WatchMulti indicates an expected call of WatchMulti

type MockClock

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

MockClock is a mock of Clock interface

func NewMockClock

func NewMockClock(ctrl *gomock.Controller) *MockClock

NewMockClock creates a new mock instance

func (*MockClock) After

func (m *MockClock) After(arg0 time.Duration) <-chan time.Time

After mocks base method

func (*MockClock) AfterFunc

func (m *MockClock) AfterFunc(arg0 time.Duration, arg1 func()) clock.Timer

AfterFunc mocks base method

func (*MockClock) EXPECT

func (m *MockClock) EXPECT() *MockClockMockRecorder

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

func (*MockClock) NewTimer

func (m *MockClock) NewTimer(arg0 time.Duration) clock.Timer

NewTimer mocks base method

func (*MockClock) Now

func (m *MockClock) Now() time.Time

Now mocks base method

type MockClockMockRecorder

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

MockClockMockRecorder is the mock recorder for MockClock

func (*MockClockMockRecorder) After

func (mr *MockClockMockRecorder) After(arg0 interface{}) *gomock.Call

After indicates an expected call of After

func (*MockClockMockRecorder) AfterFunc

func (mr *MockClockMockRecorder) AfterFunc(arg0, arg1 interface{}) *gomock.Call

AfterFunc indicates an expected call of AfterFunc

func (*MockClockMockRecorder) NewTimer

func (mr *MockClockMockRecorder) NewTimer(arg0 interface{}) *gomock.Call

NewTimer indicates an expected call of NewTimer

func (*MockClockMockRecorder) Now

func (mr *MockClockMockRecorder) Now() *gomock.Call

Now indicates an expected call of Now

type MockCollection

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

MockCollection is a mock of Collection interface

func NewMockCollection

func NewMockCollection(ctrl *gomock.Controller) *MockCollection

NewMockCollection creates a new mock instance

func (*MockCollection) Count

func (m *MockCollection) Count() (int, error)

Count mocks base method

func (*MockCollection) EXPECT

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

func (*MockCollection) Find

func (m *MockCollection) Find(arg0 interface{}) mongo.Query

Find mocks base method

func (*MockCollection) FindId

func (m *MockCollection) FindId(arg0 interface{}) mongo.Query

FindId mocks base method

func (*MockCollection) Name

func (m *MockCollection) Name() string

Name mocks base method

func (*MockCollection) Pipe

func (m *MockCollection) Pipe(arg0 interface{}) *mgo.Pipe

Pipe mocks base method

func (*MockCollection) Writeable

func (m *MockCollection) Writeable() mongo.WriteCollection

Writeable mocks base method

type MockCollectionMockRecorder

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

MockCollectionMockRecorder is the mock recorder for MockCollection

func (*MockCollectionMockRecorder) Count

func (mr *MockCollectionMockRecorder) Count() *gomock.Call

Count indicates an expected call of Count

func (*MockCollectionMockRecorder) Find

func (mr *MockCollectionMockRecorder) Find(arg0 interface{}) *gomock.Call

Find indicates an expected call of Find

func (*MockCollectionMockRecorder) FindId

func (mr *MockCollectionMockRecorder) FindId(arg0 interface{}) *gomock.Call

FindId indicates an expected call of FindId

func (*MockCollectionMockRecorder) Name

Name indicates an expected call of Name

func (*MockCollectionMockRecorder) Pipe

func (mr *MockCollectionMockRecorder) Pipe(arg0 interface{}) *gomock.Call

Pipe indicates an expected call of Pipe

func (*MockCollectionMockRecorder) Writeable

func (mr *MockCollectionMockRecorder) Writeable() *gomock.Call

Writeable indicates an expected call of Writeable

type MockDatabase

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

MockDatabase is a mock of Database interface

func NewMockDatabase

func NewMockDatabase(ctrl *gomock.Controller) *MockDatabase

NewMockDatabase creates a new mock instance

func (*MockDatabase) Copy

Copy mocks base method

func (*MockDatabase) CopyForModel

func (m *MockDatabase) CopyForModel(arg0 string) (state.Database, state.SessionCloser)

CopyForModel mocks base method

func (*MockDatabase) EXPECT

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

func (*MockDatabase) GetCollection

func (m *MockDatabase) GetCollection(arg0 string) (mongo.Collection, state.SessionCloser)

GetCollection mocks base method

func (*MockDatabase) GetCollectionFor

func (m *MockDatabase) GetCollectionFor(arg0, arg1 string) (mongo.Collection, state.SessionCloser)

GetCollectionFor mocks base method

func (*MockDatabase) GetRawCollection

func (m *MockDatabase) GetRawCollection(arg0 string) (*mgo_v2.Collection, state.SessionCloser)

GetRawCollection mocks base method

func (*MockDatabase) Run

func (m *MockDatabase) Run(arg0 txn.TransactionSource) error

Run mocks base method

func (*MockDatabase) RunRawTransaction

func (m *MockDatabase) RunRawTransaction(arg0 []txn0.Op) error

RunRawTransaction mocks base method

func (*MockDatabase) RunTransaction

func (m *MockDatabase) RunTransaction(arg0 []txn0.Op) error

RunTransaction mocks base method

func (*MockDatabase) RunTransactionFor

func (m *MockDatabase) RunTransactionFor(arg0 string, arg1 []txn0.Op) error

RunTransactionFor mocks base method

func (*MockDatabase) Schema

func (m *MockDatabase) Schema() state.CollectionSchema

Schema mocks base method

func (*MockDatabase) TransactionRunner

func (m *MockDatabase) TransactionRunner() (txn.Runner, state.SessionCloser)

TransactionRunner mocks base method

type MockDatabaseMockRecorder

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

MockDatabaseMockRecorder is the mock recorder for MockDatabase

func (*MockDatabaseMockRecorder) Copy

func (mr *MockDatabaseMockRecorder) Copy() *gomock.Call

Copy indicates an expected call of Copy

func (*MockDatabaseMockRecorder) CopyForModel

func (mr *MockDatabaseMockRecorder) CopyForModel(arg0 interface{}) *gomock.Call

CopyForModel indicates an expected call of CopyForModel

func (*MockDatabaseMockRecorder) GetCollection

func (mr *MockDatabaseMockRecorder) GetCollection(arg0 interface{}) *gomock.Call

GetCollection indicates an expected call of GetCollection

func (*MockDatabaseMockRecorder) GetCollectionFor

func (mr *MockDatabaseMockRecorder) GetCollectionFor(arg0, arg1 interface{}) *gomock.Call

GetCollectionFor indicates an expected call of GetCollectionFor

func (*MockDatabaseMockRecorder) GetRawCollection

func (mr *MockDatabaseMockRecorder) GetRawCollection(arg0 interface{}) *gomock.Call

GetRawCollection indicates an expected call of GetRawCollection

func (*MockDatabaseMockRecorder) Run

func (mr *MockDatabaseMockRecorder) Run(arg0 interface{}) *gomock.Call

Run indicates an expected call of Run

func (*MockDatabaseMockRecorder) RunRawTransaction

func (mr *MockDatabaseMockRecorder) RunRawTransaction(arg0 interface{}) *gomock.Call

RunRawTransaction indicates an expected call of RunRawTransaction

func (*MockDatabaseMockRecorder) RunTransaction

func (mr *MockDatabaseMockRecorder) RunTransaction(arg0 interface{}) *gomock.Call

RunTransaction indicates an expected call of RunTransaction

func (*MockDatabaseMockRecorder) RunTransactionFor

func (mr *MockDatabaseMockRecorder) RunTransactionFor(arg0, arg1 interface{}) *gomock.Call

RunTransactionFor indicates an expected call of RunTransactionFor

func (*MockDatabaseMockRecorder) Schema

func (mr *MockDatabaseMockRecorder) Schema() *gomock.Call

Schema indicates an expected call of Schema

func (*MockDatabaseMockRecorder) TransactionRunner

func (mr *MockDatabaseMockRecorder) TransactionRunner() *gomock.Call

TransactionRunner indicates an expected call of TransactionRunner

type MockEndpointBinding

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

MockEndpointBinding is a mock of EndpointBinding interface

func NewMockEndpointBinding

func NewMockEndpointBinding(ctrl *gomock.Controller) *MockEndpointBinding

NewMockEndpointBinding creates a new mock instance

func (*MockEndpointBinding) AllSpaceInfos

func (m *MockEndpointBinding) AllSpaceInfos() (network.SpaceInfos, error)

AllSpaceInfos mocks base method

func (*MockEndpointBinding) DefaultEndpointBindingSpace

func (m *MockEndpointBinding) DefaultEndpointBindingSpace() (string, error)

DefaultEndpointBindingSpace mocks base method

func (*MockEndpointBinding) EXPECT

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

func (*MockEndpointBinding) Space

func (m *MockEndpointBinding) Space(arg0 string) (*state.Space, error)

Space mocks base method

type MockEndpointBindingMockRecorder

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

MockEndpointBindingMockRecorder is the mock recorder for MockEndpointBinding

func (*MockEndpointBindingMockRecorder) AllSpaceInfos

func (mr *MockEndpointBindingMockRecorder) AllSpaceInfos() *gomock.Call

AllSpaceInfos indicates an expected call of AllSpaceInfos

func (*MockEndpointBindingMockRecorder) DefaultEndpointBindingSpace

func (mr *MockEndpointBindingMockRecorder) DefaultEndpointBindingSpace() *gomock.Call

DefaultEndpointBindingSpace indicates an expected call of DefaultEndpointBindingSpace

func (*MockEndpointBindingMockRecorder) Space

func (mr *MockEndpointBindingMockRecorder) Space(arg0 interface{}) *gomock.Call

Space indicates an expected call of Space

type MockMachine

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

MockMachine is a mock of Machine interface

func NewMockMachine

func NewMockMachine(ctrl *gomock.Controller) *MockMachine

NewMockMachine creates a new mock instance

func (*MockMachine) AddBlockDevice

AddBlockDevice mocks base method

func (*MockMachine) AddContainer

func (m *MockMachine) AddContainer(arg0 description.MachineArgs) description.Machine

AddContainer mocks base method

func (*MockMachine) AddOpenedPortRange

func (m *MockMachine) AddOpenedPortRange(arg0 description.OpenedPortRangeArgs)

AddOpenedPortRange mocks base method

func (*MockMachine) Annotations

func (m *MockMachine) Annotations() map[string]string

Annotations mocks base method

func (*MockMachine) BlockDevices

func (m *MockMachine) BlockDevices() []description.BlockDevice

BlockDevices mocks base method

func (*MockMachine) Constraints

func (m *MockMachine) Constraints() description.Constraints

Constraints mocks base method

func (*MockMachine) ContainerType

func (m *MockMachine) ContainerType() string

ContainerType mocks base method

func (*MockMachine) Containers

func (m *MockMachine) Containers() []description.Machine

Containers mocks base method

func (*MockMachine) EXPECT

func (m *MockMachine) EXPECT() *MockMachineMockRecorder

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

func (*MockMachine) Id

func (m *MockMachine) Id() string

Id mocks base method

func (*MockMachine) Instance

func (m *MockMachine) Instance() description.CloudInstance

Instance mocks base method

func (*MockMachine) Jobs

func (m *MockMachine) Jobs() []string

Jobs mocks base method

func (*MockMachine) MachineAddresses

func (m *MockMachine) MachineAddresses() []description.Address

MachineAddresses mocks base method

func (*MockMachine) Nonce

func (m *MockMachine) Nonce() string

Nonce mocks base method

func (*MockMachine) OpenedPortRanges

func (m *MockMachine) OpenedPortRanges() description.MachinePortRanges

OpenedPortRanges mocks base method

func (*MockMachine) PasswordHash

func (m *MockMachine) PasswordHash() string

PasswordHash mocks base method

func (*MockMachine) Placement

func (m *MockMachine) Placement() string

Placement mocks base method

func (*MockMachine) PreferredPrivateAddress

func (m *MockMachine) PreferredPrivateAddress() description.Address

PreferredPrivateAddress mocks base method

func (*MockMachine) PreferredPublicAddress

func (m *MockMachine) PreferredPublicAddress() description.Address

PreferredPublicAddress mocks base method

func (*MockMachine) ProviderAddresses

func (m *MockMachine) ProviderAddresses() []description.Address

ProviderAddresses mocks base method

func (*MockMachine) Series

func (m *MockMachine) Series() string

Series mocks base method

func (*MockMachine) SetAddresses

func (m *MockMachine) SetAddresses(arg0, arg1 []description.AddressArgs)

SetAddresses mocks base method

func (*MockMachine) SetAnnotations

func (m *MockMachine) SetAnnotations(arg0 map[string]string)

SetAnnotations mocks base method

func (*MockMachine) SetConstraints

func (m *MockMachine) SetConstraints(arg0 description.ConstraintsArgs)

SetConstraints mocks base method

func (*MockMachine) SetInstance

func (m *MockMachine) SetInstance(arg0 description.CloudInstanceArgs)

SetInstance mocks base method

func (*MockMachine) SetPreferredAddresses

func (m *MockMachine) SetPreferredAddresses(arg0, arg1 description.AddressArgs)

SetPreferredAddresses mocks base method

func (*MockMachine) SetStatus

func (m *MockMachine) SetStatus(arg0 description.StatusArgs)

SetStatus mocks base method

func (*MockMachine) SetStatusHistory

func (m *MockMachine) SetStatusHistory(arg0 []description.StatusArgs)

SetStatusHistory mocks base method

func (*MockMachine) SetTools

func (m *MockMachine) SetTools(arg0 description.AgentToolsArgs)

SetTools mocks base method

func (*MockMachine) Status

func (m *MockMachine) Status() description.Status

Status mocks base method

func (*MockMachine) StatusHistory

func (m *MockMachine) StatusHistory() []description.Status

StatusHistory mocks base method

func (*MockMachine) SupportedContainers

func (m *MockMachine) SupportedContainers() ([]string, bool)

SupportedContainers mocks base method

func (*MockMachine) Tag

func (m *MockMachine) Tag() names.MachineTag

Tag mocks base method

func (*MockMachine) Tools

func (m *MockMachine) Tools() description.AgentTools

Tools mocks base method

func (*MockMachine) Validate

func (m *MockMachine) Validate() error

Validate mocks base method

type MockMachineMockRecorder

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

MockMachineMockRecorder is the mock recorder for MockMachine

func (*MockMachineMockRecorder) AddBlockDevice

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

AddBlockDevice indicates an expected call of AddBlockDevice

func (*MockMachineMockRecorder) AddContainer

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

AddContainer indicates an expected call of AddContainer

func (*MockMachineMockRecorder) AddOpenedPortRange

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

AddOpenedPortRange indicates an expected call of AddOpenedPortRange

func (*MockMachineMockRecorder) Annotations

func (mr *MockMachineMockRecorder) Annotations() *gomock.Call

Annotations indicates an expected call of Annotations

func (*MockMachineMockRecorder) BlockDevices

func (mr *MockMachineMockRecorder) BlockDevices() *gomock.Call

BlockDevices indicates an expected call of BlockDevices

func (*MockMachineMockRecorder) Constraints

func (mr *MockMachineMockRecorder) Constraints() *gomock.Call

Constraints indicates an expected call of Constraints

func (*MockMachineMockRecorder) ContainerType

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

ContainerType indicates an expected call of ContainerType

func (*MockMachineMockRecorder) Containers

func (mr *MockMachineMockRecorder) Containers() *gomock.Call

Containers indicates an expected call of Containers

func (*MockMachineMockRecorder) Id

Id indicates an expected call of Id

func (*MockMachineMockRecorder) Instance

func (mr *MockMachineMockRecorder) Instance() *gomock.Call

Instance indicates an expected call of Instance

func (*MockMachineMockRecorder) Jobs

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

Jobs indicates an expected call of Jobs

func (*MockMachineMockRecorder) MachineAddresses

func (mr *MockMachineMockRecorder) MachineAddresses() *gomock.Call

MachineAddresses indicates an expected call of MachineAddresses

func (*MockMachineMockRecorder) Nonce

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

Nonce indicates an expected call of Nonce

func (*MockMachineMockRecorder) OpenedPortRanges

func (mr *MockMachineMockRecorder) OpenedPortRanges() *gomock.Call

OpenedPortRanges indicates an expected call of OpenedPortRanges

func (*MockMachineMockRecorder) PasswordHash

func (mr *MockMachineMockRecorder) PasswordHash() *gomock.Call

PasswordHash indicates an expected call of PasswordHash

func (*MockMachineMockRecorder) Placement

func (mr *MockMachineMockRecorder) Placement() *gomock.Call

Placement indicates an expected call of Placement

func (*MockMachineMockRecorder) PreferredPrivateAddress

func (mr *MockMachineMockRecorder) PreferredPrivateAddress() *gomock.Call

PreferredPrivateAddress indicates an expected call of PreferredPrivateAddress

func (*MockMachineMockRecorder) PreferredPublicAddress

func (mr *MockMachineMockRecorder) PreferredPublicAddress() *gomock.Call

PreferredPublicAddress indicates an expected call of PreferredPublicAddress

func (*MockMachineMockRecorder) ProviderAddresses

func (mr *MockMachineMockRecorder) ProviderAddresses() *gomock.Call

ProviderAddresses indicates an expected call of ProviderAddresses

func (*MockMachineMockRecorder) Series

func (mr *MockMachineMockRecorder) Series() *gomock.Call

Series indicates an expected call of Series

func (*MockMachineMockRecorder) SetAddresses

func (mr *MockMachineMockRecorder) SetAddresses(arg0, arg1 interface{}) *gomock.Call

SetAddresses indicates an expected call of SetAddresses

func (*MockMachineMockRecorder) SetAnnotations

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

SetAnnotations indicates an expected call of SetAnnotations

func (*MockMachineMockRecorder) SetConstraints

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

SetConstraints indicates an expected call of SetConstraints

func (*MockMachineMockRecorder) SetInstance

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

SetInstance indicates an expected call of SetInstance

func (*MockMachineMockRecorder) SetPreferredAddresses

func (mr *MockMachineMockRecorder) SetPreferredAddresses(arg0, arg1 interface{}) *gomock.Call

SetPreferredAddresses indicates an expected call of SetPreferredAddresses

func (*MockMachineMockRecorder) SetStatus

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

SetStatus indicates an expected call of SetStatus

func (*MockMachineMockRecorder) SetStatusHistory

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

SetStatusHistory indicates an expected call of SetStatusHistory

func (*MockMachineMockRecorder) SetTools

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

SetTools indicates an expected call of SetTools

func (*MockMachineMockRecorder) Status

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

Status indicates an expected call of Status

func (*MockMachineMockRecorder) StatusHistory

func (mr *MockMachineMockRecorder) StatusHistory() *gomock.Call

StatusHistory indicates an expected call of StatusHistory

func (*MockMachineMockRecorder) SupportedContainers

func (mr *MockMachineMockRecorder) SupportedContainers() *gomock.Call

SupportedContainers indicates an expected call of SupportedContainers

func (*MockMachineMockRecorder) Tag

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

Tag indicates an expected call of Tag

func (*MockMachineMockRecorder) Tools

func (mr *MockMachineMockRecorder) Tools() *gomock.Call

Tools indicates an expected call of Tools

func (*MockMachineMockRecorder) Validate

func (mr *MockMachineMockRecorder) Validate() *gomock.Call

Validate indicates an expected call of Validate

type MockMachinePortRanges

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

MockMachinePortRanges is a mock of MachinePortRanges interface

func NewMockMachinePortRanges

func NewMockMachinePortRanges(ctrl *gomock.Controller) *MockMachinePortRanges

NewMockMachinePortRanges creates a new mock instance

func (*MockMachinePortRanges) ByUnit

ByUnit mocks base method

func (*MockMachinePortRanges) EXPECT

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

type MockMachinePortRangesMockRecorder

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

MockMachinePortRangesMockRecorder is the mock recorder for MockMachinePortRanges

func (*MockMachinePortRangesMockRecorder) ByUnit

ByUnit indicates an expected call of ByUnit

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 MockQuery

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

MockQuery is a mock of Query interface

func NewMockQuery

func NewMockQuery(ctrl *gomock.Controller) *MockQuery

NewMockQuery creates a new mock instance

func (*MockQuery) All

func (m *MockQuery) All(arg0 interface{}) error

All mocks base method

func (*MockQuery) Apply

func (m *MockQuery) Apply(arg0 mgo.Change, arg1 interface{}) (*mgo.ChangeInfo, error)

Apply mocks base method

func (*MockQuery) Batch

func (m *MockQuery) Batch(arg0 int) mongo.Query

Batch mocks base method

func (*MockQuery) Comment

func (m *MockQuery) Comment(arg0 string) mongo.Query

Comment mocks base method

func (*MockQuery) Count

func (m *MockQuery) Count() (int, error)

Count mocks base method

func (*MockQuery) Distinct

func (m *MockQuery) Distinct(arg0 string, arg1 interface{}) error

Distinct mocks base method

func (*MockQuery) EXPECT

func (m *MockQuery) EXPECT() *MockQueryMockRecorder

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

func (*MockQuery) Explain

func (m *MockQuery) Explain(arg0 interface{}) error

Explain mocks base method

func (*MockQuery) For

func (m *MockQuery) For(arg0 interface{}, arg1 func() error) error

For mocks base method

func (*MockQuery) Hint

func (m *MockQuery) Hint(arg0 ...string) mongo.Query

Hint mocks base method

func (*MockQuery) Iter

func (m *MockQuery) Iter() mongo.Iterator

Iter mocks base method

func (*MockQuery) Limit

func (m *MockQuery) Limit(arg0 int) mongo.Query

Limit mocks base method

func (*MockQuery) LogReplay

func (m *MockQuery) LogReplay() mongo.Query

LogReplay mocks base method

func (*MockQuery) MapReduce

func (m *MockQuery) MapReduce(arg0 *mgo.MapReduce, arg1 interface{}) (*mgo.MapReduceInfo, error)

MapReduce mocks base method

func (*MockQuery) One

func (m *MockQuery) One(arg0 interface{}) error

One mocks base method

func (*MockQuery) Prefetch

func (m *MockQuery) Prefetch(arg0 float64) mongo.Query

Prefetch mocks base method

func (*MockQuery) Select

func (m *MockQuery) Select(arg0 interface{}) mongo.Query

Select mocks base method

func (*MockQuery) SetMaxScan

func (m *MockQuery) SetMaxScan(arg0 int) mongo.Query

SetMaxScan mocks base method

func (*MockQuery) SetMaxTime

func (m *MockQuery) SetMaxTime(arg0 time.Duration) mongo.Query

SetMaxTime mocks base method

func (*MockQuery) Skip

func (m *MockQuery) Skip(arg0 int) mongo.Query

Skip mocks base method

func (*MockQuery) Snapshot

func (m *MockQuery) Snapshot() mongo.Query

Snapshot mocks base method

func (*MockQuery) Sort

func (m *MockQuery) Sort(arg0 ...string) mongo.Query

Sort mocks base method

func (*MockQuery) Tail

func (m *MockQuery) Tail(arg0 time.Duration) *mgo.Iter

Tail mocks base method

type MockQueryMockRecorder

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

MockQueryMockRecorder is the mock recorder for MockQuery

func (*MockQueryMockRecorder) All

func (mr *MockQueryMockRecorder) All(arg0 interface{}) *gomock.Call

All indicates an expected call of All

func (*MockQueryMockRecorder) Apply

func (mr *MockQueryMockRecorder) Apply(arg0, arg1 interface{}) *gomock.Call

Apply indicates an expected call of Apply

func (*MockQueryMockRecorder) Batch

func (mr *MockQueryMockRecorder) Batch(arg0 interface{}) *gomock.Call

Batch indicates an expected call of Batch

func (*MockQueryMockRecorder) Comment

func (mr *MockQueryMockRecorder) Comment(arg0 interface{}) *gomock.Call

Comment indicates an expected call of Comment

func (*MockQueryMockRecorder) Count

func (mr *MockQueryMockRecorder) Count() *gomock.Call

Count indicates an expected call of Count

func (*MockQueryMockRecorder) Distinct

func (mr *MockQueryMockRecorder) Distinct(arg0, arg1 interface{}) *gomock.Call

Distinct indicates an expected call of Distinct

func (*MockQueryMockRecorder) Explain

func (mr *MockQueryMockRecorder) Explain(arg0 interface{}) *gomock.Call

Explain indicates an expected call of Explain

func (*MockQueryMockRecorder) For

func (mr *MockQueryMockRecorder) For(arg0, arg1 interface{}) *gomock.Call

For indicates an expected call of For

func (*MockQueryMockRecorder) Hint

func (mr *MockQueryMockRecorder) Hint(arg0 ...interface{}) *gomock.Call

Hint indicates an expected call of Hint

func (*MockQueryMockRecorder) Iter

func (mr *MockQueryMockRecorder) Iter() *gomock.Call

Iter indicates an expected call of Iter

func (*MockQueryMockRecorder) Limit

func (mr *MockQueryMockRecorder) Limit(arg0 interface{}) *gomock.Call

Limit indicates an expected call of Limit

func (*MockQueryMockRecorder) LogReplay

func (mr *MockQueryMockRecorder) LogReplay() *gomock.Call

LogReplay indicates an expected call of LogReplay

func (*MockQueryMockRecorder) MapReduce

func (mr *MockQueryMockRecorder) MapReduce(arg0, arg1 interface{}) *gomock.Call

MapReduce indicates an expected call of MapReduce

func (*MockQueryMockRecorder) One

func (mr *MockQueryMockRecorder) One(arg0 interface{}) *gomock.Call

One indicates an expected call of One

func (*MockQueryMockRecorder) Prefetch

func (mr *MockQueryMockRecorder) Prefetch(arg0 interface{}) *gomock.Call

Prefetch indicates an expected call of Prefetch

func (*MockQueryMockRecorder) Select

func (mr *MockQueryMockRecorder) Select(arg0 interface{}) *gomock.Call

Select indicates an expected call of Select

func (*MockQueryMockRecorder) SetMaxScan

func (mr *MockQueryMockRecorder) SetMaxScan(arg0 interface{}) *gomock.Call

SetMaxScan indicates an expected call of SetMaxScan

func (*MockQueryMockRecorder) SetMaxTime

func (mr *MockQueryMockRecorder) SetMaxTime(arg0 interface{}) *gomock.Call

SetMaxTime indicates an expected call of SetMaxTime

func (*MockQueryMockRecorder) Skip

func (mr *MockQueryMockRecorder) Skip(arg0 interface{}) *gomock.Call

Skip indicates an expected call of Skip

func (*MockQueryMockRecorder) Snapshot

func (mr *MockQueryMockRecorder) Snapshot() *gomock.Call

Snapshot indicates an expected call of Snapshot

func (*MockQueryMockRecorder) Sort

func (mr *MockQueryMockRecorder) Sort(arg0 ...interface{}) *gomock.Call

Sort indicates an expected call of Sort

func (*MockQueryMockRecorder) Tail

func (mr *MockQueryMockRecorder) Tail(arg0 interface{}) *gomock.Call

Tail indicates an expected call of Tail

type MockResources

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

MockResources is a mock of Resources interface

func NewMockResources

func NewMockResources(ctrl *gomock.Controller) *MockResources

NewMockResources creates a new mock instance

func (*MockResources) AddPendingResource

func (m *MockResources) AddPendingResource(arg0, arg1 string, arg2 resource.Resource) (string, error)

AddPendingResource mocks base method

func (*MockResources) EXPECT

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

func (*MockResources) GetPendingResource

func (m *MockResources) GetPendingResource(arg0, arg1, arg2 string) (resource0.Resource, error)

GetPendingResource mocks base method

func (*MockResources) GetResource

func (m *MockResources) GetResource(arg0, arg1 string) (resource0.Resource, error)

GetResource mocks base method

func (*MockResources) ListPendingResources

func (m *MockResources) ListPendingResources(arg0 string) ([]resource0.Resource, error)

ListPendingResources mocks base method

func (*MockResources) ListResources

func (m *MockResources) ListResources(arg0 string) (resource0.ApplicationResources, error)

ListResources mocks base method

func (*MockResources) NewResolvePendingResourcesOps

func (m *MockResources) NewResolvePendingResourcesOps(arg0 string, arg1 map[string]string) ([]txn.Op, error)

NewResolvePendingResourcesOps mocks base method

func (*MockResources) OpenResource

func (m *MockResources) OpenResource(arg0, arg1 string) (resource0.Resource, io.ReadCloser, error)

OpenResource mocks base method

func (*MockResources) OpenResourceForUniter

func (m *MockResources) OpenResourceForUniter(arg0 resource0.Unit, arg1 string) (resource0.Resource, io.ReadCloser, error)

OpenResourceForUniter mocks base method

func (*MockResources) RemovePendingAppResources

func (m *MockResources) RemovePendingAppResources(arg0 string, arg1 map[string]string) error

RemovePendingAppResources mocks base method

func (*MockResources) SetCharmStoreResources

func (m *MockResources) SetCharmStoreResources(arg0 string, arg1 []resource.Resource, arg2 time.Time) error

SetCharmStoreResources mocks base method

func (*MockResources) SetResource

SetResource mocks base method

func (*MockResources) SetUnitResource

func (m *MockResources) SetUnitResource(arg0, arg1 string, arg2 resource.Resource) (resource0.Resource, error)

SetUnitResource mocks base method

func (*MockResources) UpdatePendingResource

func (m *MockResources) UpdatePendingResource(arg0, arg1, arg2 string, arg3 resource.Resource, arg4 io.Reader) (resource0.Resource, error)

UpdatePendingResource mocks base method

type MockResourcesMockRecorder

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

MockResourcesMockRecorder is the mock recorder for MockResources

func (*MockResourcesMockRecorder) AddPendingResource

func (mr *MockResourcesMockRecorder) AddPendingResource(arg0, arg1, arg2 interface{}) *gomock.Call

AddPendingResource indicates an expected call of AddPendingResource

func (*MockResourcesMockRecorder) GetPendingResource

func (mr *MockResourcesMockRecorder) GetPendingResource(arg0, arg1, arg2 interface{}) *gomock.Call

GetPendingResource indicates an expected call of GetPendingResource

func (*MockResourcesMockRecorder) GetResource

func (mr *MockResourcesMockRecorder) GetResource(arg0, arg1 interface{}) *gomock.Call

GetResource indicates an expected call of GetResource

func (*MockResourcesMockRecorder) ListPendingResources

func (mr *MockResourcesMockRecorder) ListPendingResources(arg0 interface{}) *gomock.Call

ListPendingResources indicates an expected call of ListPendingResources

func (*MockResourcesMockRecorder) ListResources

func (mr *MockResourcesMockRecorder) ListResources(arg0 interface{}) *gomock.Call

ListResources indicates an expected call of ListResources

func (*MockResourcesMockRecorder) NewResolvePendingResourcesOps

func (mr *MockResourcesMockRecorder) NewResolvePendingResourcesOps(arg0, arg1 interface{}) *gomock.Call

NewResolvePendingResourcesOps indicates an expected call of NewResolvePendingResourcesOps

func (*MockResourcesMockRecorder) OpenResource

func (mr *MockResourcesMockRecorder) OpenResource(arg0, arg1 interface{}) *gomock.Call

OpenResource indicates an expected call of OpenResource

func (*MockResourcesMockRecorder) OpenResourceForUniter

func (mr *MockResourcesMockRecorder) OpenResourceForUniter(arg0, arg1 interface{}) *gomock.Call

OpenResourceForUniter indicates an expected call of OpenResourceForUniter

func (*MockResourcesMockRecorder) RemovePendingAppResources

func (mr *MockResourcesMockRecorder) RemovePendingAppResources(arg0, arg1 interface{}) *gomock.Call

RemovePendingAppResources indicates an expected call of RemovePendingAppResources

func (*MockResourcesMockRecorder) SetCharmStoreResources

func (mr *MockResourcesMockRecorder) SetCharmStoreResources(arg0, arg1, arg2 interface{}) *gomock.Call

SetCharmStoreResources indicates an expected call of SetCharmStoreResources

func (*MockResourcesMockRecorder) SetResource

func (mr *MockResourcesMockRecorder) SetResource(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

SetResource indicates an expected call of SetResource

func (*MockResourcesMockRecorder) SetUnitResource

func (mr *MockResourcesMockRecorder) SetUnitResource(arg0, arg1, arg2 interface{}) *gomock.Call

SetUnitResource indicates an expected call of SetUnitResource

func (*MockResourcesMockRecorder) UpdatePendingResource

func (mr *MockResourcesMockRecorder) UpdatePendingResource(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

UpdatePendingResource indicates an expected call of UpdatePendingResource

type MockRunner

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

MockRunner is a mock of Runner interface

func NewMockRunner

func NewMockRunner(ctrl *gomock.Controller) *MockRunner

NewMockRunner creates a new mock instance

func (*MockRunner) EXPECT

func (m *MockRunner) EXPECT() *MockRunnerMockRecorder

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

func (*MockRunner) MaybePruneTransactions

func (m *MockRunner) MaybePruneTransactions(arg0 txn.PruneOptions) error

MaybePruneTransactions mocks base method

func (*MockRunner) ResumeTransactions

func (m *MockRunner) ResumeTransactions() error

ResumeTransactions mocks base method

func (*MockRunner) Run

func (m *MockRunner) Run(arg0 txn.TransactionSource) error

Run mocks base method

func (*MockRunner) RunTransaction

func (m *MockRunner) RunTransaction(arg0 *txn.Transaction) error

RunTransaction mocks base method

type MockRunnerMockRecorder

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

MockRunnerMockRecorder is the mock recorder for MockRunner

func (*MockRunnerMockRecorder) MaybePruneTransactions

func (mr *MockRunnerMockRecorder) MaybePruneTransactions(arg0 interface{}) *gomock.Call

MaybePruneTransactions indicates an expected call of MaybePruneTransactions

func (*MockRunnerMockRecorder) ResumeTransactions

func (mr *MockRunnerMockRecorder) ResumeTransactions() *gomock.Call

ResumeTransactions indicates an expected call of ResumeTransactions

func (*MockRunnerMockRecorder) Run

func (mr *MockRunnerMockRecorder) Run(arg0 interface{}) *gomock.Call

Run indicates an expected call of Run

func (*MockRunnerMockRecorder) RunTransaction

func (mr *MockRunnerMockRecorder) RunTransaction(arg0 interface{}) *gomock.Call

RunTransaction indicates an expected call of RunTransaction

type MockUnitPortRanges

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

MockUnitPortRanges is a mock of UnitPortRanges interface

func NewMockUnitPortRanges

func NewMockUnitPortRanges(ctrl *gomock.Controller) *MockUnitPortRanges

NewMockUnitPortRanges creates a new mock instance

func (*MockUnitPortRanges) ByEndpoint

func (m *MockUnitPortRanges) ByEndpoint() map[string][]description.UnitPortRange

ByEndpoint mocks base method

func (*MockUnitPortRanges) EXPECT

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

type MockUnitPortRangesMockRecorder

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

MockUnitPortRangesMockRecorder is the mock recorder for MockUnitPortRanges

func (*MockUnitPortRangesMockRecorder) ByEndpoint

func (mr *MockUnitPortRangesMockRecorder) ByEndpoint() *gomock.Call

ByEndpoint indicates an expected call of ByEndpoint

Jump to

Keyboard shortcuts

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