Documentation ¶
Index ¶
- type IClient
- func (_m *IClient) AssociateServiceRoleToAccount(ctx context.Context, params *greengrassv2.AssociateServiceRoleToAccountInput, ...) (*greengrassv2.AssociateServiceRoleToAccountOutput, error)
- func (_m *IClient) BatchAssociateClientDeviceWithCoreDevice(ctx context.Context, ...) (*greengrassv2.BatchAssociateClientDeviceWithCoreDeviceOutput, error)
- func (_m *IClient) BatchDisassociateClientDeviceFromCoreDevice(ctx context.Context, ...) (*greengrassv2.BatchDisassociateClientDeviceFromCoreDeviceOutput, error)
- func (_m *IClient) CancelDeployment(ctx context.Context, params *greengrassv2.CancelDeploymentInput, ...) (*greengrassv2.CancelDeploymentOutput, error)
- func (_m *IClient) CreateComponentVersion(ctx context.Context, params *greengrassv2.CreateComponentVersionInput, ...) (*greengrassv2.CreateComponentVersionOutput, error)
- func (_m *IClient) CreateDeployment(ctx context.Context, params *greengrassv2.CreateDeploymentInput, ...) (*greengrassv2.CreateDeploymentOutput, error)
- func (_m *IClient) DeleteComponent(ctx context.Context, params *greengrassv2.DeleteComponentInput, ...) (*greengrassv2.DeleteComponentOutput, error)
- func (_m *IClient) DeleteCoreDevice(ctx context.Context, params *greengrassv2.DeleteCoreDeviceInput, ...) (*greengrassv2.DeleteCoreDeviceOutput, error)
- func (_m *IClient) DeleteDeployment(ctx context.Context, params *greengrassv2.DeleteDeploymentInput, ...) (*greengrassv2.DeleteDeploymentOutput, error)
- func (_m *IClient) DescribeComponent(ctx context.Context, params *greengrassv2.DescribeComponentInput, ...) (*greengrassv2.DescribeComponentOutput, error)
- func (_m *IClient) DisassociateServiceRoleFromAccount(ctx context.Context, ...) (*greengrassv2.DisassociateServiceRoleFromAccountOutput, error)
- func (_m *IClient) GetComponent(ctx context.Context, params *greengrassv2.GetComponentInput, ...) (*greengrassv2.GetComponentOutput, error)
- func (_m *IClient) GetComponentVersionArtifact(ctx context.Context, params *greengrassv2.GetComponentVersionArtifactInput, ...) (*greengrassv2.GetComponentVersionArtifactOutput, error)
- func (_m *IClient) GetConnectivityInfo(ctx context.Context, params *greengrassv2.GetConnectivityInfoInput, ...) (*greengrassv2.GetConnectivityInfoOutput, error)
- func (_m *IClient) GetCoreDevice(ctx context.Context, params *greengrassv2.GetCoreDeviceInput, ...) (*greengrassv2.GetCoreDeviceOutput, error)
- func (_m *IClient) GetDeployment(ctx context.Context, params *greengrassv2.GetDeploymentInput, ...) (*greengrassv2.GetDeploymentOutput, error)
- func (_m *IClient) GetServiceRoleForAccount(ctx context.Context, params *greengrassv2.GetServiceRoleForAccountInput, ...) (*greengrassv2.GetServiceRoleForAccountOutput, error)
- func (_m *IClient) ListClientDevicesAssociatedWithCoreDevice(ctx context.Context, ...) (*greengrassv2.ListClientDevicesAssociatedWithCoreDeviceOutput, error)
- func (_m *IClient) ListComponentVersions(ctx context.Context, params *greengrassv2.ListComponentVersionsInput, ...) (*greengrassv2.ListComponentVersionsOutput, error)
- func (_m *IClient) ListComponents(ctx context.Context, params *greengrassv2.ListComponentsInput, ...) (*greengrassv2.ListComponentsOutput, error)
- func (_m *IClient) ListCoreDevices(ctx context.Context, params *greengrassv2.ListCoreDevicesInput, ...) (*greengrassv2.ListCoreDevicesOutput, error)
- func (_m *IClient) ListDeployments(ctx context.Context, params *greengrassv2.ListDeploymentsInput, ...) (*greengrassv2.ListDeploymentsOutput, error)
- func (_m *IClient) ListEffectiveDeployments(ctx context.Context, params *greengrassv2.ListEffectiveDeploymentsInput, ...) (*greengrassv2.ListEffectiveDeploymentsOutput, error)
- func (_m *IClient) ListInstalledComponents(ctx context.Context, params *greengrassv2.ListInstalledComponentsInput, ...) (*greengrassv2.ListInstalledComponentsOutput, error)
- func (_m *IClient) ListTagsForResource(ctx context.Context, params *greengrassv2.ListTagsForResourceInput, ...) (*greengrassv2.ListTagsForResourceOutput, error)
- func (_m *IClient) Options() greengrassv2.Options
- func (_m *IClient) ResolveComponentCandidates(ctx context.Context, params *greengrassv2.ResolveComponentCandidatesInput, ...) (*greengrassv2.ResolveComponentCandidatesOutput, error)
- func (_m *IClient) TagResource(ctx context.Context, params *greengrassv2.TagResourceInput, ...) (*greengrassv2.TagResourceOutput, error)
- func (_m *IClient) UntagResource(ctx context.Context, params *greengrassv2.UntagResourceInput, ...) (*greengrassv2.UntagResourceOutput, error)
- func (_m *IClient) UpdateConnectivityInfo(ctx context.Context, params *greengrassv2.UpdateConnectivityInfoInput, ...) (*greengrassv2.UpdateConnectivityInfoOutput, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IClient ¶
IClient is an autogenerated mock type for the IClient type
func NewIClient ¶
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 ¶
func (_m *IClient) AssociateServiceRoleToAccount(ctx context.Context, params *greengrassv2.AssociateServiceRoleToAccountInput, optFns ...func(*greengrassv2.Options)) (*greengrassv2.AssociateServiceRoleToAccountOutput, error)
AssociateServiceRoleToAccount provides a mock function with given fields: ctx, params, optFns
func (*IClient) BatchAssociateClientDeviceWithCoreDevice ¶
func (_m *IClient) BatchAssociateClientDeviceWithCoreDevice(ctx context.Context, params *greengrassv2.BatchAssociateClientDeviceWithCoreDeviceInput, optFns ...func(*greengrassv2.Options)) (*greengrassv2.BatchAssociateClientDeviceWithCoreDeviceOutput, error)
BatchAssociateClientDeviceWithCoreDevice provides a mock function with given fields: ctx, params, optFns
func (*IClient) BatchDisassociateClientDeviceFromCoreDevice ¶
func (_m *IClient) BatchDisassociateClientDeviceFromCoreDevice(ctx context.Context, params *greengrassv2.BatchDisassociateClientDeviceFromCoreDeviceInput, optFns ...func(*greengrassv2.Options)) (*greengrassv2.BatchDisassociateClientDeviceFromCoreDeviceOutput, error)
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 ¶
func (_m *IClient) CreateComponentVersion(ctx context.Context, params *greengrassv2.CreateComponentVersionInput, optFns ...func(*greengrassv2.Options)) (*greengrassv2.CreateComponentVersionOutput, error)
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 ¶
func (_m *IClient) DisassociateServiceRoleFromAccount(ctx context.Context, params *greengrassv2.DisassociateServiceRoleFromAccountInput, optFns ...func(*greengrassv2.Options)) (*greengrassv2.DisassociateServiceRoleFromAccountOutput, error)
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 ¶
func (_m *IClient) GetComponentVersionArtifact(ctx context.Context, params *greengrassv2.GetComponentVersionArtifactInput, optFns ...func(*greengrassv2.Options)) (*greengrassv2.GetComponentVersionArtifactOutput, error)
GetComponentVersionArtifact provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetConnectivityInfo ¶
func (_m *IClient) GetConnectivityInfo(ctx context.Context, params *greengrassv2.GetConnectivityInfoInput, optFns ...func(*greengrassv2.Options)) (*greengrassv2.GetConnectivityInfoOutput, error)
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 ¶
func (_m *IClient) GetServiceRoleForAccount(ctx context.Context, params *greengrassv2.GetServiceRoleForAccountInput, optFns ...func(*greengrassv2.Options)) (*greengrassv2.GetServiceRoleForAccountOutput, error)
GetServiceRoleForAccount provides a mock function with given fields: ctx, params, optFns
func (*IClient) ListClientDevicesAssociatedWithCoreDevice ¶
func (_m *IClient) ListClientDevicesAssociatedWithCoreDevice(ctx context.Context, params *greengrassv2.ListClientDevicesAssociatedWithCoreDeviceInput, optFns ...func(*greengrassv2.Options)) (*greengrassv2.ListClientDevicesAssociatedWithCoreDeviceOutput, error)
ListClientDevicesAssociatedWithCoreDevice provides a mock function with given fields: ctx, params, optFns
func (*IClient) ListComponentVersions ¶
func (_m *IClient) ListComponentVersions(ctx context.Context, params *greengrassv2.ListComponentVersionsInput, optFns ...func(*greengrassv2.Options)) (*greengrassv2.ListComponentVersionsOutput, error)
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 ¶
func (_m *IClient) ListEffectiveDeployments(ctx context.Context, params *greengrassv2.ListEffectiveDeploymentsInput, optFns ...func(*greengrassv2.Options)) (*greengrassv2.ListEffectiveDeploymentsOutput, error)
ListEffectiveDeployments provides a mock function with given fields: ctx, params, optFns
func (*IClient) ListInstalledComponents ¶
func (_m *IClient) ListInstalledComponents(ctx context.Context, params *greengrassv2.ListInstalledComponentsInput, optFns ...func(*greengrassv2.Options)) (*greengrassv2.ListInstalledComponentsOutput, error)
ListInstalledComponents provides a mock function with given fields: ctx, params, optFns
func (*IClient) ListTagsForResource ¶
func (_m *IClient) ListTagsForResource(ctx context.Context, params *greengrassv2.ListTagsForResourceInput, optFns ...func(*greengrassv2.Options)) (*greengrassv2.ListTagsForResourceOutput, error)
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 ¶
func (_m *IClient) ResolveComponentCandidates(ctx context.Context, params *greengrassv2.ResolveComponentCandidatesInput, optFns ...func(*greengrassv2.Options)) (*greengrassv2.ResolveComponentCandidatesOutput, error)
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 ¶
func (_m *IClient) UpdateConnectivityInfo(ctx context.Context, params *greengrassv2.UpdateConnectivityInfoInput, optFns ...func(*greengrassv2.Options)) (*greengrassv2.UpdateConnectivityInfoOutput, error)
UpdateConnectivityInfo provides a mock function with given fields: ctx, params, optFns