mock

package
v0.0.0-...-a17cf7f Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockSecrets

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

MockSecrets is a mock of Secrets interface.

func NewMockSecrets

func NewMockSecrets(ctrl *gomock.Controller) *MockSecrets

NewMockSecrets creates a new mock instance.

func (*MockSecrets) Decrypt

func (m *MockSecrets) Decrypt(arg0, arg1 string, arg2 map[string]string) (string, error)

Decrypt mocks base method.

func (*MockSecrets) DeleteSecret

func (m *MockSecrets) DeleteSecret(arg0 string, arg1 map[string]string) error

DeleteSecret mocks base method.

func (*MockSecrets) EXPECT

func (m *MockSecrets) EXPECT() *MockSecretsMockRecorder

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

func (*MockSecrets) Encrypt

func (m *MockSecrets) Encrypt(arg0, arg1 string, arg2 map[string]string) (string, error)

Encrypt mocks base method.

func (*MockSecrets) GetSecret

func (m *MockSecrets) GetSecret(arg0 string, arg1 map[string]string) (map[string]interface{}, secrets.Version, error)

GetSecret mocks base method.

func (*MockSecrets) ListSecrets

func (m *MockSecrets) ListSecrets() ([]string, error)

ListSecrets mocks base method.

func (*MockSecrets) PutSecret

func (m *MockSecrets) PutSecret(arg0 string, arg1 map[string]interface{}, arg2 map[string]string) (secrets.Version, error)

PutSecret mocks base method.

func (*MockSecrets) Rencrypt

func (m *MockSecrets) Rencrypt(arg0, arg1 string, arg2, arg3 map[string]string, arg4 string) (string, error)

Rencrypt mocks base method.

func (*MockSecrets) String

func (m *MockSecrets) String() string

String mocks base method.

type MockSecretsMockRecorder

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

MockSecretsMockRecorder is the mock recorder for MockSecrets.

func (*MockSecretsMockRecorder) Decrypt

func (mr *MockSecretsMockRecorder) Decrypt(arg0, arg1, arg2 interface{}) *gomock.Call

Decrypt indicates an expected call of Decrypt.

func (*MockSecretsMockRecorder) DeleteSecret

func (mr *MockSecretsMockRecorder) DeleteSecret(arg0, arg1 interface{}) *gomock.Call

DeleteSecret indicates an expected call of DeleteSecret.

func (*MockSecretsMockRecorder) Encrypt

func (mr *MockSecretsMockRecorder) Encrypt(arg0, arg1, arg2 interface{}) *gomock.Call

Encrypt indicates an expected call of Encrypt.

func (*MockSecretsMockRecorder) GetSecret

func (mr *MockSecretsMockRecorder) GetSecret(arg0, arg1 interface{}) *gomock.Call

GetSecret indicates an expected call of GetSecret.

func (*MockSecretsMockRecorder) ListSecrets

func (mr *MockSecretsMockRecorder) ListSecrets() *gomock.Call

ListSecrets indicates an expected call of ListSecrets.

func (*MockSecretsMockRecorder) PutSecret

func (mr *MockSecretsMockRecorder) PutSecret(arg0, arg1, arg2 interface{}) *gomock.Call

PutSecret indicates an expected call of PutSecret.

func (*MockSecretsMockRecorder) Rencrypt

func (mr *MockSecretsMockRecorder) Rencrypt(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

Rencrypt indicates an expected call of Rencrypt.

func (*MockSecretsMockRecorder) String

func (mr *MockSecretsMockRecorder) String() *gomock.Call

String indicates an expected call of String.

Jump to

Keyboard shortcuts

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