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.
Index ¶
- type MockBackendRotate
- type MockBackendRotateMockRecorder
- type MockBackendState
- func (m *MockBackendState) EXPECT() *MockBackendStateMockRecorder
- func (m *MockBackendState) GetSecretBackendByID(arg0 string) (*secrets.SecretBackend, error)
- func (m *MockBackendState) SecretBackendRotated(arg0 string, arg1 time.Time) error
- func (m *MockBackendState) UpdateSecretBackend(arg0 state.UpdateSecretBackendParams) error
- type MockBackendStateMockRecorder
- type MockSecretBackendProvider
- func (m *MockSecretBackendProvider) CleanupModel(arg0 *provider.ModelBackendConfig) error
- func (m *MockSecretBackendProvider) CleanupSecrets(arg0 *provider.ModelBackendConfig, arg1 names.Tag, ...) error
- func (m *MockSecretBackendProvider) EXPECT() *MockSecretBackendProviderMockRecorder
- func (m *MockSecretBackendProvider) Initialise(arg0 *provider.ModelBackendConfig) error
- func (m *MockSecretBackendProvider) NewBackend(arg0 *provider.ModelBackendConfig) (provider.SecretsBackend, error)
- func (m *MockSecretBackendProvider) RestrictedConfig(arg0 *provider.ModelBackendConfig, arg1, arg2 bool, arg3 names.Tag, ...) (*provider.BackendConfig, error)
- func (m *MockSecretBackendProvider) Type() string
- type MockSecretBackendProviderMockRecorder
- func (mr *MockSecretBackendProviderMockRecorder) CleanupModel(arg0 any) *gomock.Call
- func (mr *MockSecretBackendProviderMockRecorder) CleanupSecrets(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockSecretBackendProviderMockRecorder) Initialise(arg0 any) *gomock.Call
- func (mr *MockSecretBackendProviderMockRecorder) NewBackend(arg0 any) *gomock.Call
- func (mr *MockSecretBackendProviderMockRecorder) RestrictedConfig(arg0, arg1, arg2, arg3, arg4, arg5 any) *gomock.Call
- func (mr *MockSecretBackendProviderMockRecorder) Type() *gomock.Call
- type MockSecretBackendRotateWatcher
- func (m *MockSecretBackendRotateWatcher) Changes() watcher.SecretBackendRotateChannel
- func (m *MockSecretBackendRotateWatcher) EXPECT() *MockSecretBackendRotateWatcherMockRecorder
- func (m *MockSecretBackendRotateWatcher) Err() error
- func (m *MockSecretBackendRotateWatcher) Kill()
- func (m *MockSecretBackendRotateWatcher) Stop() error
- func (m *MockSecretBackendRotateWatcher) Wait() error
- type MockSecretBackendRotateWatcherMockRecorder
- func (mr *MockSecretBackendRotateWatcherMockRecorder) Changes() *gomock.Call
- func (mr *MockSecretBackendRotateWatcherMockRecorder) Err() *gomock.Call
- func (mr *MockSecretBackendRotateWatcherMockRecorder) Kill() *gomock.Call
- func (mr *MockSecretBackendRotateWatcherMockRecorder) Stop() *gomock.Call
- func (mr *MockSecretBackendRotateWatcherMockRecorder) Wait() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBackendRotate ¶
type MockBackendRotate struct {
// contains filtered or unexported fields
}
MockBackendRotate is a mock of BackendRotate interface.
func NewMockBackendRotate ¶
func NewMockBackendRotate(ctrl *gomock.Controller) *MockBackendRotate
NewMockBackendRotate creates a new mock instance.
func (*MockBackendRotate) EXPECT ¶
func (m *MockBackendRotate) EXPECT() *MockBackendRotateMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBackendRotate) WatchSecretBackendRotationChanges ¶
func (m *MockBackendRotate) WatchSecretBackendRotationChanges() (state.SecretBackendRotateWatcher, error)
WatchSecretBackendRotationChanges mocks base method.
type MockBackendRotateMockRecorder ¶
type MockBackendRotateMockRecorder struct {
// contains filtered or unexported fields
}
MockBackendRotateMockRecorder is the mock recorder for MockBackendRotate.
func (*MockBackendRotateMockRecorder) WatchSecretBackendRotationChanges ¶
func (mr *MockBackendRotateMockRecorder) WatchSecretBackendRotationChanges() *gomock.Call
WatchSecretBackendRotationChanges indicates an expected call of WatchSecretBackendRotationChanges.
type MockBackendState ¶
type MockBackendState struct {
// contains filtered or unexported fields
}
MockBackendState is a mock of BackendState interface.
func NewMockBackendState ¶
func NewMockBackendState(ctrl *gomock.Controller) *MockBackendState
NewMockBackendState creates a new mock instance.
func (*MockBackendState) EXPECT ¶
func (m *MockBackendState) EXPECT() *MockBackendStateMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBackendState) GetSecretBackendByID ¶
func (m *MockBackendState) GetSecretBackendByID(arg0 string) (*secrets.SecretBackend, error)
GetSecretBackendByID mocks base method.
func (*MockBackendState) SecretBackendRotated ¶
func (m *MockBackendState) SecretBackendRotated(arg0 string, arg1 time.Time) error
SecretBackendRotated mocks base method.
func (*MockBackendState) UpdateSecretBackend ¶
func (m *MockBackendState) UpdateSecretBackend(arg0 state.UpdateSecretBackendParams) error
UpdateSecretBackend mocks base method.
type MockBackendStateMockRecorder ¶
type MockBackendStateMockRecorder struct {
// contains filtered or unexported fields
}
MockBackendStateMockRecorder is the mock recorder for MockBackendState.
func (*MockBackendStateMockRecorder) GetSecretBackendByID ¶
func (mr *MockBackendStateMockRecorder) GetSecretBackendByID(arg0 any) *gomock.Call
GetSecretBackendByID indicates an expected call of GetSecretBackendByID.
func (*MockBackendStateMockRecorder) SecretBackendRotated ¶
func (mr *MockBackendStateMockRecorder) SecretBackendRotated(arg0, arg1 any) *gomock.Call
SecretBackendRotated indicates an expected call of SecretBackendRotated.
func (*MockBackendStateMockRecorder) UpdateSecretBackend ¶
func (mr *MockBackendStateMockRecorder) UpdateSecretBackend(arg0 any) *gomock.Call
UpdateSecretBackend indicates an expected call of UpdateSecretBackend.
type MockSecretBackendProvider ¶
type MockSecretBackendProvider struct {
// contains filtered or unexported fields
}
MockSecretBackendProvider is a mock of SecretBackendProvider interface.
func NewMockSecretBackendProvider ¶
func NewMockSecretBackendProvider(ctrl *gomock.Controller) *MockSecretBackendProvider
NewMockSecretBackendProvider creates a new mock instance.
func (*MockSecretBackendProvider) CleanupModel ¶
func (m *MockSecretBackendProvider) CleanupModel(arg0 *provider.ModelBackendConfig) error
CleanupModel mocks base method.
func (*MockSecretBackendProvider) CleanupSecrets ¶
func (m *MockSecretBackendProvider) CleanupSecrets(arg0 *provider.ModelBackendConfig, arg1 names.Tag, arg2 provider.SecretRevisions) error
CleanupSecrets mocks base method.
func (*MockSecretBackendProvider) EXPECT ¶
func (m *MockSecretBackendProvider) EXPECT() *MockSecretBackendProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSecretBackendProvider) Initialise ¶
func (m *MockSecretBackendProvider) Initialise(arg0 *provider.ModelBackendConfig) error
Initialise mocks base method.
func (*MockSecretBackendProvider) NewBackend ¶
func (m *MockSecretBackendProvider) NewBackend(arg0 *provider.ModelBackendConfig) (provider.SecretsBackend, error)
NewBackend mocks base method.
func (*MockSecretBackendProvider) RestrictedConfig ¶
func (m *MockSecretBackendProvider) RestrictedConfig(arg0 *provider.ModelBackendConfig, arg1, arg2 bool, arg3 names.Tag, arg4, arg5 provider.SecretRevisions) (*provider.BackendConfig, error)
RestrictedConfig mocks base method.
func (*MockSecretBackendProvider) Type ¶
func (m *MockSecretBackendProvider) Type() string
Type mocks base method.
type MockSecretBackendProviderMockRecorder ¶
type MockSecretBackendProviderMockRecorder struct {
// contains filtered or unexported fields
}
MockSecretBackendProviderMockRecorder is the mock recorder for MockSecretBackendProvider.
func (*MockSecretBackendProviderMockRecorder) CleanupModel ¶
func (mr *MockSecretBackendProviderMockRecorder) CleanupModel(arg0 any) *gomock.Call
CleanupModel indicates an expected call of CleanupModel.
func (*MockSecretBackendProviderMockRecorder) CleanupSecrets ¶
func (mr *MockSecretBackendProviderMockRecorder) CleanupSecrets(arg0, arg1, arg2 any) *gomock.Call
CleanupSecrets indicates an expected call of CleanupSecrets.
func (*MockSecretBackendProviderMockRecorder) Initialise ¶
func (mr *MockSecretBackendProviderMockRecorder) Initialise(arg0 any) *gomock.Call
Initialise indicates an expected call of Initialise.
func (*MockSecretBackendProviderMockRecorder) NewBackend ¶
func (mr *MockSecretBackendProviderMockRecorder) NewBackend(arg0 any) *gomock.Call
NewBackend indicates an expected call of NewBackend.
func (*MockSecretBackendProviderMockRecorder) RestrictedConfig ¶
func (mr *MockSecretBackendProviderMockRecorder) RestrictedConfig(arg0, arg1, arg2, arg3, arg4, arg5 any) *gomock.Call
RestrictedConfig indicates an expected call of RestrictedConfig.
func (*MockSecretBackendProviderMockRecorder) Type ¶
func (mr *MockSecretBackendProviderMockRecorder) Type() *gomock.Call
Type indicates an expected call of Type.
type MockSecretBackendRotateWatcher ¶
type MockSecretBackendRotateWatcher struct {
// contains filtered or unexported fields
}
MockSecretBackendRotateWatcher is a mock of SecretBackendRotateWatcher interface.
func NewMockSecretBackendRotateWatcher ¶
func NewMockSecretBackendRotateWatcher(ctrl *gomock.Controller) *MockSecretBackendRotateWatcher
NewMockSecretBackendRotateWatcher creates a new mock instance.
func (*MockSecretBackendRotateWatcher) Changes ¶
func (m *MockSecretBackendRotateWatcher) Changes() watcher.SecretBackendRotateChannel
Changes mocks base method.
func (*MockSecretBackendRotateWatcher) EXPECT ¶
func (m *MockSecretBackendRotateWatcher) EXPECT() *MockSecretBackendRotateWatcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSecretBackendRotateWatcher) Err ¶
func (m *MockSecretBackendRotateWatcher) Err() error
Err mocks base method.
func (*MockSecretBackendRotateWatcher) Kill ¶
func (m *MockSecretBackendRotateWatcher) Kill()
Kill mocks base method.
func (*MockSecretBackendRotateWatcher) Stop ¶
func (m *MockSecretBackendRotateWatcher) Stop() error
Stop mocks base method.
func (*MockSecretBackendRotateWatcher) Wait ¶
func (m *MockSecretBackendRotateWatcher) Wait() error
Wait mocks base method.
type MockSecretBackendRotateWatcherMockRecorder ¶
type MockSecretBackendRotateWatcherMockRecorder struct {
// contains filtered or unexported fields
}
MockSecretBackendRotateWatcherMockRecorder is the mock recorder for MockSecretBackendRotateWatcher.
func (*MockSecretBackendRotateWatcherMockRecorder) Changes ¶
func (mr *MockSecretBackendRotateWatcherMockRecorder) Changes() *gomock.Call
Changes indicates an expected call of Changes.
func (*MockSecretBackendRotateWatcherMockRecorder) Err ¶
func (mr *MockSecretBackendRotateWatcherMockRecorder) Err() *gomock.Call
Err indicates an expected call of Err.
func (*MockSecretBackendRotateWatcherMockRecorder) Kill ¶
func (mr *MockSecretBackendRotateWatcherMockRecorder) Kill() *gomock.Call
Kill indicates an expected call of Kill.
func (*MockSecretBackendRotateWatcherMockRecorder) Stop ¶
func (mr *MockSecretBackendRotateWatcherMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop.
func (*MockSecretBackendRotateWatcherMockRecorder) Wait ¶
func (mr *MockSecretBackendRotateWatcherMockRecorder) Wait() *gomock.Call
Wait indicates an expected call of Wait.