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 ¶
- type MockBaseWatcher
- func (m *MockBaseWatcher) Dead() <-chan struct{}
- func (m *MockBaseWatcher) EXPECT() *MockBaseWatcherMockRecorder
- func (m *MockBaseWatcher) Err() error
- func (m *MockBaseWatcher) Kill()
- func (m *MockBaseWatcher) Unwatch(arg0 string, arg1 interface{}, arg2 chan<- watcher.Change)
- func (m *MockBaseWatcher) UnwatchCollection(arg0 string, arg1 chan<- watcher.Change)
- func (m *MockBaseWatcher) Wait() error
- func (m *MockBaseWatcher) Watch(arg0 string, arg1 interface{}, arg2 chan<- watcher.Change)
- func (m *MockBaseWatcher) WatchCollection(arg0 string, arg1 chan<- watcher.Change)
- func (m *MockBaseWatcher) WatchCollectionWithFilter(arg0 string, arg1 chan<- watcher.Change, arg2 func(interface{}) bool)
- func (m *MockBaseWatcher) WatchMulti(arg0 string, arg1 []interface{}, arg2 chan<- watcher.Change) error
- type MockBaseWatcherMockRecorder
- func (mr *MockBaseWatcherMockRecorder) Dead() *gomock.Call
- func (mr *MockBaseWatcherMockRecorder) Err() *gomock.Call
- func (mr *MockBaseWatcherMockRecorder) Kill() *gomock.Call
- func (mr *MockBaseWatcherMockRecorder) Unwatch(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockBaseWatcherMockRecorder) UnwatchCollection(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBaseWatcherMockRecorder) Wait() *gomock.Call
- func (mr *MockBaseWatcherMockRecorder) Watch(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockBaseWatcherMockRecorder) WatchCollection(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBaseWatcherMockRecorder) WatchCollectionWithFilter(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockBaseWatcherMockRecorder) WatchMulti(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockClock
- type MockClockMockRecorder
- type MockCollection
- func (m *MockCollection) Count() (int, error)
- func (m *MockCollection) EXPECT() *MockCollectionMockRecorder
- func (m *MockCollection) Find(arg0 interface{}) mongo.Query
- func (m *MockCollection) FindId(arg0 interface{}) mongo.Query
- func (m *MockCollection) Name() string
- func (m *MockCollection) Pipe(arg0 interface{}) *mgo.Pipe
- func (m *MockCollection) Writeable() mongo.WriteCollection
- type MockCollectionMockRecorder
- func (mr *MockCollectionMockRecorder) Count() *gomock.Call
- func (mr *MockCollectionMockRecorder) Find(arg0 interface{}) *gomock.Call
- func (mr *MockCollectionMockRecorder) FindId(arg0 interface{}) *gomock.Call
- func (mr *MockCollectionMockRecorder) Name() *gomock.Call
- func (mr *MockCollectionMockRecorder) Pipe(arg0 interface{}) *gomock.Call
- func (mr *MockCollectionMockRecorder) Writeable() *gomock.Call
- type MockDatabase
- func (m *MockDatabase) Copy() (state.Database, state.SessionCloser)
- func (m *MockDatabase) CopyForModel(arg0 string) (state.Database, state.SessionCloser)
- func (m *MockDatabase) EXPECT() *MockDatabaseMockRecorder
- func (m *MockDatabase) GetCollection(arg0 string) (mongo.Collection, state.SessionCloser)
- func (m *MockDatabase) GetCollectionFor(arg0, arg1 string) (mongo.Collection, state.SessionCloser)
- func (m *MockDatabase) GetRawCollection(arg0 string) (*mgo_v2.Collection, state.SessionCloser)
- func (m *MockDatabase) Run(arg0 txn.TransactionSource) error
- func (m *MockDatabase) RunRawTransaction(arg0 []txn0.Op) error
- func (m *MockDatabase) RunTransaction(arg0 []txn0.Op) error
- func (m *MockDatabase) RunTransactionFor(arg0 string, arg1 []txn0.Op) error
- func (m *MockDatabase) Schema() state.CollectionSchema
- func (m *MockDatabase) TransactionRunner() (txn.Runner, state.SessionCloser)
- type MockDatabaseMockRecorder
- func (mr *MockDatabaseMockRecorder) Copy() *gomock.Call
- func (mr *MockDatabaseMockRecorder) CopyForModel(arg0 interface{}) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetCollection(arg0 interface{}) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetCollectionFor(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetRawCollection(arg0 interface{}) *gomock.Call
- func (mr *MockDatabaseMockRecorder) Run(arg0 interface{}) *gomock.Call
- func (mr *MockDatabaseMockRecorder) RunRawTransaction(arg0 interface{}) *gomock.Call
- func (mr *MockDatabaseMockRecorder) RunTransaction(arg0 interface{}) *gomock.Call
- func (mr *MockDatabaseMockRecorder) RunTransactionFor(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDatabaseMockRecorder) Schema() *gomock.Call
- func (mr *MockDatabaseMockRecorder) TransactionRunner() *gomock.Call
- type MockEndpointBinding
- type MockEndpointBindingMockRecorder
- type MockMachine
- func (m *MockMachine) AddBlockDevice(arg0 description.BlockDeviceArgs) description.BlockDevice
- func (m *MockMachine) AddContainer(arg0 description.MachineArgs) description.Machine
- func (m *MockMachine) AddOpenedPortRange(arg0 description.OpenedPortRangeArgs)
- func (m *MockMachine) Annotations() map[string]string
- func (m *MockMachine) BlockDevices() []description.BlockDevice
- func (m *MockMachine) Constraints() description.Constraints
- func (m *MockMachine) ContainerType() string
- func (m *MockMachine) Containers() []description.Machine
- func (m *MockMachine) EXPECT() *MockMachineMockRecorder
- func (m *MockMachine) Id() string
- func (m *MockMachine) Instance() description.CloudInstance
- func (m *MockMachine) Jobs() []string
- func (m *MockMachine) MachineAddresses() []description.Address
- func (m *MockMachine) Nonce() string
- func (m *MockMachine) OpenedPortRanges() description.MachinePortRanges
- func (m *MockMachine) PasswordHash() string
- func (m *MockMachine) Placement() string
- func (m *MockMachine) PreferredPrivateAddress() description.Address
- func (m *MockMachine) PreferredPublicAddress() description.Address
- func (m *MockMachine) ProviderAddresses() []description.Address
- func (m *MockMachine) Series() string
- func (m *MockMachine) SetAddresses(arg0, arg1 []description.AddressArgs)
- func (m *MockMachine) SetAnnotations(arg0 map[string]string)
- func (m *MockMachine) SetConstraints(arg0 description.ConstraintsArgs)
- func (m *MockMachine) SetInstance(arg0 description.CloudInstanceArgs)
- func (m *MockMachine) SetPreferredAddresses(arg0, arg1 description.AddressArgs)
- func (m *MockMachine) SetStatus(arg0 description.StatusArgs)
- func (m *MockMachine) SetStatusHistory(arg0 []description.StatusArgs)
- func (m *MockMachine) SetTools(arg0 description.AgentToolsArgs)
- func (m *MockMachine) Status() description.Status
- func (m *MockMachine) StatusHistory() []description.Status
- func (m *MockMachine) SupportedContainers() ([]string, bool)
- func (m *MockMachine) Tag() names.MachineTag
- func (m *MockMachine) Tools() description.AgentTools
- func (m *MockMachine) Validate() error
- type MockMachineMockRecorder
- func (mr *MockMachineMockRecorder) AddBlockDevice(arg0 interface{}) *gomock.Call
- func (mr *MockMachineMockRecorder) AddContainer(arg0 interface{}) *gomock.Call
- func (mr *MockMachineMockRecorder) AddOpenedPortRange(arg0 interface{}) *gomock.Call
- func (mr *MockMachineMockRecorder) Annotations() *gomock.Call
- func (mr *MockMachineMockRecorder) BlockDevices() *gomock.Call
- func (mr *MockMachineMockRecorder) Constraints() *gomock.Call
- func (mr *MockMachineMockRecorder) ContainerType() *gomock.Call
- func (mr *MockMachineMockRecorder) Containers() *gomock.Call
- func (mr *MockMachineMockRecorder) Id() *gomock.Call
- func (mr *MockMachineMockRecorder) Instance() *gomock.Call
- func (mr *MockMachineMockRecorder) Jobs() *gomock.Call
- func (mr *MockMachineMockRecorder) MachineAddresses() *gomock.Call
- func (mr *MockMachineMockRecorder) Nonce() *gomock.Call
- func (mr *MockMachineMockRecorder) OpenedPortRanges() *gomock.Call
- func (mr *MockMachineMockRecorder) PasswordHash() *gomock.Call
- func (mr *MockMachineMockRecorder) Placement() *gomock.Call
- func (mr *MockMachineMockRecorder) PreferredPrivateAddress() *gomock.Call
- func (mr *MockMachineMockRecorder) PreferredPublicAddress() *gomock.Call
- func (mr *MockMachineMockRecorder) ProviderAddresses() *gomock.Call
- func (mr *MockMachineMockRecorder) Series() *gomock.Call
- func (mr *MockMachineMockRecorder) SetAddresses(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMachineMockRecorder) SetAnnotations(arg0 interface{}) *gomock.Call
- func (mr *MockMachineMockRecorder) SetConstraints(arg0 interface{}) *gomock.Call
- func (mr *MockMachineMockRecorder) SetInstance(arg0 interface{}) *gomock.Call
- func (mr *MockMachineMockRecorder) SetPreferredAddresses(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMachineMockRecorder) SetStatus(arg0 interface{}) *gomock.Call
- func (mr *MockMachineMockRecorder) SetStatusHistory(arg0 interface{}) *gomock.Call
- func (mr *MockMachineMockRecorder) SetTools(arg0 interface{}) *gomock.Call
- func (mr *MockMachineMockRecorder) Status() *gomock.Call
- func (mr *MockMachineMockRecorder) StatusHistory() *gomock.Call
- func (mr *MockMachineMockRecorder) SupportedContainers() *gomock.Call
- func (mr *MockMachineMockRecorder) Tag() *gomock.Call
- func (mr *MockMachineMockRecorder) Tools() *gomock.Call
- func (mr *MockMachineMockRecorder) Validate() *gomock.Call
- type MockMachinePortRanges
- type MockMachinePortRangesMockRecorder
- type MockModelOperation
- type MockModelOperationMockRecorder
- type MockQuery
- func (m *MockQuery) All(arg0 interface{}) error
- func (m *MockQuery) Apply(arg0 mgo.Change, arg1 interface{}) (*mgo.ChangeInfo, error)
- func (m *MockQuery) Batch(arg0 int) mongo.Query
- func (m *MockQuery) Comment(arg0 string) mongo.Query
- func (m *MockQuery) Count() (int, error)
- func (m *MockQuery) Distinct(arg0 string, arg1 interface{}) error
- func (m *MockQuery) EXPECT() *MockQueryMockRecorder
- func (m *MockQuery) Explain(arg0 interface{}) error
- func (m *MockQuery) For(arg0 interface{}, arg1 func() error) error
- func (m *MockQuery) Hint(arg0 ...string) mongo.Query
- func (m *MockQuery) Iter() mongo.Iterator
- func (m *MockQuery) Limit(arg0 int) mongo.Query
- func (m *MockQuery) LogReplay() mongo.Query
- func (m *MockQuery) MapReduce(arg0 *mgo.MapReduce, arg1 interface{}) (*mgo.MapReduceInfo, error)
- func (m *MockQuery) One(arg0 interface{}) error
- func (m *MockQuery) Prefetch(arg0 float64) mongo.Query
- func (m *MockQuery) Select(arg0 interface{}) mongo.Query
- func (m *MockQuery) SetMaxScan(arg0 int) mongo.Query
- func (m *MockQuery) SetMaxTime(arg0 time.Duration) mongo.Query
- func (m *MockQuery) Skip(arg0 int) mongo.Query
- func (m *MockQuery) Snapshot() mongo.Query
- func (m *MockQuery) Sort(arg0 ...string) mongo.Query
- func (m *MockQuery) Tail(arg0 time.Duration) *mgo.Iter
- type MockQueryMockRecorder
- func (mr *MockQueryMockRecorder) All(arg0 interface{}) *gomock.Call
- func (mr *MockQueryMockRecorder) Apply(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockQueryMockRecorder) Batch(arg0 interface{}) *gomock.Call
- func (mr *MockQueryMockRecorder) Comment(arg0 interface{}) *gomock.Call
- func (mr *MockQueryMockRecorder) Count() *gomock.Call
- func (mr *MockQueryMockRecorder) Distinct(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockQueryMockRecorder) Explain(arg0 interface{}) *gomock.Call
- func (mr *MockQueryMockRecorder) For(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockQueryMockRecorder) Hint(arg0 ...interface{}) *gomock.Call
- func (mr *MockQueryMockRecorder) Iter() *gomock.Call
- func (mr *MockQueryMockRecorder) Limit(arg0 interface{}) *gomock.Call
- func (mr *MockQueryMockRecorder) LogReplay() *gomock.Call
- func (mr *MockQueryMockRecorder) MapReduce(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockQueryMockRecorder) One(arg0 interface{}) *gomock.Call
- func (mr *MockQueryMockRecorder) Prefetch(arg0 interface{}) *gomock.Call
- func (mr *MockQueryMockRecorder) Select(arg0 interface{}) *gomock.Call
- func (mr *MockQueryMockRecorder) SetMaxScan(arg0 interface{}) *gomock.Call
- func (mr *MockQueryMockRecorder) SetMaxTime(arg0 interface{}) *gomock.Call
- func (mr *MockQueryMockRecorder) Skip(arg0 interface{}) *gomock.Call
- func (mr *MockQueryMockRecorder) Snapshot() *gomock.Call
- func (mr *MockQueryMockRecorder) Sort(arg0 ...interface{}) *gomock.Call
- func (mr *MockQueryMockRecorder) Tail(arg0 interface{}) *gomock.Call
- type MockResources
- func (m *MockResources) AddPendingResource(arg0, arg1 string, arg2 resource.Resource) (string, error)
- func (m *MockResources) EXPECT() *MockResourcesMockRecorder
- func (m *MockResources) GetPendingResource(arg0, arg1, arg2 string) (resource0.Resource, error)
- func (m *MockResources) GetResource(arg0, arg1 string) (resource0.Resource, error)
- func (m *MockResources) ListPendingResources(arg0 string) ([]resource0.Resource, error)
- func (m *MockResources) ListResources(arg0 string) (resource0.ApplicationResources, error)
- func (m *MockResources) NewResolvePendingResourcesOps(arg0 string, arg1 map[string]string) ([]txn.Op, error)
- func (m *MockResources) OpenResource(arg0, arg1 string) (resource0.Resource, io.ReadCloser, error)
- func (m *MockResources) OpenResourceForUniter(arg0 resource0.Unit, arg1 string) (resource0.Resource, io.ReadCloser, error)
- func (m *MockResources) RemovePendingAppResources(arg0 string, arg1 map[string]string) error
- func (m *MockResources) SetCharmStoreResources(arg0 string, arg1 []resource.Resource, arg2 time.Time) error
- func (m *MockResources) SetResource(arg0, arg1 string, arg2 resource.Resource, arg3 io.Reader, ...) (resource0.Resource, error)
- func (m *MockResources) SetUnitResource(arg0, arg1 string, arg2 resource.Resource) (resource0.Resource, error)
- func (m *MockResources) UpdatePendingResource(arg0, arg1, arg2 string, arg3 resource.Resource, arg4 io.Reader) (resource0.Resource, error)
- type MockResourcesMockRecorder
- func (mr *MockResourcesMockRecorder) AddPendingResource(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockResourcesMockRecorder) GetPendingResource(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockResourcesMockRecorder) GetResource(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockResourcesMockRecorder) ListPendingResources(arg0 interface{}) *gomock.Call
- func (mr *MockResourcesMockRecorder) ListResources(arg0 interface{}) *gomock.Call
- func (mr *MockResourcesMockRecorder) NewResolvePendingResourcesOps(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockResourcesMockRecorder) OpenResource(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockResourcesMockRecorder) OpenResourceForUniter(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockResourcesMockRecorder) RemovePendingAppResources(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockResourcesMockRecorder) SetCharmStoreResources(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockResourcesMockRecorder) SetResource(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockResourcesMockRecorder) SetUnitResource(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockResourcesMockRecorder) UpdatePendingResource(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- type MockRunner
- type MockRunnerMockRecorder
- func (mr *MockRunnerMockRecorder) MaybePruneTransactions(arg0 interface{}) *gomock.Call
- func (mr *MockRunnerMockRecorder) ResumeTransactions() *gomock.Call
- func (mr *MockRunnerMockRecorder) Run(arg0 interface{}) *gomock.Call
- func (mr *MockRunnerMockRecorder) RunTransaction(arg0 interface{}) *gomock.Call
- type MockUnitPortRanges
- type MockUnitPortRangesMockRecorder
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 ¶
func (m *MockBaseWatcher) EXPECT() *MockBaseWatcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
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) 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 ¶
func (mr *MockBaseWatcherMockRecorder) Dead() *gomock.Call
Dead indicates an expected call of Dead
func (*MockBaseWatcherMockRecorder) Err ¶
func (mr *MockBaseWatcherMockRecorder) Err() *gomock.Call
Err indicates an expected call of Err
func (*MockBaseWatcherMockRecorder) Kill ¶
func (mr *MockBaseWatcherMockRecorder) Kill() *gomock.Call
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 ¶
func (mr *MockBaseWatcherMockRecorder) Wait() *gomock.Call
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) EXPECT ¶
func (m *MockClock) EXPECT() *MockClockMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
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 ¶
func (m *MockCollection) EXPECT() *MockCollectionMockRecorder
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) 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 ¶
func (mr *MockCollectionMockRecorder) Name() *gomock.Call
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 ¶
func (m *MockDatabase) Copy() (state.Database, state.SessionCloser)
Copy mocks base method
func (*MockDatabase) CopyForModel ¶
func (m *MockDatabase) CopyForModel(arg0 string) (state.Database, state.SessionCloser)
CopyForModel mocks base method
func (*MockDatabase) EXPECT ¶
func (m *MockDatabase) EXPECT() *MockDatabaseMockRecorder
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 ¶
func (m *MockEndpointBinding) EXPECT() *MockEndpointBindingMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
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 ¶
func (m *MockMachine) AddBlockDevice(arg0 description.BlockDeviceArgs) description.BlockDevice
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) Instance ¶
func (m *MockMachine) Instance() description.CloudInstance
Instance mocks base method
func (*MockMachine) MachineAddresses ¶
func (m *MockMachine) MachineAddresses() []description.Address
MachineAddresses 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) 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) Tools ¶
func (m *MockMachine) Tools() description.AgentTools
Tools 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 ¶
func (mr *MockMachineMockRecorder) Id() *gomock.Call
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 ¶
func (m *MockMachinePortRanges) ByUnit() map[string]description.UnitPortRanges
ByUnit mocks base method
func (*MockMachinePortRanges) EXPECT ¶
func (m *MockMachinePortRanges) EXPECT() *MockMachinePortRangesMockRecorder
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 ¶
func (mr *MockMachinePortRangesMockRecorder) ByUnit() *gomock.Call
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 ¶
func (m *MockModelOperation) EXPECT() *MockModelOperationMockRecorder
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) EXPECT ¶
func (m *MockQuery) EXPECT() *MockQueryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockQuery) SetMaxScan ¶
SetMaxScan mocks base method
func (*MockQuery) SetMaxTime ¶
SetMaxTime 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 ¶
func (m *MockResources) EXPECT() *MockResourcesMockRecorder
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 ¶
func (m *MockResources) SetResource(arg0, arg1 string, arg2 resource.Resource, arg3 io.Reader, arg4 state.IncrementCharmModifiedVersionType) (resource0.Resource, error)
SetResource mocks base method
func (*MockResources) SetUnitResource ¶
func (m *MockResources) SetUnitResource(arg0, arg1 string, arg2 resource.Resource) (resource0.Resource, error)
SetUnitResource 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 ¶
func (m *MockUnitPortRanges) EXPECT() *MockUnitPortRangesMockRecorder
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