Documentation ¶
Index ¶
- type Client
- func (_m *Client) EXPECT() *Client_Expecter
- func (_m *Client) GetSecretValue(ctx context.Context, params *secretsmanager.GetSecretValueInput, ...) (*secretsmanager.GetSecretValueOutput, error)
- func (_m *Client) UpdateSecret(ctx context.Context, params *secretsmanager.UpdateSecretInput, ...) (*secretsmanager.UpdateSecretOutput, error)
- type Client_Expecter
- type Client_GetSecretValue_Call
- func (_c *Client_GetSecretValue_Call) Return(_a0 *secretsmanager.GetSecretValueOutput, _a1 error) *Client_GetSecretValue_Call
- func (_c *Client_GetSecretValue_Call) Run(run func(ctx context.Context, params *secretsmanager.GetSecretValueInput, ...)) *Client_GetSecretValue_Call
- func (_c *Client_GetSecretValue_Call) RunAndReturn(...) *Client_GetSecretValue_Call
- type Client_UpdateSecret_Call
- func (_c *Client_UpdateSecret_Call) Return(_a0 *secretsmanager.UpdateSecretOutput, _a1 error) *Client_UpdateSecret_Call
- func (_c *Client_UpdateSecret_Call) Run(run func(ctx context.Context, params *secretsmanager.UpdateSecretInput, ...)) *Client_UpdateSecret_Call
- func (_c *Client_UpdateSecret_Call) RunAndReturn(...) *Client_UpdateSecret_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an autogenerated mock type for the Client type
func NewClient ¶
NewClient creates a new instance of Client. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Client) EXPECT ¶
func (_m *Client) EXPECT() *Client_Expecter
func (*Client) GetSecretValue ¶
func (_m *Client) 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
func (*Client) UpdateSecret ¶
func (_m *Client) UpdateSecret(ctx context.Context, params *secretsmanager.UpdateSecretInput, optFns ...func(*secretsmanager.Options)) (*secretsmanager.UpdateSecretOutput, error)
UpdateSecret provides a mock function with given fields: ctx, params, optFns
type Client_Expecter ¶
type Client_Expecter struct {
// contains filtered or unexported fields
}
func (*Client_Expecter) GetSecretValue ¶
func (_e *Client_Expecter) GetSecretValue(ctx interface{}, params interface{}, optFns ...interface{}) *Client_GetSecretValue_Call
GetSecretValue is a helper method to define mock.On call
- ctx context.Context
- params *secretsmanager.GetSecretValueInput
- optFns ...func(*secretsmanager.Options)
func (*Client_Expecter) UpdateSecret ¶
func (_e *Client_Expecter) UpdateSecret(ctx interface{}, params interface{}, optFns ...interface{}) *Client_UpdateSecret_Call
UpdateSecret is a helper method to define mock.On call
- ctx context.Context
- params *secretsmanager.UpdateSecretInput
- optFns ...func(*secretsmanager.Options)
type Client_GetSecretValue_Call ¶
Client_GetSecretValue_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSecretValue'
func (*Client_GetSecretValue_Call) Return ¶
func (_c *Client_GetSecretValue_Call) Return(_a0 *secretsmanager.GetSecretValueOutput, _a1 error) *Client_GetSecretValue_Call
func (*Client_GetSecretValue_Call) Run ¶
func (_c *Client_GetSecretValue_Call) Run(run func(ctx context.Context, params *secretsmanager.GetSecretValueInput, optFns ...func(*secretsmanager.Options))) *Client_GetSecretValue_Call
func (*Client_GetSecretValue_Call) RunAndReturn ¶
func (_c *Client_GetSecretValue_Call) RunAndReturn(run func(context.Context, *secretsmanager.GetSecretValueInput, ...func(*secretsmanager.Options)) (*secretsmanager.GetSecretValueOutput, error)) *Client_GetSecretValue_Call
type Client_UpdateSecret_Call ¶
Client_UpdateSecret_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateSecret'
func (*Client_UpdateSecret_Call) Return ¶
func (_c *Client_UpdateSecret_Call) Return(_a0 *secretsmanager.UpdateSecretOutput, _a1 error) *Client_UpdateSecret_Call
func (*Client_UpdateSecret_Call) Run ¶
func (_c *Client_UpdateSecret_Call) Run(run func(ctx context.Context, params *secretsmanager.UpdateSecretInput, optFns ...func(*secretsmanager.Options))) *Client_UpdateSecret_Call
func (*Client_UpdateSecret_Call) RunAndReturn ¶
func (_c *Client_UpdateSecret_Call) RunAndReturn(run func(context.Context, *secretsmanager.UpdateSecretInput, ...func(*secretsmanager.Options)) (*secretsmanager.UpdateSecretOutput, error)) *Client_UpdateSecret_Call