mocks

package
v0.18.1 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func NewClient

func NewClient(t mockConstructorTestingTNewClient) *Client

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.

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

type Client_GetParameter_Call struct {
	*mock.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 (*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

type Client_GetParametersByPath_Call

type Client_GetParametersByPath_Call struct {
	*mock.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 (*Client_GetParametersByPath_Call) Run

func (*Client_GetParametersByPath_Call) RunAndReturn

type SimpleSystemsManager

type SimpleSystemsManager struct {
	mock.Mock
}

SimpleSystemsManager is an autogenerated mock type for the SimpleSystemsManager type

func NewSimpleSystemsManager

func NewSimpleSystemsManager(t mockConstructorTestingTNewSimpleSystemsManager) *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.

func (*SimpleSystemsManager) EXPECT

func (*SimpleSystemsManager) GetParameter

func (_m *SimpleSystemsManager) GetParameter(ctx context.Context, path string) (string, error)

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

type SimpleSystemsManager_GetParameter_Call struct {
	*mock.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 (*SimpleSystemsManager_GetParameter_Call) Run

func (*SimpleSystemsManager_GetParameter_Call) RunAndReturn

type SimpleSystemsManager_GetParameters_Call

type SimpleSystemsManager_GetParameters_Call struct {
	*mock.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 (*SimpleSystemsManager_GetParameters_Call) Run

func (*SimpleSystemsManager_GetParameters_Call) RunAndReturn

Jump to

Keyboard shortcuts

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