mocks

package
v0.26.6 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: MIT Imports: 3 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 interface {
	mock.TestingT
	Cleanup(func())
}) *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. 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

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

type Client_DescribeTasks_Call

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

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)

Jump to

Keyboard shortcuts

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