resourcegroupsdouble

package
v0.0.0-...-8548fdf Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

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

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 (*ResourceGroupsDouble) CreateGroupRequest

func (*ResourceGroupsDouble) CreateGroupWithContext

func (*ResourceGroupsDouble) DeleteGroup

func (*ResourceGroupsDouble) DeleteGroupRequest

func (*ResourceGroupsDouble) DeleteGroupWithContext

func (*ResourceGroupsDouble) GetGroup

func (*ResourceGroupsDouble) GetGroupQuery

func (*ResourceGroupsDouble) GetGroupQueryRequest

func (*ResourceGroupsDouble) GetGroupQueryWithContext

func (*ResourceGroupsDouble) GetGroupRequest

func (*ResourceGroupsDouble) GetGroupWithContext

func (*ResourceGroupsDouble) GetTags

func (*ResourceGroupsDouble) GetTagsRequest

func (*ResourceGroupsDouble) GetTagsWithContext

func (*ResourceGroupsDouble) ListGroupResources

func (*ResourceGroupsDouble) ListGroupResourcesPages

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 (*ResourceGroupsDouble) ListGroupResourcesWithContext

func (*ResourceGroupsDouble) ListGroups

func (*ResourceGroupsDouble) ListGroupsPages

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 (*ResourceGroupsDouble) ListGroupsWithContext

func (*ResourceGroupsDouble) SearchResources

func (*ResourceGroupsDouble) SearchResourcesPages

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 (*ResourceGroupsDouble) SearchResourcesWithContext

func (*ResourceGroupsDouble) Tag

func (*ResourceGroupsDouble) TagRequest

func (*ResourceGroupsDouble) TagWithContext

func (*ResourceGroupsDouble) Untag

func (*ResourceGroupsDouble) UntagRequest

func (*ResourceGroupsDouble) UntagWithContext

func (*ResourceGroupsDouble) UpdateGroup

func (*ResourceGroupsDouble) UpdateGroupQuery

func (*ResourceGroupsDouble) UpdateGroupQueryRequest

func (*ResourceGroupsDouble) UpdateGroupQueryWithContext

func (*ResourceGroupsDouble) UpdateGroupRequest

func (*ResourceGroupsDouble) UpdateGroupWithContext

Jump to

Keyboard shortcuts

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