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.
Package mocks is a generated GoMock package.
Index ¶
- type MockApplication
- func (m *MockApplication) AddOffer(arg0 description.ApplicationOfferArgs) description.ApplicationOffer
- func (m *MockApplication) AddOpenedPortRange(arg0 description.OpenedPortRangeArgs)
- func (m *MockApplication) AddResource(arg0 description.ResourceArgs) description.Resource
- func (m *MockApplication) AddUnit(arg0 description.UnitArgs) description.Unit
- func (m *MockApplication) Annotations() map[string]string
- func (m *MockApplication) ApplicationConfig() map[string]any
- func (m *MockApplication) Channel() string
- func (m *MockApplication) CharmActions() description.CharmActions
- func (m *MockApplication) CharmConfig() map[string]any
- func (m *MockApplication) CharmConfigs() description.CharmConfigs
- func (m *MockApplication) CharmManifest() description.CharmManifest
- func (m *MockApplication) CharmMetadata() description.CharmMetadata
- func (m *MockApplication) CharmModifiedVersion() int
- func (m *MockApplication) CharmOrigin() description.CharmOrigin
- func (m *MockApplication) CharmURL() string
- func (m *MockApplication) CloudService() description.CloudService
- func (m *MockApplication) Constraints() description.Constraints
- func (m *MockApplication) DesiredScale() int
- func (m *MockApplication) EXPECT() *MockApplicationMockRecorder
- func (m *MockApplication) EndpointBindings() map[string]string
- func (m *MockApplication) Exposed() bool
- func (m *MockApplication) ExposedEndpoints() map[string]description.ExposedEndpoint
- func (m *MockApplication) ForceCharm() bool
- func (m *MockApplication) HasResources() bool
- func (m *MockApplication) Leader() string
- func (m *MockApplication) LeadershipSettings() map[string]any
- func (m *MockApplication) MetricsCredentials() []byte
- func (m *MockApplication) MinUnits() int
- func (m *MockApplication) Name() string
- func (m *MockApplication) Offers() []description.ApplicationOffer
- func (m *MockApplication) OpenedPortRanges() description.PortRanges
- func (m *MockApplication) OperatorStatus() description.Status
- func (m *MockApplication) PasswordHash() string
- func (m *MockApplication) Placement() string
- func (m *MockApplication) PodSpec() string
- func (m *MockApplication) ProvisioningState() description.ProvisioningState
- func (m *MockApplication) Resources() []description.Resource
- func (m *MockApplication) SetAnnotations(arg0 map[string]string)
- func (m *MockApplication) SetCharmActions(arg0 description.CharmActionsArgs)
- func (m *MockApplication) SetCharmConfigs(arg0 description.CharmConfigsArgs)
- func (m *MockApplication) SetCharmManifest(arg0 description.CharmManifestArgs)
- func (m *MockApplication) SetCharmMetadata(arg0 description.CharmMetadataArgs)
- func (m *MockApplication) SetCharmOrigin(arg0 description.CharmOriginArgs)
- func (m *MockApplication) SetCloudService(arg0 description.CloudServiceArgs)
- func (m *MockApplication) SetConstraints(arg0 description.ConstraintsArgs)
- func (m *MockApplication) SetOperatorStatus(arg0 description.StatusArgs)
- func (m *MockApplication) SetStatus(arg0 description.StatusArgs)
- func (m *MockApplication) SetStatusHistory(arg0 []description.StatusArgs)
- func (m *MockApplication) SetTools(arg0 description.AgentToolsArgs)
- func (m *MockApplication) Status() description.Status
- func (m *MockApplication) StatusHistory() []description.Status
- func (m *MockApplication) StorageDirectives() map[string]description.StorageDirective
- func (m *MockApplication) Subordinate() bool
- func (m *MockApplication) Tag() names.ApplicationTag
- func (m *MockApplication) Tools() description.AgentTools
- func (m *MockApplication) Type() string
- func (m *MockApplication) Units() []description.Unit
- func (m *MockApplication) Validate() error
- type MockApplicationMockRecorder
- func (mr *MockApplicationMockRecorder) AddOffer(arg0 any) *gomock.Call
- func (mr *MockApplicationMockRecorder) AddOpenedPortRange(arg0 any) *gomock.Call
- func (mr *MockApplicationMockRecorder) AddResource(arg0 any) *gomock.Call
- func (mr *MockApplicationMockRecorder) AddUnit(arg0 any) *gomock.Call
- func (mr *MockApplicationMockRecorder) Annotations() *gomock.Call
- func (mr *MockApplicationMockRecorder) ApplicationConfig() *gomock.Call
- func (mr *MockApplicationMockRecorder) Channel() *gomock.Call
- func (mr *MockApplicationMockRecorder) CharmActions() *gomock.Call
- func (mr *MockApplicationMockRecorder) CharmConfig() *gomock.Call
- func (mr *MockApplicationMockRecorder) CharmConfigs() *gomock.Call
- func (mr *MockApplicationMockRecorder) CharmManifest() *gomock.Call
- func (mr *MockApplicationMockRecorder) CharmMetadata() *gomock.Call
- func (mr *MockApplicationMockRecorder) CharmModifiedVersion() *gomock.Call
- func (mr *MockApplicationMockRecorder) CharmOrigin() *gomock.Call
- func (mr *MockApplicationMockRecorder) CharmURL() *gomock.Call
- func (mr *MockApplicationMockRecorder) CloudService() *gomock.Call
- func (mr *MockApplicationMockRecorder) Constraints() *gomock.Call
- func (mr *MockApplicationMockRecorder) DesiredScale() *gomock.Call
- func (mr *MockApplicationMockRecorder) EndpointBindings() *gomock.Call
- func (mr *MockApplicationMockRecorder) Exposed() *gomock.Call
- func (mr *MockApplicationMockRecorder) ExposedEndpoints() *gomock.Call
- func (mr *MockApplicationMockRecorder) ForceCharm() *gomock.Call
- func (mr *MockApplicationMockRecorder) HasResources() *gomock.Call
- func (mr *MockApplicationMockRecorder) Leader() *gomock.Call
- func (mr *MockApplicationMockRecorder) LeadershipSettings() *gomock.Call
- func (mr *MockApplicationMockRecorder) MetricsCredentials() *gomock.Call
- func (mr *MockApplicationMockRecorder) MinUnits() *gomock.Call
- func (mr *MockApplicationMockRecorder) Name() *gomock.Call
- func (mr *MockApplicationMockRecorder) Offers() *gomock.Call
- func (mr *MockApplicationMockRecorder) OpenedPortRanges() *gomock.Call
- func (mr *MockApplicationMockRecorder) OperatorStatus() *gomock.Call
- func (mr *MockApplicationMockRecorder) PasswordHash() *gomock.Call
- func (mr *MockApplicationMockRecorder) Placement() *gomock.Call
- func (mr *MockApplicationMockRecorder) PodSpec() *gomock.Call
- func (mr *MockApplicationMockRecorder) ProvisioningState() *gomock.Call
- func (mr *MockApplicationMockRecorder) Resources() *gomock.Call
- func (mr *MockApplicationMockRecorder) SetAnnotations(arg0 any) *gomock.Call
- func (mr *MockApplicationMockRecorder) SetCharmActions(arg0 any) *gomock.Call
- func (mr *MockApplicationMockRecorder) SetCharmConfigs(arg0 any) *gomock.Call
- func (mr *MockApplicationMockRecorder) SetCharmManifest(arg0 any) *gomock.Call
- func (mr *MockApplicationMockRecorder) SetCharmMetadata(arg0 any) *gomock.Call
- func (mr *MockApplicationMockRecorder) SetCharmOrigin(arg0 any) *gomock.Call
- func (mr *MockApplicationMockRecorder) SetCloudService(arg0 any) *gomock.Call
- func (mr *MockApplicationMockRecorder) SetConstraints(arg0 any) *gomock.Call
- func (mr *MockApplicationMockRecorder) SetOperatorStatus(arg0 any) *gomock.Call
- func (mr *MockApplicationMockRecorder) SetStatus(arg0 any) *gomock.Call
- func (mr *MockApplicationMockRecorder) SetStatusHistory(arg0 any) *gomock.Call
- func (mr *MockApplicationMockRecorder) SetTools(arg0 any) *gomock.Call
- func (mr *MockApplicationMockRecorder) Status() *gomock.Call
- func (mr *MockApplicationMockRecorder) StatusHistory() *gomock.Call
- func (mr *MockApplicationMockRecorder) StorageDirectives() *gomock.Call
- func (mr *MockApplicationMockRecorder) Subordinate() *gomock.Call
- func (mr *MockApplicationMockRecorder) Tag() *gomock.Call
- func (mr *MockApplicationMockRecorder) Tools() *gomock.Call
- func (mr *MockApplicationMockRecorder) Type() *gomock.Call
- func (mr *MockApplicationMockRecorder) Units() *gomock.Call
- func (mr *MockApplicationMockRecorder) Validate() *gomock.Call
- type MockApplicationPortRanges
- func (m *MockApplicationPortRanges) ApplicationName() string
- func (m *MockApplicationPortRanges) ByEndpoint() network.GroupedPortRanges
- func (m *MockApplicationPortRanges) ByUnit() map[string]state.UnitPortRanges
- func (m *MockApplicationPortRanges) Changes() state.ModelOperation
- func (m *MockApplicationPortRanges) EXPECT() *MockApplicationPortRangesMockRecorder
- func (m *MockApplicationPortRanges) ForUnit(arg0 string) state.UnitPortRanges
- func (m *MockApplicationPortRanges) UniquePortRanges() []network.PortRange
- type MockApplicationPortRangesMockRecorder
- func (mr *MockApplicationPortRangesMockRecorder) ApplicationName() *gomock.Call
- func (mr *MockApplicationPortRangesMockRecorder) ByEndpoint() *gomock.Call
- func (mr *MockApplicationPortRangesMockRecorder) ByUnit() *gomock.Call
- func (mr *MockApplicationPortRangesMockRecorder) Changes() *gomock.Call
- func (mr *MockApplicationPortRangesMockRecorder) ForUnit(arg0 any) *gomock.Call
- func (mr *MockApplicationPortRangesMockRecorder) UniquePortRanges() *gomock.Call
- 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 any, 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 any, 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(any) bool)
- func (m *MockBaseWatcher) WatchMulti(arg0 string, arg1 []any, 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 any) *gomock.Call
- func (mr *MockBaseWatcherMockRecorder) UnwatchCollection(arg0, arg1 any) *gomock.Call
- func (mr *MockBaseWatcherMockRecorder) Wait() *gomock.Call
- func (mr *MockBaseWatcherMockRecorder) Watch(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockBaseWatcherMockRecorder) WatchCollection(arg0, arg1 any) *gomock.Call
- func (mr *MockBaseWatcherMockRecorder) WatchCollectionWithFilter(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockBaseWatcherMockRecorder) WatchMulti(arg0, arg1, arg2 any) *gomock.Call
- type MockClock
- func (m *MockClock) After(arg0 time.Duration) <-chan time.Time
- func (m *MockClock) AfterFunc(arg0 time.Duration, arg1 func()) clock.Timer
- func (m *MockClock) At(arg0 time.Time) <-chan time.Time
- func (m *MockClock) AtFunc(arg0 time.Time, arg1 func()) clock.Alarm
- func (m *MockClock) EXPECT() *MockClockMockRecorder
- func (m *MockClock) NewAlarm(arg0 time.Time) clock.Alarm
- func (m *MockClock) NewTimer(arg0 time.Duration) clock.Timer
- func (m *MockClock) Now() time.Time
- type MockClockMockRecorder
- func (mr *MockClockMockRecorder) After(arg0 any) *gomock.Call
- func (mr *MockClockMockRecorder) AfterFunc(arg0, arg1 any) *gomock.Call
- func (mr *MockClockMockRecorder) At(arg0 any) *gomock.Call
- func (mr *MockClockMockRecorder) AtFunc(arg0, arg1 any) *gomock.Call
- func (mr *MockClockMockRecorder) NewAlarm(arg0 any) *gomock.Call
- func (mr *MockClockMockRecorder) NewTimer(arg0 any) *gomock.Call
- func (mr *MockClockMockRecorder) Now() *gomock.Call
- type MockCollection
- func (m *MockCollection) Count() (int, error)
- func (m *MockCollection) EXPECT() *MockCollectionMockRecorder
- func (m *MockCollection) Find(arg0 any) mongo.Query
- func (m *MockCollection) FindId(arg0 any) mongo.Query
- func (m *MockCollection) Name() string
- func (m *MockCollection) Pipe(arg0 any) *mgo.Pipe
- func (m *MockCollection) Writeable() mongo.WriteCollection
- type MockCollectionMockRecorder
- func (mr *MockCollectionMockRecorder) Count() *gomock.Call
- func (mr *MockCollectionMockRecorder) Find(arg0 any) *gomock.Call
- func (mr *MockCollectionMockRecorder) FindId(arg0 any) *gomock.Call
- func (mr *MockCollectionMockRecorder) Name() *gomock.Call
- func (mr *MockCollectionMockRecorder) Pipe(arg0 any) *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.Collection, state.SessionCloser)
- func (m *MockDatabase) Run(arg0 txn0.TransactionSource) error
- func (m *MockDatabase) RunRaw(arg0 txn0.TransactionSource) error
- func (m *MockDatabase) RunRawTransaction(arg0 []txn.Op) error
- func (m *MockDatabase) RunTransaction(arg0 []txn.Op) error
- func (m *MockDatabase) RunTransactionFor(arg0 string, arg1 []txn.Op) error
- func (m *MockDatabase) Schema() state.CollectionSchema
- func (m *MockDatabase) TransactionRunner() (txn0.Runner, state.SessionCloser)
- type MockDatabaseMockRecorder
- func (mr *MockDatabaseMockRecorder) Copy() *gomock.Call
- func (mr *MockDatabaseMockRecorder) CopyForModel(arg0 any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetCollection(arg0 any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetCollectionFor(arg0, arg1 any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetRawCollection(arg0 any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) Run(arg0 any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) RunRaw(arg0 any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) RunRawTransaction(arg0 any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) RunTransaction(arg0 any) *gomock.Call
- func (mr *MockDatabaseMockRecorder) RunTransactionFor(arg0, arg1 any) *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) Base() 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.PortRanges
- 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) 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 any) *gomock.Call
- func (mr *MockMachineMockRecorder) AddContainer(arg0 any) *gomock.Call
- func (mr *MockMachineMockRecorder) AddOpenedPortRange(arg0 any) *gomock.Call
- func (mr *MockMachineMockRecorder) Annotations() *gomock.Call
- func (mr *MockMachineMockRecorder) Base() *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) SetAddresses(arg0, arg1 any) *gomock.Call
- func (mr *MockMachineMockRecorder) SetAnnotations(arg0 any) *gomock.Call
- func (mr *MockMachineMockRecorder) SetConstraints(arg0 any) *gomock.Call
- func (mr *MockMachineMockRecorder) SetInstance(arg0 any) *gomock.Call
- func (mr *MockMachineMockRecorder) SetPreferredAddresses(arg0, arg1 any) *gomock.Call
- func (mr *MockMachineMockRecorder) SetStatus(arg0 any) *gomock.Call
- func (mr *MockMachineMockRecorder) SetStatusHistory(arg0 any) *gomock.Call
- func (mr *MockMachineMockRecorder) SetTools(arg0 any) *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 MockModelOperation
- type MockModelOperationMockRecorder
- type MockPortRanges
- type MockPortRangesMockRecorder
- type MockQuery
- func (m *MockQuery) All(arg0 any) error
- func (m *MockQuery) Apply(arg0 mgo.Change, arg1 any) (*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 any) error
- func (m *MockQuery) EXPECT() *MockQueryMockRecorder
- func (m *MockQuery) Explain(arg0 any) error
- func (m *MockQuery) For(arg0 any, 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 any) (*mgo.MapReduceInfo, error)
- func (m *MockQuery) One(arg0 any) error
- func (m *MockQuery) Prefetch(arg0 float64) mongo.Query
- func (m *MockQuery) Select(arg0 any) 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 any) *gomock.Call
- func (mr *MockQueryMockRecorder) Apply(arg0, arg1 any) *gomock.Call
- func (mr *MockQueryMockRecorder) Batch(arg0 any) *gomock.Call
- func (mr *MockQueryMockRecorder) Comment(arg0 any) *gomock.Call
- func (mr *MockQueryMockRecorder) Count() *gomock.Call
- func (mr *MockQueryMockRecorder) Distinct(arg0, arg1 any) *gomock.Call
- func (mr *MockQueryMockRecorder) Explain(arg0 any) *gomock.Call
- func (mr *MockQueryMockRecorder) For(arg0, arg1 any) *gomock.Call
- func (mr *MockQueryMockRecorder) Hint(arg0 ...any) *gomock.Call
- func (mr *MockQueryMockRecorder) Iter() *gomock.Call
- func (mr *MockQueryMockRecorder) Limit(arg0 any) *gomock.Call
- func (mr *MockQueryMockRecorder) LogReplay() *gomock.Call
- func (mr *MockQueryMockRecorder) MapReduce(arg0, arg1 any) *gomock.Call
- func (mr *MockQueryMockRecorder) One(arg0 any) *gomock.Call
- func (mr *MockQueryMockRecorder) Prefetch(arg0 any) *gomock.Call
- func (mr *MockQueryMockRecorder) Select(arg0 any) *gomock.Call
- func (mr *MockQueryMockRecorder) SetMaxScan(arg0 any) *gomock.Call
- func (mr *MockQueryMockRecorder) SetMaxTime(arg0 any) *gomock.Call
- func (mr *MockQueryMockRecorder) Skip(arg0 any) *gomock.Call
- func (mr *MockQueryMockRecorder) Snapshot() *gomock.Call
- func (mr *MockQueryMockRecorder) Sort(arg0 ...any) *gomock.Call
- func (mr *MockQueryMockRecorder) Tail(arg0 any) *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) (resources.Resource, error)
- func (m *MockResources) GetResource(arg0, arg1 string) (resources.Resource, error)
- func (m *MockResources) ListPendingResources(arg0 string) (resources.ApplicationResources, error)
- func (m *MockResources) ListResources(arg0 string) (resources.ApplicationResources, error)
- func (m *MockResources) OpenResource(arg0, arg1 string) (resources.Resource, io.ReadCloser, error)
- func (m *MockResources) OpenResourceForUniter(arg0, arg1 string) (resources.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, ...) (resources.Resource, error)
- func (m *MockResources) SetUnitResource(arg0, arg1 string, arg2 resource.Resource) (resources.Resource, error)
- func (m *MockResources) UpdatePendingResource(arg0, arg1, arg2 string, arg3 resource.Resource, arg4 io.Reader) (resources.Resource, error)
- type MockResourcesMockRecorder
- func (mr *MockResourcesMockRecorder) AddPendingResource(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockResourcesMockRecorder) GetPendingResource(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockResourcesMockRecorder) GetResource(arg0, arg1 any) *gomock.Call
- func (mr *MockResourcesMockRecorder) ListPendingResources(arg0 any) *gomock.Call
- func (mr *MockResourcesMockRecorder) ListResources(arg0 any) *gomock.Call
- func (mr *MockResourcesMockRecorder) OpenResource(arg0, arg1 any) *gomock.Call
- func (mr *MockResourcesMockRecorder) OpenResourceForUniter(arg0, arg1 any) *gomock.Call
- func (mr *MockResourcesMockRecorder) RemovePendingAppResources(arg0, arg1 any) *gomock.Call
- func (mr *MockResourcesMockRecorder) SetCharmStoreResources(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockResourcesMockRecorder) SetResource(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call
- func (mr *MockResourcesMockRecorder) SetUnitResource(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockResourcesMockRecorder) UpdatePendingResource(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call
- type MockRunner
- type MockRunnerMockRecorder
- type MockUnitPortRanges
- type MockUnitPortRangesMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockApplication ¶
type MockApplication struct {
// contains filtered or unexported fields
}
MockApplication is a mock of Application interface.
func NewMockApplication ¶
func NewMockApplication(ctrl *gomock.Controller) *MockApplication
NewMockApplication creates a new mock instance.
func (*MockApplication) AddOffer ¶
func (m *MockApplication) AddOffer(arg0 description.ApplicationOfferArgs) description.ApplicationOffer
AddOffer mocks base method.
func (*MockApplication) AddOpenedPortRange ¶
func (m *MockApplication) AddOpenedPortRange(arg0 description.OpenedPortRangeArgs)
AddOpenedPortRange mocks base method.
func (*MockApplication) AddResource ¶
func (m *MockApplication) AddResource(arg0 description.ResourceArgs) description.Resource
AddResource mocks base method.
func (*MockApplication) AddUnit ¶
func (m *MockApplication) AddUnit(arg0 description.UnitArgs) description.Unit
AddUnit mocks base method.
func (*MockApplication) Annotations ¶
func (m *MockApplication) Annotations() map[string]string
Annotations mocks base method.
func (*MockApplication) ApplicationConfig ¶
func (m *MockApplication) ApplicationConfig() map[string]any
ApplicationConfig mocks base method.
func (*MockApplication) Channel ¶
func (m *MockApplication) Channel() string
Channel mocks base method.
func (*MockApplication) CharmActions ¶
func (m *MockApplication) CharmActions() description.CharmActions
CharmActions mocks base method.
func (*MockApplication) CharmConfig ¶
func (m *MockApplication) CharmConfig() map[string]any
CharmConfig mocks base method.
func (*MockApplication) CharmConfigs ¶
func (m *MockApplication) CharmConfigs() description.CharmConfigs
CharmConfigs mocks base method.
func (*MockApplication) CharmManifest ¶
func (m *MockApplication) CharmManifest() description.CharmManifest
CharmManifest mocks base method.
func (*MockApplication) CharmMetadata ¶
func (m *MockApplication) CharmMetadata() description.CharmMetadata
CharmMetadata mocks base method.
func (*MockApplication) CharmModifiedVersion ¶
func (m *MockApplication) CharmModifiedVersion() int
CharmModifiedVersion mocks base method.
func (*MockApplication) CharmOrigin ¶
func (m *MockApplication) CharmOrigin() description.CharmOrigin
CharmOrigin mocks base method.
func (*MockApplication) CharmURL ¶
func (m *MockApplication) CharmURL() string
CharmURL mocks base method.
func (*MockApplication) CloudService ¶
func (m *MockApplication) CloudService() description.CloudService
CloudService mocks base method.
func (*MockApplication) Constraints ¶
func (m *MockApplication) Constraints() description.Constraints
Constraints mocks base method.
func (*MockApplication) DesiredScale ¶
func (m *MockApplication) DesiredScale() int
DesiredScale mocks base method.
func (*MockApplication) EXPECT ¶
func (m *MockApplication) EXPECT() *MockApplicationMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockApplication) EndpointBindings ¶
func (m *MockApplication) EndpointBindings() map[string]string
EndpointBindings mocks base method.
func (*MockApplication) Exposed ¶
func (m *MockApplication) Exposed() bool
Exposed mocks base method.
func (*MockApplication) ExposedEndpoints ¶
func (m *MockApplication) ExposedEndpoints() map[string]description.ExposedEndpoint
ExposedEndpoints mocks base method.
func (*MockApplication) ForceCharm ¶
func (m *MockApplication) ForceCharm() bool
ForceCharm mocks base method.
func (*MockApplication) HasResources ¶
func (m *MockApplication) HasResources() bool
HasResources mocks base method.
func (*MockApplication) Leader ¶
func (m *MockApplication) Leader() string
Leader mocks base method.
func (*MockApplication) LeadershipSettings ¶
func (m *MockApplication) LeadershipSettings() map[string]any
LeadershipSettings mocks base method.
func (*MockApplication) MetricsCredentials ¶
func (m *MockApplication) MetricsCredentials() []byte
MetricsCredentials mocks base method.
func (*MockApplication) MinUnits ¶
func (m *MockApplication) MinUnits() int
MinUnits mocks base method.
func (*MockApplication) Offers ¶
func (m *MockApplication) Offers() []description.ApplicationOffer
Offers mocks base method.
func (*MockApplication) OpenedPortRanges ¶
func (m *MockApplication) OpenedPortRanges() description.PortRanges
OpenedPortRanges mocks base method.
func (*MockApplication) OperatorStatus ¶
func (m *MockApplication) OperatorStatus() description.Status
OperatorStatus mocks base method.
func (*MockApplication) PasswordHash ¶
func (m *MockApplication) PasswordHash() string
PasswordHash mocks base method.
func (*MockApplication) Placement ¶
func (m *MockApplication) Placement() string
Placement mocks base method.
func (*MockApplication) PodSpec ¶
func (m *MockApplication) PodSpec() string
PodSpec mocks base method.
func (*MockApplication) ProvisioningState ¶
func (m *MockApplication) ProvisioningState() description.ProvisioningState
ProvisioningState mocks base method.
func (*MockApplication) Resources ¶
func (m *MockApplication) Resources() []description.Resource
Resources mocks base method.
func (*MockApplication) SetAnnotations ¶
func (m *MockApplication) SetAnnotations(arg0 map[string]string)
SetAnnotations mocks base method.
func (*MockApplication) SetCharmActions ¶
func (m *MockApplication) SetCharmActions(arg0 description.CharmActionsArgs)
SetCharmActions mocks base method.
func (*MockApplication) SetCharmConfigs ¶
func (m *MockApplication) SetCharmConfigs(arg0 description.CharmConfigsArgs)
SetCharmConfigs mocks base method.
func (*MockApplication) SetCharmManifest ¶
func (m *MockApplication) SetCharmManifest(arg0 description.CharmManifestArgs)
SetCharmManifest mocks base method.
func (*MockApplication) SetCharmMetadata ¶
func (m *MockApplication) SetCharmMetadata(arg0 description.CharmMetadataArgs)
SetCharmMetadata mocks base method.
func (*MockApplication) SetCharmOrigin ¶
func (m *MockApplication) SetCharmOrigin(arg0 description.CharmOriginArgs)
SetCharmOrigin mocks base method.
func (*MockApplication) SetCloudService ¶
func (m *MockApplication) SetCloudService(arg0 description.CloudServiceArgs)
SetCloudService mocks base method.
func (*MockApplication) SetConstraints ¶
func (m *MockApplication) SetConstraints(arg0 description.ConstraintsArgs)
SetConstraints mocks base method.
func (*MockApplication) SetOperatorStatus ¶
func (m *MockApplication) SetOperatorStatus(arg0 description.StatusArgs)
SetOperatorStatus mocks base method.
func (*MockApplication) SetStatus ¶
func (m *MockApplication) SetStatus(arg0 description.StatusArgs)
SetStatus mocks base method.
func (*MockApplication) SetStatusHistory ¶
func (m *MockApplication) SetStatusHistory(arg0 []description.StatusArgs)
SetStatusHistory mocks base method.
func (*MockApplication) SetTools ¶
func (m *MockApplication) SetTools(arg0 description.AgentToolsArgs)
SetTools mocks base method.
func (*MockApplication) Status ¶
func (m *MockApplication) Status() description.Status
Status mocks base method.
func (*MockApplication) StatusHistory ¶
func (m *MockApplication) StatusHistory() []description.Status
StatusHistory mocks base method.
func (*MockApplication) StorageDirectives ¶
func (m *MockApplication) StorageDirectives() map[string]description.StorageDirective
StorageDirectives mocks base method.
func (*MockApplication) Subordinate ¶
func (m *MockApplication) Subordinate() bool
Subordinate mocks base method.
func (*MockApplication) Tag ¶
func (m *MockApplication) Tag() names.ApplicationTag
Tag mocks base method.
func (*MockApplication) Tools ¶
func (m *MockApplication) Tools() description.AgentTools
Tools mocks base method.
func (*MockApplication) Units ¶
func (m *MockApplication) Units() []description.Unit
Units mocks base method.
func (*MockApplication) Validate ¶
func (m *MockApplication) Validate() error
Validate mocks base method.
type MockApplicationMockRecorder ¶
type MockApplicationMockRecorder struct {
// contains filtered or unexported fields
}
MockApplicationMockRecorder is the mock recorder for MockApplication.
func (*MockApplicationMockRecorder) AddOffer ¶
func (mr *MockApplicationMockRecorder) AddOffer(arg0 any) *gomock.Call
AddOffer indicates an expected call of AddOffer.
func (*MockApplicationMockRecorder) AddOpenedPortRange ¶
func (mr *MockApplicationMockRecorder) AddOpenedPortRange(arg0 any) *gomock.Call
AddOpenedPortRange indicates an expected call of AddOpenedPortRange.
func (*MockApplicationMockRecorder) AddResource ¶
func (mr *MockApplicationMockRecorder) AddResource(arg0 any) *gomock.Call
AddResource indicates an expected call of AddResource.
func (*MockApplicationMockRecorder) AddUnit ¶
func (mr *MockApplicationMockRecorder) AddUnit(arg0 any) *gomock.Call
AddUnit indicates an expected call of AddUnit.
func (*MockApplicationMockRecorder) Annotations ¶
func (mr *MockApplicationMockRecorder) Annotations() *gomock.Call
Annotations indicates an expected call of Annotations.
func (*MockApplicationMockRecorder) ApplicationConfig ¶
func (mr *MockApplicationMockRecorder) ApplicationConfig() *gomock.Call
ApplicationConfig indicates an expected call of ApplicationConfig.
func (*MockApplicationMockRecorder) Channel ¶
func (mr *MockApplicationMockRecorder) Channel() *gomock.Call
Channel indicates an expected call of Channel.
func (*MockApplicationMockRecorder) CharmActions ¶
func (mr *MockApplicationMockRecorder) CharmActions() *gomock.Call
CharmActions indicates an expected call of CharmActions.
func (*MockApplicationMockRecorder) CharmConfig ¶
func (mr *MockApplicationMockRecorder) CharmConfig() *gomock.Call
CharmConfig indicates an expected call of CharmConfig.
func (*MockApplicationMockRecorder) CharmConfigs ¶
func (mr *MockApplicationMockRecorder) CharmConfigs() *gomock.Call
CharmConfigs indicates an expected call of CharmConfigs.
func (*MockApplicationMockRecorder) CharmManifest ¶
func (mr *MockApplicationMockRecorder) CharmManifest() *gomock.Call
CharmManifest indicates an expected call of CharmManifest.
func (*MockApplicationMockRecorder) CharmMetadata ¶
func (mr *MockApplicationMockRecorder) CharmMetadata() *gomock.Call
CharmMetadata indicates an expected call of CharmMetadata.
func (*MockApplicationMockRecorder) CharmModifiedVersion ¶
func (mr *MockApplicationMockRecorder) CharmModifiedVersion() *gomock.Call
CharmModifiedVersion indicates an expected call of CharmModifiedVersion.
func (*MockApplicationMockRecorder) CharmOrigin ¶
func (mr *MockApplicationMockRecorder) CharmOrigin() *gomock.Call
CharmOrigin indicates an expected call of CharmOrigin.
func (*MockApplicationMockRecorder) CharmURL ¶
func (mr *MockApplicationMockRecorder) CharmURL() *gomock.Call
CharmURL indicates an expected call of CharmURL.
func (*MockApplicationMockRecorder) CloudService ¶
func (mr *MockApplicationMockRecorder) CloudService() *gomock.Call
CloudService indicates an expected call of CloudService.
func (*MockApplicationMockRecorder) Constraints ¶
func (mr *MockApplicationMockRecorder) Constraints() *gomock.Call
Constraints indicates an expected call of Constraints.
func (*MockApplicationMockRecorder) DesiredScale ¶
func (mr *MockApplicationMockRecorder) DesiredScale() *gomock.Call
DesiredScale indicates an expected call of DesiredScale.
func (*MockApplicationMockRecorder) EndpointBindings ¶
func (mr *MockApplicationMockRecorder) EndpointBindings() *gomock.Call
EndpointBindings indicates an expected call of EndpointBindings.
func (*MockApplicationMockRecorder) Exposed ¶
func (mr *MockApplicationMockRecorder) Exposed() *gomock.Call
Exposed indicates an expected call of Exposed.
func (*MockApplicationMockRecorder) ExposedEndpoints ¶
func (mr *MockApplicationMockRecorder) ExposedEndpoints() *gomock.Call
ExposedEndpoints indicates an expected call of ExposedEndpoints.
func (*MockApplicationMockRecorder) ForceCharm ¶
func (mr *MockApplicationMockRecorder) ForceCharm() *gomock.Call
ForceCharm indicates an expected call of ForceCharm.
func (*MockApplicationMockRecorder) HasResources ¶
func (mr *MockApplicationMockRecorder) HasResources() *gomock.Call
HasResources indicates an expected call of HasResources.
func (*MockApplicationMockRecorder) Leader ¶
func (mr *MockApplicationMockRecorder) Leader() *gomock.Call
Leader indicates an expected call of Leader.
func (*MockApplicationMockRecorder) LeadershipSettings ¶
func (mr *MockApplicationMockRecorder) LeadershipSettings() *gomock.Call
LeadershipSettings indicates an expected call of LeadershipSettings.
func (*MockApplicationMockRecorder) MetricsCredentials ¶
func (mr *MockApplicationMockRecorder) MetricsCredentials() *gomock.Call
MetricsCredentials indicates an expected call of MetricsCredentials.
func (*MockApplicationMockRecorder) MinUnits ¶
func (mr *MockApplicationMockRecorder) MinUnits() *gomock.Call
MinUnits indicates an expected call of MinUnits.
func (*MockApplicationMockRecorder) Name ¶
func (mr *MockApplicationMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockApplicationMockRecorder) Offers ¶
func (mr *MockApplicationMockRecorder) Offers() *gomock.Call
Offers indicates an expected call of Offers.
func (*MockApplicationMockRecorder) OpenedPortRanges ¶
func (mr *MockApplicationMockRecorder) OpenedPortRanges() *gomock.Call
OpenedPortRanges indicates an expected call of OpenedPortRanges.
func (*MockApplicationMockRecorder) OperatorStatus ¶
func (mr *MockApplicationMockRecorder) OperatorStatus() *gomock.Call
OperatorStatus indicates an expected call of OperatorStatus.
func (*MockApplicationMockRecorder) PasswordHash ¶
func (mr *MockApplicationMockRecorder) PasswordHash() *gomock.Call
PasswordHash indicates an expected call of PasswordHash.
func (*MockApplicationMockRecorder) Placement ¶
func (mr *MockApplicationMockRecorder) Placement() *gomock.Call
Placement indicates an expected call of Placement.
func (*MockApplicationMockRecorder) PodSpec ¶
func (mr *MockApplicationMockRecorder) PodSpec() *gomock.Call
PodSpec indicates an expected call of PodSpec.
func (*MockApplicationMockRecorder) ProvisioningState ¶
func (mr *MockApplicationMockRecorder) ProvisioningState() *gomock.Call
ProvisioningState indicates an expected call of ProvisioningState.
func (*MockApplicationMockRecorder) Resources ¶
func (mr *MockApplicationMockRecorder) Resources() *gomock.Call
Resources indicates an expected call of Resources.
func (*MockApplicationMockRecorder) SetAnnotations ¶
func (mr *MockApplicationMockRecorder) SetAnnotations(arg0 any) *gomock.Call
SetAnnotations indicates an expected call of SetAnnotations.
func (*MockApplicationMockRecorder) SetCharmActions ¶
func (mr *MockApplicationMockRecorder) SetCharmActions(arg0 any) *gomock.Call
SetCharmActions indicates an expected call of SetCharmActions.
func (*MockApplicationMockRecorder) SetCharmConfigs ¶
func (mr *MockApplicationMockRecorder) SetCharmConfigs(arg0 any) *gomock.Call
SetCharmConfigs indicates an expected call of SetCharmConfigs.
func (*MockApplicationMockRecorder) SetCharmManifest ¶
func (mr *MockApplicationMockRecorder) SetCharmManifest(arg0 any) *gomock.Call
SetCharmManifest indicates an expected call of SetCharmManifest.
func (*MockApplicationMockRecorder) SetCharmMetadata ¶
func (mr *MockApplicationMockRecorder) SetCharmMetadata(arg0 any) *gomock.Call
SetCharmMetadata indicates an expected call of SetCharmMetadata.
func (*MockApplicationMockRecorder) SetCharmOrigin ¶
func (mr *MockApplicationMockRecorder) SetCharmOrigin(arg0 any) *gomock.Call
SetCharmOrigin indicates an expected call of SetCharmOrigin.
func (*MockApplicationMockRecorder) SetCloudService ¶
func (mr *MockApplicationMockRecorder) SetCloudService(arg0 any) *gomock.Call
SetCloudService indicates an expected call of SetCloudService.
func (*MockApplicationMockRecorder) SetConstraints ¶
func (mr *MockApplicationMockRecorder) SetConstraints(arg0 any) *gomock.Call
SetConstraints indicates an expected call of SetConstraints.
func (*MockApplicationMockRecorder) SetOperatorStatus ¶
func (mr *MockApplicationMockRecorder) SetOperatorStatus(arg0 any) *gomock.Call
SetOperatorStatus indicates an expected call of SetOperatorStatus.
func (*MockApplicationMockRecorder) SetStatus ¶
func (mr *MockApplicationMockRecorder) SetStatus(arg0 any) *gomock.Call
SetStatus indicates an expected call of SetStatus.
func (*MockApplicationMockRecorder) SetStatusHistory ¶
func (mr *MockApplicationMockRecorder) SetStatusHistory(arg0 any) *gomock.Call
SetStatusHistory indicates an expected call of SetStatusHistory.
func (*MockApplicationMockRecorder) SetTools ¶
func (mr *MockApplicationMockRecorder) SetTools(arg0 any) *gomock.Call
SetTools indicates an expected call of SetTools.
func (*MockApplicationMockRecorder) Status ¶
func (mr *MockApplicationMockRecorder) Status() *gomock.Call
Status indicates an expected call of Status.
func (*MockApplicationMockRecorder) StatusHistory ¶
func (mr *MockApplicationMockRecorder) StatusHistory() *gomock.Call
StatusHistory indicates an expected call of StatusHistory.
func (*MockApplicationMockRecorder) StorageDirectives ¶
func (mr *MockApplicationMockRecorder) StorageDirectives() *gomock.Call
StorageDirectives indicates an expected call of StorageDirectives.
func (*MockApplicationMockRecorder) Subordinate ¶
func (mr *MockApplicationMockRecorder) Subordinate() *gomock.Call
Subordinate indicates an expected call of Subordinate.
func (*MockApplicationMockRecorder) Tag ¶
func (mr *MockApplicationMockRecorder) Tag() *gomock.Call
Tag indicates an expected call of Tag.
func (*MockApplicationMockRecorder) Tools ¶
func (mr *MockApplicationMockRecorder) Tools() *gomock.Call
Tools indicates an expected call of Tools.
func (*MockApplicationMockRecorder) Type ¶
func (mr *MockApplicationMockRecorder) Type() *gomock.Call
Type indicates an expected call of Type.
func (*MockApplicationMockRecorder) Units ¶
func (mr *MockApplicationMockRecorder) Units() *gomock.Call
Units indicates an expected call of Units.
func (*MockApplicationMockRecorder) Validate ¶
func (mr *MockApplicationMockRecorder) Validate() *gomock.Call
Validate indicates an expected call of Validate.
type MockApplicationPortRanges ¶
type MockApplicationPortRanges struct {
// contains filtered or unexported fields
}
MockApplicationPortRanges is a mock of ApplicationPortRanges interface.
func NewMockApplicationPortRanges ¶
func NewMockApplicationPortRanges(ctrl *gomock.Controller) *MockApplicationPortRanges
NewMockApplicationPortRanges creates a new mock instance.
func (*MockApplicationPortRanges) ApplicationName ¶
func (m *MockApplicationPortRanges) ApplicationName() string
ApplicationName mocks base method.
func (*MockApplicationPortRanges) ByEndpoint ¶
func (m *MockApplicationPortRanges) ByEndpoint() network.GroupedPortRanges
ByEndpoint mocks base method.
func (*MockApplicationPortRanges) ByUnit ¶
func (m *MockApplicationPortRanges) ByUnit() map[string]state.UnitPortRanges
ByUnit mocks base method.
func (*MockApplicationPortRanges) Changes ¶
func (m *MockApplicationPortRanges) Changes() state.ModelOperation
Changes mocks base method.
func (*MockApplicationPortRanges) EXPECT ¶
func (m *MockApplicationPortRanges) EXPECT() *MockApplicationPortRangesMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockApplicationPortRanges) ForUnit ¶
func (m *MockApplicationPortRanges) ForUnit(arg0 string) state.UnitPortRanges
ForUnit mocks base method.
func (*MockApplicationPortRanges) UniquePortRanges ¶
func (m *MockApplicationPortRanges) UniquePortRanges() []network.PortRange
UniquePortRanges mocks base method.
type MockApplicationPortRangesMockRecorder ¶
type MockApplicationPortRangesMockRecorder struct {
// contains filtered or unexported fields
}
MockApplicationPortRangesMockRecorder is the mock recorder for MockApplicationPortRanges.
func (*MockApplicationPortRangesMockRecorder) ApplicationName ¶
func (mr *MockApplicationPortRangesMockRecorder) ApplicationName() *gomock.Call
ApplicationName indicates an expected call of ApplicationName.
func (*MockApplicationPortRangesMockRecorder) ByEndpoint ¶
func (mr *MockApplicationPortRangesMockRecorder) ByEndpoint() *gomock.Call
ByEndpoint indicates an expected call of ByEndpoint.
func (*MockApplicationPortRangesMockRecorder) ByUnit ¶
func (mr *MockApplicationPortRangesMockRecorder) ByUnit() *gomock.Call
ByUnit indicates an expected call of ByUnit.
func (*MockApplicationPortRangesMockRecorder) Changes ¶
func (mr *MockApplicationPortRangesMockRecorder) Changes() *gomock.Call
Changes indicates an expected call of Changes.
func (*MockApplicationPortRangesMockRecorder) ForUnit ¶
func (mr *MockApplicationPortRangesMockRecorder) ForUnit(arg0 any) *gomock.Call
ForUnit indicates an expected call of ForUnit.
func (*MockApplicationPortRangesMockRecorder) UniquePortRanges ¶
func (mr *MockApplicationPortRangesMockRecorder) UniquePortRanges() *gomock.Call
UniquePortRanges indicates an expected call of UniquePortRanges.
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 any, 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 any, 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(any) bool)
WatchCollectionWithFilter mocks base method.
func (*MockBaseWatcher) WatchMulti ¶
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 any) *gomock.Call
Unwatch indicates an expected call of Unwatch.
func (*MockBaseWatcherMockRecorder) UnwatchCollection ¶
func (mr *MockBaseWatcherMockRecorder) UnwatchCollection(arg0, arg1 any) *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 any) *gomock.Call
Watch indicates an expected call of Watch.
func (*MockBaseWatcherMockRecorder) WatchCollection ¶
func (mr *MockBaseWatcherMockRecorder) WatchCollection(arg0, arg1 any) *gomock.Call
WatchCollection indicates an expected call of WatchCollection.
func (*MockBaseWatcherMockRecorder) WatchCollectionWithFilter ¶
func (mr *MockBaseWatcherMockRecorder) WatchCollectionWithFilter(arg0, arg1, arg2 any) *gomock.Call
WatchCollectionWithFilter indicates an expected call of WatchCollectionWithFilter.
func (*MockBaseWatcherMockRecorder) WatchMulti ¶
func (mr *MockBaseWatcherMockRecorder) WatchMulti(arg0, arg1, arg2 any) *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 any) *gomock.Call
After indicates an expected call of After.
func (*MockClockMockRecorder) AfterFunc ¶
func (mr *MockClockMockRecorder) AfterFunc(arg0, arg1 any) *gomock.Call
AfterFunc indicates an expected call of AfterFunc.
func (*MockClockMockRecorder) At ¶
func (mr *MockClockMockRecorder) At(arg0 any) *gomock.Call
At indicates an expected call of At.
func (*MockClockMockRecorder) AtFunc ¶
func (mr *MockClockMockRecorder) AtFunc(arg0, arg1 any) *gomock.Call
AtFunc indicates an expected call of AtFunc.
func (*MockClockMockRecorder) NewAlarm ¶
func (mr *MockClockMockRecorder) NewAlarm(arg0 any) *gomock.Call
NewAlarm indicates an expected call of NewAlarm.
func (*MockClockMockRecorder) NewTimer ¶
func (mr *MockClockMockRecorder) NewTimer(arg0 any) *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 any) mongo.Query
Find mocks base method.
func (*MockCollection) FindId ¶
func (m *MockCollection) FindId(arg0 any) mongo.Query
FindId mocks base method.
func (*MockCollection) Pipe ¶
func (m *MockCollection) Pipe(arg0 any) *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 any) *gomock.Call
Find indicates an expected call of Find.
func (*MockCollectionMockRecorder) FindId ¶
func (mr *MockCollectionMockRecorder) FindId(arg0 any) *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 any) *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.Collection, state.SessionCloser)
GetRawCollection mocks base method.
func (*MockDatabase) Run ¶
func (m *MockDatabase) Run(arg0 txn0.TransactionSource) error
Run mocks base method.
func (*MockDatabase) RunRaw ¶
func (m *MockDatabase) RunRaw(arg0 txn0.TransactionSource) error
RunRaw mocks base method.
func (*MockDatabase) RunRawTransaction ¶
func (m *MockDatabase) RunRawTransaction(arg0 []txn.Op) error
RunRawTransaction mocks base method.
func (*MockDatabase) RunTransaction ¶
func (m *MockDatabase) RunTransaction(arg0 []txn.Op) error
RunTransaction mocks base method.
func (*MockDatabase) RunTransactionFor ¶
func (m *MockDatabase) RunTransactionFor(arg0 string, arg1 []txn.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() (txn0.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 any) *gomock.Call
CopyForModel indicates an expected call of CopyForModel.
func (*MockDatabaseMockRecorder) GetCollection ¶
func (mr *MockDatabaseMockRecorder) GetCollection(arg0 any) *gomock.Call
GetCollection indicates an expected call of GetCollection.
func (*MockDatabaseMockRecorder) GetCollectionFor ¶
func (mr *MockDatabaseMockRecorder) GetCollectionFor(arg0, arg1 any) *gomock.Call
GetCollectionFor indicates an expected call of GetCollectionFor.
func (*MockDatabaseMockRecorder) GetRawCollection ¶
func (mr *MockDatabaseMockRecorder) GetRawCollection(arg0 any) *gomock.Call
GetRawCollection indicates an expected call of GetRawCollection.
func (*MockDatabaseMockRecorder) Run ¶
func (mr *MockDatabaseMockRecorder) Run(arg0 any) *gomock.Call
Run indicates an expected call of Run.
func (*MockDatabaseMockRecorder) RunRaw ¶
func (mr *MockDatabaseMockRecorder) RunRaw(arg0 any) *gomock.Call
RunRaw indicates an expected call of RunRaw.
func (*MockDatabaseMockRecorder) RunRawTransaction ¶
func (mr *MockDatabaseMockRecorder) RunRawTransaction(arg0 any) *gomock.Call
RunRawTransaction indicates an expected call of RunRawTransaction.
func (*MockDatabaseMockRecorder) RunTransaction ¶
func (mr *MockDatabaseMockRecorder) RunTransaction(arg0 any) *gomock.Call
RunTransaction indicates an expected call of RunTransaction.
func (*MockDatabaseMockRecorder) RunTransactionFor ¶
func (mr *MockDatabaseMockRecorder) RunTransactionFor(arg0, arg1 any) *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.
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.PortRanges
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 any) *gomock.Call
AddBlockDevice indicates an expected call of AddBlockDevice.
func (*MockMachineMockRecorder) AddContainer ¶
func (mr *MockMachineMockRecorder) AddContainer(arg0 any) *gomock.Call
AddContainer indicates an expected call of AddContainer.
func (*MockMachineMockRecorder) AddOpenedPortRange ¶
func (mr *MockMachineMockRecorder) AddOpenedPortRange(arg0 any) *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) Base ¶
func (mr *MockMachineMockRecorder) Base() *gomock.Call
Base indicates an expected call of Base.
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) SetAddresses ¶
func (mr *MockMachineMockRecorder) SetAddresses(arg0, arg1 any) *gomock.Call
SetAddresses indicates an expected call of SetAddresses.
func (*MockMachineMockRecorder) SetAnnotations ¶
func (mr *MockMachineMockRecorder) SetAnnotations(arg0 any) *gomock.Call
SetAnnotations indicates an expected call of SetAnnotations.
func (*MockMachineMockRecorder) SetConstraints ¶
func (mr *MockMachineMockRecorder) SetConstraints(arg0 any) *gomock.Call
SetConstraints indicates an expected call of SetConstraints.
func (*MockMachineMockRecorder) SetInstance ¶
func (mr *MockMachineMockRecorder) SetInstance(arg0 any) *gomock.Call
SetInstance indicates an expected call of SetInstance.
func (*MockMachineMockRecorder) SetPreferredAddresses ¶
func (mr *MockMachineMockRecorder) SetPreferredAddresses(arg0, arg1 any) *gomock.Call
SetPreferredAddresses indicates an expected call of SetPreferredAddresses.
func (*MockMachineMockRecorder) SetStatus ¶
func (mr *MockMachineMockRecorder) SetStatus(arg0 any) *gomock.Call
SetStatus indicates an expected call of SetStatus.
func (*MockMachineMockRecorder) SetStatusHistory ¶
func (mr *MockMachineMockRecorder) SetStatusHistory(arg0 any) *gomock.Call
SetStatusHistory indicates an expected call of SetStatusHistory.
func (*MockMachineMockRecorder) SetTools ¶
func (mr *MockMachineMockRecorder) SetTools(arg0 any) *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 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.
type MockPortRanges ¶
type MockPortRanges struct {
// contains filtered or unexported fields
}
MockPortRanges is a mock of PortRanges interface.
func NewMockPortRanges ¶
func NewMockPortRanges(ctrl *gomock.Controller) *MockPortRanges
NewMockPortRanges creates a new mock instance.
func (*MockPortRanges) ByUnit ¶
func (m *MockPortRanges) ByUnit() map[string]description.UnitPortRanges
ByUnit mocks base method.
func (*MockPortRanges) EXPECT ¶
func (m *MockPortRanges) EXPECT() *MockPortRangesMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockPortRangesMockRecorder ¶
type MockPortRangesMockRecorder struct {
// contains filtered or unexported fields
}
MockPortRangesMockRecorder is the mock recorder for MockPortRanges.
func (*MockPortRangesMockRecorder) ByUnit ¶
func (mr *MockPortRangesMockRecorder) ByUnit() *gomock.Call
ByUnit indicates an expected call of ByUnit.
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 any) *gomock.Call
All indicates an expected call of All.
func (*MockQueryMockRecorder) Apply ¶
func (mr *MockQueryMockRecorder) Apply(arg0, arg1 any) *gomock.Call
Apply indicates an expected call of Apply.
func (*MockQueryMockRecorder) Batch ¶
func (mr *MockQueryMockRecorder) Batch(arg0 any) *gomock.Call
Batch indicates an expected call of Batch.
func (*MockQueryMockRecorder) Comment ¶
func (mr *MockQueryMockRecorder) Comment(arg0 any) *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 any) *gomock.Call
Distinct indicates an expected call of Distinct.
func (*MockQueryMockRecorder) Explain ¶
func (mr *MockQueryMockRecorder) Explain(arg0 any) *gomock.Call
Explain indicates an expected call of Explain.
func (*MockQueryMockRecorder) For ¶
func (mr *MockQueryMockRecorder) For(arg0, arg1 any) *gomock.Call
For indicates an expected call of For.
func (*MockQueryMockRecorder) Hint ¶
func (mr *MockQueryMockRecorder) Hint(arg0 ...any) *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 any) *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 any) *gomock.Call
MapReduce indicates an expected call of MapReduce.
func (*MockQueryMockRecorder) One ¶
func (mr *MockQueryMockRecorder) One(arg0 any) *gomock.Call
One indicates an expected call of One.
func (*MockQueryMockRecorder) Prefetch ¶
func (mr *MockQueryMockRecorder) Prefetch(arg0 any) *gomock.Call
Prefetch indicates an expected call of Prefetch.
func (*MockQueryMockRecorder) Select ¶
func (mr *MockQueryMockRecorder) Select(arg0 any) *gomock.Call
Select indicates an expected call of Select.
func (*MockQueryMockRecorder) SetMaxScan ¶
func (mr *MockQueryMockRecorder) SetMaxScan(arg0 any) *gomock.Call
SetMaxScan indicates an expected call of SetMaxScan.
func (*MockQueryMockRecorder) SetMaxTime ¶
func (mr *MockQueryMockRecorder) SetMaxTime(arg0 any) *gomock.Call
SetMaxTime indicates an expected call of SetMaxTime.
func (*MockQueryMockRecorder) Skip ¶
func (mr *MockQueryMockRecorder) Skip(arg0 any) *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.
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) (resources.Resource, error)
GetPendingResource mocks base method.
func (*MockResources) GetResource ¶
func (m *MockResources) GetResource(arg0, arg1 string) (resources.Resource, error)
GetResource mocks base method.
func (*MockResources) ListPendingResources ¶
func (m *MockResources) ListPendingResources(arg0 string) (resources.ApplicationResources, error)
ListPendingResources mocks base method.
func (*MockResources) ListResources ¶
func (m *MockResources) ListResources(arg0 string) (resources.ApplicationResources, error)
ListResources mocks base method.
func (*MockResources) OpenResource ¶
func (m *MockResources) OpenResource(arg0, arg1 string) (resources.Resource, io.ReadCloser, error)
OpenResource mocks base method.
func (*MockResources) OpenResourceForUniter ¶
func (m *MockResources) OpenResourceForUniter(arg0, arg1 string) (resources.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) (resources.Resource, error)
SetResource mocks base method.
func (*MockResources) SetUnitResource ¶
func (m *MockResources) SetUnitResource(arg0, arg1 string, arg2 resource.Resource) (resources.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 any) *gomock.Call
AddPendingResource indicates an expected call of AddPendingResource.
func (*MockResourcesMockRecorder) GetPendingResource ¶
func (mr *MockResourcesMockRecorder) GetPendingResource(arg0, arg1, arg2 any) *gomock.Call
GetPendingResource indicates an expected call of GetPendingResource.
func (*MockResourcesMockRecorder) GetResource ¶
func (mr *MockResourcesMockRecorder) GetResource(arg0, arg1 any) *gomock.Call
GetResource indicates an expected call of GetResource.
func (*MockResourcesMockRecorder) ListPendingResources ¶
func (mr *MockResourcesMockRecorder) ListPendingResources(arg0 any) *gomock.Call
ListPendingResources indicates an expected call of ListPendingResources.
func (*MockResourcesMockRecorder) ListResources ¶
func (mr *MockResourcesMockRecorder) ListResources(arg0 any) *gomock.Call
ListResources indicates an expected call of ListResources.
func (*MockResourcesMockRecorder) OpenResource ¶
func (mr *MockResourcesMockRecorder) OpenResource(arg0, arg1 any) *gomock.Call
OpenResource indicates an expected call of OpenResource.
func (*MockResourcesMockRecorder) OpenResourceForUniter ¶
func (mr *MockResourcesMockRecorder) OpenResourceForUniter(arg0, arg1 any) *gomock.Call
OpenResourceForUniter indicates an expected call of OpenResourceForUniter.
func (*MockResourcesMockRecorder) RemovePendingAppResources ¶
func (mr *MockResourcesMockRecorder) RemovePendingAppResources(arg0, arg1 any) *gomock.Call
RemovePendingAppResources indicates an expected call of RemovePendingAppResources.
func (*MockResourcesMockRecorder) SetCharmStoreResources ¶
func (mr *MockResourcesMockRecorder) SetCharmStoreResources(arg0, arg1, arg2 any) *gomock.Call
SetCharmStoreResources indicates an expected call of SetCharmStoreResources.
func (*MockResourcesMockRecorder) SetResource ¶
func (mr *MockResourcesMockRecorder) SetResource(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call
SetResource indicates an expected call of SetResource.
func (*MockResourcesMockRecorder) SetUnitResource ¶
func (mr *MockResourcesMockRecorder) SetUnitResource(arg0, arg1, arg2 any) *gomock.Call
SetUnitResource indicates an expected call of SetUnitResource.
func (*MockResourcesMockRecorder) UpdatePendingResource ¶
func (mr *MockResourcesMockRecorder) UpdatePendingResource(arg0, arg1, arg2, arg3, arg4 any) *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 any) *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 any) *gomock.Call
Run indicates an expected call of Run.
func (*MockRunnerMockRecorder) RunTransaction ¶
func (mr *MockRunnerMockRecorder) RunTransaction(arg0 any) *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.