fake

package
v0.27.1 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAPIGatewayClient

type MockAPIGatewayClient struct {
	MockGetRestAPIByID         func(context.Context, *string) (*svcsdk.RestApi, error)
	MockGetRestAPIRootResource func(context.Context, *string) (*string, error)
	MockGetResource            func(context.Context, *svcsdk.GetResourceInput, ...request.Option) (*svcsdk.Resource, error)
}

MockAPIGatewayClient is a type that implements all the methods for ApiGatewayClient interface

func (*MockAPIGatewayClient) GetResource

GetResource mocks GetResource method

func (*MockAPIGatewayClient) GetRestAPIByID

func (m *MockAPIGatewayClient) GetRestAPIByID(ctx context.Context, id *string) (*svcsdk.RestApi, error)

GetRestAPIByID mocks GetRestAPIByID method

func (*MockAPIGatewayClient) GetRestAPIRootResource

func (m *MockAPIGatewayClient) GetRestAPIRootResource(ctx context.Context, id *string) (*string, error)

GetRestAPIRootResource mocks GetRestAPIRootResource method

Jump to

Keyboard shortcuts

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