Documentation ¶
Overview ¶
Code generated by go awsdoublegen; DO NOT EDIT. This file was generated at 2020-01-29T21:22:05+11:00 For SDKVersion 1.28.13 Package resourcegroupsdouble contains test double implementation of resourcegroupsiface.ResourceGroupsAPI
Package resourcegroupsdouble provides a TestDouble implementation of resourcegroupsiface.ResourceGroupsAPI ¶
Code generated by go awsdoublegen; DO NOT EDIT. This file was generated at 2020-01-29T21:22:05+11:00
Index ¶
- type ResourceGroupsDouble
- func (d *ResourceGroupsDouble) CreateGroup(i0 *resourcegroups.CreateGroupInput) (r0 *resourcegroups.CreateGroupOutput, r1 error)
- func (d *ResourceGroupsDouble) CreateGroupRequest(i0 *resourcegroups.CreateGroupInput) (r0 *request.Request, r1 *resourcegroups.CreateGroupOutput)
- func (d *ResourceGroupsDouble) CreateGroupWithContext(i0 context.Context, i1 *resourcegroups.CreateGroupInput, i2 ...request.Option) (r0 *resourcegroups.CreateGroupOutput, r1 error)
- func (d *ResourceGroupsDouble) DeleteGroup(i0 *resourcegroups.DeleteGroupInput) (r0 *resourcegroups.DeleteGroupOutput, r1 error)
- func (d *ResourceGroupsDouble) DeleteGroupRequest(i0 *resourcegroups.DeleteGroupInput) (r0 *request.Request, r1 *resourcegroups.DeleteGroupOutput)
- func (d *ResourceGroupsDouble) DeleteGroupWithContext(i0 context.Context, i1 *resourcegroups.DeleteGroupInput, i2 ...request.Option) (r0 *resourcegroups.DeleteGroupOutput, r1 error)
- func (d *ResourceGroupsDouble) GetGroup(i0 *resourcegroups.GetGroupInput) (r0 *resourcegroups.GetGroupOutput, r1 error)
- func (d *ResourceGroupsDouble) GetGroupQuery(i0 *resourcegroups.GetGroupQueryInput) (r0 *resourcegroups.GetGroupQueryOutput, r1 error)
- func (d *ResourceGroupsDouble) GetGroupQueryRequest(i0 *resourcegroups.GetGroupQueryInput) (r0 *request.Request, r1 *resourcegroups.GetGroupQueryOutput)
- func (d *ResourceGroupsDouble) GetGroupQueryWithContext(i0 context.Context, i1 *resourcegroups.GetGroupQueryInput, ...) (r0 *resourcegroups.GetGroupQueryOutput, r1 error)
- func (d *ResourceGroupsDouble) GetGroupRequest(i0 *resourcegroups.GetGroupInput) (r0 *request.Request, r1 *resourcegroups.GetGroupOutput)
- func (d *ResourceGroupsDouble) GetGroupWithContext(i0 context.Context, i1 *resourcegroups.GetGroupInput, i2 ...request.Option) (r0 *resourcegroups.GetGroupOutput, r1 error)
- func (d *ResourceGroupsDouble) GetTags(i0 *resourcegroups.GetTagsInput) (r0 *resourcegroups.GetTagsOutput, r1 error)
- func (d *ResourceGroupsDouble) GetTagsRequest(i0 *resourcegroups.GetTagsInput) (r0 *request.Request, r1 *resourcegroups.GetTagsOutput)
- func (d *ResourceGroupsDouble) GetTagsWithContext(i0 context.Context, i1 *resourcegroups.GetTagsInput, i2 ...request.Option) (r0 *resourcegroups.GetTagsOutput, r1 error)
- func (d *ResourceGroupsDouble) ListGroupResources(i0 *resourcegroups.ListGroupResourcesInput) (r0 *resourcegroups.ListGroupResourcesOutput, r1 error)
- func (d *ResourceGroupsDouble) ListGroupResourcesPages(i0 *resourcegroups.ListGroupResourcesInput, ...) (r0 error)
- func (d *ResourceGroupsDouble) ListGroupResourcesPagesWithContext(i0 context.Context, i1 *resourcegroups.ListGroupResourcesInput, ...) (r0 error)
- func (d *ResourceGroupsDouble) ListGroupResourcesRequest(i0 *resourcegroups.ListGroupResourcesInput) (r0 *request.Request, r1 *resourcegroups.ListGroupResourcesOutput)
- func (d *ResourceGroupsDouble) ListGroupResourcesWithContext(i0 context.Context, i1 *resourcegroups.ListGroupResourcesInput, ...) (r0 *resourcegroups.ListGroupResourcesOutput, r1 error)
- func (d *ResourceGroupsDouble) ListGroups(i0 *resourcegroups.ListGroupsInput) (r0 *resourcegroups.ListGroupsOutput, r1 error)
- func (d *ResourceGroupsDouble) ListGroupsPages(i0 *resourcegroups.ListGroupsInput, ...) (r0 error)
- func (d *ResourceGroupsDouble) ListGroupsPagesWithContext(i0 context.Context, i1 *resourcegroups.ListGroupsInput, ...) (r0 error)
- func (d *ResourceGroupsDouble) ListGroupsRequest(i0 *resourcegroups.ListGroupsInput) (r0 *request.Request, r1 *resourcegroups.ListGroupsOutput)
- func (d *ResourceGroupsDouble) ListGroupsWithContext(i0 context.Context, i1 *resourcegroups.ListGroupsInput, i2 ...request.Option) (r0 *resourcegroups.ListGroupsOutput, r1 error)
- func (d *ResourceGroupsDouble) SearchResources(i0 *resourcegroups.SearchResourcesInput) (r0 *resourcegroups.SearchResourcesOutput, r1 error)
- func (d *ResourceGroupsDouble) SearchResourcesPages(i0 *resourcegroups.SearchResourcesInput, ...) (r0 error)
- func (d *ResourceGroupsDouble) SearchResourcesPagesWithContext(i0 context.Context, i1 *resourcegroups.SearchResourcesInput, ...) (r0 error)
- func (d *ResourceGroupsDouble) SearchResourcesRequest(i0 *resourcegroups.SearchResourcesInput) (r0 *request.Request, r1 *resourcegroups.SearchResourcesOutput)
- func (d *ResourceGroupsDouble) SearchResourcesWithContext(i0 context.Context, i1 *resourcegroups.SearchResourcesInput, ...) (r0 *resourcegroups.SearchResourcesOutput, r1 error)
- func (d *ResourceGroupsDouble) Tag(i0 *resourcegroups.TagInput) (r0 *resourcegroups.TagOutput, r1 error)
- func (d *ResourceGroupsDouble) TagRequest(i0 *resourcegroups.TagInput) (r0 *request.Request, r1 *resourcegroups.TagOutput)
- func (d *ResourceGroupsDouble) TagWithContext(i0 context.Context, i1 *resourcegroups.TagInput, i2 ...request.Option) (r0 *resourcegroups.TagOutput, r1 error)
- func (d *ResourceGroupsDouble) Untag(i0 *resourcegroups.UntagInput) (r0 *resourcegroups.UntagOutput, r1 error)
- func (d *ResourceGroupsDouble) UntagRequest(i0 *resourcegroups.UntagInput) (r0 *request.Request, r1 *resourcegroups.UntagOutput)
- func (d *ResourceGroupsDouble) UntagWithContext(i0 context.Context, i1 *resourcegroups.UntagInput, i2 ...request.Option) (r0 *resourcegroups.UntagOutput, r1 error)
- func (d *ResourceGroupsDouble) UpdateGroup(i0 *resourcegroups.UpdateGroupInput) (r0 *resourcegroups.UpdateGroupOutput, r1 error)
- func (d *ResourceGroupsDouble) UpdateGroupQuery(i0 *resourcegroups.UpdateGroupQueryInput) (r0 *resourcegroups.UpdateGroupQueryOutput, r1 error)
- func (d *ResourceGroupsDouble) UpdateGroupQueryRequest(i0 *resourcegroups.UpdateGroupQueryInput) (r0 *request.Request, r1 *resourcegroups.UpdateGroupQueryOutput)
- func (d *ResourceGroupsDouble) UpdateGroupQueryWithContext(i0 context.Context, i1 *resourcegroups.UpdateGroupQueryInput, ...) (r0 *resourcegroups.UpdateGroupQueryOutput, r1 error)
- func (d *ResourceGroupsDouble) UpdateGroupRequest(i0 *resourcegroups.UpdateGroupInput) (r0 *request.Request, r1 *resourcegroups.UpdateGroupOutput)
- func (d *ResourceGroupsDouble) UpdateGroupWithContext(i0 context.Context, i1 *resourcegroups.UpdateGroupInput, i2 ...request.Option) (r0 *resourcegroups.UpdateGroupOutput, r1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResourceGroupsDouble ¶
type ResourceGroupsDouble struct { resourcegroupsiface.ResourceGroupsAPI *awsdouble.AWSTestDouble }
ResourceGroupsDouble is TestDouble for resourcegroupsiface.ResourceGroupsAPI
func NewDouble ¶
func NewDouble(t godouble.T, configurators ...func(*awsdouble.AWSTestDouble)) *ResourceGroupsDouble
Constructor for ResourceGroupsDouble Default configuration will ensure
API operations not explicitly stubbed will return an empty output struct pointer, and nil error. To simulate long polling, "Poll" operations will return these values after a random delay of up to 100ms.
WithContext methods implement a 'Fake' method that returns a cancellation error if the context is cancelled before the method is called.
Pages and PagesWithContext methods similarly implement a 'Fake' method that paginates over the underlying method.
This allows tests to only stub the simple api methods and be generally unconcerned whether the SUT is using the Context or Pagination forms of the API.
func (*ResourceGroupsDouble) CreateGroup ¶
func (d *ResourceGroupsDouble) CreateGroup(i0 *resourcegroups.CreateGroupInput) (r0 *resourcegroups.CreateGroupOutput, r1 error)
func (*ResourceGroupsDouble) CreateGroupRequest ¶
func (d *ResourceGroupsDouble) CreateGroupRequest(i0 *resourcegroups.CreateGroupInput) (r0 *request.Request, r1 *resourcegroups.CreateGroupOutput)
func (*ResourceGroupsDouble) CreateGroupWithContext ¶
func (d *ResourceGroupsDouble) CreateGroupWithContext(i0 context.Context, i1 *resourcegroups.CreateGroupInput, i2 ...request.Option) (r0 *resourcegroups.CreateGroupOutput, r1 error)
func (*ResourceGroupsDouble) DeleteGroup ¶
func (d *ResourceGroupsDouble) DeleteGroup(i0 *resourcegroups.DeleteGroupInput) (r0 *resourcegroups.DeleteGroupOutput, r1 error)
func (*ResourceGroupsDouble) DeleteGroupRequest ¶
func (d *ResourceGroupsDouble) DeleteGroupRequest(i0 *resourcegroups.DeleteGroupInput) (r0 *request.Request, r1 *resourcegroups.DeleteGroupOutput)
func (*ResourceGroupsDouble) DeleteGroupWithContext ¶
func (d *ResourceGroupsDouble) DeleteGroupWithContext(i0 context.Context, i1 *resourcegroups.DeleteGroupInput, i2 ...request.Option) (r0 *resourcegroups.DeleteGroupOutput, r1 error)
func (*ResourceGroupsDouble) GetGroup ¶
func (d *ResourceGroupsDouble) GetGroup(i0 *resourcegroups.GetGroupInput) (r0 *resourcegroups.GetGroupOutput, r1 error)
func (*ResourceGroupsDouble) GetGroupQuery ¶
func (d *ResourceGroupsDouble) GetGroupQuery(i0 *resourcegroups.GetGroupQueryInput) (r0 *resourcegroups.GetGroupQueryOutput, r1 error)
func (*ResourceGroupsDouble) GetGroupQueryRequest ¶
func (d *ResourceGroupsDouble) GetGroupQueryRequest(i0 *resourcegroups.GetGroupQueryInput) (r0 *request.Request, r1 *resourcegroups.GetGroupQueryOutput)
func (*ResourceGroupsDouble) GetGroupQueryWithContext ¶
func (d *ResourceGroupsDouble) GetGroupQueryWithContext(i0 context.Context, i1 *resourcegroups.GetGroupQueryInput, i2 ...request.Option) (r0 *resourcegroups.GetGroupQueryOutput, r1 error)
func (*ResourceGroupsDouble) GetGroupRequest ¶
func (d *ResourceGroupsDouble) GetGroupRequest(i0 *resourcegroups.GetGroupInput) (r0 *request.Request, r1 *resourcegroups.GetGroupOutput)
func (*ResourceGroupsDouble) GetGroupWithContext ¶
func (d *ResourceGroupsDouble) GetGroupWithContext(i0 context.Context, i1 *resourcegroups.GetGroupInput, i2 ...request.Option) (r0 *resourcegroups.GetGroupOutput, r1 error)
func (*ResourceGroupsDouble) GetTags ¶
func (d *ResourceGroupsDouble) GetTags(i0 *resourcegroups.GetTagsInput) (r0 *resourcegroups.GetTagsOutput, r1 error)
func (*ResourceGroupsDouble) GetTagsRequest ¶
func (d *ResourceGroupsDouble) GetTagsRequest(i0 *resourcegroups.GetTagsInput) (r0 *request.Request, r1 *resourcegroups.GetTagsOutput)
func (*ResourceGroupsDouble) GetTagsWithContext ¶
func (d *ResourceGroupsDouble) GetTagsWithContext(i0 context.Context, i1 *resourcegroups.GetTagsInput, i2 ...request.Option) (r0 *resourcegroups.GetTagsOutput, r1 error)
func (*ResourceGroupsDouble) ListGroupResources ¶
func (d *ResourceGroupsDouble) ListGroupResources(i0 *resourcegroups.ListGroupResourcesInput) (r0 *resourcegroups.ListGroupResourcesOutput, r1 error)
func (*ResourceGroupsDouble) ListGroupResourcesPages ¶
func (d *ResourceGroupsDouble) ListGroupResourcesPages(i0 *resourcegroups.ListGroupResourcesInput, i1 func(*resourcegroups.ListGroupResourcesOutput, bool) bool) (r0 error)
func (*ResourceGroupsDouble) ListGroupResourcesPagesWithContext ¶
func (d *ResourceGroupsDouble) ListGroupResourcesPagesWithContext(i0 context.Context, i1 *resourcegroups.ListGroupResourcesInput, i2 func(*resourcegroups.ListGroupResourcesOutput, bool) bool, i3 ...request.Option) (r0 error)
func (*ResourceGroupsDouble) ListGroupResourcesRequest ¶
func (d *ResourceGroupsDouble) ListGroupResourcesRequest(i0 *resourcegroups.ListGroupResourcesInput) (r0 *request.Request, r1 *resourcegroups.ListGroupResourcesOutput)
func (*ResourceGroupsDouble) ListGroupResourcesWithContext ¶
func (d *ResourceGroupsDouble) ListGroupResourcesWithContext(i0 context.Context, i1 *resourcegroups.ListGroupResourcesInput, i2 ...request.Option) (r0 *resourcegroups.ListGroupResourcesOutput, r1 error)
func (*ResourceGroupsDouble) ListGroups ¶
func (d *ResourceGroupsDouble) ListGroups(i0 *resourcegroups.ListGroupsInput) (r0 *resourcegroups.ListGroupsOutput, r1 error)
func (*ResourceGroupsDouble) ListGroupsPages ¶
func (d *ResourceGroupsDouble) ListGroupsPages(i0 *resourcegroups.ListGroupsInput, i1 func(*resourcegroups.ListGroupsOutput, bool) bool) (r0 error)
func (*ResourceGroupsDouble) ListGroupsPagesWithContext ¶
func (d *ResourceGroupsDouble) ListGroupsPagesWithContext(i0 context.Context, i1 *resourcegroups.ListGroupsInput, i2 func(*resourcegroups.ListGroupsOutput, bool) bool, i3 ...request.Option) (r0 error)
func (*ResourceGroupsDouble) ListGroupsRequest ¶
func (d *ResourceGroupsDouble) ListGroupsRequest(i0 *resourcegroups.ListGroupsInput) (r0 *request.Request, r1 *resourcegroups.ListGroupsOutput)
func (*ResourceGroupsDouble) ListGroupsWithContext ¶
func (d *ResourceGroupsDouble) ListGroupsWithContext(i0 context.Context, i1 *resourcegroups.ListGroupsInput, i2 ...request.Option) (r0 *resourcegroups.ListGroupsOutput, r1 error)
func (*ResourceGroupsDouble) SearchResources ¶
func (d *ResourceGroupsDouble) SearchResources(i0 *resourcegroups.SearchResourcesInput) (r0 *resourcegroups.SearchResourcesOutput, r1 error)
func (*ResourceGroupsDouble) SearchResourcesPages ¶
func (d *ResourceGroupsDouble) SearchResourcesPages(i0 *resourcegroups.SearchResourcesInput, i1 func(*resourcegroups.SearchResourcesOutput, bool) bool) (r0 error)
func (*ResourceGroupsDouble) SearchResourcesPagesWithContext ¶
func (d *ResourceGroupsDouble) SearchResourcesPagesWithContext(i0 context.Context, i1 *resourcegroups.SearchResourcesInput, i2 func(*resourcegroups.SearchResourcesOutput, bool) bool, i3 ...request.Option) (r0 error)
func (*ResourceGroupsDouble) SearchResourcesRequest ¶
func (d *ResourceGroupsDouble) SearchResourcesRequest(i0 *resourcegroups.SearchResourcesInput) (r0 *request.Request, r1 *resourcegroups.SearchResourcesOutput)
func (*ResourceGroupsDouble) SearchResourcesWithContext ¶
func (d *ResourceGroupsDouble) SearchResourcesWithContext(i0 context.Context, i1 *resourcegroups.SearchResourcesInput, i2 ...request.Option) (r0 *resourcegroups.SearchResourcesOutput, r1 error)
func (*ResourceGroupsDouble) Tag ¶
func (d *ResourceGroupsDouble) Tag(i0 *resourcegroups.TagInput) (r0 *resourcegroups.TagOutput, r1 error)
func (*ResourceGroupsDouble) TagRequest ¶
func (d *ResourceGroupsDouble) TagRequest(i0 *resourcegroups.TagInput) (r0 *request.Request, r1 *resourcegroups.TagOutput)
func (*ResourceGroupsDouble) TagWithContext ¶
func (d *ResourceGroupsDouble) TagWithContext(i0 context.Context, i1 *resourcegroups.TagInput, i2 ...request.Option) (r0 *resourcegroups.TagOutput, r1 error)
func (*ResourceGroupsDouble) Untag ¶
func (d *ResourceGroupsDouble) Untag(i0 *resourcegroups.UntagInput) (r0 *resourcegroups.UntagOutput, r1 error)
func (*ResourceGroupsDouble) UntagRequest ¶
func (d *ResourceGroupsDouble) UntagRequest(i0 *resourcegroups.UntagInput) (r0 *request.Request, r1 *resourcegroups.UntagOutput)
func (*ResourceGroupsDouble) UntagWithContext ¶
func (d *ResourceGroupsDouble) UntagWithContext(i0 context.Context, i1 *resourcegroups.UntagInput, i2 ...request.Option) (r0 *resourcegroups.UntagOutput, r1 error)
func (*ResourceGroupsDouble) UpdateGroup ¶
func (d *ResourceGroupsDouble) UpdateGroup(i0 *resourcegroups.UpdateGroupInput) (r0 *resourcegroups.UpdateGroupOutput, r1 error)
func (*ResourceGroupsDouble) UpdateGroupQuery ¶
func (d *ResourceGroupsDouble) UpdateGroupQuery(i0 *resourcegroups.UpdateGroupQueryInput) (r0 *resourcegroups.UpdateGroupQueryOutput, r1 error)
func (*ResourceGroupsDouble) UpdateGroupQueryRequest ¶
func (d *ResourceGroupsDouble) UpdateGroupQueryRequest(i0 *resourcegroups.UpdateGroupQueryInput) (r0 *request.Request, r1 *resourcegroups.UpdateGroupQueryOutput)
func (*ResourceGroupsDouble) UpdateGroupQueryWithContext ¶
func (d *ResourceGroupsDouble) UpdateGroupQueryWithContext(i0 context.Context, i1 *resourcegroups.UpdateGroupQueryInput, i2 ...request.Option) (r0 *resourcegroups.UpdateGroupQueryOutput, r1 error)
func (*ResourceGroupsDouble) UpdateGroupRequest ¶
func (d *ResourceGroupsDouble) UpdateGroupRequest(i0 *resourcegroups.UpdateGroupInput) (r0 *request.Request, r1 *resourcegroups.UpdateGroupOutput)
func (*ResourceGroupsDouble) UpdateGroupWithContext ¶
func (d *ResourceGroupsDouble) UpdateGroupWithContext(i0 context.Context, i1 *resourcegroups.UpdateGroupInput, i2 ...request.Option) (r0 *resourcegroups.UpdateGroupOutput, r1 error)