Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Anything is used in Diff and Assert when the argument being tested // shouldn't be taken into consideration. Anything = "mock.Anything" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockedSecretsManager ¶
type MockedSecretsManager struct { iface.SecretsManager mock.Mock }
MockedSecretsManager is an implementation of the SecretsManager interface with a mock, use for testing not for production
func (*MockedSecretsManager) GetSecretValue ¶
func (_m *MockedSecretsManager) GetSecretValue(ctx context.Context, params *secretsmanager.GetSecretValueInput, optFns ...func(*secretsmanager.Options)) (*secretsmanager.GetSecretValueOutput, error)
type Reader ¶
Reader is an implementation of the Reader interface with a mock, use for testing not for production
func (*Reader) Read ¶
func (_m *Reader) Read(_a0 events.SQSMessage) (budget.Transaction, error)
Click to show internal directories.
Click to hide internal directories.