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.
Index ¶
- type MockApplication
- func (m *MockApplication) AddUnit(arg0 state.AddUnitParams) (application.Unit, error)
- func (m *MockApplication) AgentTools() (*tools.Tools, error)
- func (m *MockApplication) AllUnits() ([]application.Unit, error)
- func (m *MockApplication) ApplicationConfig() (config.ConfigAttributes, error)
- func (m *MockApplication) ApplicationTag() names.ApplicationTag
- func (m *MockApplication) ChangeScale(arg0 int) (int, error)
- func (m *MockApplication) Charm() (application.Charm, bool, error)
- func (m *MockApplication) CharmConfig(arg0 string) (charm.Settings, error)
- func (m *MockApplication) CharmOrigin() *state.CharmOrigin
- func (m *MockApplication) CharmURL() (*string, bool)
- func (m *MockApplication) ClearExposed() error
- func (m *MockApplication) Constraints() (constraints.Value, error)
- func (m *MockApplication) Destroy() error
- func (m *MockApplication) DestroyOperation() *state.DestroyApplicationOperation
- func (m *MockApplication) EXPECT() *MockApplicationMockRecorder
- func (m *MockApplication) EndpointBindings() (application.Bindings, error)
- func (m *MockApplication) Endpoints() ([]state.Endpoint, error)
- func (m *MockApplication) ExposedEndpoints() map[string]state.ExposedEndpoint
- func (m *MockApplication) IsExposed() bool
- func (m *MockApplication) IsPrincipal() bool
- func (m *MockApplication) IsRemote() bool
- func (m *MockApplication) Life() state.Life
- func (m *MockApplication) MergeBindings(arg0 *state.Bindings, arg1 bool) error
- func (m *MockApplication) MergeExposeSettings(arg0 map[string]state.ExposedEndpoint) error
- func (m *MockApplication) Name() string
- func (m *MockApplication) Relations() ([]application.Relation, error)
- func (m *MockApplication) SetCharm(arg0 state.SetCharmConfig) error
- func (m *MockApplication) SetConstraints(arg0 constraints.Value) error
- func (m *MockApplication) SetMetricCredentials(arg0 []byte) error
- func (m *MockApplication) SetMinUnits(arg0 int) error
- func (m *MockApplication) SetScale(arg0 int, arg1 int64, arg2 bool) error
- func (m *MockApplication) UnsetExposeSettings(arg0 []string) error
- func (m *MockApplication) UpdateApplicationBase(arg0 state.Base, arg1 bool) error
- func (m *MockApplication) UpdateApplicationConfig(arg0 config.ConfigAttributes, arg1 []string, arg2 environschema.Fields, ...) error
- func (m *MockApplication) UpdateCharmConfig(arg0 string, arg1 charm.Settings) error
- type MockApplicationMockRecorder
- func (mr *MockApplicationMockRecorder) AddUnit(arg0 any) *gomock.Call
- func (mr *MockApplicationMockRecorder) AgentTools() *gomock.Call
- func (mr *MockApplicationMockRecorder) AllUnits() *gomock.Call
- func (mr *MockApplicationMockRecorder) ApplicationConfig() *gomock.Call
- func (mr *MockApplicationMockRecorder) ApplicationTag() *gomock.Call
- func (mr *MockApplicationMockRecorder) ChangeScale(arg0 any) *gomock.Call
- func (mr *MockApplicationMockRecorder) Charm() *gomock.Call
- func (mr *MockApplicationMockRecorder) CharmConfig(arg0 any) *gomock.Call
- func (mr *MockApplicationMockRecorder) CharmOrigin() *gomock.Call
- func (mr *MockApplicationMockRecorder) CharmURL() *gomock.Call
- func (mr *MockApplicationMockRecorder) ClearExposed() *gomock.Call
- func (mr *MockApplicationMockRecorder) Constraints() *gomock.Call
- func (mr *MockApplicationMockRecorder) Destroy() *gomock.Call
- func (mr *MockApplicationMockRecorder) DestroyOperation() *gomock.Call
- func (mr *MockApplicationMockRecorder) EndpointBindings() *gomock.Call
- func (mr *MockApplicationMockRecorder) Endpoints() *gomock.Call
- func (mr *MockApplicationMockRecorder) ExposedEndpoints() *gomock.Call
- func (mr *MockApplicationMockRecorder) IsExposed() *gomock.Call
- func (mr *MockApplicationMockRecorder) IsPrincipal() *gomock.Call
- func (mr *MockApplicationMockRecorder) IsRemote() *gomock.Call
- func (mr *MockApplicationMockRecorder) Life() *gomock.Call
- func (mr *MockApplicationMockRecorder) MergeBindings(arg0, arg1 any) *gomock.Call
- func (mr *MockApplicationMockRecorder) MergeExposeSettings(arg0 any) *gomock.Call
- func (mr *MockApplicationMockRecorder) Name() *gomock.Call
- func (mr *MockApplicationMockRecorder) Relations() *gomock.Call
- func (mr *MockApplicationMockRecorder) SetCharm(arg0 any) *gomock.Call
- func (mr *MockApplicationMockRecorder) SetConstraints(arg0 any) *gomock.Call
- func (mr *MockApplicationMockRecorder) SetMetricCredentials(arg0 any) *gomock.Call
- func (mr *MockApplicationMockRecorder) SetMinUnits(arg0 any) *gomock.Call
- func (mr *MockApplicationMockRecorder) SetScale(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockApplicationMockRecorder) UnsetExposeSettings(arg0 any) *gomock.Call
- func (mr *MockApplicationMockRecorder) UpdateApplicationBase(arg0, arg1 any) *gomock.Call
- func (mr *MockApplicationMockRecorder) UpdateApplicationConfig(arg0, arg1, arg2, arg3 any) *gomock.Call
- func (mr *MockApplicationMockRecorder) UpdateCharmConfig(arg0, arg1 any) *gomock.Call
- type MockBackend
- func (m *MockBackend) AddApplication(arg0 state.AddApplicationArgs) (application.Application, error)
- func (m *MockBackend) AddCharmMetadata(arg0 state.CharmInfo) (application.Charm, error)
- func (m *MockBackend) AddPendingResource(arg0 string, arg1 resource.Resource) (string, error)
- func (m *MockBackend) AddRelation(arg0 ...state.Endpoint) (application.Relation, error)
- func (m *MockBackend) AddRemoteApplication(arg0 state.AddRemoteApplicationParams) (application.RemoteApplication, error)
- func (m *MockBackend) AllModelUUIDs() ([]string, error)
- func (m *MockBackend) AllSpaceInfos() (network.SpaceInfos, error)
- func (m *MockBackend) Application(arg0 string) (application.Application, error)
- func (m *MockBackend) ApplicationOfferForUUID(arg0 string) (*crossmodel.ApplicationOffer, error)
- func (m *MockBackend) ApplyOperation(arg0 state.ModelOperation) error
- func (m *MockBackend) Branch(arg0 string) (application.Generation, error)
- func (m *MockBackend) Charm(arg0 string) (application.Charm, error)
- func (m *MockBackend) ControllerConfig() (controller.Config, error)
- func (m *MockBackend) ControllerTag() names.ControllerTag
- func (m *MockBackend) DefaultEndpointBindingSpace() (string, error)
- func (m *MockBackend) EXPECT() *MockBackendMockRecorder
- func (m *MockBackend) InferActiveRelation(arg0 ...string) (application.Relation, error)
- func (m *MockBackend) InferEndpoints(arg0 ...string) ([]state.Endpoint, error)
- func (m *MockBackend) Machine(arg0 string) (application.Machine, error)
- func (m *MockBackend) Model() (application.Model, error)
- func (m *MockBackend) ModelConstraints() (constraints.Value, error)
- func (m *MockBackend) ModelUUID() string
- func (m *MockBackend) OfferConnectionForRelation(arg0 string) (application.OfferConnection, error)
- func (m *MockBackend) PrepareCharmUpload(arg0 string) (services.UploadedCharm, error)
- func (m *MockBackend) Relation(arg0 int) (application.Relation, error)
- func (m *MockBackend) RemoteApplication(arg0 string) (application.RemoteApplication, error)
- func (m *MockBackend) RemovePendingResources(arg0 string, arg1 map[string]string) error
- func (m *MockBackend) Resources() application.Resources
- func (m *MockBackend) SaveController(arg0 crossmodel.ControllerInfo, arg1 string) (application.ExternalController, error)
- func (m *MockBackend) SaveEgressNetworks(arg0 string, arg1 []string) (state.RelationNetworks, error)
- func (m *MockBackend) Space(arg0 string) (*state.Space, error)
- func (m *MockBackend) Unit(arg0 string) (application.Unit, error)
- func (m *MockBackend) UnitsInError() ([]application.Unit, error)
- func (m *MockBackend) UpdateUploadedCharm(arg0 state.CharmInfo) (services.UploadedCharm, error)
- type MockBackendMockRecorder
- func (mr *MockBackendMockRecorder) AddApplication(arg0 any) *gomock.Call
- func (mr *MockBackendMockRecorder) AddCharmMetadata(arg0 any) *gomock.Call
- func (mr *MockBackendMockRecorder) AddPendingResource(arg0, arg1 any) *gomock.Call
- func (mr *MockBackendMockRecorder) AddRelation(arg0 ...any) *gomock.Call
- func (mr *MockBackendMockRecorder) AddRemoteApplication(arg0 any) *gomock.Call
- func (mr *MockBackendMockRecorder) AllModelUUIDs() *gomock.Call
- func (mr *MockBackendMockRecorder) AllSpaceInfos() *gomock.Call
- func (mr *MockBackendMockRecorder) Application(arg0 any) *gomock.Call
- func (mr *MockBackendMockRecorder) ApplicationOfferForUUID(arg0 any) *gomock.Call
- func (mr *MockBackendMockRecorder) ApplyOperation(arg0 any) *gomock.Call
- func (mr *MockBackendMockRecorder) Branch(arg0 any) *gomock.Call
- func (mr *MockBackendMockRecorder) Charm(arg0 any) *gomock.Call
- func (mr *MockBackendMockRecorder) ControllerConfig() *gomock.Call
- func (mr *MockBackendMockRecorder) ControllerTag() *gomock.Call
- func (mr *MockBackendMockRecorder) DefaultEndpointBindingSpace() *gomock.Call
- func (mr *MockBackendMockRecorder) InferActiveRelation(arg0 ...any) *gomock.Call
- func (mr *MockBackendMockRecorder) InferEndpoints(arg0 ...any) *gomock.Call
- func (mr *MockBackendMockRecorder) Machine(arg0 any) *gomock.Call
- func (mr *MockBackendMockRecorder) Model() *gomock.Call
- func (mr *MockBackendMockRecorder) ModelConstraints() *gomock.Call
- func (mr *MockBackendMockRecorder) ModelUUID() *gomock.Call
- func (mr *MockBackendMockRecorder) OfferConnectionForRelation(arg0 any) *gomock.Call
- func (mr *MockBackendMockRecorder) PrepareCharmUpload(arg0 any) *gomock.Call
- func (mr *MockBackendMockRecorder) Relation(arg0 any) *gomock.Call
- func (mr *MockBackendMockRecorder) RemoteApplication(arg0 any) *gomock.Call
- func (mr *MockBackendMockRecorder) RemovePendingResources(arg0, arg1 any) *gomock.Call
- func (mr *MockBackendMockRecorder) Resources() *gomock.Call
- func (mr *MockBackendMockRecorder) SaveController(arg0, arg1 any) *gomock.Call
- func (mr *MockBackendMockRecorder) SaveEgressNetworks(arg0, arg1 any) *gomock.Call
- func (mr *MockBackendMockRecorder) Space(arg0 any) *gomock.Call
- func (mr *MockBackendMockRecorder) Unit(arg0 any) *gomock.Call
- func (mr *MockBackendMockRecorder) UnitsInError() *gomock.Call
- func (mr *MockBackendMockRecorder) UpdateUploadedCharm(arg0 any) *gomock.Call
- type MockBindings
- type MockBindingsMockRecorder
- type MockBlockChecker
- type MockBlockCheckerMockRecorder
- type MockCaasBrokerInterface
- type MockCaasBrokerInterfaceMockRecorder
- type MockCharm
- func (m *MockCharm) Actions() *charm.Actions
- func (m *MockCharm) Config() *charm.Config
- func (m *MockCharm) EXPECT() *MockCharmMockRecorder
- func (m *MockCharm) IsUploaded() bool
- func (m *MockCharm) Manifest() *charm.Manifest
- func (m *MockCharm) Meta() *charm.Meta
- func (m *MockCharm) Metrics() *charm.Metrics
- func (m *MockCharm) Revision() int
- type MockCharmMockRecorder
- func (mr *MockCharmMockRecorder) Actions() *gomock.Call
- func (mr *MockCharmMockRecorder) Config() *gomock.Call
- func (mr *MockCharmMockRecorder) IsUploaded() *gomock.Call
- func (mr *MockCharmMockRecorder) Manifest() *gomock.Call
- func (mr *MockCharmMockRecorder) Meta() *gomock.Call
- func (mr *MockCharmMockRecorder) Metrics() *gomock.Call
- func (mr *MockCharmMockRecorder) Revision() *gomock.Call
- type MockCloudContainer
- type MockCloudContainerMockRecorder
- type MockGeneration
- type MockGenerationMockRecorder
- type MockLXDProfiler
- type MockLXDProfilerMockRecorder
- type MockMachine
- func (m *MockMachine) Base() state.Base
- func (m *MockMachine) EXPECT() *MockMachineMockRecorder
- func (m *MockMachine) HardwareCharacteristics() (*instance.HardwareCharacteristics, error)
- func (m *MockMachine) Id() string
- func (m *MockMachine) IsLockedForSeriesUpgrade() (bool, error)
- func (m *MockMachine) IsParentLockedForSeriesUpgrade() (bool, error)
- func (m *MockMachine) PublicAddress() (network.SpaceAddress, error)
- type MockMachineMockRecorder
- func (mr *MockMachineMockRecorder) Base() *gomock.Call
- func (mr *MockMachineMockRecorder) HardwareCharacteristics() *gomock.Call
- func (mr *MockMachineMockRecorder) Id() *gomock.Call
- func (mr *MockMachineMockRecorder) IsLockedForSeriesUpgrade() *gomock.Call
- func (mr *MockMachineMockRecorder) IsParentLockedForSeriesUpgrade() *gomock.Call
- func (mr *MockMachineMockRecorder) PublicAddress() *gomock.Call
- type MockMachinePortRanges
- func (m *MockMachinePortRanges) ByUnit() map[string]state.UnitPortRanges
- func (m *MockMachinePortRanges) Changes() state.ModelOperation
- func (m *MockMachinePortRanges) EXPECT() *MockMachinePortRangesMockRecorder
- func (m *MockMachinePortRanges) ForUnit(arg0 string) state.UnitPortRanges
- func (m *MockMachinePortRanges) MachineID() string
- func (m *MockMachinePortRanges) UniquePortRanges() []network.PortRange
- type MockMachinePortRangesMockRecorder
- func (mr *MockMachinePortRangesMockRecorder) ByUnit() *gomock.Call
- func (mr *MockMachinePortRangesMockRecorder) Changes() *gomock.Call
- func (mr *MockMachinePortRangesMockRecorder) ForUnit(arg0 any) *gomock.Call
- func (mr *MockMachinePortRangesMockRecorder) MachineID() *gomock.Call
- func (mr *MockMachinePortRangesMockRecorder) UniquePortRanges() *gomock.Call
- type MockModel
- func (m *MockModel) AgentVersion() (version.Number, error)
- func (m *MockModel) Cloud() (cloud.Cloud, error)
- func (m *MockModel) CloudCredential() (state.Credential, bool, error)
- func (m *MockModel) CloudName() string
- func (m *MockModel) CloudRegion() string
- func (m *MockModel) Config() (*config0.Config, error)
- func (m *MockModel) ControllerUUID() string
- func (m *MockModel) EXPECT() *MockModelMockRecorder
- func (m *MockModel) ModelConfig() (*config0.Config, error)
- func (m *MockModel) ModelTag() names.ModelTag
- func (m *MockModel) Name() string
- func (m *MockModel) OpenedPortRangesForMachine(arg0 string) (state.MachinePortRanges, error)
- func (m *MockModel) Owner() names.UserTag
- func (m *MockModel) Tag() names.Tag
- func (m *MockModel) Type() state.ModelType
- func (m *MockModel) UUID() string
- type MockModelMockRecorder
- func (mr *MockModelMockRecorder) AgentVersion() *gomock.Call
- func (mr *MockModelMockRecorder) Cloud() *gomock.Call
- func (mr *MockModelMockRecorder) CloudCredential() *gomock.Call
- func (mr *MockModelMockRecorder) CloudName() *gomock.Call
- func (mr *MockModelMockRecorder) CloudRegion() *gomock.Call
- func (mr *MockModelMockRecorder) Config() *gomock.Call
- func (mr *MockModelMockRecorder) ControllerUUID() *gomock.Call
- func (mr *MockModelMockRecorder) ModelConfig() *gomock.Call
- func (mr *MockModelMockRecorder) ModelTag() *gomock.Call
- func (mr *MockModelMockRecorder) Name() *gomock.Call
- func (mr *MockModelMockRecorder) OpenedPortRangesForMachine(arg0 any) *gomock.Call
- func (mr *MockModelMockRecorder) Owner() *gomock.Call
- func (mr *MockModelMockRecorder) Tag() *gomock.Call
- func (mr *MockModelMockRecorder) Type() *gomock.Call
- func (mr *MockModelMockRecorder) UUID() *gomock.Call
- type MockOfferConnection
- type MockOfferConnectionMockRecorder
- type MockPoolManager
- func (m *MockPoolManager) Create(arg0 string, arg1 storage.ProviderType, arg2 map[string]any) (*storage.Config, error)
- func (m *MockPoolManager) Delete(arg0 string) error
- func (m *MockPoolManager) EXPECT() *MockPoolManagerMockRecorder
- func (m *MockPoolManager) Get(arg0 string) (*storage.Config, error)
- func (m *MockPoolManager) List() ([]*storage.Config, error)
- func (m *MockPoolManager) Replace(arg0, arg1 string, arg2 map[string]any) error
- type MockPoolManagerMockRecorder
- func (mr *MockPoolManagerMockRecorder) Create(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockPoolManagerMockRecorder) Delete(arg0 any) *gomock.Call
- func (mr *MockPoolManagerMockRecorder) Get(arg0 any) *gomock.Call
- func (mr *MockPoolManagerMockRecorder) List() *gomock.Call
- func (mr *MockPoolManagerMockRecorder) Replace(arg0, arg1, arg2 any) *gomock.Call
- type MockProviderRegistry
- type MockProviderRegistryMockRecorder
- type MockReader
- type MockReaderMockRecorder
- type MockRelation
- func (m *MockRelation) AllRemoteUnits(arg0 string) ([]application.RelationUnit, error)
- func (m *MockRelation) ApplicationSettings(arg0 string) (map[string]any, error)
- func (m *MockRelation) Destroy() error
- func (m *MockRelation) DestroyWithForce(arg0 bool, arg1 time.Duration) ([]error, error)
- func (m *MockRelation) EXPECT() *MockRelationMockRecorder
- func (m *MockRelation) Endpoint(arg0 string) (state.Endpoint, error)
- func (m *MockRelation) Endpoints() []state.Endpoint
- func (m *MockRelation) Id() int
- func (m *MockRelation) RelatedEndpoints(arg0 string) ([]state.Endpoint, error)
- func (m *MockRelation) SetStatus(arg0 status.StatusInfo) error
- func (m *MockRelation) SetSuspended(arg0 bool, arg1 string) error
- func (m *MockRelation) Suspended() bool
- func (m *MockRelation) SuspendedReason() string
- func (m *MockRelation) Tag() names.Tag
- func (m *MockRelation) Unit(arg0 string) (application.RelationUnit, error)
- type MockRelationMockRecorder
- func (mr *MockRelationMockRecorder) AllRemoteUnits(arg0 any) *gomock.Call
- func (mr *MockRelationMockRecorder) ApplicationSettings(arg0 any) *gomock.Call
- func (mr *MockRelationMockRecorder) Destroy() *gomock.Call
- func (mr *MockRelationMockRecorder) DestroyWithForce(arg0, arg1 any) *gomock.Call
- func (mr *MockRelationMockRecorder) Endpoint(arg0 any) *gomock.Call
- func (mr *MockRelationMockRecorder) Endpoints() *gomock.Call
- func (mr *MockRelationMockRecorder) Id() *gomock.Call
- func (mr *MockRelationMockRecorder) RelatedEndpoints(arg0 any) *gomock.Call
- func (mr *MockRelationMockRecorder) SetStatus(arg0 any) *gomock.Call
- func (mr *MockRelationMockRecorder) SetSuspended(arg0, arg1 any) *gomock.Call
- func (mr *MockRelationMockRecorder) Suspended() *gomock.Call
- func (mr *MockRelationMockRecorder) SuspendedReason() *gomock.Call
- func (mr *MockRelationMockRecorder) Tag() *gomock.Call
- func (mr *MockRelationMockRecorder) Unit(arg0 any) *gomock.Call
- type MockRelationUnit
- type MockRelationUnitMockRecorder
- type MockRemoteApplication
- func (m *MockRemoteApplication) AddEndpoints(arg0 []charm.Relation) error
- func (m *MockRemoteApplication) Bindings() map[string]string
- func (m *MockRemoteApplication) Destroy() error
- func (m *MockRemoteApplication) DestroyOperation(arg0 bool) *state.DestroyRemoteApplicationOperation
- func (m *MockRemoteApplication) EXPECT() *MockRemoteApplicationMockRecorder
- func (m *MockRemoteApplication) Endpoints() ([]state.Endpoint, error)
- func (m *MockRemoteApplication) Life() state.Life
- func (m *MockRemoteApplication) Name() string
- func (m *MockRemoteApplication) SourceModel() names.ModelTag
- func (m *MockRemoteApplication) Spaces() []state.RemoteSpace
- func (m *MockRemoteApplication) Status() (status.StatusInfo, error)
- type MockRemoteApplicationMockRecorder
- func (mr *MockRemoteApplicationMockRecorder) AddEndpoints(arg0 any) *gomock.Call
- func (mr *MockRemoteApplicationMockRecorder) Bindings() *gomock.Call
- func (mr *MockRemoteApplicationMockRecorder) Destroy() *gomock.Call
- func (mr *MockRemoteApplicationMockRecorder) DestroyOperation(arg0 any) *gomock.Call
- func (mr *MockRemoteApplicationMockRecorder) Endpoints() *gomock.Call
- func (mr *MockRemoteApplicationMockRecorder) Life() *gomock.Call
- func (mr *MockRemoteApplicationMockRecorder) Name() *gomock.Call
- func (mr *MockRemoteApplicationMockRecorder) SourceModel() *gomock.Call
- func (mr *MockRemoteApplicationMockRecorder) Spaces() *gomock.Call
- func (mr *MockRemoteApplicationMockRecorder) Status() *gomock.Call
- type MockResources
- type MockResourcesMockRecorder
- type MockSecretsStore
- func (m *MockSecretsStore) ChangeSecretBackend(arg0 state.ChangeSecretBackendParams) error
- func (m *MockSecretsStore) CreateSecret(arg0 *secrets.URI, arg1 state.CreateSecretParams) (*secrets.SecretMetadata, error)
- func (m *MockSecretsStore) DeleteSecret(arg0 *secrets.URI, arg1 ...int) ([]secrets.ValueRef, error)
- func (m *MockSecretsStore) EXPECT() *MockSecretsStoreMockRecorder
- func (m *MockSecretsStore) GetSecret(arg0 *secrets.URI) (*secrets.SecretMetadata, error)
- func (m *MockSecretsStore) GetSecretRevision(arg0 *secrets.URI, arg1 int) (*secrets.SecretRevisionMetadata, error)
- func (m *MockSecretsStore) GetSecretValue(arg0 *secrets.URI, arg1 int) (secrets.SecretValue, *secrets.ValueRef, error)
- func (m *MockSecretsStore) ListModelSecrets(arg0 bool) (map[string]set.Strings, error)
- func (m *MockSecretsStore) ListSecretRevisions(arg0 *secrets.URI) ([]*secrets.SecretRevisionMetadata, error)
- func (m *MockSecretsStore) ListSecrets(arg0 state.SecretsFilter) ([]*secrets.SecretMetadata, error)
- func (m *MockSecretsStore) ListUnusedSecretRevisions(arg0 *secrets.URI) ([]int, error)
- func (m *MockSecretsStore) SecretGrants(arg0 *secrets.URI, arg1 secrets.SecretRole) ([]secrets.AccessInfo, error)
- func (m *MockSecretsStore) UpdateSecret(arg0 *secrets.URI, arg1 state.UpdateSecretParams) (*secrets.SecretMetadata, error)
- func (m *MockSecretsStore) WatchObsolete(arg0 []names.Tag) (state.StringsWatcher, error)
- func (m *MockSecretsStore) WatchRevisionsToPrune(arg0 []names.Tag) (state.StringsWatcher, error)
- type MockSecretsStoreMockRecorder
- func (mr *MockSecretsStoreMockRecorder) ChangeSecretBackend(arg0 any) *gomock.Call
- func (mr *MockSecretsStoreMockRecorder) CreateSecret(arg0, arg1 any) *gomock.Call
- func (mr *MockSecretsStoreMockRecorder) DeleteSecret(arg0 any, arg1 ...any) *gomock.Call
- func (mr *MockSecretsStoreMockRecorder) GetSecret(arg0 any) *gomock.Call
- func (mr *MockSecretsStoreMockRecorder) GetSecretRevision(arg0, arg1 any) *gomock.Call
- func (mr *MockSecretsStoreMockRecorder) GetSecretValue(arg0, arg1 any) *gomock.Call
- func (mr *MockSecretsStoreMockRecorder) ListModelSecrets(arg0 any) *gomock.Call
- func (mr *MockSecretsStoreMockRecorder) ListSecretRevisions(arg0 any) *gomock.Call
- func (mr *MockSecretsStoreMockRecorder) ListSecrets(arg0 any) *gomock.Call
- func (mr *MockSecretsStoreMockRecorder) ListUnusedSecretRevisions(arg0 any) *gomock.Call
- func (mr *MockSecretsStoreMockRecorder) SecretGrants(arg0, arg1 any) *gomock.Call
- func (mr *MockSecretsStoreMockRecorder) UpdateSecret(arg0, arg1 any) *gomock.Call
- func (mr *MockSecretsStoreMockRecorder) WatchObsolete(arg0 any) *gomock.Call
- func (mr *MockSecretsStoreMockRecorder) WatchRevisionsToPrune(arg0 any) *gomock.Call
- type MockStorage
- func (m *MockStorage) EXPECT() *MockStorageMockRecorder
- func (m *MockStorage) Get(arg0 string) (io.ReadCloser, int64, error)
- func (m *MockStorage) Put(arg0 string, arg1 io.Reader, arg2 int64) error
- func (m *MockStorage) PutAndCheckHash(arg0 string, arg1 io.Reader, arg2 int64, arg3 string) error
- func (m *MockStorage) Remove(arg0 string) error
- type MockStorageAttachment
- type MockStorageAttachmentMockRecorder
- type MockStorageInstance
- func (m *MockStorageInstance) EXPECT() *MockStorageInstanceMockRecorder
- func (m *MockStorageInstance) Kind() state.StorageKind
- func (m *MockStorageInstance) Life() state.Life
- func (m *MockStorageInstance) Owner() (names.Tag, bool)
- func (m *MockStorageInstance) Pool() string
- func (m *MockStorageInstance) StorageName() string
- func (m *MockStorageInstance) StorageTag() names.StorageTag
- func (m *MockStorageInstance) Tag() names.Tag
- type MockStorageInstanceMockRecorder
- func (mr *MockStorageInstanceMockRecorder) Kind() *gomock.Call
- func (mr *MockStorageInstanceMockRecorder) Life() *gomock.Call
- func (mr *MockStorageInstanceMockRecorder) Owner() *gomock.Call
- func (mr *MockStorageInstanceMockRecorder) Pool() *gomock.Call
- func (mr *MockStorageInstanceMockRecorder) StorageName() *gomock.Call
- func (mr *MockStorageInstanceMockRecorder) StorageTag() *gomock.Call
- func (mr *MockStorageInstanceMockRecorder) Tag() *gomock.Call
- type MockStorageInterface
- func (m *MockStorageInterface) EXPECT() *MockStorageInterfaceMockRecorder
- func (m *MockStorageInterface) FilesystemAccess() storagecommon.FilesystemAccess
- func (m *MockStorageInterface) StorageInstance(arg0 names.StorageTag) (state.StorageInstance, error)
- func (m *MockStorageInterface) UnitStorageAttachments(arg0 names.UnitTag) ([]state.StorageAttachment, error)
- func (m *MockStorageInterface) VolumeAccess() storagecommon.VolumeAccess
- type MockStorageInterfaceMockRecorder
- func (mr *MockStorageInterfaceMockRecorder) FilesystemAccess() *gomock.Call
- func (mr *MockStorageInterfaceMockRecorder) StorageInstance(arg0 any) *gomock.Call
- func (mr *MockStorageInterfaceMockRecorder) UnitStorageAttachments(arg0 any) *gomock.Call
- func (mr *MockStorageInterfaceMockRecorder) VolumeAccess() *gomock.Call
- type MockStorageMockRecorder
- type MockUnit
- func (m *MockUnit) AgentTools() (*tools.Tools, error)
- func (m *MockUnit) ApplicationName() string
- func (m *MockUnit) AssignWithPlacement(arg0 *instance.Placement) error
- func (m *MockUnit) AssignWithPolicy(arg0 state.AssignmentPolicy) error
- func (m *MockUnit) AssignedMachineId() (string, error)
- func (m *MockUnit) ContainerInfo() (state.CloudContainer, error)
- func (m *MockUnit) Destroy() error
- func (m *MockUnit) DestroyOperation() *state.DestroyUnitOperation
- func (m *MockUnit) EXPECT() *MockUnitMockRecorder
- func (m *MockUnit) IsPrincipal() bool
- func (m *MockUnit) Life() state.Life
- func (m *MockUnit) Name() string
- func (m *MockUnit) Resolve(arg0 bool) error
- func (m *MockUnit) Tag() names.Tag
- func (m *MockUnit) UnitTag() names.UnitTag
- func (m *MockUnit) WorkloadVersion() (string, error)
- type MockUnitMockRecorder
- func (mr *MockUnitMockRecorder) AgentTools() *gomock.Call
- func (mr *MockUnitMockRecorder) ApplicationName() *gomock.Call
- func (mr *MockUnitMockRecorder) AssignWithPlacement(arg0 any) *gomock.Call
- func (mr *MockUnitMockRecorder) AssignWithPolicy(arg0 any) *gomock.Call
- func (mr *MockUnitMockRecorder) AssignedMachineId() *gomock.Call
- func (mr *MockUnitMockRecorder) ContainerInfo() *gomock.Call
- func (mr *MockUnitMockRecorder) Destroy() *gomock.Call
- func (mr *MockUnitMockRecorder) DestroyOperation() *gomock.Call
- func (mr *MockUnitMockRecorder) IsPrincipal() *gomock.Call
- func (mr *MockUnitMockRecorder) Life() *gomock.Call
- func (mr *MockUnitMockRecorder) Name() *gomock.Call
- func (mr *MockUnitMockRecorder) Resolve(arg0 any) *gomock.Call
- func (mr *MockUnitMockRecorder) Tag() *gomock.Call
- func (mr *MockUnitMockRecorder) UnitTag() *gomock.Call
- func (mr *MockUnitMockRecorder) WorkloadVersion() *gomock.Call
- type MockUnitPortRanges
- func (m *MockUnitPortRanges) ByEndpoint() network.GroupedPortRanges
- func (m *MockUnitPortRanges) Changes() state.ModelOperation
- func (m *MockUnitPortRanges) Close(arg0 string, arg1 network.PortRange)
- func (m *MockUnitPortRanges) EXPECT() *MockUnitPortRangesMockRecorder
- func (m *MockUnitPortRanges) ForEndpoint(arg0 string) []network.PortRange
- func (m *MockUnitPortRanges) Open(arg0 string, arg1 network.PortRange)
- func (m *MockUnitPortRanges) UniquePortRanges() []network.PortRange
- func (m *MockUnitPortRanges) UnitName() string
- type MockUnitPortRangesMockRecorder
- func (mr *MockUnitPortRangesMockRecorder) ByEndpoint() *gomock.Call
- func (mr *MockUnitPortRangesMockRecorder) Changes() *gomock.Call
- func (mr *MockUnitPortRangesMockRecorder) Close(arg0, arg1 any) *gomock.Call
- func (mr *MockUnitPortRangesMockRecorder) ForEndpoint(arg0 any) *gomock.Call
- func (mr *MockUnitPortRangesMockRecorder) Open(arg0, arg1 any) *gomock.Call
- func (mr *MockUnitPortRangesMockRecorder) UniquePortRanges() *gomock.Call
- func (mr *MockUnitPortRangesMockRecorder) UnitName() *gomock.Call
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) AddUnit ¶
func (m *MockApplication) AddUnit(arg0 state.AddUnitParams) (application.Unit, error)
AddUnit mocks base method.
func (*MockApplication) AgentTools ¶
func (m *MockApplication) AgentTools() (*tools.Tools, error)
AgentTools mocks base method.
func (*MockApplication) AllUnits ¶
func (m *MockApplication) AllUnits() ([]application.Unit, error)
AllUnits mocks base method.
func (*MockApplication) ApplicationConfig ¶
func (m *MockApplication) ApplicationConfig() (config.ConfigAttributes, error)
ApplicationConfig mocks base method.
func (*MockApplication) ApplicationTag ¶
func (m *MockApplication) ApplicationTag() names.ApplicationTag
ApplicationTag mocks base method.
func (*MockApplication) ChangeScale ¶
func (m *MockApplication) ChangeScale(arg0 int) (int, error)
ChangeScale mocks base method.
func (*MockApplication) Charm ¶
func (m *MockApplication) Charm() (application.Charm, bool, error)
Charm mocks base method.
func (*MockApplication) CharmConfig ¶
func (m *MockApplication) CharmConfig(arg0 string) (charm.Settings, error)
CharmConfig mocks base method.
func (*MockApplication) CharmOrigin ¶
func (m *MockApplication) CharmOrigin() *state.CharmOrigin
CharmOrigin mocks base method.
func (*MockApplication) CharmURL ¶
func (m *MockApplication) CharmURL() (*string, bool)
CharmURL mocks base method.
func (*MockApplication) ClearExposed ¶
func (m *MockApplication) ClearExposed() error
ClearExposed mocks base method.
func (*MockApplication) Constraints ¶
func (m *MockApplication) Constraints() (constraints.Value, error)
Constraints mocks base method.
func (*MockApplication) Destroy ¶
func (m *MockApplication) Destroy() error
Destroy mocks base method.
func (*MockApplication) DestroyOperation ¶
func (m *MockApplication) DestroyOperation() *state.DestroyApplicationOperation
DestroyOperation 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() (application.Bindings, error)
EndpointBindings mocks base method.
func (*MockApplication) Endpoints ¶
func (m *MockApplication) Endpoints() ([]state.Endpoint, error)
Endpoints mocks base method.
func (*MockApplication) ExposedEndpoints ¶
func (m *MockApplication) ExposedEndpoints() map[string]state.ExposedEndpoint
ExposedEndpoints mocks base method.
func (*MockApplication) IsExposed ¶
func (m *MockApplication) IsExposed() bool
IsExposed mocks base method.
func (*MockApplication) IsPrincipal ¶
func (m *MockApplication) IsPrincipal() bool
IsPrincipal mocks base method.
func (*MockApplication) IsRemote ¶
func (m *MockApplication) IsRemote() bool
IsRemote mocks base method.
func (*MockApplication) MergeBindings ¶
func (m *MockApplication) MergeBindings(arg0 *state.Bindings, arg1 bool) error
MergeBindings mocks base method.
func (*MockApplication) MergeExposeSettings ¶
func (m *MockApplication) MergeExposeSettings(arg0 map[string]state.ExposedEndpoint) error
MergeExposeSettings mocks base method.
func (*MockApplication) Relations ¶
func (m *MockApplication) Relations() ([]application.Relation, error)
Relations mocks base method.
func (*MockApplication) SetCharm ¶
func (m *MockApplication) SetCharm(arg0 state.SetCharmConfig) error
SetCharm mocks base method.
func (*MockApplication) SetConstraints ¶
func (m *MockApplication) SetConstraints(arg0 constraints.Value) error
SetConstraints mocks base method.
func (*MockApplication) SetMetricCredentials ¶
func (m *MockApplication) SetMetricCredentials(arg0 []byte) error
SetMetricCredentials mocks base method.
func (*MockApplication) SetMinUnits ¶
func (m *MockApplication) SetMinUnits(arg0 int) error
SetMinUnits mocks base method.
func (*MockApplication) SetScale ¶
func (m *MockApplication) SetScale(arg0 int, arg1 int64, arg2 bool) error
SetScale mocks base method.
func (*MockApplication) UnsetExposeSettings ¶
func (m *MockApplication) UnsetExposeSettings(arg0 []string) error
UnsetExposeSettings mocks base method.
func (*MockApplication) UpdateApplicationBase ¶
func (m *MockApplication) UpdateApplicationBase(arg0 state.Base, arg1 bool) error
UpdateApplicationBase mocks base method.
func (*MockApplication) UpdateApplicationConfig ¶
func (m *MockApplication) UpdateApplicationConfig(arg0 config.ConfigAttributes, arg1 []string, arg2 environschema.Fields, arg3 schema.Defaults) error
UpdateApplicationConfig mocks base method.
func (*MockApplication) UpdateCharmConfig ¶
func (m *MockApplication) UpdateCharmConfig(arg0 string, arg1 charm.Settings) error
UpdateCharmConfig mocks base method.
type MockApplicationMockRecorder ¶
type MockApplicationMockRecorder struct {
// contains filtered or unexported fields
}
MockApplicationMockRecorder is the mock recorder for MockApplication.
func (*MockApplicationMockRecorder) AddUnit ¶
func (mr *MockApplicationMockRecorder) AddUnit(arg0 any) *gomock.Call
AddUnit indicates an expected call of AddUnit.
func (*MockApplicationMockRecorder) AgentTools ¶
func (mr *MockApplicationMockRecorder) AgentTools() *gomock.Call
AgentTools indicates an expected call of AgentTools.
func (*MockApplicationMockRecorder) AllUnits ¶
func (mr *MockApplicationMockRecorder) AllUnits() *gomock.Call
AllUnits indicates an expected call of AllUnits.
func (*MockApplicationMockRecorder) ApplicationConfig ¶
func (mr *MockApplicationMockRecorder) ApplicationConfig() *gomock.Call
ApplicationConfig indicates an expected call of ApplicationConfig.
func (*MockApplicationMockRecorder) ApplicationTag ¶
func (mr *MockApplicationMockRecorder) ApplicationTag() *gomock.Call
ApplicationTag indicates an expected call of ApplicationTag.
func (*MockApplicationMockRecorder) ChangeScale ¶
func (mr *MockApplicationMockRecorder) ChangeScale(arg0 any) *gomock.Call
ChangeScale indicates an expected call of ChangeScale.
func (*MockApplicationMockRecorder) Charm ¶
func (mr *MockApplicationMockRecorder) Charm() *gomock.Call
Charm indicates an expected call of Charm.
func (*MockApplicationMockRecorder) CharmConfig ¶
func (mr *MockApplicationMockRecorder) CharmConfig(arg0 any) *gomock.Call
CharmConfig indicates an expected call of CharmConfig.
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) ClearExposed ¶
func (mr *MockApplicationMockRecorder) ClearExposed() *gomock.Call
ClearExposed indicates an expected call of ClearExposed.
func (*MockApplicationMockRecorder) Constraints ¶
func (mr *MockApplicationMockRecorder) Constraints() *gomock.Call
Constraints indicates an expected call of Constraints.
func (*MockApplicationMockRecorder) Destroy ¶
func (mr *MockApplicationMockRecorder) Destroy() *gomock.Call
Destroy indicates an expected call of Destroy.
func (*MockApplicationMockRecorder) DestroyOperation ¶
func (mr *MockApplicationMockRecorder) DestroyOperation() *gomock.Call
DestroyOperation indicates an expected call of DestroyOperation.
func (*MockApplicationMockRecorder) EndpointBindings ¶
func (mr *MockApplicationMockRecorder) EndpointBindings() *gomock.Call
EndpointBindings indicates an expected call of EndpointBindings.
func (*MockApplicationMockRecorder) Endpoints ¶
func (mr *MockApplicationMockRecorder) Endpoints() *gomock.Call
Endpoints indicates an expected call of Endpoints.
func (*MockApplicationMockRecorder) ExposedEndpoints ¶
func (mr *MockApplicationMockRecorder) ExposedEndpoints() *gomock.Call
ExposedEndpoints indicates an expected call of ExposedEndpoints.
func (*MockApplicationMockRecorder) IsExposed ¶
func (mr *MockApplicationMockRecorder) IsExposed() *gomock.Call
IsExposed indicates an expected call of IsExposed.
func (*MockApplicationMockRecorder) IsPrincipal ¶
func (mr *MockApplicationMockRecorder) IsPrincipal() *gomock.Call
IsPrincipal indicates an expected call of IsPrincipal.
func (*MockApplicationMockRecorder) IsRemote ¶
func (mr *MockApplicationMockRecorder) IsRemote() *gomock.Call
IsRemote indicates an expected call of IsRemote.
func (*MockApplicationMockRecorder) Life ¶
func (mr *MockApplicationMockRecorder) Life() *gomock.Call
Life indicates an expected call of Life.
func (*MockApplicationMockRecorder) MergeBindings ¶
func (mr *MockApplicationMockRecorder) MergeBindings(arg0, arg1 any) *gomock.Call
MergeBindings indicates an expected call of MergeBindings.
func (*MockApplicationMockRecorder) MergeExposeSettings ¶
func (mr *MockApplicationMockRecorder) MergeExposeSettings(arg0 any) *gomock.Call
MergeExposeSettings indicates an expected call of MergeExposeSettings.
func (*MockApplicationMockRecorder) Name ¶
func (mr *MockApplicationMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockApplicationMockRecorder) Relations ¶
func (mr *MockApplicationMockRecorder) Relations() *gomock.Call
Relations indicates an expected call of Relations.
func (*MockApplicationMockRecorder) SetCharm ¶
func (mr *MockApplicationMockRecorder) SetCharm(arg0 any) *gomock.Call
SetCharm indicates an expected call of SetCharm.
func (*MockApplicationMockRecorder) SetConstraints ¶
func (mr *MockApplicationMockRecorder) SetConstraints(arg0 any) *gomock.Call
SetConstraints indicates an expected call of SetConstraints.
func (*MockApplicationMockRecorder) SetMetricCredentials ¶
func (mr *MockApplicationMockRecorder) SetMetricCredentials(arg0 any) *gomock.Call
SetMetricCredentials indicates an expected call of SetMetricCredentials.
func (*MockApplicationMockRecorder) SetMinUnits ¶
func (mr *MockApplicationMockRecorder) SetMinUnits(arg0 any) *gomock.Call
SetMinUnits indicates an expected call of SetMinUnits.
func (*MockApplicationMockRecorder) SetScale ¶
func (mr *MockApplicationMockRecorder) SetScale(arg0, arg1, arg2 any) *gomock.Call
SetScale indicates an expected call of SetScale.
func (*MockApplicationMockRecorder) UnsetExposeSettings ¶
func (mr *MockApplicationMockRecorder) UnsetExposeSettings(arg0 any) *gomock.Call
UnsetExposeSettings indicates an expected call of UnsetExposeSettings.
func (*MockApplicationMockRecorder) UpdateApplicationBase ¶
func (mr *MockApplicationMockRecorder) UpdateApplicationBase(arg0, arg1 any) *gomock.Call
UpdateApplicationBase indicates an expected call of UpdateApplicationBase.
func (*MockApplicationMockRecorder) UpdateApplicationConfig ¶
func (mr *MockApplicationMockRecorder) UpdateApplicationConfig(arg0, arg1, arg2, arg3 any) *gomock.Call
UpdateApplicationConfig indicates an expected call of UpdateApplicationConfig.
func (*MockApplicationMockRecorder) UpdateCharmConfig ¶
func (mr *MockApplicationMockRecorder) UpdateCharmConfig(arg0, arg1 any) *gomock.Call
UpdateCharmConfig indicates an expected call of UpdateCharmConfig.
type MockBackend ¶
type MockBackend struct {
// contains filtered or unexported fields
}
MockBackend is a mock of Backend interface.
func NewMockBackend ¶
func NewMockBackend(ctrl *gomock.Controller) *MockBackend
NewMockBackend creates a new mock instance.
func (*MockBackend) AddApplication ¶
func (m *MockBackend) AddApplication(arg0 state.AddApplicationArgs) (application.Application, error)
AddApplication mocks base method.
func (*MockBackend) AddCharmMetadata ¶
func (m *MockBackend) AddCharmMetadata(arg0 state.CharmInfo) (application.Charm, error)
AddCharmMetadata mocks base method.
func (*MockBackend) AddPendingResource ¶
AddPendingResource mocks base method.
func (*MockBackend) AddRelation ¶
func (m *MockBackend) AddRelation(arg0 ...state.Endpoint) (application.Relation, error)
AddRelation mocks base method.
func (*MockBackend) AddRemoteApplication ¶
func (m *MockBackend) AddRemoteApplication(arg0 state.AddRemoteApplicationParams) (application.RemoteApplication, error)
AddRemoteApplication mocks base method.
func (*MockBackend) AllModelUUIDs ¶
func (m *MockBackend) AllModelUUIDs() ([]string, error)
AllModelUUIDs mocks base method.
func (*MockBackend) AllSpaceInfos ¶
func (m *MockBackend) AllSpaceInfos() (network.SpaceInfos, error)
AllSpaceInfos mocks base method.
func (*MockBackend) Application ¶
func (m *MockBackend) Application(arg0 string) (application.Application, error)
Application mocks base method.
func (*MockBackend) ApplicationOfferForUUID ¶
func (m *MockBackend) ApplicationOfferForUUID(arg0 string) (*crossmodel.ApplicationOffer, error)
ApplicationOfferForUUID mocks base method.
func (*MockBackend) ApplyOperation ¶
func (m *MockBackend) ApplyOperation(arg0 state.ModelOperation) error
ApplyOperation mocks base method.
func (*MockBackend) Branch ¶
func (m *MockBackend) Branch(arg0 string) (application.Generation, error)
Branch mocks base method.
func (*MockBackend) Charm ¶
func (m *MockBackend) Charm(arg0 string) (application.Charm, error)
Charm mocks base method.
func (*MockBackend) ControllerConfig ¶
func (m *MockBackend) ControllerConfig() (controller.Config, error)
ControllerConfig mocks base method.
func (*MockBackend) ControllerTag ¶
func (m *MockBackend) ControllerTag() names.ControllerTag
ControllerTag mocks base method.
func (*MockBackend) DefaultEndpointBindingSpace ¶
func (m *MockBackend) DefaultEndpointBindingSpace() (string, error)
DefaultEndpointBindingSpace mocks base method.
func (*MockBackend) EXPECT ¶
func (m *MockBackend) EXPECT() *MockBackendMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBackend) InferActiveRelation ¶
func (m *MockBackend) InferActiveRelation(arg0 ...string) (application.Relation, error)
InferActiveRelation mocks base method.
func (*MockBackend) InferEndpoints ¶
func (m *MockBackend) InferEndpoints(arg0 ...string) ([]state.Endpoint, error)
InferEndpoints mocks base method.
func (*MockBackend) Machine ¶
func (m *MockBackend) Machine(arg0 string) (application.Machine, error)
Machine mocks base method.
func (*MockBackend) Model ¶
func (m *MockBackend) Model() (application.Model, error)
Model mocks base method.
func (*MockBackend) ModelConstraints ¶
func (m *MockBackend) ModelConstraints() (constraints.Value, error)
ModelConstraints mocks base method.
func (*MockBackend) ModelUUID ¶
func (m *MockBackend) ModelUUID() string
ModelUUID mocks base method.
func (*MockBackend) OfferConnectionForRelation ¶
func (m *MockBackend) OfferConnectionForRelation(arg0 string) (application.OfferConnection, error)
OfferConnectionForRelation mocks base method.
func (*MockBackend) PrepareCharmUpload ¶
func (m *MockBackend) PrepareCharmUpload(arg0 string) (services.UploadedCharm, error)
PrepareCharmUpload mocks base method.
func (*MockBackend) Relation ¶
func (m *MockBackend) Relation(arg0 int) (application.Relation, error)
Relation mocks base method.
func (*MockBackend) RemoteApplication ¶
func (m *MockBackend) RemoteApplication(arg0 string) (application.RemoteApplication, error)
RemoteApplication mocks base method.
func (*MockBackend) RemovePendingResources ¶
func (m *MockBackend) RemovePendingResources(arg0 string, arg1 map[string]string) error
RemovePendingResources mocks base method.
func (*MockBackend) Resources ¶
func (m *MockBackend) Resources() application.Resources
Resources mocks base method.
func (*MockBackend) SaveController ¶
func (m *MockBackend) SaveController(arg0 crossmodel.ControllerInfo, arg1 string) (application.ExternalController, error)
SaveController mocks base method.
func (*MockBackend) SaveEgressNetworks ¶
func (m *MockBackend) SaveEgressNetworks(arg0 string, arg1 []string) (state.RelationNetworks, error)
SaveEgressNetworks mocks base method.
func (*MockBackend) Space ¶
func (m *MockBackend) Space(arg0 string) (*state.Space, error)
Space mocks base method.
func (*MockBackend) Unit ¶
func (m *MockBackend) Unit(arg0 string) (application.Unit, error)
Unit mocks base method.
func (*MockBackend) UnitsInError ¶
func (m *MockBackend) UnitsInError() ([]application.Unit, error)
UnitsInError mocks base method.
func (*MockBackend) UpdateUploadedCharm ¶
func (m *MockBackend) UpdateUploadedCharm(arg0 state.CharmInfo) (services.UploadedCharm, error)
UpdateUploadedCharm mocks base method.
type MockBackendMockRecorder ¶
type MockBackendMockRecorder struct {
// contains filtered or unexported fields
}
MockBackendMockRecorder is the mock recorder for MockBackend.
func (*MockBackendMockRecorder) AddApplication ¶
func (mr *MockBackendMockRecorder) AddApplication(arg0 any) *gomock.Call
AddApplication indicates an expected call of AddApplication.
func (*MockBackendMockRecorder) AddCharmMetadata ¶
func (mr *MockBackendMockRecorder) AddCharmMetadata(arg0 any) *gomock.Call
AddCharmMetadata indicates an expected call of AddCharmMetadata.
func (*MockBackendMockRecorder) AddPendingResource ¶
func (mr *MockBackendMockRecorder) AddPendingResource(arg0, arg1 any) *gomock.Call
AddPendingResource indicates an expected call of AddPendingResource.
func (*MockBackendMockRecorder) AddRelation ¶
func (mr *MockBackendMockRecorder) AddRelation(arg0 ...any) *gomock.Call
AddRelation indicates an expected call of AddRelation.
func (*MockBackendMockRecorder) AddRemoteApplication ¶
func (mr *MockBackendMockRecorder) AddRemoteApplication(arg0 any) *gomock.Call
AddRemoteApplication indicates an expected call of AddRemoteApplication.
func (*MockBackendMockRecorder) AllModelUUIDs ¶
func (mr *MockBackendMockRecorder) AllModelUUIDs() *gomock.Call
AllModelUUIDs indicates an expected call of AllModelUUIDs.
func (*MockBackendMockRecorder) AllSpaceInfos ¶
func (mr *MockBackendMockRecorder) AllSpaceInfos() *gomock.Call
AllSpaceInfos indicates an expected call of AllSpaceInfos.
func (*MockBackendMockRecorder) Application ¶
func (mr *MockBackendMockRecorder) Application(arg0 any) *gomock.Call
Application indicates an expected call of Application.
func (*MockBackendMockRecorder) ApplicationOfferForUUID ¶
func (mr *MockBackendMockRecorder) ApplicationOfferForUUID(arg0 any) *gomock.Call
ApplicationOfferForUUID indicates an expected call of ApplicationOfferForUUID.
func (*MockBackendMockRecorder) ApplyOperation ¶
func (mr *MockBackendMockRecorder) ApplyOperation(arg0 any) *gomock.Call
ApplyOperation indicates an expected call of ApplyOperation.
func (*MockBackendMockRecorder) Branch ¶
func (mr *MockBackendMockRecorder) Branch(arg0 any) *gomock.Call
Branch indicates an expected call of Branch.
func (*MockBackendMockRecorder) Charm ¶
func (mr *MockBackendMockRecorder) Charm(arg0 any) *gomock.Call
Charm indicates an expected call of Charm.
func (*MockBackendMockRecorder) ControllerConfig ¶
func (mr *MockBackendMockRecorder) ControllerConfig() *gomock.Call
ControllerConfig indicates an expected call of ControllerConfig.
func (*MockBackendMockRecorder) ControllerTag ¶
func (mr *MockBackendMockRecorder) ControllerTag() *gomock.Call
ControllerTag indicates an expected call of ControllerTag.
func (*MockBackendMockRecorder) DefaultEndpointBindingSpace ¶
func (mr *MockBackendMockRecorder) DefaultEndpointBindingSpace() *gomock.Call
DefaultEndpointBindingSpace indicates an expected call of DefaultEndpointBindingSpace.
func (*MockBackendMockRecorder) InferActiveRelation ¶
func (mr *MockBackendMockRecorder) InferActiveRelation(arg0 ...any) *gomock.Call
InferActiveRelation indicates an expected call of InferActiveRelation.
func (*MockBackendMockRecorder) InferEndpoints ¶
func (mr *MockBackendMockRecorder) InferEndpoints(arg0 ...any) *gomock.Call
InferEndpoints indicates an expected call of InferEndpoints.
func (*MockBackendMockRecorder) Machine ¶
func (mr *MockBackendMockRecorder) Machine(arg0 any) *gomock.Call
Machine indicates an expected call of Machine.
func (*MockBackendMockRecorder) Model ¶
func (mr *MockBackendMockRecorder) Model() *gomock.Call
Model indicates an expected call of Model.
func (*MockBackendMockRecorder) ModelConstraints ¶
func (mr *MockBackendMockRecorder) ModelConstraints() *gomock.Call
ModelConstraints indicates an expected call of ModelConstraints.
func (*MockBackendMockRecorder) ModelUUID ¶
func (mr *MockBackendMockRecorder) ModelUUID() *gomock.Call
ModelUUID indicates an expected call of ModelUUID.
func (*MockBackendMockRecorder) OfferConnectionForRelation ¶
func (mr *MockBackendMockRecorder) OfferConnectionForRelation(arg0 any) *gomock.Call
OfferConnectionForRelation indicates an expected call of OfferConnectionForRelation.
func (*MockBackendMockRecorder) PrepareCharmUpload ¶
func (mr *MockBackendMockRecorder) PrepareCharmUpload(arg0 any) *gomock.Call
PrepareCharmUpload indicates an expected call of PrepareCharmUpload.
func (*MockBackendMockRecorder) Relation ¶
func (mr *MockBackendMockRecorder) Relation(arg0 any) *gomock.Call
Relation indicates an expected call of Relation.
func (*MockBackendMockRecorder) RemoteApplication ¶
func (mr *MockBackendMockRecorder) RemoteApplication(arg0 any) *gomock.Call
RemoteApplication indicates an expected call of RemoteApplication.
func (*MockBackendMockRecorder) RemovePendingResources ¶
func (mr *MockBackendMockRecorder) RemovePendingResources(arg0, arg1 any) *gomock.Call
RemovePendingResources indicates an expected call of RemovePendingResources.
func (*MockBackendMockRecorder) Resources ¶
func (mr *MockBackendMockRecorder) Resources() *gomock.Call
Resources indicates an expected call of Resources.
func (*MockBackendMockRecorder) SaveController ¶
func (mr *MockBackendMockRecorder) SaveController(arg0, arg1 any) *gomock.Call
SaveController indicates an expected call of SaveController.
func (*MockBackendMockRecorder) SaveEgressNetworks ¶
func (mr *MockBackendMockRecorder) SaveEgressNetworks(arg0, arg1 any) *gomock.Call
SaveEgressNetworks indicates an expected call of SaveEgressNetworks.
func (*MockBackendMockRecorder) Space ¶
func (mr *MockBackendMockRecorder) Space(arg0 any) *gomock.Call
Space indicates an expected call of Space.
func (*MockBackendMockRecorder) Unit ¶
func (mr *MockBackendMockRecorder) Unit(arg0 any) *gomock.Call
Unit indicates an expected call of Unit.
func (*MockBackendMockRecorder) UnitsInError ¶
func (mr *MockBackendMockRecorder) UnitsInError() *gomock.Call
UnitsInError indicates an expected call of UnitsInError.
func (*MockBackendMockRecorder) UpdateUploadedCharm ¶
func (mr *MockBackendMockRecorder) UpdateUploadedCharm(arg0 any) *gomock.Call
UpdateUploadedCharm indicates an expected call of UpdateUploadedCharm.
type MockBindings ¶
type MockBindings struct {
// contains filtered or unexported fields
}
MockBindings is a mock of Bindings interface.
func NewMockBindings ¶
func NewMockBindings(ctrl *gomock.Controller) *MockBindings
NewMockBindings creates a new mock instance.
func (*MockBindings) EXPECT ¶
func (m *MockBindings) EXPECT() *MockBindingsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBindings) MapWithSpaceNames ¶
func (m *MockBindings) MapWithSpaceNames(arg0 network.SpaceInfos) (map[string]string, error)
MapWithSpaceNames mocks base method.
type MockBindingsMockRecorder ¶
type MockBindingsMockRecorder struct {
// contains filtered or unexported fields
}
MockBindingsMockRecorder is the mock recorder for MockBindings.
func (*MockBindingsMockRecorder) Map ¶
func (mr *MockBindingsMockRecorder) Map() *gomock.Call
Map indicates an expected call of Map.
func (*MockBindingsMockRecorder) MapWithSpaceNames ¶
func (mr *MockBindingsMockRecorder) MapWithSpaceNames(arg0 any) *gomock.Call
MapWithSpaceNames indicates an expected call of MapWithSpaceNames.
type MockBlockChecker ¶
type MockBlockChecker struct {
// contains filtered or unexported fields
}
MockBlockChecker is a mock of BlockChecker interface.
func NewMockBlockChecker ¶
func NewMockBlockChecker(ctrl *gomock.Controller) *MockBlockChecker
NewMockBlockChecker creates a new mock instance.
func (*MockBlockChecker) ChangeAllowed ¶
func (m *MockBlockChecker) ChangeAllowed() error
ChangeAllowed mocks base method.
func (*MockBlockChecker) EXPECT ¶
func (m *MockBlockChecker) EXPECT() *MockBlockCheckerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBlockChecker) RemoveAllowed ¶
func (m *MockBlockChecker) RemoveAllowed() error
RemoveAllowed mocks base method.
type MockBlockCheckerMockRecorder ¶
type MockBlockCheckerMockRecorder struct {
// contains filtered or unexported fields
}
MockBlockCheckerMockRecorder is the mock recorder for MockBlockChecker.
func (*MockBlockCheckerMockRecorder) ChangeAllowed ¶
func (mr *MockBlockCheckerMockRecorder) ChangeAllowed() *gomock.Call
ChangeAllowed indicates an expected call of ChangeAllowed.
func (*MockBlockCheckerMockRecorder) RemoveAllowed ¶
func (mr *MockBlockCheckerMockRecorder) RemoveAllowed() *gomock.Call
RemoveAllowed indicates an expected call of RemoveAllowed.
type MockCaasBrokerInterface ¶
type MockCaasBrokerInterface struct {
// contains filtered or unexported fields
}
MockCaasBrokerInterface is a mock of CaasBrokerInterface interface.
func NewMockCaasBrokerInterface ¶
func NewMockCaasBrokerInterface(ctrl *gomock.Controller) *MockCaasBrokerInterface
NewMockCaasBrokerInterface creates a new mock instance.
func (*MockCaasBrokerInterface) EXPECT ¶
func (m *MockCaasBrokerInterface) EXPECT() *MockCaasBrokerInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCaasBrokerInterface) ValidateStorageClass ¶
func (m *MockCaasBrokerInterface) ValidateStorageClass(arg0 map[string]any) error
ValidateStorageClass mocks base method.
type MockCaasBrokerInterfaceMockRecorder ¶
type MockCaasBrokerInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockCaasBrokerInterfaceMockRecorder is the mock recorder for MockCaasBrokerInterface.
func (*MockCaasBrokerInterfaceMockRecorder) ValidateStorageClass ¶
func (mr *MockCaasBrokerInterfaceMockRecorder) ValidateStorageClass(arg0 any) *gomock.Call
ValidateStorageClass indicates an expected call of ValidateStorageClass.
func (*MockCaasBrokerInterfaceMockRecorder) Version ¶
func (mr *MockCaasBrokerInterfaceMockRecorder) Version() *gomock.Call
Version indicates an expected call of Version.
type MockCharm ¶
type MockCharm struct {
// contains filtered or unexported fields
}
MockCharm is a mock of Charm interface.
func NewMockCharm ¶
func NewMockCharm(ctrl *gomock.Controller) *MockCharm
NewMockCharm creates a new mock instance.
func (*MockCharm) EXPECT ¶
func (m *MockCharm) EXPECT() *MockCharmMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockCharmMockRecorder ¶
type MockCharmMockRecorder struct {
// contains filtered or unexported fields
}
MockCharmMockRecorder is the mock recorder for MockCharm.
func (*MockCharmMockRecorder) Actions ¶
func (mr *MockCharmMockRecorder) Actions() *gomock.Call
Actions indicates an expected call of Actions.
func (*MockCharmMockRecorder) Config ¶
func (mr *MockCharmMockRecorder) Config() *gomock.Call
Config indicates an expected call of Config.
func (*MockCharmMockRecorder) IsUploaded ¶
func (mr *MockCharmMockRecorder) IsUploaded() *gomock.Call
IsUploaded indicates an expected call of IsUploaded.
func (*MockCharmMockRecorder) Manifest ¶
func (mr *MockCharmMockRecorder) Manifest() *gomock.Call
Manifest indicates an expected call of Manifest.
func (*MockCharmMockRecorder) Meta ¶
func (mr *MockCharmMockRecorder) Meta() *gomock.Call
Meta indicates an expected call of Meta.
func (*MockCharmMockRecorder) Metrics ¶
func (mr *MockCharmMockRecorder) Metrics() *gomock.Call
Metrics indicates an expected call of Metrics.
func (*MockCharmMockRecorder) Revision ¶
func (mr *MockCharmMockRecorder) Revision() *gomock.Call
Revision indicates an expected call of Revision.
type MockCloudContainer ¶
type MockCloudContainer struct {
// contains filtered or unexported fields
}
MockCloudContainer is a mock of CloudContainer interface.
func NewMockCloudContainer ¶
func NewMockCloudContainer(ctrl *gomock.Controller) *MockCloudContainer
NewMockCloudContainer creates a new mock instance.
func (*MockCloudContainer) Address ¶
func (m *MockCloudContainer) Address() *network.SpaceAddress
Address mocks base method.
func (*MockCloudContainer) EXPECT ¶
func (m *MockCloudContainer) EXPECT() *MockCloudContainerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCloudContainer) Ports ¶
func (m *MockCloudContainer) Ports() []string
Ports mocks base method.
func (*MockCloudContainer) ProviderId ¶
func (m *MockCloudContainer) ProviderId() string
ProviderId mocks base method.
func (*MockCloudContainer) Unit ¶
func (m *MockCloudContainer) Unit() string
Unit mocks base method.
type MockCloudContainerMockRecorder ¶
type MockCloudContainerMockRecorder struct {
// contains filtered or unexported fields
}
MockCloudContainerMockRecorder is the mock recorder for MockCloudContainer.
func (*MockCloudContainerMockRecorder) Address ¶
func (mr *MockCloudContainerMockRecorder) Address() *gomock.Call
Address indicates an expected call of Address.
func (*MockCloudContainerMockRecorder) Ports ¶
func (mr *MockCloudContainerMockRecorder) Ports() *gomock.Call
Ports indicates an expected call of Ports.
func (*MockCloudContainerMockRecorder) ProviderId ¶
func (mr *MockCloudContainerMockRecorder) ProviderId() *gomock.Call
ProviderId indicates an expected call of ProviderId.
func (*MockCloudContainerMockRecorder) Unit ¶
func (mr *MockCloudContainerMockRecorder) Unit() *gomock.Call
Unit indicates an expected call of Unit.
type MockGeneration ¶
type MockGeneration struct {
// contains filtered or unexported fields
}
MockGeneration is a mock of Generation interface.
func NewMockGeneration ¶
func NewMockGeneration(ctrl *gomock.Controller) *MockGeneration
NewMockGeneration creates a new mock instance.
func (*MockGeneration) AssignApplication ¶
func (m *MockGeneration) AssignApplication(arg0 string) error
AssignApplication mocks base method.
func (*MockGeneration) EXPECT ¶
func (m *MockGeneration) EXPECT() *MockGenerationMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockGenerationMockRecorder ¶
type MockGenerationMockRecorder struct {
// contains filtered or unexported fields
}
MockGenerationMockRecorder is the mock recorder for MockGeneration.
func (*MockGenerationMockRecorder) AssignApplication ¶
func (mr *MockGenerationMockRecorder) AssignApplication(arg0 any) *gomock.Call
AssignApplication indicates an expected call of AssignApplication.
type MockLXDProfiler ¶
type MockLXDProfiler struct {
// contains filtered or unexported fields
}
MockLXDProfiler is a mock of LXDProfiler interface.
func NewMockLXDProfiler ¶
func NewMockLXDProfiler(ctrl *gomock.Controller) *MockLXDProfiler
NewMockLXDProfiler creates a new mock instance.
func (*MockLXDProfiler) EXPECT ¶
func (m *MockLXDProfiler) EXPECT() *MockLXDProfilerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLXDProfiler) LXDProfile ¶
func (m *MockLXDProfiler) LXDProfile() *charm.LXDProfile
LXDProfile mocks base method.
type MockLXDProfilerMockRecorder ¶
type MockLXDProfilerMockRecorder struct {
// contains filtered or unexported fields
}
MockLXDProfilerMockRecorder is the mock recorder for MockLXDProfiler.
func (*MockLXDProfilerMockRecorder) LXDProfile ¶
func (mr *MockLXDProfilerMockRecorder) LXDProfile() *gomock.Call
LXDProfile indicates an expected call of LXDProfile.
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) EXPECT ¶
func (m *MockMachine) EXPECT() *MockMachineMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMachine) HardwareCharacteristics ¶
func (m *MockMachine) HardwareCharacteristics() (*instance.HardwareCharacteristics, error)
HardwareCharacteristics mocks base method.
func (*MockMachine) IsLockedForSeriesUpgrade ¶
func (m *MockMachine) IsLockedForSeriesUpgrade() (bool, error)
IsLockedForSeriesUpgrade mocks base method.
func (*MockMachine) IsParentLockedForSeriesUpgrade ¶
func (m *MockMachine) IsParentLockedForSeriesUpgrade() (bool, error)
IsParentLockedForSeriesUpgrade mocks base method.
func (*MockMachine) PublicAddress ¶
func (m *MockMachine) PublicAddress() (network.SpaceAddress, error)
PublicAddress mocks base method.
type MockMachineMockRecorder ¶
type MockMachineMockRecorder struct {
// contains filtered or unexported fields
}
MockMachineMockRecorder is the mock recorder for MockMachine.
func (*MockMachineMockRecorder) Base ¶
func (mr *MockMachineMockRecorder) Base() *gomock.Call
Base indicates an expected call of Base.
func (*MockMachineMockRecorder) HardwareCharacteristics ¶
func (mr *MockMachineMockRecorder) HardwareCharacteristics() *gomock.Call
HardwareCharacteristics indicates an expected call of HardwareCharacteristics.
func (*MockMachineMockRecorder) Id ¶
func (mr *MockMachineMockRecorder) Id() *gomock.Call
Id indicates an expected call of Id.
func (*MockMachineMockRecorder) IsLockedForSeriesUpgrade ¶
func (mr *MockMachineMockRecorder) IsLockedForSeriesUpgrade() *gomock.Call
IsLockedForSeriesUpgrade indicates an expected call of IsLockedForSeriesUpgrade.
func (*MockMachineMockRecorder) IsParentLockedForSeriesUpgrade ¶
func (mr *MockMachineMockRecorder) IsParentLockedForSeriesUpgrade() *gomock.Call
IsParentLockedForSeriesUpgrade indicates an expected call of IsParentLockedForSeriesUpgrade.
func (*MockMachineMockRecorder) PublicAddress ¶
func (mr *MockMachineMockRecorder) PublicAddress() *gomock.Call
PublicAddress indicates an expected call of PublicAddress.
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]state.UnitPortRanges
ByUnit mocks base method.
func (*MockMachinePortRanges) Changes ¶
func (m *MockMachinePortRanges) Changes() state.ModelOperation
Changes mocks base method.
func (*MockMachinePortRanges) EXPECT ¶
func (m *MockMachinePortRanges) EXPECT() *MockMachinePortRangesMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMachinePortRanges) ForUnit ¶
func (m *MockMachinePortRanges) ForUnit(arg0 string) state.UnitPortRanges
ForUnit mocks base method.
func (*MockMachinePortRanges) MachineID ¶
func (m *MockMachinePortRanges) MachineID() string
MachineID mocks base method.
func (*MockMachinePortRanges) UniquePortRanges ¶
func (m *MockMachinePortRanges) UniquePortRanges() []network.PortRange
UniquePortRanges mocks base method.
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.
func (*MockMachinePortRangesMockRecorder) Changes ¶
func (mr *MockMachinePortRangesMockRecorder) Changes() *gomock.Call
Changes indicates an expected call of Changes.
func (*MockMachinePortRangesMockRecorder) ForUnit ¶
func (mr *MockMachinePortRangesMockRecorder) ForUnit(arg0 any) *gomock.Call
ForUnit indicates an expected call of ForUnit.
func (*MockMachinePortRangesMockRecorder) MachineID ¶
func (mr *MockMachinePortRangesMockRecorder) MachineID() *gomock.Call
MachineID indicates an expected call of MachineID.
func (*MockMachinePortRangesMockRecorder) UniquePortRanges ¶
func (mr *MockMachinePortRangesMockRecorder) UniquePortRanges() *gomock.Call
UniquePortRanges indicates an expected call of UniquePortRanges.
type MockModel ¶
type MockModel struct {
// contains filtered or unexported fields
}
MockModel is a mock of Model interface.
func NewMockModel ¶
func NewMockModel(ctrl *gomock.Controller) *MockModel
NewMockModel creates a new mock instance.
func (*MockModel) AgentVersion ¶
AgentVersion mocks base method.
func (*MockModel) CloudCredential ¶
func (m *MockModel) CloudCredential() (state.Credential, bool, error)
CloudCredential mocks base method.
func (*MockModel) CloudRegion ¶
CloudRegion mocks base method.
func (*MockModel) ControllerUUID ¶
ControllerUUID mocks base method.
func (*MockModel) EXPECT ¶
func (m *MockModel) EXPECT() *MockModelMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockModel) ModelConfig ¶
ModelConfig mocks base method.
func (*MockModel) OpenedPortRangesForMachine ¶
func (m *MockModel) OpenedPortRangesForMachine(arg0 string) (state.MachinePortRanges, error)
OpenedPortRangesForMachine mocks base method.
type MockModelMockRecorder ¶
type MockModelMockRecorder struct {
// contains filtered or unexported fields
}
MockModelMockRecorder is the mock recorder for MockModel.
func (*MockModelMockRecorder) AgentVersion ¶
func (mr *MockModelMockRecorder) AgentVersion() *gomock.Call
AgentVersion indicates an expected call of AgentVersion.
func (*MockModelMockRecorder) Cloud ¶
func (mr *MockModelMockRecorder) Cloud() *gomock.Call
Cloud indicates an expected call of Cloud.
func (*MockModelMockRecorder) CloudCredential ¶
func (mr *MockModelMockRecorder) CloudCredential() *gomock.Call
CloudCredential indicates an expected call of CloudCredential.
func (*MockModelMockRecorder) CloudName ¶
func (mr *MockModelMockRecorder) CloudName() *gomock.Call
CloudName indicates an expected call of CloudName.
func (*MockModelMockRecorder) CloudRegion ¶
func (mr *MockModelMockRecorder) CloudRegion() *gomock.Call
CloudRegion indicates an expected call of CloudRegion.
func (*MockModelMockRecorder) Config ¶
func (mr *MockModelMockRecorder) Config() *gomock.Call
Config indicates an expected call of Config.
func (*MockModelMockRecorder) ControllerUUID ¶
func (mr *MockModelMockRecorder) ControllerUUID() *gomock.Call
ControllerUUID indicates an expected call of ControllerUUID.
func (*MockModelMockRecorder) ModelConfig ¶
func (mr *MockModelMockRecorder) ModelConfig() *gomock.Call
ModelConfig indicates an expected call of ModelConfig.
func (*MockModelMockRecorder) ModelTag ¶
func (mr *MockModelMockRecorder) ModelTag() *gomock.Call
ModelTag indicates an expected call of ModelTag.
func (*MockModelMockRecorder) Name ¶
func (mr *MockModelMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockModelMockRecorder) OpenedPortRangesForMachine ¶
func (mr *MockModelMockRecorder) OpenedPortRangesForMachine(arg0 any) *gomock.Call
OpenedPortRangesForMachine indicates an expected call of OpenedPortRangesForMachine.
func (*MockModelMockRecorder) Owner ¶
func (mr *MockModelMockRecorder) Owner() *gomock.Call
Owner indicates an expected call of Owner.
func (*MockModelMockRecorder) Tag ¶
func (mr *MockModelMockRecorder) Tag() *gomock.Call
Tag indicates an expected call of Tag.
func (*MockModelMockRecorder) Type ¶
func (mr *MockModelMockRecorder) Type() *gomock.Call
Type indicates an expected call of Type.
func (*MockModelMockRecorder) UUID ¶
func (mr *MockModelMockRecorder) UUID() *gomock.Call
UUID indicates an expected call of UUID.
type MockOfferConnection ¶
type MockOfferConnection struct {
// contains filtered or unexported fields
}
MockOfferConnection is a mock of OfferConnection interface.
func NewMockOfferConnection ¶
func NewMockOfferConnection(ctrl *gomock.Controller) *MockOfferConnection
NewMockOfferConnection creates a new mock instance.
func (*MockOfferConnection) EXPECT ¶
func (m *MockOfferConnection) EXPECT() *MockOfferConnectionMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockOfferConnection) OfferUUID ¶
func (m *MockOfferConnection) OfferUUID() string
OfferUUID mocks base method.
func (*MockOfferConnection) UserName ¶
func (m *MockOfferConnection) UserName() string
UserName mocks base method.
type MockOfferConnectionMockRecorder ¶
type MockOfferConnectionMockRecorder struct {
// contains filtered or unexported fields
}
MockOfferConnectionMockRecorder is the mock recorder for MockOfferConnection.
func (*MockOfferConnectionMockRecorder) OfferUUID ¶
func (mr *MockOfferConnectionMockRecorder) OfferUUID() *gomock.Call
OfferUUID indicates an expected call of OfferUUID.
func (*MockOfferConnectionMockRecorder) UserName ¶
func (mr *MockOfferConnectionMockRecorder) UserName() *gomock.Call
UserName indicates an expected call of UserName.
type MockPoolManager ¶
type MockPoolManager struct {
// contains filtered or unexported fields
}
MockPoolManager is a mock of PoolManager interface.
func NewMockPoolManager ¶
func NewMockPoolManager(ctrl *gomock.Controller) *MockPoolManager
NewMockPoolManager creates a new mock instance.
func (*MockPoolManager) Create ¶
func (m *MockPoolManager) Create(arg0 string, arg1 storage.ProviderType, arg2 map[string]any) (*storage.Config, error)
Create mocks base method.
func (*MockPoolManager) Delete ¶
func (m *MockPoolManager) Delete(arg0 string) error
Delete mocks base method.
func (*MockPoolManager) EXPECT ¶
func (m *MockPoolManager) EXPECT() *MockPoolManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPoolManager) Get ¶
func (m *MockPoolManager) Get(arg0 string) (*storage.Config, error)
Get mocks base method.
type MockPoolManagerMockRecorder ¶
type MockPoolManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockPoolManagerMockRecorder is the mock recorder for MockPoolManager.
func (*MockPoolManagerMockRecorder) Create ¶
func (mr *MockPoolManagerMockRecorder) Create(arg0, arg1, arg2 any) *gomock.Call
Create indicates an expected call of Create.
func (*MockPoolManagerMockRecorder) Delete ¶
func (mr *MockPoolManagerMockRecorder) Delete(arg0 any) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockPoolManagerMockRecorder) Get ¶
func (mr *MockPoolManagerMockRecorder) Get(arg0 any) *gomock.Call
Get indicates an expected call of Get.
func (*MockPoolManagerMockRecorder) List ¶
func (mr *MockPoolManagerMockRecorder) List() *gomock.Call
List indicates an expected call of List.
type MockProviderRegistry ¶
type MockProviderRegistry struct {
// contains filtered or unexported fields
}
MockProviderRegistry is a mock of ProviderRegistry interface.
func NewMockProviderRegistry ¶
func NewMockProviderRegistry(ctrl *gomock.Controller) *MockProviderRegistry
NewMockProviderRegistry creates a new mock instance.
func (*MockProviderRegistry) EXPECT ¶
func (m *MockProviderRegistry) EXPECT() *MockProviderRegistryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProviderRegistry) StorageProvider ¶
func (m *MockProviderRegistry) StorageProvider(arg0 storage.ProviderType) (storage.Provider, error)
StorageProvider mocks base method.
func (*MockProviderRegistry) StorageProviderTypes ¶
func (m *MockProviderRegistry) StorageProviderTypes() ([]storage.ProviderType, error)
StorageProviderTypes mocks base method.
type MockProviderRegistryMockRecorder ¶
type MockProviderRegistryMockRecorder struct {
// contains filtered or unexported fields
}
MockProviderRegistryMockRecorder is the mock recorder for MockProviderRegistry.
func (*MockProviderRegistryMockRecorder) StorageProvider ¶
func (mr *MockProviderRegistryMockRecorder) StorageProvider(arg0 any) *gomock.Call
StorageProvider indicates an expected call of StorageProvider.
func (*MockProviderRegistryMockRecorder) StorageProviderTypes ¶
func (mr *MockProviderRegistryMockRecorder) StorageProviderTypes() *gomock.Call
StorageProviderTypes indicates an expected call of StorageProviderTypes.
type MockReader ¶
type MockReader struct {
// contains filtered or unexported fields
}
MockReader is a mock of Reader interface.
func NewMockReader ¶
func NewMockReader(ctrl *gomock.Controller) *MockReader
NewMockReader creates a new mock instance.
func (*MockReader) EXPECT ¶
func (m *MockReader) EXPECT() *MockReaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockReaderMockRecorder ¶
type MockReaderMockRecorder struct {
// contains filtered or unexported fields
}
MockReaderMockRecorder is the mock recorder for MockReader.
func (*MockReaderMockRecorder) Leaders ¶
func (mr *MockReaderMockRecorder) Leaders() *gomock.Call
Leaders indicates an expected call of Leaders.
type MockRelation ¶
type MockRelation struct {
// contains filtered or unexported fields
}
MockRelation is a mock of Relation interface.
func NewMockRelation ¶
func NewMockRelation(ctrl *gomock.Controller) *MockRelation
NewMockRelation creates a new mock instance.
func (*MockRelation) AllRemoteUnits ¶
func (m *MockRelation) AllRemoteUnits(arg0 string) ([]application.RelationUnit, error)
AllRemoteUnits mocks base method.
func (*MockRelation) ApplicationSettings ¶
func (m *MockRelation) ApplicationSettings(arg0 string) (map[string]any, error)
ApplicationSettings mocks base method.
func (*MockRelation) DestroyWithForce ¶
DestroyWithForce mocks base method.
func (*MockRelation) EXPECT ¶
func (m *MockRelation) EXPECT() *MockRelationMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRelation) Endpoint ¶
func (m *MockRelation) Endpoint(arg0 string) (state.Endpoint, error)
Endpoint mocks base method.
func (*MockRelation) Endpoints ¶
func (m *MockRelation) Endpoints() []state.Endpoint
Endpoints mocks base method.
func (*MockRelation) RelatedEndpoints ¶
func (m *MockRelation) RelatedEndpoints(arg0 string) ([]state.Endpoint, error)
RelatedEndpoints mocks base method.
func (*MockRelation) SetStatus ¶
func (m *MockRelation) SetStatus(arg0 status.StatusInfo) error
SetStatus mocks base method.
func (*MockRelation) SetSuspended ¶
func (m *MockRelation) SetSuspended(arg0 bool, arg1 string) error
SetSuspended mocks base method.
func (*MockRelation) Suspended ¶
func (m *MockRelation) Suspended() bool
Suspended mocks base method.
func (*MockRelation) SuspendedReason ¶
func (m *MockRelation) SuspendedReason() string
SuspendedReason mocks base method.
func (*MockRelation) Unit ¶
func (m *MockRelation) Unit(arg0 string) (application.RelationUnit, error)
Unit mocks base method.
type MockRelationMockRecorder ¶
type MockRelationMockRecorder struct {
// contains filtered or unexported fields
}
MockRelationMockRecorder is the mock recorder for MockRelation.
func (*MockRelationMockRecorder) AllRemoteUnits ¶
func (mr *MockRelationMockRecorder) AllRemoteUnits(arg0 any) *gomock.Call
AllRemoteUnits indicates an expected call of AllRemoteUnits.
func (*MockRelationMockRecorder) ApplicationSettings ¶
func (mr *MockRelationMockRecorder) ApplicationSettings(arg0 any) *gomock.Call
ApplicationSettings indicates an expected call of ApplicationSettings.
func (*MockRelationMockRecorder) Destroy ¶
func (mr *MockRelationMockRecorder) Destroy() *gomock.Call
Destroy indicates an expected call of Destroy.
func (*MockRelationMockRecorder) DestroyWithForce ¶
func (mr *MockRelationMockRecorder) DestroyWithForce(arg0, arg1 any) *gomock.Call
DestroyWithForce indicates an expected call of DestroyWithForce.
func (*MockRelationMockRecorder) Endpoint ¶
func (mr *MockRelationMockRecorder) Endpoint(arg0 any) *gomock.Call
Endpoint indicates an expected call of Endpoint.
func (*MockRelationMockRecorder) Endpoints ¶
func (mr *MockRelationMockRecorder) Endpoints() *gomock.Call
Endpoints indicates an expected call of Endpoints.
func (*MockRelationMockRecorder) Id ¶
func (mr *MockRelationMockRecorder) Id() *gomock.Call
Id indicates an expected call of Id.
func (*MockRelationMockRecorder) RelatedEndpoints ¶
func (mr *MockRelationMockRecorder) RelatedEndpoints(arg0 any) *gomock.Call
RelatedEndpoints indicates an expected call of RelatedEndpoints.
func (*MockRelationMockRecorder) SetStatus ¶
func (mr *MockRelationMockRecorder) SetStatus(arg0 any) *gomock.Call
SetStatus indicates an expected call of SetStatus.
func (*MockRelationMockRecorder) SetSuspended ¶
func (mr *MockRelationMockRecorder) SetSuspended(arg0, arg1 any) *gomock.Call
SetSuspended indicates an expected call of SetSuspended.
func (*MockRelationMockRecorder) Suspended ¶
func (mr *MockRelationMockRecorder) Suspended() *gomock.Call
Suspended indicates an expected call of Suspended.
func (*MockRelationMockRecorder) SuspendedReason ¶
func (mr *MockRelationMockRecorder) SuspendedReason() *gomock.Call
SuspendedReason indicates an expected call of SuspendedReason.
func (*MockRelationMockRecorder) Tag ¶
func (mr *MockRelationMockRecorder) Tag() *gomock.Call
Tag indicates an expected call of Tag.
type MockRelationUnit ¶
type MockRelationUnit struct {
// contains filtered or unexported fields
}
MockRelationUnit is a mock of RelationUnit interface.
func NewMockRelationUnit ¶
func NewMockRelationUnit(ctrl *gomock.Controller) *MockRelationUnit
NewMockRelationUnit creates a new mock instance.
func (*MockRelationUnit) EXPECT ¶
func (m *MockRelationUnit) EXPECT() *MockRelationUnitMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRelationUnit) InScope ¶
func (m *MockRelationUnit) InScope() (bool, error)
InScope mocks base method.
func (*MockRelationUnit) Settings ¶
func (m *MockRelationUnit) Settings() (map[string]any, error)
Settings mocks base method.
func (*MockRelationUnit) UnitName ¶
func (m *MockRelationUnit) UnitName() string
UnitName mocks base method.
type MockRelationUnitMockRecorder ¶
type MockRelationUnitMockRecorder struct {
// contains filtered or unexported fields
}
MockRelationUnitMockRecorder is the mock recorder for MockRelationUnit.
func (*MockRelationUnitMockRecorder) InScope ¶
func (mr *MockRelationUnitMockRecorder) InScope() *gomock.Call
InScope indicates an expected call of InScope.
func (*MockRelationUnitMockRecorder) Settings ¶
func (mr *MockRelationUnitMockRecorder) Settings() *gomock.Call
Settings indicates an expected call of Settings.
func (*MockRelationUnitMockRecorder) UnitName ¶
func (mr *MockRelationUnitMockRecorder) UnitName() *gomock.Call
UnitName indicates an expected call of UnitName.
type MockRemoteApplication ¶
type MockRemoteApplication struct {
// contains filtered or unexported fields
}
MockRemoteApplication is a mock of RemoteApplication interface.
func NewMockRemoteApplication ¶
func NewMockRemoteApplication(ctrl *gomock.Controller) *MockRemoteApplication
NewMockRemoteApplication creates a new mock instance.
func (*MockRemoteApplication) AddEndpoints ¶
func (m *MockRemoteApplication) AddEndpoints(arg0 []charm.Relation) error
AddEndpoints mocks base method.
func (*MockRemoteApplication) Bindings ¶
func (m *MockRemoteApplication) Bindings() map[string]string
Bindings mocks base method.
func (*MockRemoteApplication) Destroy ¶
func (m *MockRemoteApplication) Destroy() error
Destroy mocks base method.
func (*MockRemoteApplication) DestroyOperation ¶
func (m *MockRemoteApplication) DestroyOperation(arg0 bool) *state.DestroyRemoteApplicationOperation
DestroyOperation mocks base method.
func (*MockRemoteApplication) EXPECT ¶
func (m *MockRemoteApplication) EXPECT() *MockRemoteApplicationMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRemoteApplication) Endpoints ¶
func (m *MockRemoteApplication) Endpoints() ([]state.Endpoint, error)
Endpoints mocks base method.
func (*MockRemoteApplication) Life ¶
func (m *MockRemoteApplication) Life() state.Life
Life mocks base method.
func (*MockRemoteApplication) Name ¶
func (m *MockRemoteApplication) Name() string
Name mocks base method.
func (*MockRemoteApplication) SourceModel ¶
func (m *MockRemoteApplication) SourceModel() names.ModelTag
SourceModel mocks base method.
func (*MockRemoteApplication) Spaces ¶
func (m *MockRemoteApplication) Spaces() []state.RemoteSpace
Spaces mocks base method.
func (*MockRemoteApplication) Status ¶
func (m *MockRemoteApplication) Status() (status.StatusInfo, error)
Status mocks base method.
type MockRemoteApplicationMockRecorder ¶
type MockRemoteApplicationMockRecorder struct {
// contains filtered or unexported fields
}
MockRemoteApplicationMockRecorder is the mock recorder for MockRemoteApplication.
func (*MockRemoteApplicationMockRecorder) AddEndpoints ¶
func (mr *MockRemoteApplicationMockRecorder) AddEndpoints(arg0 any) *gomock.Call
AddEndpoints indicates an expected call of AddEndpoints.
func (*MockRemoteApplicationMockRecorder) Bindings ¶
func (mr *MockRemoteApplicationMockRecorder) Bindings() *gomock.Call
Bindings indicates an expected call of Bindings.
func (*MockRemoteApplicationMockRecorder) Destroy ¶
func (mr *MockRemoteApplicationMockRecorder) Destroy() *gomock.Call
Destroy indicates an expected call of Destroy.
func (*MockRemoteApplicationMockRecorder) DestroyOperation ¶
func (mr *MockRemoteApplicationMockRecorder) DestroyOperation(arg0 any) *gomock.Call
DestroyOperation indicates an expected call of DestroyOperation.
func (*MockRemoteApplicationMockRecorder) Endpoints ¶
func (mr *MockRemoteApplicationMockRecorder) Endpoints() *gomock.Call
Endpoints indicates an expected call of Endpoints.
func (*MockRemoteApplicationMockRecorder) Life ¶
func (mr *MockRemoteApplicationMockRecorder) Life() *gomock.Call
Life indicates an expected call of Life.
func (*MockRemoteApplicationMockRecorder) Name ¶
func (mr *MockRemoteApplicationMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockRemoteApplicationMockRecorder) SourceModel ¶
func (mr *MockRemoteApplicationMockRecorder) SourceModel() *gomock.Call
SourceModel indicates an expected call of SourceModel.
func (*MockRemoteApplicationMockRecorder) Spaces ¶
func (mr *MockRemoteApplicationMockRecorder) Spaces() *gomock.Call
Spaces indicates an expected call of Spaces.
func (*MockRemoteApplicationMockRecorder) Status ¶
func (mr *MockRemoteApplicationMockRecorder) Status() *gomock.Call
Status indicates an expected call of Status.
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) EXPECT ¶
func (m *MockResources) EXPECT() *MockResourcesMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockResources) RemovePendingAppResources ¶
func (m *MockResources) RemovePendingAppResources(arg0 string, arg1 map[string]string) error
RemovePendingAppResources mocks base method.
type MockResourcesMockRecorder ¶
type MockResourcesMockRecorder struct {
// contains filtered or unexported fields
}
MockResourcesMockRecorder is the mock recorder for MockResources.
func (*MockResourcesMockRecorder) RemovePendingAppResources ¶
func (mr *MockResourcesMockRecorder) RemovePendingAppResources(arg0, arg1 any) *gomock.Call
RemovePendingAppResources indicates an expected call of RemovePendingAppResources.
type MockSecretsStore ¶
type MockSecretsStore struct {
// contains filtered or unexported fields
}
MockSecretsStore is a mock of SecretsStore interface.
func NewMockSecretsStore ¶
func NewMockSecretsStore(ctrl *gomock.Controller) *MockSecretsStore
NewMockSecretsStore creates a new mock instance.
func (*MockSecretsStore) ChangeSecretBackend ¶
func (m *MockSecretsStore) ChangeSecretBackend(arg0 state.ChangeSecretBackendParams) error
ChangeSecretBackend mocks base method.
func (*MockSecretsStore) CreateSecret ¶
func (m *MockSecretsStore) CreateSecret(arg0 *secrets.URI, arg1 state.CreateSecretParams) (*secrets.SecretMetadata, error)
CreateSecret mocks base method.
func (*MockSecretsStore) DeleteSecret ¶
DeleteSecret mocks base method.
func (*MockSecretsStore) EXPECT ¶
func (m *MockSecretsStore) EXPECT() *MockSecretsStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSecretsStore) GetSecret ¶
func (m *MockSecretsStore) GetSecret(arg0 *secrets.URI) (*secrets.SecretMetadata, error)
GetSecret mocks base method.
func (*MockSecretsStore) GetSecretRevision ¶
func (m *MockSecretsStore) GetSecretRevision(arg0 *secrets.URI, arg1 int) (*secrets.SecretRevisionMetadata, error)
GetSecretRevision mocks base method.
func (*MockSecretsStore) GetSecretValue ¶
func (m *MockSecretsStore) GetSecretValue(arg0 *secrets.URI, arg1 int) (secrets.SecretValue, *secrets.ValueRef, error)
GetSecretValue mocks base method.
func (*MockSecretsStore) ListModelSecrets ¶
ListModelSecrets mocks base method.
func (*MockSecretsStore) ListSecretRevisions ¶
func (m *MockSecretsStore) ListSecretRevisions(arg0 *secrets.URI) ([]*secrets.SecretRevisionMetadata, error)
ListSecretRevisions mocks base method.
func (*MockSecretsStore) ListSecrets ¶
func (m *MockSecretsStore) ListSecrets(arg0 state.SecretsFilter) ([]*secrets.SecretMetadata, error)
ListSecrets mocks base method.
func (*MockSecretsStore) ListUnusedSecretRevisions ¶
func (m *MockSecretsStore) ListUnusedSecretRevisions(arg0 *secrets.URI) ([]int, error)
ListUnusedSecretRevisions mocks base method.
func (*MockSecretsStore) SecretGrants ¶
func (m *MockSecretsStore) SecretGrants(arg0 *secrets.URI, arg1 secrets.SecretRole) ([]secrets.AccessInfo, error)
SecretGrants mocks base method.
func (*MockSecretsStore) UpdateSecret ¶
func (m *MockSecretsStore) UpdateSecret(arg0 *secrets.URI, arg1 state.UpdateSecretParams) (*secrets.SecretMetadata, error)
UpdateSecret mocks base method.
func (*MockSecretsStore) WatchObsolete ¶
func (m *MockSecretsStore) WatchObsolete(arg0 []names.Tag) (state.StringsWatcher, error)
WatchObsolete mocks base method.
func (*MockSecretsStore) WatchRevisionsToPrune ¶
func (m *MockSecretsStore) WatchRevisionsToPrune(arg0 []names.Tag) (state.StringsWatcher, error)
WatchRevisionsToPrune mocks base method.
type MockSecretsStoreMockRecorder ¶
type MockSecretsStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockSecretsStoreMockRecorder is the mock recorder for MockSecretsStore.
func (*MockSecretsStoreMockRecorder) ChangeSecretBackend ¶
func (mr *MockSecretsStoreMockRecorder) ChangeSecretBackend(arg0 any) *gomock.Call
ChangeSecretBackend indicates an expected call of ChangeSecretBackend.
func (*MockSecretsStoreMockRecorder) CreateSecret ¶
func (mr *MockSecretsStoreMockRecorder) CreateSecret(arg0, arg1 any) *gomock.Call
CreateSecret indicates an expected call of CreateSecret.
func (*MockSecretsStoreMockRecorder) DeleteSecret ¶
func (mr *MockSecretsStoreMockRecorder) DeleteSecret(arg0 any, arg1 ...any) *gomock.Call
DeleteSecret indicates an expected call of DeleteSecret.
func (*MockSecretsStoreMockRecorder) GetSecret ¶
func (mr *MockSecretsStoreMockRecorder) GetSecret(arg0 any) *gomock.Call
GetSecret indicates an expected call of GetSecret.
func (*MockSecretsStoreMockRecorder) GetSecretRevision ¶
func (mr *MockSecretsStoreMockRecorder) GetSecretRevision(arg0, arg1 any) *gomock.Call
GetSecretRevision indicates an expected call of GetSecretRevision.
func (*MockSecretsStoreMockRecorder) GetSecretValue ¶
func (mr *MockSecretsStoreMockRecorder) GetSecretValue(arg0, arg1 any) *gomock.Call
GetSecretValue indicates an expected call of GetSecretValue.
func (*MockSecretsStoreMockRecorder) ListModelSecrets ¶
func (mr *MockSecretsStoreMockRecorder) ListModelSecrets(arg0 any) *gomock.Call
ListModelSecrets indicates an expected call of ListModelSecrets.
func (*MockSecretsStoreMockRecorder) ListSecretRevisions ¶
func (mr *MockSecretsStoreMockRecorder) ListSecretRevisions(arg0 any) *gomock.Call
ListSecretRevisions indicates an expected call of ListSecretRevisions.
func (*MockSecretsStoreMockRecorder) ListSecrets ¶
func (mr *MockSecretsStoreMockRecorder) ListSecrets(arg0 any) *gomock.Call
ListSecrets indicates an expected call of ListSecrets.
func (*MockSecretsStoreMockRecorder) ListUnusedSecretRevisions ¶
func (mr *MockSecretsStoreMockRecorder) ListUnusedSecretRevisions(arg0 any) *gomock.Call
ListUnusedSecretRevisions indicates an expected call of ListUnusedSecretRevisions.
func (*MockSecretsStoreMockRecorder) SecretGrants ¶
func (mr *MockSecretsStoreMockRecorder) SecretGrants(arg0, arg1 any) *gomock.Call
SecretGrants indicates an expected call of SecretGrants.
func (*MockSecretsStoreMockRecorder) UpdateSecret ¶
func (mr *MockSecretsStoreMockRecorder) UpdateSecret(arg0, arg1 any) *gomock.Call
UpdateSecret indicates an expected call of UpdateSecret.
func (*MockSecretsStoreMockRecorder) WatchObsolete ¶
func (mr *MockSecretsStoreMockRecorder) WatchObsolete(arg0 any) *gomock.Call
WatchObsolete indicates an expected call of WatchObsolete.
func (*MockSecretsStoreMockRecorder) WatchRevisionsToPrune ¶
func (mr *MockSecretsStoreMockRecorder) WatchRevisionsToPrune(arg0 any) *gomock.Call
WatchRevisionsToPrune indicates an expected call of WatchRevisionsToPrune.
type MockStorage ¶
type MockStorage struct {
// contains filtered or unexported fields
}
MockStorage is a mock of Storage interface.
func NewMockStorage ¶
func NewMockStorage(ctrl *gomock.Controller) *MockStorage
NewMockStorage creates a new mock instance.
func (*MockStorage) EXPECT ¶
func (m *MockStorage) EXPECT() *MockStorageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStorage) Get ¶
func (m *MockStorage) Get(arg0 string) (io.ReadCloser, int64, error)
Get mocks base method.
func (*MockStorage) PutAndCheckHash ¶
PutAndCheckHash mocks base method.
func (*MockStorage) Remove ¶
func (m *MockStorage) Remove(arg0 string) error
Remove mocks base method.
type MockStorageAttachment ¶
type MockStorageAttachment struct {
// contains filtered or unexported fields
}
MockStorageAttachment is a mock of StorageAttachment interface.
func NewMockStorageAttachment ¶
func NewMockStorageAttachment(ctrl *gomock.Controller) *MockStorageAttachment
NewMockStorageAttachment creates a new mock instance.
func (*MockStorageAttachment) EXPECT ¶
func (m *MockStorageAttachment) EXPECT() *MockStorageAttachmentMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStorageAttachment) Life ¶
func (m *MockStorageAttachment) Life() state.Life
Life mocks base method.
func (*MockStorageAttachment) StorageInstance ¶
func (m *MockStorageAttachment) StorageInstance() names.StorageTag
StorageInstance mocks base method.
func (*MockStorageAttachment) Unit ¶
func (m *MockStorageAttachment) Unit() names.UnitTag
Unit mocks base method.
type MockStorageAttachmentMockRecorder ¶
type MockStorageAttachmentMockRecorder struct {
// contains filtered or unexported fields
}
MockStorageAttachmentMockRecorder is the mock recorder for MockStorageAttachment.
func (*MockStorageAttachmentMockRecorder) Life ¶
func (mr *MockStorageAttachmentMockRecorder) Life() *gomock.Call
Life indicates an expected call of Life.
func (*MockStorageAttachmentMockRecorder) StorageInstance ¶
func (mr *MockStorageAttachmentMockRecorder) StorageInstance() *gomock.Call
StorageInstance indicates an expected call of StorageInstance.
func (*MockStorageAttachmentMockRecorder) Unit ¶
func (mr *MockStorageAttachmentMockRecorder) Unit() *gomock.Call
Unit indicates an expected call of Unit.
type MockStorageInstance ¶
type MockStorageInstance struct {
// contains filtered or unexported fields
}
MockStorageInstance is a mock of StorageInstance interface.
func NewMockStorageInstance ¶
func NewMockStorageInstance(ctrl *gomock.Controller) *MockStorageInstance
NewMockStorageInstance creates a new mock instance.
func (*MockStorageInstance) EXPECT ¶
func (m *MockStorageInstance) EXPECT() *MockStorageInstanceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStorageInstance) Kind ¶
func (m *MockStorageInstance) Kind() state.StorageKind
Kind mocks base method.
func (*MockStorageInstance) Life ¶
func (m *MockStorageInstance) Life() state.Life
Life mocks base method.
func (*MockStorageInstance) Owner ¶
func (m *MockStorageInstance) Owner() (names.Tag, bool)
Owner mocks base method.
func (*MockStorageInstance) Pool ¶
func (m *MockStorageInstance) Pool() string
Pool mocks base method.
func (*MockStorageInstance) StorageName ¶
func (m *MockStorageInstance) StorageName() string
StorageName mocks base method.
func (*MockStorageInstance) StorageTag ¶
func (m *MockStorageInstance) StorageTag() names.StorageTag
StorageTag mocks base method.
func (*MockStorageInstance) Tag ¶
func (m *MockStorageInstance) Tag() names.Tag
Tag mocks base method.
type MockStorageInstanceMockRecorder ¶
type MockStorageInstanceMockRecorder struct {
// contains filtered or unexported fields
}
MockStorageInstanceMockRecorder is the mock recorder for MockStorageInstance.
func (*MockStorageInstanceMockRecorder) Kind ¶
func (mr *MockStorageInstanceMockRecorder) Kind() *gomock.Call
Kind indicates an expected call of Kind.
func (*MockStorageInstanceMockRecorder) Life ¶
func (mr *MockStorageInstanceMockRecorder) Life() *gomock.Call
Life indicates an expected call of Life.
func (*MockStorageInstanceMockRecorder) Owner ¶
func (mr *MockStorageInstanceMockRecorder) Owner() *gomock.Call
Owner indicates an expected call of Owner.
func (*MockStorageInstanceMockRecorder) Pool ¶
func (mr *MockStorageInstanceMockRecorder) Pool() *gomock.Call
Pool indicates an expected call of Pool.
func (*MockStorageInstanceMockRecorder) StorageName ¶
func (mr *MockStorageInstanceMockRecorder) StorageName() *gomock.Call
StorageName indicates an expected call of StorageName.
func (*MockStorageInstanceMockRecorder) StorageTag ¶
func (mr *MockStorageInstanceMockRecorder) StorageTag() *gomock.Call
StorageTag indicates an expected call of StorageTag.
func (*MockStorageInstanceMockRecorder) Tag ¶
func (mr *MockStorageInstanceMockRecorder) Tag() *gomock.Call
Tag indicates an expected call of Tag.
type MockStorageInterface ¶
type MockStorageInterface struct {
// contains filtered or unexported fields
}
MockStorageInterface is a mock of StorageInterface interface.
func NewMockStorageInterface ¶
func NewMockStorageInterface(ctrl *gomock.Controller) *MockStorageInterface
NewMockStorageInterface creates a new mock instance.
func (*MockStorageInterface) EXPECT ¶
func (m *MockStorageInterface) EXPECT() *MockStorageInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStorageInterface) FilesystemAccess ¶
func (m *MockStorageInterface) FilesystemAccess() storagecommon.FilesystemAccess
FilesystemAccess mocks base method.
func (*MockStorageInterface) StorageInstance ¶
func (m *MockStorageInterface) StorageInstance(arg0 names.StorageTag) (state.StorageInstance, error)
StorageInstance mocks base method.
func (*MockStorageInterface) UnitStorageAttachments ¶
func (m *MockStorageInterface) UnitStorageAttachments(arg0 names.UnitTag) ([]state.StorageAttachment, error)
UnitStorageAttachments mocks base method.
func (*MockStorageInterface) VolumeAccess ¶
func (m *MockStorageInterface) VolumeAccess() storagecommon.VolumeAccess
VolumeAccess mocks base method.
type MockStorageInterfaceMockRecorder ¶
type MockStorageInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockStorageInterfaceMockRecorder is the mock recorder for MockStorageInterface.
func (*MockStorageInterfaceMockRecorder) FilesystemAccess ¶
func (mr *MockStorageInterfaceMockRecorder) FilesystemAccess() *gomock.Call
FilesystemAccess indicates an expected call of FilesystemAccess.
func (*MockStorageInterfaceMockRecorder) StorageInstance ¶
func (mr *MockStorageInterfaceMockRecorder) StorageInstance(arg0 any) *gomock.Call
StorageInstance indicates an expected call of StorageInstance.
func (*MockStorageInterfaceMockRecorder) UnitStorageAttachments ¶
func (mr *MockStorageInterfaceMockRecorder) UnitStorageAttachments(arg0 any) *gomock.Call
UnitStorageAttachments indicates an expected call of UnitStorageAttachments.
func (*MockStorageInterfaceMockRecorder) VolumeAccess ¶
func (mr *MockStorageInterfaceMockRecorder) VolumeAccess() *gomock.Call
VolumeAccess indicates an expected call of VolumeAccess.
type MockStorageMockRecorder ¶
type MockStorageMockRecorder struct {
// contains filtered or unexported fields
}
MockStorageMockRecorder is the mock recorder for MockStorage.
func (*MockStorageMockRecorder) Get ¶
func (mr *MockStorageMockRecorder) Get(arg0 any) *gomock.Call
Get indicates an expected call of Get.
func (*MockStorageMockRecorder) Put ¶
func (mr *MockStorageMockRecorder) Put(arg0, arg1, arg2 any) *gomock.Call
Put indicates an expected call of Put.
func (*MockStorageMockRecorder) PutAndCheckHash ¶
func (mr *MockStorageMockRecorder) PutAndCheckHash(arg0, arg1, arg2, arg3 any) *gomock.Call
PutAndCheckHash indicates an expected call of PutAndCheckHash.
type MockUnit ¶
type MockUnit struct {
// contains filtered or unexported fields
}
MockUnit is a mock of Unit interface.
func NewMockUnit ¶
func NewMockUnit(ctrl *gomock.Controller) *MockUnit
NewMockUnit creates a new mock instance.
func (*MockUnit) AgentTools ¶
AgentTools mocks base method.
func (*MockUnit) ApplicationName ¶
ApplicationName mocks base method.
func (*MockUnit) AssignWithPlacement ¶
AssignWithPlacement mocks base method.
func (*MockUnit) AssignWithPolicy ¶
func (m *MockUnit) AssignWithPolicy(arg0 state.AssignmentPolicy) error
AssignWithPolicy mocks base method.
func (*MockUnit) AssignedMachineId ¶
AssignedMachineId mocks base method.
func (*MockUnit) ContainerInfo ¶
func (m *MockUnit) ContainerInfo() (state.CloudContainer, error)
ContainerInfo mocks base method.
func (*MockUnit) DestroyOperation ¶
func (m *MockUnit) DestroyOperation() *state.DestroyUnitOperation
DestroyOperation mocks base method.
func (*MockUnit) EXPECT ¶
func (m *MockUnit) EXPECT() *MockUnitMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUnit) WorkloadVersion ¶
WorkloadVersion mocks base method.
type MockUnitMockRecorder ¶
type MockUnitMockRecorder struct {
// contains filtered or unexported fields
}
MockUnitMockRecorder is the mock recorder for MockUnit.
func (*MockUnitMockRecorder) AgentTools ¶
func (mr *MockUnitMockRecorder) AgentTools() *gomock.Call
AgentTools indicates an expected call of AgentTools.
func (*MockUnitMockRecorder) ApplicationName ¶
func (mr *MockUnitMockRecorder) ApplicationName() *gomock.Call
ApplicationName indicates an expected call of ApplicationName.
func (*MockUnitMockRecorder) AssignWithPlacement ¶
func (mr *MockUnitMockRecorder) AssignWithPlacement(arg0 any) *gomock.Call
AssignWithPlacement indicates an expected call of AssignWithPlacement.
func (*MockUnitMockRecorder) AssignWithPolicy ¶
func (mr *MockUnitMockRecorder) AssignWithPolicy(arg0 any) *gomock.Call
AssignWithPolicy indicates an expected call of AssignWithPolicy.
func (*MockUnitMockRecorder) AssignedMachineId ¶
func (mr *MockUnitMockRecorder) AssignedMachineId() *gomock.Call
AssignedMachineId indicates an expected call of AssignedMachineId.
func (*MockUnitMockRecorder) ContainerInfo ¶
func (mr *MockUnitMockRecorder) ContainerInfo() *gomock.Call
ContainerInfo indicates an expected call of ContainerInfo.
func (*MockUnitMockRecorder) Destroy ¶
func (mr *MockUnitMockRecorder) Destroy() *gomock.Call
Destroy indicates an expected call of Destroy.
func (*MockUnitMockRecorder) DestroyOperation ¶
func (mr *MockUnitMockRecorder) DestroyOperation() *gomock.Call
DestroyOperation indicates an expected call of DestroyOperation.
func (*MockUnitMockRecorder) IsPrincipal ¶
func (mr *MockUnitMockRecorder) IsPrincipal() *gomock.Call
IsPrincipal indicates an expected call of IsPrincipal.
func (*MockUnitMockRecorder) Life ¶
func (mr *MockUnitMockRecorder) Life() *gomock.Call
Life indicates an expected call of Life.
func (*MockUnitMockRecorder) Name ¶
func (mr *MockUnitMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockUnitMockRecorder) Resolve ¶
func (mr *MockUnitMockRecorder) Resolve(arg0 any) *gomock.Call
Resolve indicates an expected call of Resolve.
func (*MockUnitMockRecorder) Tag ¶
func (mr *MockUnitMockRecorder) Tag() *gomock.Call
Tag indicates an expected call of Tag.
func (*MockUnitMockRecorder) UnitTag ¶
func (mr *MockUnitMockRecorder) UnitTag() *gomock.Call
UnitTag indicates an expected call of UnitTag.
func (*MockUnitMockRecorder) WorkloadVersion ¶
func (mr *MockUnitMockRecorder) WorkloadVersion() *gomock.Call
WorkloadVersion indicates an expected call of WorkloadVersion.
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() network.GroupedPortRanges
ByEndpoint mocks base method.
func (*MockUnitPortRanges) Changes ¶
func (m *MockUnitPortRanges) Changes() state.ModelOperation
Changes mocks base method.
func (*MockUnitPortRanges) Close ¶
func (m *MockUnitPortRanges) Close(arg0 string, arg1 network.PortRange)
Close mocks base method.
func (*MockUnitPortRanges) EXPECT ¶
func (m *MockUnitPortRanges) EXPECT() *MockUnitPortRangesMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUnitPortRanges) ForEndpoint ¶
func (m *MockUnitPortRanges) ForEndpoint(arg0 string) []network.PortRange
ForEndpoint mocks base method.
func (*MockUnitPortRanges) Open ¶
func (m *MockUnitPortRanges) Open(arg0 string, arg1 network.PortRange)
Open mocks base method.
func (*MockUnitPortRanges) UniquePortRanges ¶
func (m *MockUnitPortRanges) UniquePortRanges() []network.PortRange
UniquePortRanges mocks base method.
func (*MockUnitPortRanges) UnitName ¶
func (m *MockUnitPortRanges) UnitName() string
UnitName mocks base method.
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.
func (*MockUnitPortRangesMockRecorder) Changes ¶
func (mr *MockUnitPortRangesMockRecorder) Changes() *gomock.Call
Changes indicates an expected call of Changes.
func (*MockUnitPortRangesMockRecorder) Close ¶
func (mr *MockUnitPortRangesMockRecorder) Close(arg0, arg1 any) *gomock.Call
Close indicates an expected call of Close.
func (*MockUnitPortRangesMockRecorder) ForEndpoint ¶
func (mr *MockUnitPortRangesMockRecorder) ForEndpoint(arg0 any) *gomock.Call
ForEndpoint indicates an expected call of ForEndpoint.
func (*MockUnitPortRangesMockRecorder) Open ¶
func (mr *MockUnitPortRangesMockRecorder) Open(arg0, arg1 any) *gomock.Call
Open indicates an expected call of Open.
func (*MockUnitPortRangesMockRecorder) UniquePortRanges ¶
func (mr *MockUnitPortRangesMockRecorder) UniquePortRanges() *gomock.Call
UniquePortRanges indicates an expected call of UniquePortRanges.
func (*MockUnitPortRangesMockRecorder) UnitName ¶
func (mr *MockUnitPortRangesMockRecorder) UnitName() *gomock.Call
UnitName indicates an expected call of UnitName.