Documentation ¶
Index ¶
- type Client
- func (_m *Client) EXPECT() *Client_Expecter
- func (_m *Client) GetParameter(ctx context.Context, params *ssm.GetParameterInput, ...) (*ssm.GetParameterOutput, error)
- func (_m *Client) GetParametersByPath(ctx context.Context, params *ssm.GetParametersByPathInput, ...) (*ssm.GetParametersByPathOutput, error)
- type Client_Expecter
- type Client_GetParameter_Call
- func (_c *Client_GetParameter_Call) Return(_a0 *ssm.GetParameterOutput, _a1 error) *Client_GetParameter_Call
- func (_c *Client_GetParameter_Call) Run(run func(ctx context.Context, params *ssm.GetParameterInput, ...)) *Client_GetParameter_Call
- func (_c *Client_GetParameter_Call) RunAndReturn(...) *Client_GetParameter_Call
- type Client_GetParametersByPath_Call
- func (_c *Client_GetParametersByPath_Call) Return(_a0 *ssm.GetParametersByPathOutput, _a1 error) *Client_GetParametersByPath_Call
- func (_c *Client_GetParametersByPath_Call) Run(run func(ctx context.Context, params *ssm.GetParametersByPathInput, ...)) *Client_GetParametersByPath_Call
- func (_c *Client_GetParametersByPath_Call) RunAndReturn(...) *Client_GetParametersByPath_Call
- type SimpleSystemsManager
- type SimpleSystemsManager_Expecter
- type SimpleSystemsManager_GetParameter_Call
- func (_c *SimpleSystemsManager_GetParameter_Call) Return(_a0 string, _a1 error) *SimpleSystemsManager_GetParameter_Call
- func (_c *SimpleSystemsManager_GetParameter_Call) Run(run func(ctx context.Context, path string)) *SimpleSystemsManager_GetParameter_Call
- func (_c *SimpleSystemsManager_GetParameter_Call) RunAndReturn(run func(context.Context, string) (string, error)) *SimpleSystemsManager_GetParameter_Call
- type SimpleSystemsManager_GetParameters_Call
- func (_c *SimpleSystemsManager_GetParameters_Call) Return(_a0 ssm.SsmParameters, _a1 error) *SimpleSystemsManager_GetParameters_Call
- func (_c *SimpleSystemsManager_GetParameters_Call) Run(run func(ctx context.Context, path string)) *SimpleSystemsManager_GetParameters_Call
- func (_c *SimpleSystemsManager_GetParameters_Call) RunAndReturn(run func(context.Context, string) (ssm.SsmParameters, error)) *SimpleSystemsManager_GetParameters_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) GetParameter ¶
func (_m *Client) GetParameter(ctx context.Context, params *ssm.GetParameterInput, optFns ...func(*ssm.Options)) (*ssm.GetParameterOutput, error)
GetParameter provides a mock function with given fields: ctx, params, optFns
func (*Client) GetParametersByPath ¶
func (_m *Client) GetParametersByPath(ctx context.Context, params *ssm.GetParametersByPathInput, optFns ...func(*ssm.Options)) (*ssm.GetParametersByPathOutput, error)
GetParametersByPath 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) GetParameter ¶
func (_e *Client_Expecter) GetParameter(ctx interface{}, params interface{}, optFns ...interface{}) *Client_GetParameter_Call
GetParameter is a helper method to define mock.On call
- ctx context.Context
- params *ssm.GetParameterInput
- optFns ...func(*ssm.Options)
func (*Client_Expecter) GetParametersByPath ¶
func (_e *Client_Expecter) GetParametersByPath(ctx interface{}, params interface{}, optFns ...interface{}) *Client_GetParametersByPath_Call
GetParametersByPath is a helper method to define mock.On call
- ctx context.Context
- params *ssm.GetParametersByPathInput
- optFns ...func(*ssm.Options)
type Client_GetParameter_Call ¶
Client_GetParameter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetParameter'
func (*Client_GetParameter_Call) Return ¶
func (_c *Client_GetParameter_Call) Return(_a0 *ssm.GetParameterOutput, _a1 error) *Client_GetParameter_Call
func (*Client_GetParameter_Call) Run ¶
func (_c *Client_GetParameter_Call) Run(run func(ctx context.Context, params *ssm.GetParameterInput, optFns ...func(*ssm.Options))) *Client_GetParameter_Call
func (*Client_GetParameter_Call) RunAndReturn ¶
func (_c *Client_GetParameter_Call) RunAndReturn(run func(context.Context, *ssm.GetParameterInput, ...func(*ssm.Options)) (*ssm.GetParameterOutput, error)) *Client_GetParameter_Call
type Client_GetParametersByPath_Call ¶
Client_GetParametersByPath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetParametersByPath'
func (*Client_GetParametersByPath_Call) Return ¶
func (_c *Client_GetParametersByPath_Call) Return(_a0 *ssm.GetParametersByPathOutput, _a1 error) *Client_GetParametersByPath_Call
func (*Client_GetParametersByPath_Call) Run ¶
func (_c *Client_GetParametersByPath_Call) Run(run func(ctx context.Context, params *ssm.GetParametersByPathInput, optFns ...func(*ssm.Options))) *Client_GetParametersByPath_Call
func (*Client_GetParametersByPath_Call) RunAndReturn ¶
func (_c *Client_GetParametersByPath_Call) RunAndReturn(run func(context.Context, *ssm.GetParametersByPathInput, ...func(*ssm.Options)) (*ssm.GetParametersByPathOutput, error)) *Client_GetParametersByPath_Call
type SimpleSystemsManager ¶
SimpleSystemsManager is an autogenerated mock type for the SimpleSystemsManager type
func NewSimpleSystemsManager ¶
func NewSimpleSystemsManager(t interface { mock.TestingT Cleanup(func()) }) *SimpleSystemsManager
NewSimpleSystemsManager creates a new instance of SimpleSystemsManager. 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 (*SimpleSystemsManager) EXPECT ¶
func (_m *SimpleSystemsManager) EXPECT() *SimpleSystemsManager_Expecter
func (*SimpleSystemsManager) GetParameter ¶
GetParameter provides a mock function with given fields: ctx, path
func (*SimpleSystemsManager) GetParameters ¶
func (_m *SimpleSystemsManager) GetParameters(ctx context.Context, path string) (ssm.SsmParameters, error)
GetParameters provides a mock function with given fields: ctx, path
type SimpleSystemsManager_Expecter ¶
type SimpleSystemsManager_Expecter struct {
// contains filtered or unexported fields
}
func (*SimpleSystemsManager_Expecter) GetParameter ¶
func (_e *SimpleSystemsManager_Expecter) GetParameter(ctx interface{}, path interface{}) *SimpleSystemsManager_GetParameter_Call
GetParameter is a helper method to define mock.On call
- ctx context.Context
- path string
func (*SimpleSystemsManager_Expecter) GetParameters ¶
func (_e *SimpleSystemsManager_Expecter) GetParameters(ctx interface{}, path interface{}) *SimpleSystemsManager_GetParameters_Call
GetParameters is a helper method to define mock.On call
- ctx context.Context
- path string
type SimpleSystemsManager_GetParameter_Call ¶
SimpleSystemsManager_GetParameter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetParameter'
func (*SimpleSystemsManager_GetParameter_Call) Return ¶
func (_c *SimpleSystemsManager_GetParameter_Call) Return(_a0 string, _a1 error) *SimpleSystemsManager_GetParameter_Call
func (*SimpleSystemsManager_GetParameter_Call) Run ¶
func (_c *SimpleSystemsManager_GetParameter_Call) Run(run func(ctx context.Context, path string)) *SimpleSystemsManager_GetParameter_Call
func (*SimpleSystemsManager_GetParameter_Call) RunAndReturn ¶
func (_c *SimpleSystemsManager_GetParameter_Call) RunAndReturn(run func(context.Context, string) (string, error)) *SimpleSystemsManager_GetParameter_Call
type SimpleSystemsManager_GetParameters_Call ¶
SimpleSystemsManager_GetParameters_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetParameters'
func (*SimpleSystemsManager_GetParameters_Call) Return ¶
func (_c *SimpleSystemsManager_GetParameters_Call) Return(_a0 ssm.SsmParameters, _a1 error) *SimpleSystemsManager_GetParameters_Call
func (*SimpleSystemsManager_GetParameters_Call) Run ¶
func (_c *SimpleSystemsManager_GetParameters_Call) Run(run func(ctx context.Context, path string)) *SimpleSystemsManager_GetParameters_Call
func (*SimpleSystemsManager_GetParameters_Call) RunAndReturn ¶
func (_c *SimpleSystemsManager_GetParameters_Call) RunAndReturn(run func(context.Context, string) (ssm.SsmParameters, error)) *SimpleSystemsManager_GetParameters_Call