juju: github.com/juju/juju/state/mocks Index | Files

package mocks

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

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Package Files

clock_mock.go database_mock.go description_mock.go mongo_mock.go txn_mock.go watcher_mock.go

type MockBaseWatcher Uses

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

MockBaseWatcher is a mock of BaseWatcher interface

func NewMockBaseWatcher Uses

func NewMockBaseWatcher(ctrl *gomock.Controller) *MockBaseWatcher

NewMockBaseWatcher creates a new mock instance

func (*MockBaseWatcher) Dead Uses

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

Dead mocks base method

func (*MockBaseWatcher) EXPECT Uses

func (m *MockBaseWatcher) EXPECT() *MockBaseWatcherMockRecorder

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

func (*MockBaseWatcher) Err Uses

func (m *MockBaseWatcher) Err() error

Err mocks base method

func (*MockBaseWatcher) Kill Uses

func (m *MockBaseWatcher) Kill()

Kill mocks base method

func (*MockBaseWatcher) Unwatch Uses

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

Unwatch mocks base method

func (*MockBaseWatcher) UnwatchCollection Uses

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

UnwatchCollection mocks base method

func (*MockBaseWatcher) Wait Uses

func (m *MockBaseWatcher) Wait() error

Wait mocks base method

func (*MockBaseWatcher) Watch Uses

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

Watch mocks base method

func (*MockBaseWatcher) WatchCollection Uses

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

WatchCollection mocks base method

func (*MockBaseWatcher) WatchCollectionWithFilter Uses

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

WatchCollectionWithFilter mocks base method

func (*MockBaseWatcher) WatchMulti Uses

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

WatchMulti mocks base method

type MockBaseWatcherMockRecorder Uses

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

MockBaseWatcherMockRecorder is the mock recorder for MockBaseWatcher

func (*MockBaseWatcherMockRecorder) Dead Uses

func (mr *MockBaseWatcherMockRecorder) Dead() *gomock.Call

Dead indicates an expected call of Dead

func (*MockBaseWatcherMockRecorder) Err Uses

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

Err indicates an expected call of Err

func (*MockBaseWatcherMockRecorder) Kill Uses

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

Kill indicates an expected call of Kill

func (*MockBaseWatcherMockRecorder) Unwatch Uses

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

Unwatch indicates an expected call of Unwatch

func (*MockBaseWatcherMockRecorder) UnwatchCollection Uses

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

UnwatchCollection indicates an expected call of UnwatchCollection

func (*MockBaseWatcherMockRecorder) Wait Uses

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

Wait indicates an expected call of Wait

func (*MockBaseWatcherMockRecorder) Watch Uses

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

Watch indicates an expected call of Watch

func (*MockBaseWatcherMockRecorder) WatchCollection Uses

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

WatchCollection indicates an expected call of WatchCollection

func (*MockBaseWatcherMockRecorder) WatchCollectionWithFilter Uses

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

WatchCollectionWithFilter indicates an expected call of WatchCollectionWithFilter

func (*MockBaseWatcherMockRecorder) WatchMulti Uses

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

WatchMulti indicates an expected call of WatchMulti

type MockClock Uses

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

MockClock is a mock of Clock interface

func NewMockClock Uses

func NewMockClock(ctrl *gomock.Controller) *MockClock

NewMockClock creates a new mock instance

func (*MockClock) After Uses

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

After mocks base method

func (*MockClock) AfterFunc Uses

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

AfterFunc mocks base method

func (*MockClock) EXPECT Uses

func (m *MockClock) EXPECT() *MockClockMockRecorder

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

func (*MockClock) NewTimer Uses

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

NewTimer mocks base method

func (*MockClock) Now Uses

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

Now mocks base method

type MockClockMockRecorder Uses

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

MockClockMockRecorder is the mock recorder for MockClock

func (*MockClockMockRecorder) After Uses

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

After indicates an expected call of After

func (*MockClockMockRecorder) AfterFunc Uses

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

AfterFunc indicates an expected call of AfterFunc

func (*MockClockMockRecorder) NewTimer Uses

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

NewTimer indicates an expected call of NewTimer

func (*MockClockMockRecorder) Now Uses

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

Now indicates an expected call of Now

type MockCollection Uses

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

MockCollection is a mock of Collection interface

func NewMockCollection Uses

func NewMockCollection(ctrl *gomock.Controller) *MockCollection

NewMockCollection creates a new mock instance

func (*MockCollection) Count Uses

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

Count mocks base method

func (*MockCollection) EXPECT Uses

func (m *MockCollection) EXPECT() *MockCollectionMockRecorder

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

func (*MockCollection) Find Uses

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

Find mocks base method

func (*MockCollection) FindId Uses

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

FindId mocks base method

func (*MockCollection) Name Uses

func (m *MockCollection) Name() string

Name mocks base method

func (*MockCollection) Pipe Uses

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

Pipe mocks base method

func (*MockCollection) Writeable Uses

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

Writeable mocks base method

type MockCollectionMockRecorder Uses

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

MockCollectionMockRecorder is the mock recorder for MockCollection

func (*MockCollectionMockRecorder) Count Uses

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

Count indicates an expected call of Count

func (*MockCollectionMockRecorder) Find Uses

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

Find indicates an expected call of Find

func (*MockCollectionMockRecorder) FindId Uses

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

FindId indicates an expected call of FindId

func (*MockCollectionMockRecorder) Name Uses

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

Name indicates an expected call of Name

func (*MockCollectionMockRecorder) Pipe Uses

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

Pipe indicates an expected call of Pipe

func (*MockCollectionMockRecorder) Writeable Uses

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

Writeable indicates an expected call of Writeable

type MockDatabase Uses

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

MockDatabase is a mock of Database interface

func NewMockDatabase Uses

func NewMockDatabase(ctrl *gomock.Controller) *MockDatabase

NewMockDatabase creates a new mock instance

func (*MockDatabase) Copy Uses

func (m *MockDatabase) Copy() (state.Database, state.SessionCloser)

Copy mocks base method

func (*MockDatabase) CopyForModel Uses

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

CopyForModel mocks base method

func (*MockDatabase) EXPECT Uses

func (m *MockDatabase) EXPECT() *MockDatabaseMockRecorder

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

func (*MockDatabase) GetCollection Uses

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

GetCollection mocks base method

func (*MockDatabase) GetCollectionFor Uses

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

GetCollectionFor mocks base method

func (*MockDatabase) GetRawCollection Uses

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

GetRawCollection mocks base method

func (*MockDatabase) Run Uses

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

Run mocks base method

func (*MockDatabase) RunRawTransaction Uses

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

RunRawTransaction mocks base method

func (*MockDatabase) RunTransaction Uses

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

RunTransaction mocks base method

func (*MockDatabase) RunTransactionFor Uses

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

RunTransactionFor mocks base method

func (*MockDatabase) Schema Uses

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

Schema mocks base method

func (*MockDatabase) TransactionRunner Uses

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

TransactionRunner mocks base method

type MockDatabaseMockRecorder Uses

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

MockDatabaseMockRecorder is the mock recorder for MockDatabase

func (*MockDatabaseMockRecorder) Copy Uses

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

Copy indicates an expected call of Copy

func (*MockDatabaseMockRecorder) CopyForModel Uses

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

CopyForModel indicates an expected call of CopyForModel

func (*MockDatabaseMockRecorder) GetCollection Uses

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

GetCollection indicates an expected call of GetCollection

func (*MockDatabaseMockRecorder) GetCollectionFor Uses

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

GetCollectionFor indicates an expected call of GetCollectionFor

func (*MockDatabaseMockRecorder) GetRawCollection Uses

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

GetRawCollection indicates an expected call of GetRawCollection

func (*MockDatabaseMockRecorder) Run Uses

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

Run indicates an expected call of Run

func (*MockDatabaseMockRecorder) RunRawTransaction Uses

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

RunRawTransaction indicates an expected call of RunRawTransaction

func (*MockDatabaseMockRecorder) RunTransaction Uses

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

RunTransaction indicates an expected call of RunTransaction

func (*MockDatabaseMockRecorder) RunTransactionFor Uses

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

RunTransactionFor indicates an expected call of RunTransactionFor

func (*MockDatabaseMockRecorder) Schema Uses

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

Schema indicates an expected call of Schema

func (*MockDatabaseMockRecorder) TransactionRunner Uses

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

TransactionRunner indicates an expected call of TransactionRunner

type MockMachine Uses

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

MockMachine is a mock of Machine interface

func NewMockMachine Uses

func NewMockMachine(ctrl *gomock.Controller) *MockMachine

NewMockMachine creates a new mock instance

func (*MockMachine) AddBlockDevice Uses

func (m *MockMachine) AddBlockDevice(arg0 description.BlockDeviceArgs) description.BlockDevice

AddBlockDevice mocks base method

func (*MockMachine) AddContainer Uses

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

AddContainer mocks base method

func (*MockMachine) AddOpenedPorts Uses

func (m *MockMachine) AddOpenedPorts(arg0 description.OpenedPortsArgs) description.OpenedPorts

AddOpenedPorts mocks base method

func (*MockMachine) Annotations Uses

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

Annotations mocks base method

func (*MockMachine) BlockDevices Uses

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

BlockDevices mocks base method

func (*MockMachine) Constraints Uses

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

Constraints mocks base method

func (*MockMachine) ContainerType Uses

func (m *MockMachine) ContainerType() string

ContainerType mocks base method

func (*MockMachine) Containers Uses

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

Containers mocks base method

func (*MockMachine) EXPECT Uses

func (m *MockMachine) EXPECT() *MockMachineMockRecorder

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

func (*MockMachine) Id Uses

func (m *MockMachine) Id() string

Id mocks base method

func (*MockMachine) Instance Uses

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

Instance mocks base method

func (*MockMachine) Jobs Uses

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

Jobs mocks base method

func (*MockMachine) MachineAddresses Uses

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

MachineAddresses mocks base method

func (*MockMachine) Nonce Uses

func (m *MockMachine) Nonce() string

Nonce mocks base method

func (*MockMachine) OpenedPorts Uses

func (m *MockMachine) OpenedPorts() []description.OpenedPorts

OpenedPorts mocks base method

func (*MockMachine) PasswordHash Uses

func (m *MockMachine) PasswordHash() string

PasswordHash mocks base method

func (*MockMachine) Placement Uses

func (m *MockMachine) Placement() string

Placement mocks base method

func (*MockMachine) PreferredPrivateAddress Uses

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

PreferredPrivateAddress mocks base method

func (*MockMachine) PreferredPublicAddress Uses

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

PreferredPublicAddress mocks base method

func (*MockMachine) ProviderAddresses Uses

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

ProviderAddresses mocks base method

func (*MockMachine) Series Uses

func (m *MockMachine) Series() string

Series mocks base method

func (*MockMachine) SetAddresses Uses

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

SetAddresses mocks base method

func (*MockMachine) SetAnnotations Uses

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

SetAnnotations mocks base method

func (*MockMachine) SetConstraints Uses

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

SetConstraints mocks base method

func (*MockMachine) SetInstance Uses

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

SetInstance mocks base method

func (*MockMachine) SetPreferredAddresses Uses

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

SetPreferredAddresses mocks base method

func (*MockMachine) SetStatus Uses

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

SetStatus mocks base method

func (*MockMachine) SetStatusHistory Uses

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

SetStatusHistory mocks base method

func (*MockMachine) SetTools Uses

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

SetTools mocks base method

func (*MockMachine) Status Uses

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

Status mocks base method

func (*MockMachine) StatusHistory Uses

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

StatusHistory mocks base method

func (*MockMachine) SupportedContainers Uses

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

SupportedContainers mocks base method

func (*MockMachine) Tag Uses

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

Tag mocks base method

func (*MockMachine) Tools Uses

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

Tools mocks base method

func (*MockMachine) Validate Uses

func (m *MockMachine) Validate() error

Validate mocks base method

type MockMachineMockRecorder Uses

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

MockMachineMockRecorder is the mock recorder for MockMachine

func (*MockMachineMockRecorder) AddBlockDevice Uses

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

AddBlockDevice indicates an expected call of AddBlockDevice

func (*MockMachineMockRecorder) AddContainer Uses

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

AddContainer indicates an expected call of AddContainer

func (*MockMachineMockRecorder) AddOpenedPorts Uses

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

AddOpenedPorts indicates an expected call of AddOpenedPorts

func (*MockMachineMockRecorder) Annotations Uses

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

Annotations indicates an expected call of Annotations

func (*MockMachineMockRecorder) BlockDevices Uses

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

BlockDevices indicates an expected call of BlockDevices

func (*MockMachineMockRecorder) Constraints Uses

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

Constraints indicates an expected call of Constraints

func (*MockMachineMockRecorder) ContainerType Uses

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

ContainerType indicates an expected call of ContainerType

func (*MockMachineMockRecorder) Containers Uses

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

Containers indicates an expected call of Containers

func (*MockMachineMockRecorder) Id Uses

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

Id indicates an expected call of Id

func (*MockMachineMockRecorder) Instance Uses

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

Instance indicates an expected call of Instance

func (*MockMachineMockRecorder) Jobs Uses

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

Jobs indicates an expected call of Jobs

func (*MockMachineMockRecorder) MachineAddresses Uses

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

MachineAddresses indicates an expected call of MachineAddresses

func (*MockMachineMockRecorder) Nonce Uses

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

Nonce indicates an expected call of Nonce

func (*MockMachineMockRecorder) OpenedPorts Uses

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

OpenedPorts indicates an expected call of OpenedPorts

func (*MockMachineMockRecorder) PasswordHash Uses

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

PasswordHash indicates an expected call of PasswordHash

func (*MockMachineMockRecorder) Placement Uses

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

Placement indicates an expected call of Placement

func (*MockMachineMockRecorder) PreferredPrivateAddress Uses

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

PreferredPrivateAddress indicates an expected call of PreferredPrivateAddress

func (*MockMachineMockRecorder) PreferredPublicAddress Uses

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

PreferredPublicAddress indicates an expected call of PreferredPublicAddress

func (*MockMachineMockRecorder) ProviderAddresses Uses

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

ProviderAddresses indicates an expected call of ProviderAddresses

func (*MockMachineMockRecorder) Series Uses

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

Series indicates an expected call of Series

func (*MockMachineMockRecorder) SetAddresses Uses

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

SetAddresses indicates an expected call of SetAddresses

func (*MockMachineMockRecorder) SetAnnotations Uses

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

SetAnnotations indicates an expected call of SetAnnotations

func (*MockMachineMockRecorder) SetConstraints Uses

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

SetConstraints indicates an expected call of SetConstraints

func (*MockMachineMockRecorder) SetInstance Uses

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

SetInstance indicates an expected call of SetInstance

func (*MockMachineMockRecorder) SetPreferredAddresses Uses

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

SetPreferredAddresses indicates an expected call of SetPreferredAddresses

func (*MockMachineMockRecorder) SetStatus Uses

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

SetStatus indicates an expected call of SetStatus

func (*MockMachineMockRecorder) SetStatusHistory Uses

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

SetStatusHistory indicates an expected call of SetStatusHistory

func (*MockMachineMockRecorder) SetTools Uses

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

SetTools indicates an expected call of SetTools

func (*MockMachineMockRecorder) Status Uses

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

Status indicates an expected call of Status

func (*MockMachineMockRecorder) StatusHistory Uses

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

StatusHistory indicates an expected call of StatusHistory

func (*MockMachineMockRecorder) SupportedContainers Uses

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

SupportedContainers indicates an expected call of SupportedContainers

func (*MockMachineMockRecorder) Tag Uses

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

Tag indicates an expected call of Tag

func (*MockMachineMockRecorder) Tools Uses

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

Tools indicates an expected call of Tools

func (*MockMachineMockRecorder) Validate Uses

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

Validate indicates an expected call of Validate

type MockOpenedPorts Uses

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

MockOpenedPorts is a mock of OpenedPorts interface

func NewMockOpenedPorts Uses

func NewMockOpenedPorts(ctrl *gomock.Controller) *MockOpenedPorts

NewMockOpenedPorts creates a new mock instance

func (*MockOpenedPorts) EXPECT Uses

func (m *MockOpenedPorts) EXPECT() *MockOpenedPortsMockRecorder

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

func (*MockOpenedPorts) OpenPorts Uses

func (m *MockOpenedPorts) OpenPorts() []description.PortRange

OpenPorts mocks base method

func (*MockOpenedPorts) SubnetID Uses

func (m *MockOpenedPorts) SubnetID() string

SubnetID mocks base method

type MockOpenedPortsMockRecorder Uses

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

MockOpenedPortsMockRecorder is the mock recorder for MockOpenedPorts

func (*MockOpenedPortsMockRecorder) OpenPorts Uses

func (mr *MockOpenedPortsMockRecorder) OpenPorts() *gomock.Call

OpenPorts indicates an expected call of OpenPorts

func (*MockOpenedPortsMockRecorder) SubnetID Uses

func (mr *MockOpenedPortsMockRecorder) SubnetID() *gomock.Call

SubnetID indicates an expected call of SubnetID

type MockQuery Uses

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

MockQuery is a mock of Query interface

func NewMockQuery Uses

func NewMockQuery(ctrl *gomock.Controller) *MockQuery

NewMockQuery creates a new mock instance

func (*MockQuery) All Uses

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

All mocks base method

func (*MockQuery) Apply Uses

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

Apply mocks base method

func (*MockQuery) Batch Uses

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

Batch mocks base method

func (*MockQuery) Comment Uses

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

Comment mocks base method

func (*MockQuery) Count Uses

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

Count mocks base method

func (*MockQuery) Distinct Uses

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

Distinct mocks base method

func (*MockQuery) EXPECT Uses

func (m *MockQuery) EXPECT() *MockQueryMockRecorder

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

func (*MockQuery) Explain Uses

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

Explain mocks base method

func (*MockQuery) For Uses

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

For mocks base method

func (*MockQuery) Hint Uses

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

Hint mocks base method

func (*MockQuery) Iter Uses

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

Iter mocks base method

func (*MockQuery) Limit Uses

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

Limit mocks base method

func (*MockQuery) LogReplay Uses

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

LogReplay mocks base method

func (*MockQuery) MapReduce Uses

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

MapReduce mocks base method

func (*MockQuery) One Uses

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

One mocks base method

func (*MockQuery) Prefetch Uses

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

Prefetch mocks base method

func (*MockQuery) Select Uses

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

Select mocks base method

func (*MockQuery) SetMaxScan Uses

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

SetMaxScan mocks base method

func (*MockQuery) SetMaxTime Uses

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

SetMaxTime mocks base method

func (*MockQuery) Skip Uses

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

Skip mocks base method

func (*MockQuery) Snapshot Uses

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

Snapshot mocks base method

func (*MockQuery) Sort Uses

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

Sort mocks base method

func (*MockQuery) Tail Uses

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

Tail mocks base method

type MockQueryMockRecorder Uses

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

MockQueryMockRecorder is the mock recorder for MockQuery

func (*MockQueryMockRecorder) All Uses

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

All indicates an expected call of All

func (*MockQueryMockRecorder) Apply Uses

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

Apply indicates an expected call of Apply

func (*MockQueryMockRecorder) Batch Uses

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

Batch indicates an expected call of Batch

func (*MockQueryMockRecorder) Comment Uses

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

Comment indicates an expected call of Comment

func (*MockQueryMockRecorder) Count Uses

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

Count indicates an expected call of Count

func (*MockQueryMockRecorder) Distinct Uses

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

Distinct indicates an expected call of Distinct

func (*MockQueryMockRecorder) Explain Uses

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

Explain indicates an expected call of Explain

func (*MockQueryMockRecorder) For Uses

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

For indicates an expected call of For

func (*MockQueryMockRecorder) Hint Uses

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

Hint indicates an expected call of Hint

func (*MockQueryMockRecorder) Iter Uses

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

Iter indicates an expected call of Iter

func (*MockQueryMockRecorder) Limit Uses

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

Limit indicates an expected call of Limit

func (*MockQueryMockRecorder) LogReplay Uses

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

LogReplay indicates an expected call of LogReplay

func (*MockQueryMockRecorder) MapReduce Uses

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

MapReduce indicates an expected call of MapReduce

func (*MockQueryMockRecorder) One Uses

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

One indicates an expected call of One

func (*MockQueryMockRecorder) Prefetch Uses

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

Prefetch indicates an expected call of Prefetch

func (*MockQueryMockRecorder) Select Uses

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

Select indicates an expected call of Select

func (*MockQueryMockRecorder) SetMaxScan Uses

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

SetMaxScan indicates an expected call of SetMaxScan

func (*MockQueryMockRecorder) SetMaxTime Uses

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

SetMaxTime indicates an expected call of SetMaxTime

func (*MockQueryMockRecorder) Skip Uses

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

Skip indicates an expected call of Skip

func (*MockQueryMockRecorder) Snapshot Uses

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

Snapshot indicates an expected call of Snapshot

func (*MockQueryMockRecorder) Sort Uses

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

Sort indicates an expected call of Sort

func (*MockQueryMockRecorder) Tail Uses

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

Tail indicates an expected call of Tail

type MockRunner Uses

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

MockRunner is a mock of Runner interface

func NewMockRunner Uses

func NewMockRunner(ctrl *gomock.Controller) *MockRunner

NewMockRunner creates a new mock instance

func (*MockRunner) EXPECT Uses

func (m *MockRunner) EXPECT() *MockRunnerMockRecorder

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

func (*MockRunner) MaybePruneTransactions Uses

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

MaybePruneTransactions mocks base method

func (*MockRunner) ResumeTransactions Uses

func (m *MockRunner) ResumeTransactions() error

ResumeTransactions mocks base method

func (*MockRunner) Run Uses

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

Run mocks base method

func (*MockRunner) RunTransaction Uses

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

RunTransaction mocks base method

type MockRunnerMockRecorder Uses

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

MockRunnerMockRecorder is the mock recorder for MockRunner

func (*MockRunnerMockRecorder) MaybePruneTransactions Uses

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

MaybePruneTransactions indicates an expected call of MaybePruneTransactions

func (*MockRunnerMockRecorder) ResumeTransactions Uses

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

ResumeTransactions indicates an expected call of ResumeTransactions

func (*MockRunnerMockRecorder) Run Uses

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

Run indicates an expected call of Run

func (*MockRunnerMockRecorder) RunTransaction Uses

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

RunTransaction indicates an expected call of RunTransaction

Package mocks imports 12 packages (graph). Updated 2019-08-27. Refresh now. Tools for package owners.