Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockSecretsRotation
- type MockSecretsRotationMockRecorder
- type MockSecretsRotationWatcher
- func (m *MockSecretsRotationWatcher) Changes() watcher.SecretRotationChannel
- func (m *MockSecretsRotationWatcher) EXPECT() *MockSecretsRotationWatcherMockRecorder
- func (m *MockSecretsRotationWatcher) Err() error
- func (m *MockSecretsRotationWatcher) Kill()
- func (m *MockSecretsRotationWatcher) Stop() error
- func (m *MockSecretsRotationWatcher) Wait() error
- type MockSecretsRotationWatcherMockRecorder
- func (mr *MockSecretsRotationWatcherMockRecorder) Changes() *gomock.Call
- func (mr *MockSecretsRotationWatcherMockRecorder) Err() *gomock.Call
- func (mr *MockSecretsRotationWatcherMockRecorder) Kill() *gomock.Call
- func (mr *MockSecretsRotationWatcherMockRecorder) Stop() *gomock.Call
- func (mr *MockSecretsRotationWatcherMockRecorder) Wait() *gomock.Call
- type MockSecretsService
- func (m *MockSecretsService) CreateSecret(arg0 context.Context, arg1 *secrets.URL, arg2 secrets0.CreateParams) (*secrets.SecretMetadata, error)
- func (m *MockSecretsService) DeleteSecret(arg0 context.Context, arg1 *secrets.URL) error
- func (m *MockSecretsService) EXPECT() *MockSecretsServiceMockRecorder
- func (m *MockSecretsService) GetSecret(arg0 context.Context, arg1 *secrets.URL) (*secrets.SecretMetadata, error)
- func (m *MockSecretsService) GetSecretValue(arg0 context.Context, arg1 *secrets.URL) (secrets.SecretValue, error)
- func (m *MockSecretsService) ListSecrets(arg0 context.Context, arg1 secrets0.Filter) ([]*secrets.SecretMetadata, error)
- func (m *MockSecretsService) UpdateSecret(arg0 context.Context, arg1 *secrets.URL, arg2 secrets0.UpdateParams) (*secrets.SecretMetadata, error)
- type MockSecretsServiceMockRecorder
- func (mr *MockSecretsServiceMockRecorder) CreateSecret(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockSecretsServiceMockRecorder) DeleteSecret(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSecretsServiceMockRecorder) GetSecret(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSecretsServiceMockRecorder) GetSecretValue(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSecretsServiceMockRecorder) ListSecrets(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSecretsServiceMockRecorder) UpdateSecret(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSecretsRotation ¶
type MockSecretsRotation struct {
// contains filtered or unexported fields
}
MockSecretsRotation is a mock of SecretsRotation interface.
func NewMockSecretsRotation ¶
func NewMockSecretsRotation(ctrl *gomock.Controller) *MockSecretsRotation
NewMockSecretsRotation creates a new mock instance.
func (*MockSecretsRotation) EXPECT ¶
func (m *MockSecretsRotation) EXPECT() *MockSecretsRotationMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSecretsRotation) SecretRotated ¶
SecretRotated mocks base method.
func (*MockSecretsRotation) WatchSecretsRotationChanges ¶
func (m *MockSecretsRotation) WatchSecretsRotationChanges(arg0 string) state.SecretsRotationWatcher
WatchSecretsRotationChanges mocks base method.
type MockSecretsRotationMockRecorder ¶
type MockSecretsRotationMockRecorder struct {
// contains filtered or unexported fields
}
MockSecretsRotationMockRecorder is the mock recorder for MockSecretsRotation.
func (*MockSecretsRotationMockRecorder) SecretRotated ¶
func (mr *MockSecretsRotationMockRecorder) SecretRotated(arg0, arg1 interface{}) *gomock.Call
SecretRotated indicates an expected call of SecretRotated.
func (*MockSecretsRotationMockRecorder) WatchSecretsRotationChanges ¶
func (mr *MockSecretsRotationMockRecorder) WatchSecretsRotationChanges(arg0 interface{}) *gomock.Call
WatchSecretsRotationChanges indicates an expected call of WatchSecretsRotationChanges.
type MockSecretsRotationWatcher ¶
type MockSecretsRotationWatcher struct {
// contains filtered or unexported fields
}
MockSecretsRotationWatcher is a mock of SecretsRotationWatcher interface.
func NewMockSecretsRotationWatcher ¶
func NewMockSecretsRotationWatcher(ctrl *gomock.Controller) *MockSecretsRotationWatcher
NewMockSecretsRotationWatcher creates a new mock instance.
func (*MockSecretsRotationWatcher) Changes ¶
func (m *MockSecretsRotationWatcher) Changes() watcher.SecretRotationChannel
Changes mocks base method.
func (*MockSecretsRotationWatcher) EXPECT ¶
func (m *MockSecretsRotationWatcher) EXPECT() *MockSecretsRotationWatcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSecretsRotationWatcher) Err ¶
func (m *MockSecretsRotationWatcher) Err() error
Err mocks base method.
func (*MockSecretsRotationWatcher) Kill ¶
func (m *MockSecretsRotationWatcher) Kill()
Kill mocks base method.
func (*MockSecretsRotationWatcher) Stop ¶
func (m *MockSecretsRotationWatcher) Stop() error
Stop mocks base method.
func (*MockSecretsRotationWatcher) Wait ¶
func (m *MockSecretsRotationWatcher) Wait() error
Wait mocks base method.
type MockSecretsRotationWatcherMockRecorder ¶
type MockSecretsRotationWatcherMockRecorder struct {
// contains filtered or unexported fields
}
MockSecretsRotationWatcherMockRecorder is the mock recorder for MockSecretsRotationWatcher.
func (*MockSecretsRotationWatcherMockRecorder) Changes ¶
func (mr *MockSecretsRotationWatcherMockRecorder) Changes() *gomock.Call
Changes indicates an expected call of Changes.
func (*MockSecretsRotationWatcherMockRecorder) Err ¶
func (mr *MockSecretsRotationWatcherMockRecorder) Err() *gomock.Call
Err indicates an expected call of Err.
func (*MockSecretsRotationWatcherMockRecorder) Kill ¶
func (mr *MockSecretsRotationWatcherMockRecorder) Kill() *gomock.Call
Kill indicates an expected call of Kill.
func (*MockSecretsRotationWatcherMockRecorder) Stop ¶
func (mr *MockSecretsRotationWatcherMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop.
func (*MockSecretsRotationWatcherMockRecorder) Wait ¶
func (mr *MockSecretsRotationWatcherMockRecorder) Wait() *gomock.Call
Wait indicates an expected call of Wait.
type MockSecretsService ¶
type MockSecretsService struct {
// contains filtered or unexported fields
}
MockSecretsService is a mock of SecretsService interface.
func NewMockSecretsService ¶
func NewMockSecretsService(ctrl *gomock.Controller) *MockSecretsService
NewMockSecretsService creates a new mock instance.
func (*MockSecretsService) CreateSecret ¶
func (m *MockSecretsService) CreateSecret(arg0 context.Context, arg1 *secrets.URL, arg2 secrets0.CreateParams) (*secrets.SecretMetadata, error)
CreateSecret mocks base method.
func (*MockSecretsService) DeleteSecret ¶
DeleteSecret mocks base method.
func (*MockSecretsService) EXPECT ¶
func (m *MockSecretsService) EXPECT() *MockSecretsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSecretsService) GetSecret ¶
func (m *MockSecretsService) GetSecret(arg0 context.Context, arg1 *secrets.URL) (*secrets.SecretMetadata, error)
GetSecret mocks base method.
func (*MockSecretsService) GetSecretValue ¶
func (m *MockSecretsService) GetSecretValue(arg0 context.Context, arg1 *secrets.URL) (secrets.SecretValue, error)
GetSecretValue mocks base method.
func (*MockSecretsService) ListSecrets ¶
func (m *MockSecretsService) ListSecrets(arg0 context.Context, arg1 secrets0.Filter) ([]*secrets.SecretMetadata, error)
ListSecrets mocks base method.
func (*MockSecretsService) UpdateSecret ¶
func (m *MockSecretsService) UpdateSecret(arg0 context.Context, arg1 *secrets.URL, arg2 secrets0.UpdateParams) (*secrets.SecretMetadata, error)
UpdateSecret mocks base method.
type MockSecretsServiceMockRecorder ¶
type MockSecretsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockSecretsServiceMockRecorder is the mock recorder for MockSecretsService.
func (*MockSecretsServiceMockRecorder) CreateSecret ¶
func (mr *MockSecretsServiceMockRecorder) CreateSecret(arg0, arg1, arg2 interface{}) *gomock.Call
CreateSecret indicates an expected call of CreateSecret.
func (*MockSecretsServiceMockRecorder) DeleteSecret ¶
func (mr *MockSecretsServiceMockRecorder) DeleteSecret(arg0, arg1 interface{}) *gomock.Call
DeleteSecret indicates an expected call of DeleteSecret.
func (*MockSecretsServiceMockRecorder) GetSecret ¶
func (mr *MockSecretsServiceMockRecorder) GetSecret(arg0, arg1 interface{}) *gomock.Call
GetSecret indicates an expected call of GetSecret.
func (*MockSecretsServiceMockRecorder) GetSecretValue ¶
func (mr *MockSecretsServiceMockRecorder) GetSecretValue(arg0, arg1 interface{}) *gomock.Call
GetSecretValue indicates an expected call of GetSecretValue.
func (*MockSecretsServiceMockRecorder) ListSecrets ¶
func (mr *MockSecretsServiceMockRecorder) ListSecrets(arg0, arg1 interface{}) *gomock.Call
ListSecrets indicates an expected call of ListSecrets.
func (*MockSecretsServiceMockRecorder) UpdateSecret ¶
func (mr *MockSecretsServiceMockRecorder) UpdateSecret(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateSecret indicates an expected call of UpdateSecret.