mocks

package
v0.0.0-...-b9bb202 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

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 MockSecretBackendService

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

MockSecretBackendService is a mock of SecretBackendService interface.

func NewMockSecretBackendService

func NewMockSecretBackendService(ctrl *gomock.Controller) *MockSecretBackendService

NewMockSecretBackendService creates a new mock instance.

func (*MockSecretBackendService) BackendConfigInfo

BackendConfigInfo mocks base method.

func (*MockSecretBackendService) DrainBackendConfigInfo

DrainBackendConfigInfo mocks base method.

func (*MockSecretBackendService) EXPECT

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

type MockSecretBackendServiceBackendConfigInfoCall

type MockSecretBackendServiceBackendConfigInfoCall struct {
	*gomock.Call
}

MockSecretBackendServiceBackendConfigInfoCall wrap *gomock.Call

func (*MockSecretBackendServiceBackendConfigInfoCall) Do

Do rewrite *gomock.Call.Do

func (*MockSecretBackendServiceBackendConfigInfoCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockSecretBackendServiceBackendConfigInfoCall) Return

Return rewrite *gomock.Call.Return

type MockSecretBackendServiceDrainBackendConfigInfoCall

type MockSecretBackendServiceDrainBackendConfigInfoCall struct {
	*gomock.Call
}

MockSecretBackendServiceDrainBackendConfigInfoCall wrap *gomock.Call

func (*MockSecretBackendServiceDrainBackendConfigInfoCall) Do

Do rewrite *gomock.Call.Do

func (*MockSecretBackendServiceDrainBackendConfigInfoCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockSecretBackendServiceDrainBackendConfigInfoCall) Return

Return rewrite *gomock.Call.Return

type MockSecretBackendServiceMockRecorder

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

MockSecretBackendServiceMockRecorder is the mock recorder for MockSecretBackendService.

func (*MockSecretBackendServiceMockRecorder) BackendConfigInfo

BackendConfigInfo indicates an expected call of BackendConfigInfo.

func (*MockSecretBackendServiceMockRecorder) DrainBackendConfigInfo

DrainBackendConfigInfo indicates an expected call of DrainBackendConfigInfo.

type MockSecretService

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

MockSecretService is a mock of SecretService interface.

func NewMockSecretService

func NewMockSecretService(ctrl *gomock.Controller) *MockSecretService

NewMockSecretService creates a new mock instance.

func (*MockSecretService) EXPECT

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

func (*MockSecretService) GetSecret

func (m *MockSecretService) GetSecret(arg0 context.Context, arg1 *secrets.URI) (*secrets.SecretMetadata, error)

GetSecret mocks base method.

func (*MockSecretService) GetSecretValue

func (m *MockSecretService) GetSecretValue(arg0 context.Context, arg1 *secrets.URI, arg2 int, arg3 service.SecretAccessor) (secrets.SecretValue, *secrets.ValueRef, error)

GetSecretValue mocks base method.

func (*MockSecretService) ListGrantedSecretsForBackend

func (m *MockSecretService) ListGrantedSecretsForBackend(arg0 context.Context, arg1 string, arg2 secrets.SecretRole, arg3 ...service.SecretAccessor) ([]*secrets.SecretRevisionRef, error)

ListGrantedSecretsForBackend mocks base method.

type MockSecretServiceGetSecretCall

type MockSecretServiceGetSecretCall struct {
	*gomock.Call
}

MockSecretServiceGetSecretCall wrap *gomock.Call

func (*MockSecretServiceGetSecretCall) Do

Do rewrite *gomock.Call.Do

func (*MockSecretServiceGetSecretCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockSecretServiceGetSecretCall) Return

Return rewrite *gomock.Call.Return

type MockSecretServiceGetSecretValueCall

type MockSecretServiceGetSecretValueCall struct {
	*gomock.Call
}

MockSecretServiceGetSecretValueCall wrap *gomock.Call

func (*MockSecretServiceGetSecretValueCall) Do

Do rewrite *gomock.Call.Do

func (*MockSecretServiceGetSecretValueCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockSecretServiceGetSecretValueCall) Return

Return rewrite *gomock.Call.Return

type MockSecretServiceListGrantedSecretsForBackendCall

type MockSecretServiceListGrantedSecretsForBackendCall struct {
	*gomock.Call
}

MockSecretServiceListGrantedSecretsForBackendCall wrap *gomock.Call

func (*MockSecretServiceListGrantedSecretsForBackendCall) Do

Do rewrite *gomock.Call.Do

func (*MockSecretServiceListGrantedSecretsForBackendCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockSecretServiceListGrantedSecretsForBackendCall) Return

Return rewrite *gomock.Call.Return

type MockSecretServiceMockRecorder

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

MockSecretServiceMockRecorder is the mock recorder for MockSecretService.

func (*MockSecretServiceMockRecorder) GetSecret

GetSecret indicates an expected call of GetSecret.

func (*MockSecretServiceMockRecorder) GetSecretValue

func (mr *MockSecretServiceMockRecorder) GetSecretValue(arg0, arg1, arg2, arg3 any) *MockSecretServiceGetSecretValueCall

GetSecretValue indicates an expected call of GetSecretValue.

func (*MockSecretServiceMockRecorder) ListGrantedSecretsForBackend

func (mr *MockSecretServiceMockRecorder) ListGrantedSecretsForBackend(arg0, arg1, arg2 any, arg3 ...any) *MockSecretServiceListGrantedSecretsForBackendCall

ListGrantedSecretsForBackend indicates an expected call of ListGrantedSecretsForBackend.

Jump to

Keyboard shortcuts

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