Documentation ¶
Index ¶
- type Client
- type Client_Expecter
- type Client_GetResources_Call
- type Service
- type Service_Expecter
- type Service_GetResources_Call
- func (_c *Service_GetResources_Call) Return(_a0 []string, _a1 error) *Service_GetResources_Call
- func (_c *Service_GetResources_Call) Run(run func(ctx context.Context, filter resourcegroupstaggingapi.Filter)) *Service_GetResources_Call
- func (_c *Service_GetResources_Call) RunAndReturn(run func(context.Context, resourcegroupstaggingapi.Filter) ([]string, error)) *Service_GetResources_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) GetResources ¶
func (_m *Client) GetResources(_a0 context.Context, _a1 *resourcegroupstaggingapi.GetResourcesInput, _a2 ...func(*resourcegroupstaggingapi.Options)) (*resourcegroupstaggingapi.GetResourcesOutput, error)
GetResources provides a mock function with given fields: _a0, _a1, _a2
type Client_Expecter ¶
type Client_Expecter struct {
// contains filtered or unexported fields
}
func (*Client_Expecter) GetResources ¶
func (_e *Client_Expecter) GetResources(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *Client_GetResources_Call
GetResources is a helper method to define mock.On call
- _a0 context.Context
- _a1 *resourcegroupstaggingapi.GetResourcesInput
- _a2 ...func(*resourcegroupstaggingapi.Options)
type Client_GetResources_Call ¶
Client_GetResources_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetResources'
func (*Client_GetResources_Call) Return ¶
func (_c *Client_GetResources_Call) Return(_a0 *resourcegroupstaggingapi.GetResourcesOutput, _a1 error) *Client_GetResources_Call
func (*Client_GetResources_Call) Run ¶
func (_c *Client_GetResources_Call) Run(run func(_a0 context.Context, _a1 *resourcegroupstaggingapi.GetResourcesInput, _a2 ...func(*resourcegroupstaggingapi.Options))) *Client_GetResources_Call
func (*Client_GetResources_Call) RunAndReturn ¶
func (_c *Client_GetResources_Call) RunAndReturn(run func(context.Context, *resourcegroupstaggingapi.GetResourcesInput, ...func(*resourcegroupstaggingapi.Options)) (*resourcegroupstaggingapi.GetResourcesOutput, error)) *Client_GetResources_Call
type Service ¶
Service is an autogenerated mock type for the Service type
func NewService ¶
NewService creates a new instance of Service. 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 (*Service) EXPECT ¶
func (_m *Service) EXPECT() *Service_Expecter
func (*Service) GetResources ¶
func (_m *Service) GetResources(ctx context.Context, filter resourcegroupstaggingapi.Filter) ([]string, error)
GetResources provides a mock function with given fields: ctx, filter
type Service_Expecter ¶
type Service_Expecter struct {
// contains filtered or unexported fields
}
func (*Service_Expecter) GetResources ¶
func (_e *Service_Expecter) GetResources(ctx interface{}, filter interface{}) *Service_GetResources_Call
GetResources is a helper method to define mock.On call
- ctx context.Context
- filter resourcegroupstaggingapi.Filter
type Service_GetResources_Call ¶
Service_GetResources_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetResources'
func (*Service_GetResources_Call) Return ¶
func (_c *Service_GetResources_Call) Return(_a0 []string, _a1 error) *Service_GetResources_Call
func (*Service_GetResources_Call) Run ¶
func (_c *Service_GetResources_Call) Run(run func(ctx context.Context, filter resourcegroupstaggingapi.Filter)) *Service_GetResources_Call
func (*Service_GetResources_Call) RunAndReturn ¶
func (_c *Service_GetResources_Call) RunAndReturn(run func(context.Context, resourcegroupstaggingapi.Filter) ([]string, error)) *Service_GetResources_Call