Documentation ¶
Index ¶
- type Client
- func (_m *Client) DescribeContainerInstances(ctx context.Context, params *ecs.DescribeContainerInstancesInput, ...) (*ecs.DescribeContainerInstancesOutput, error)
- func (_m *Client) DescribeTasks(ctx context.Context, params *ecs.DescribeTasksInput, ...) (*ecs.DescribeTasksOutput, error)
- func (_m *Client) EXPECT() *Client_Expecter
- type Client_DescribeContainerInstances_Call
- func (_c *Client_DescribeContainerInstances_Call) Return(_a0 *ecs.DescribeContainerInstancesOutput, _a1 error) *Client_DescribeContainerInstances_Call
- func (_c *Client_DescribeContainerInstances_Call) Run(...) *Client_DescribeContainerInstances_Call
- func (_c *Client_DescribeContainerInstances_Call) RunAndReturn(...) *Client_DescribeContainerInstances_Call
- type Client_DescribeTasks_Call
- func (_c *Client_DescribeTasks_Call) Return(_a0 *ecs.DescribeTasksOutput, _a1 error) *Client_DescribeTasks_Call
- func (_c *Client_DescribeTasks_Call) Run(run func(ctx context.Context, params *ecs.DescribeTasksInput, ...)) *Client_DescribeTasks_Call
- func (_c *Client_DescribeTasks_Call) RunAndReturn(...) *Client_DescribeTasks_Call
- type Client_Expecter
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) DescribeContainerInstances ¶
func (_m *Client) DescribeContainerInstances(ctx context.Context, params *ecs.DescribeContainerInstancesInput, optFns ...func(*ecs.Options)) (*ecs.DescribeContainerInstancesOutput, error)
DescribeContainerInstances provides a mock function with given fields: ctx, params, optFns
func (*Client) DescribeTasks ¶
func (_m *Client) DescribeTasks(ctx context.Context, params *ecs.DescribeTasksInput, optFns ...func(*ecs.Options)) (*ecs.DescribeTasksOutput, error)
DescribeTasks provides a mock function with given fields: ctx, params, optFns
func (*Client) EXPECT ¶
func (_m *Client) EXPECT() *Client_Expecter
type Client_DescribeContainerInstances_Call ¶
Client_DescribeContainerInstances_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeContainerInstances'
func (*Client_DescribeContainerInstances_Call) Return ¶
func (_c *Client_DescribeContainerInstances_Call) Return(_a0 *ecs.DescribeContainerInstancesOutput, _a1 error) *Client_DescribeContainerInstances_Call
func (*Client_DescribeContainerInstances_Call) Run ¶
func (_c *Client_DescribeContainerInstances_Call) Run(run func(ctx context.Context, params *ecs.DescribeContainerInstancesInput, optFns ...func(*ecs.Options))) *Client_DescribeContainerInstances_Call
func (*Client_DescribeContainerInstances_Call) RunAndReturn ¶
func (_c *Client_DescribeContainerInstances_Call) RunAndReturn(run func(context.Context, *ecs.DescribeContainerInstancesInput, ...func(*ecs.Options)) (*ecs.DescribeContainerInstancesOutput, error)) *Client_DescribeContainerInstances_Call
type Client_DescribeTasks_Call ¶
Client_DescribeTasks_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeTasks'
func (*Client_DescribeTasks_Call) Return ¶
func (_c *Client_DescribeTasks_Call) Return(_a0 *ecs.DescribeTasksOutput, _a1 error) *Client_DescribeTasks_Call
func (*Client_DescribeTasks_Call) Run ¶
func (_c *Client_DescribeTasks_Call) Run(run func(ctx context.Context, params *ecs.DescribeTasksInput, optFns ...func(*ecs.Options))) *Client_DescribeTasks_Call
func (*Client_DescribeTasks_Call) RunAndReturn ¶
func (_c *Client_DescribeTasks_Call) RunAndReturn(run func(context.Context, *ecs.DescribeTasksInput, ...func(*ecs.Options)) (*ecs.DescribeTasksOutput, error)) *Client_DescribeTasks_Call
type Client_Expecter ¶
type Client_Expecter struct {
// contains filtered or unexported fields
}
func (*Client_Expecter) DescribeContainerInstances ¶
func (_e *Client_Expecter) DescribeContainerInstances(ctx interface{}, params interface{}, optFns ...interface{}) *Client_DescribeContainerInstances_Call
DescribeContainerInstances is a helper method to define mock.On call
- ctx context.Context
- params *ecs.DescribeContainerInstancesInput
- optFns ...func(*ecs.Options)
func (*Client_Expecter) DescribeTasks ¶
func (_e *Client_Expecter) DescribeTasks(ctx interface{}, params interface{}, optFns ...interface{}) *Client_DescribeTasks_Call
DescribeTasks is a helper method to define mock.On call
- ctx context.Context
- params *ecs.DescribeTasksInput
- optFns ...func(*ecs.Options)