mocks

package
v0.96.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reader

type Reader struct {
	mock.Mock
}

Reader is an autogenerated mock type for the Reader type

func NewReader

func NewReader(t mockConstructorTestingTNewReader) *Reader

NewReader creates a new instance of Reader. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Reader) ReadCredentials

func (_m *Reader) ReadCredentials(ctx context.Context, secretName string, _a2 interface{}) error

ReadCredentials provides a mock function with given fields: ctx, secretName, _a2

type ReaderWriter

type ReaderWriter struct {
	mock.Mock
}

ReaderWriter is an autogenerated mock type for the ReaderWriter type

func NewReaderWriter

func NewReaderWriter(t mockConstructorTestingTNewReaderWriter) *ReaderWriter

NewReaderWriter creates a new instance of ReaderWriter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*ReaderWriter) DeleteCredentials

func (_m *ReaderWriter) DeleteCredentials(ctx context.Context, credID string) error

DeleteCredentials provides a mock function with given fields: ctx, credID

func (*ReaderWriter) ReadCredentials

func (_m *ReaderWriter) ReadCredentials(ctx context.Context, secretName string, _a2 interface{}) error

ReadCredentials provides a mock function with given fields: ctx, secretName, _a2

func (*ReaderWriter) SaveCredentials

func (_m *ReaderWriter) SaveCredentials(ctx context.Context, org string, _a2 interface{}) (string, error)

SaveCredentials provides a mock function with given fields: ctx, org, _a2

type SecretsManagerIface

type SecretsManagerIface struct {
	mock.Mock
}

SecretsManagerIface is an autogenerated mock type for the SecretsManagerIface type

func NewSecretsManagerIface

func NewSecretsManagerIface(t mockConstructorTestingTNewSecretsManagerIface) *SecretsManagerIface

NewSecretsManagerIface creates a new instance of SecretsManagerIface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*SecretsManagerIface) CreateSecret

CreateSecret provides a mock function with given fields: ctx, params, optFns

func (*SecretsManagerIface) DeleteSecret

DeleteSecret provides a mock function with given fields: ctx, params, optFns

func (*SecretsManagerIface) GetSecretValue

GetSecretValue provides a mock function with given fields: ctx, params, optFns

type Writer

type Writer struct {
	mock.Mock
}

Writer is an autogenerated mock type for the Writer type

func NewWriter

func NewWriter(t mockConstructorTestingTNewWriter) *Writer

NewWriter creates a new instance of Writer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Writer) DeleteCredentials

func (_m *Writer) DeleteCredentials(ctx context.Context, credID string) error

DeleteCredentials provides a mock function with given fields: ctx, credID

func (*Writer) SaveCredentials

func (_m *Writer) SaveCredentials(ctx context.Context, org string, _a2 interface{}) (string, error)

SaveCredentials provides a mock function with given fields: ctx, org, _a2

Jump to

Keyboard shortcuts

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