mocks

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 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) AssociateServiceRoleToAccount

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

func (*IClient) BatchAssociateClientDeviceWithCoreDevice

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

func (*IClient) BatchDisassociateClientDeviceFromCoreDevice

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

func (*IClient) CancelDeployment

func (_m *IClient) CancelDeployment(ctx context.Context, params *greengrassv2.CancelDeploymentInput, optFns ...func(*greengrassv2.Options)) (*greengrassv2.CancelDeploymentOutput, error)

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

func (*IClient) CreateComponentVersion

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

func (*IClient) CreateDeployment

func (_m *IClient) CreateDeployment(ctx context.Context, params *greengrassv2.CreateDeploymentInput, optFns ...func(*greengrassv2.Options)) (*greengrassv2.CreateDeploymentOutput, error)

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

func (*IClient) DeleteComponent

func (_m *IClient) DeleteComponent(ctx context.Context, params *greengrassv2.DeleteComponentInput, optFns ...func(*greengrassv2.Options)) (*greengrassv2.DeleteComponentOutput, error)

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

func (*IClient) DeleteCoreDevice

func (_m *IClient) DeleteCoreDevice(ctx context.Context, params *greengrassv2.DeleteCoreDeviceInput, optFns ...func(*greengrassv2.Options)) (*greengrassv2.DeleteCoreDeviceOutput, error)

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

func (*IClient) DeleteDeployment

func (_m *IClient) DeleteDeployment(ctx context.Context, params *greengrassv2.DeleteDeploymentInput, optFns ...func(*greengrassv2.Options)) (*greengrassv2.DeleteDeploymentOutput, error)

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

func (*IClient) DescribeComponent

func (_m *IClient) DescribeComponent(ctx context.Context, params *greengrassv2.DescribeComponentInput, optFns ...func(*greengrassv2.Options)) (*greengrassv2.DescribeComponentOutput, error)

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

func (*IClient) DisassociateServiceRoleFromAccount

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

func (*IClient) GetComponent

func (_m *IClient) GetComponent(ctx context.Context, params *greengrassv2.GetComponentInput, optFns ...func(*greengrassv2.Options)) (*greengrassv2.GetComponentOutput, error)

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

func (*IClient) GetComponentVersionArtifact

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

func (*IClient) GetConnectivityInfo

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

func (*IClient) GetCoreDevice

func (_m *IClient) GetCoreDevice(ctx context.Context, params *greengrassv2.GetCoreDeviceInput, optFns ...func(*greengrassv2.Options)) (*greengrassv2.GetCoreDeviceOutput, error)

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

func (*IClient) GetDeployment

func (_m *IClient) GetDeployment(ctx context.Context, params *greengrassv2.GetDeploymentInput, optFns ...func(*greengrassv2.Options)) (*greengrassv2.GetDeploymentOutput, error)

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

func (*IClient) GetServiceRoleForAccount

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

func (*IClient) ListClientDevicesAssociatedWithCoreDevice

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

func (*IClient) ListComponentVersions

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

func (*IClient) ListComponents

func (_m *IClient) ListComponents(ctx context.Context, params *greengrassv2.ListComponentsInput, optFns ...func(*greengrassv2.Options)) (*greengrassv2.ListComponentsOutput, error)

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

func (*IClient) ListCoreDevices

func (_m *IClient) ListCoreDevices(ctx context.Context, params *greengrassv2.ListCoreDevicesInput, optFns ...func(*greengrassv2.Options)) (*greengrassv2.ListCoreDevicesOutput, error)

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

func (*IClient) ListDeployments

func (_m *IClient) ListDeployments(ctx context.Context, params *greengrassv2.ListDeploymentsInput, optFns ...func(*greengrassv2.Options)) (*greengrassv2.ListDeploymentsOutput, error)

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

func (*IClient) ListEffectiveDeployments

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

func (*IClient) ListInstalledComponents

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

func (*IClient) ListTagsForResource

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) ResolveComponentCandidates

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

func (*IClient) TagResource

func (_m *IClient) TagResource(ctx context.Context, params *greengrassv2.TagResourceInput, optFns ...func(*greengrassv2.Options)) (*greengrassv2.TagResourceOutput, error)

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

func (*IClient) UntagResource

func (_m *IClient) UntagResource(ctx context.Context, params *greengrassv2.UntagResourceInput, optFns ...func(*greengrassv2.Options)) (*greengrassv2.UntagResourceOutput, error)

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

func (*IClient) UpdateConnectivityInfo

UpdateConnectivityInfo 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