mocks

package
v0.0.0-...-6dcaeb9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2024 License: AGPL-3.0 Imports: 8 Imported by: 0

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

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

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

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

CleanupModel mocks base method.

func (*MockSecretBackendProvider) CleanupSecrets

CleanupSecrets mocks base method.

func (*MockSecretBackendProvider) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockSecretBackendProvider) Initialise

Initialise mocks base method.

func (*MockSecretBackendProvider) NewBackend

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

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

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

Changes mocks base method.

func (*MockSecretBackendRotateWatcher) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockSecretBackendRotateWatcher) Err

Err mocks base method.

func (*MockSecretBackendRotateWatcher) Kill

Kill mocks base method.

func (*MockSecretBackendRotateWatcher) Stop

Stop mocks base method.

func (*MockSecretBackendRotateWatcher) Wait

Wait mocks base method.

type MockSecretBackendRotateWatcherMockRecorder

type MockSecretBackendRotateWatcherMockRecorder struct {
	// contains filtered or unexported fields
}

MockSecretBackendRotateWatcherMockRecorder is the mock recorder for MockSecretBackendRotateWatcher.

func (*MockSecretBackendRotateWatcherMockRecorder) Changes

Changes indicates an expected call of Changes.

func (*MockSecretBackendRotateWatcherMockRecorder) Err

Err indicates an expected call of Err.

func (*MockSecretBackendRotateWatcherMockRecorder) Kill

Kill indicates an expected call of Kill.

func (*MockSecretBackendRotateWatcherMockRecorder) Stop

Stop indicates an expected call of Stop.

func (*MockSecretBackendRotateWatcherMockRecorder) Wait

Wait indicates an expected call of Wait.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL