mocks

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IClient

type IClient struct {
	mock.Mock
}

IClient is an autogenerated mock type for the IClient type

func NewIClient

func NewIClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *IClient

NewIClient creates a new instance of IClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*IClient) CancelResourceRequest

CancelResourceRequest provides a mock function with given fields: ctx, params, optFns

func (*IClient) CreateResource

func (_m *IClient) CreateResource(ctx context.Context, params *cloudcontrol.CreateResourceInput, optFns ...func(*cloudcontrol.Options)) (*cloudcontrol.CreateResourceOutput, error)

CreateResource provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteResource

func (_m *IClient) DeleteResource(ctx context.Context, params *cloudcontrol.DeleteResourceInput, optFns ...func(*cloudcontrol.Options)) (*cloudcontrol.DeleteResourceOutput, error)

DeleteResource provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetResource

func (_m *IClient) GetResource(ctx context.Context, params *cloudcontrol.GetResourceInput, optFns ...func(*cloudcontrol.Options)) (*cloudcontrol.GetResourceOutput, error)

GetResource provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetResourceRequestStatus

GetResourceRequestStatus provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListResourceRequests

ListResourceRequests provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListResources

func (_m *IClient) ListResources(ctx context.Context, params *cloudcontrol.ListResourcesInput, optFns ...func(*cloudcontrol.Options)) (*cloudcontrol.ListResourcesOutput, error)

ListResources provides a mock function with given fields: ctx, params, optFns

func (*IClient) Options

func (_m *IClient) Options() cloudcontrol.Options

Options provides a mock function with given fields:

func (*IClient) UpdateResource

func (_m *IClient) UpdateResource(ctx context.Context, params *cloudcontrol.UpdateResourceInput, optFns ...func(*cloudcontrol.Options)) (*cloudcontrol.UpdateResourceOutput, error)

UpdateResource provides a mock function with given fields: ctx, params, optFns

Jump to

Keyboard shortcuts

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