Documentation ¶
Index ¶
- type MockAPIGatewayClient
- func (m *MockAPIGatewayClient) GetResource(ctx context.Context, in *svcsdk.GetResourceInput, opts ...request.Option) (*svcsdk.Resource, error)
- func (m *MockAPIGatewayClient) GetRestAPIByID(ctx context.Context, id *string) (*svcsdk.RestApi, error)
- func (m *MockAPIGatewayClient) GetRestAPIRootResource(ctx context.Context, id *string) (*string, error)
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 ¶
func (m *MockAPIGatewayClient) GetResource(ctx context.Context, in *svcsdk.GetResourceInput, opts ...request.Option) (*svcsdk.Resource, error)
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
Click to show internal directories.
Click to hide internal directories.