lakeformationdouble

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 lakeformationdouble contains test double implementation of lakeformationiface.LakeFormationAPI

Package lakeformationdouble provides a TestDouble implementation of lakeformationiface.LakeFormationAPI

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 LakeFormationDouble

type LakeFormationDouble struct {
	lakeformationiface.LakeFormationAPI
	*awsdouble.AWSTestDouble
}

LakeFormationDouble is TestDouble for lakeformationiface.LakeFormationAPI

func NewDouble

func NewDouble(t godouble.T, configurators ...func(*awsdouble.AWSTestDouble)) *LakeFormationDouble

Constructor for LakeFormationDouble 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 (*LakeFormationDouble) BatchGrantPermissions

func (*LakeFormationDouble) BatchGrantPermissionsWithContext

func (*LakeFormationDouble) DeregisterResource

func (*LakeFormationDouble) DeregisterResourceRequest

func (*LakeFormationDouble) DeregisterResourceWithContext

func (*LakeFormationDouble) DescribeResource

func (*LakeFormationDouble) DescribeResourceRequest

func (*LakeFormationDouble) DescribeResourceWithContext

func (*LakeFormationDouble) GetDataLakeSettings

func (*LakeFormationDouble) GetDataLakeSettingsRequest

func (*LakeFormationDouble) GetDataLakeSettingsWithContext

func (*LakeFormationDouble) GrantPermissions

func (*LakeFormationDouble) GrantPermissionsRequest

func (*LakeFormationDouble) GrantPermissionsWithContext

func (*LakeFormationDouble) ListPermissions

func (*LakeFormationDouble) ListPermissionsPages

func (*LakeFormationDouble) ListPermissionsPagesWithContext

func (d *LakeFormationDouble) ListPermissionsPagesWithContext(i0 context.Context, i1 *lakeformation.ListPermissionsInput, i2 func(*lakeformation.ListPermissionsOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*LakeFormationDouble) ListPermissionsRequest

func (*LakeFormationDouble) ListPermissionsWithContext

func (*LakeFormationDouble) ListResources

func (*LakeFormationDouble) ListResourcesPages

func (*LakeFormationDouble) ListResourcesPagesWithContext

func (d *LakeFormationDouble) ListResourcesPagesWithContext(i0 context.Context, i1 *lakeformation.ListResourcesInput, i2 func(*lakeformation.ListResourcesOutput, bool) bool, i3 ...request.Option) (r0 error)

func (*LakeFormationDouble) ListResourcesRequest

func (*LakeFormationDouble) ListResourcesWithContext

func (*LakeFormationDouble) PutDataLakeSettings

func (*LakeFormationDouble) PutDataLakeSettingsRequest

func (*LakeFormationDouble) PutDataLakeSettingsWithContext

func (*LakeFormationDouble) RegisterResource

func (*LakeFormationDouble) RegisterResourceRequest

func (*LakeFormationDouble) RegisterResourceWithContext

func (*LakeFormationDouble) RevokePermissions

func (*LakeFormationDouble) RevokePermissionsRequest

func (*LakeFormationDouble) RevokePermissionsWithContext

func (*LakeFormationDouble) UpdateResource

func (*LakeFormationDouble) UpdateResourceRequest

func (*LakeFormationDouble) UpdateResourceWithContext

Jump to

Keyboard shortcuts

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