Documentation ¶
Index ¶
- type Reader
- type ReaderWriter
- type SecretsManagerIface
- func (_m *SecretsManagerIface) CreateSecret(ctx context.Context, params *secretsmanager.CreateSecretInput, ...) (*secretsmanager.CreateSecretOutput, error)
- func (_m *SecretsManagerIface) DeleteSecret(ctx context.Context, params *secretsmanager.DeleteSecretInput, ...) (*secretsmanager.DeleteSecretOutput, error)
- func (_m *SecretsManagerIface) GetSecretValue(ctx context.Context, params *secretsmanager.GetSecretValueInput, ...) (*secretsmanager.GetSecretValueOutput, error)
- type Writer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reader ¶
Reader is an autogenerated mock type for the Reader type
type ReaderWriter ¶
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 ¶ added in v0.8.94
func (_m *ReaderWriter) DeleteCredentials(ctx context.Context, credID string) error
DeleteCredentials provides a mock function with given fields: ctx, credID
func (*ReaderWriter) ReadCredentials ¶ added in v0.8.94
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 ¶ added in v0.8.94
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 ¶
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 ¶
func (_m *SecretsManagerIface) CreateSecret(ctx context.Context, params *secretsmanager.CreateSecretInput, optFns ...func(*secretsmanager.Options)) (*secretsmanager.CreateSecretOutput, error)
CreateSecret provides a mock function with given fields: ctx, params, optFns
func (*SecretsManagerIface) DeleteSecret ¶
func (_m *SecretsManagerIface) DeleteSecret(ctx context.Context, params *secretsmanager.DeleteSecretInput, optFns ...func(*secretsmanager.Options)) (*secretsmanager.DeleteSecretOutput, error)
DeleteSecret provides a mock function with given fields: ctx, params, optFns
func (*SecretsManagerIface) GetSecretValue ¶
func (_m *SecretsManagerIface) GetSecretValue(ctx context.Context, params *secretsmanager.GetSecretValueInput, optFns ...func(*secretsmanager.Options)) (*secretsmanager.GetSecretValueOutput, error)
GetSecretValue provides a mock function with given fields: ctx, params, optFns
type Writer ¶
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 ¶ added in v0.8.94
DeleteCredentials provides a mock function with given fields: ctx, credID