mocks

package
v0.1.0-0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 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) CancelImageCreation

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

func (*IClient) CancelLifecycleExecution

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

func (*IClient) CreateComponent

func (_m *IClient) CreateComponent(ctx context.Context, params *imagebuilder.CreateComponentInput, optFns ...func(*imagebuilder.Options)) (*imagebuilder.CreateComponentOutput, error)

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

func (*IClient) CreateContainerRecipe

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

func (*IClient) CreateDistributionConfiguration

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

func (*IClient) CreateImage

func (_m *IClient) CreateImage(ctx context.Context, params *imagebuilder.CreateImageInput, optFns ...func(*imagebuilder.Options)) (*imagebuilder.CreateImageOutput, error)

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

func (*IClient) CreateImagePipeline

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

func (*IClient) CreateImageRecipe

func (_m *IClient) CreateImageRecipe(ctx context.Context, params *imagebuilder.CreateImageRecipeInput, optFns ...func(*imagebuilder.Options)) (*imagebuilder.CreateImageRecipeOutput, error)

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

func (*IClient) CreateInfrastructureConfiguration

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

func (*IClient) CreateLifecyclePolicy

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

func (*IClient) CreateWorkflow

func (_m *IClient) CreateWorkflow(ctx context.Context, params *imagebuilder.CreateWorkflowInput, optFns ...func(*imagebuilder.Options)) (*imagebuilder.CreateWorkflowOutput, error)

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

func (*IClient) DeleteComponent

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

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

func (*IClient) DeleteContainerRecipe

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

func (*IClient) DeleteDistributionConfiguration

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

func (*IClient) DeleteImage

func (_m *IClient) DeleteImage(ctx context.Context, params *imagebuilder.DeleteImageInput, optFns ...func(*imagebuilder.Options)) (*imagebuilder.DeleteImageOutput, error)

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

func (*IClient) DeleteImagePipeline

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

func (*IClient) DeleteImageRecipe

func (_m *IClient) DeleteImageRecipe(ctx context.Context, params *imagebuilder.DeleteImageRecipeInput, optFns ...func(*imagebuilder.Options)) (*imagebuilder.DeleteImageRecipeOutput, error)

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

func (*IClient) DeleteInfrastructureConfiguration

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

func (*IClient) DeleteLifecyclePolicy

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

func (*IClient) DeleteWorkflow

func (_m *IClient) DeleteWorkflow(ctx context.Context, params *imagebuilder.DeleteWorkflowInput, optFns ...func(*imagebuilder.Options)) (*imagebuilder.DeleteWorkflowOutput, error)

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

func (*IClient) GetComponent

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

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

func (*IClient) GetComponentPolicy

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

func (*IClient) GetContainerRecipe

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

func (*IClient) GetContainerRecipePolicy

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

func (*IClient) GetDistributionConfiguration

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

func (*IClient) GetImage

func (_m *IClient) GetImage(ctx context.Context, params *imagebuilder.GetImageInput, optFns ...func(*imagebuilder.Options)) (*imagebuilder.GetImageOutput, error)

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

func (*IClient) GetImagePipeline

func (_m *IClient) GetImagePipeline(ctx context.Context, params *imagebuilder.GetImagePipelineInput, optFns ...func(*imagebuilder.Options)) (*imagebuilder.GetImagePipelineOutput, error)

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

func (*IClient) GetImagePolicy

func (_m *IClient) GetImagePolicy(ctx context.Context, params *imagebuilder.GetImagePolicyInput, optFns ...func(*imagebuilder.Options)) (*imagebuilder.GetImagePolicyOutput, error)

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

func (*IClient) GetImageRecipe

func (_m *IClient) GetImageRecipe(ctx context.Context, params *imagebuilder.GetImageRecipeInput, optFns ...func(*imagebuilder.Options)) (*imagebuilder.GetImageRecipeOutput, error)

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

func (*IClient) GetImageRecipePolicy

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

func (*IClient) GetInfrastructureConfiguration

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

func (*IClient) GetLifecycleExecution

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

func (*IClient) GetLifecyclePolicy

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

func (*IClient) GetMarketplaceResource added in v0.1.0

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

func (*IClient) GetWorkflow

func (_m *IClient) GetWorkflow(ctx context.Context, params *imagebuilder.GetWorkflowInput, optFns ...func(*imagebuilder.Options)) (*imagebuilder.GetWorkflowOutput, error)

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

func (*IClient) GetWorkflowExecution

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

func (*IClient) GetWorkflowStepExecution

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

func (*IClient) ImportComponent

func (_m *IClient) ImportComponent(ctx context.Context, params *imagebuilder.ImportComponentInput, optFns ...func(*imagebuilder.Options)) (*imagebuilder.ImportComponentOutput, error)

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

func (*IClient) ImportDiskImage added in v0.1.0

func (_m *IClient) ImportDiskImage(ctx context.Context, params *imagebuilder.ImportDiskImageInput, optFns ...func(*imagebuilder.Options)) (*imagebuilder.ImportDiskImageOutput, error)

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

func (*IClient) ImportVmImage

func (_m *IClient) ImportVmImage(ctx context.Context, params *imagebuilder.ImportVmImageInput, optFns ...func(*imagebuilder.Options)) (*imagebuilder.ImportVmImageOutput, error)

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

func (*IClient) ListComponentBuildVersions

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

func (*IClient) ListComponents

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

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

func (*IClient) ListContainerRecipes

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

func (*IClient) ListDistributionConfigurations

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

func (*IClient) ListImageBuildVersions

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

func (*IClient) ListImagePackages

func (_m *IClient) ListImagePackages(ctx context.Context, params *imagebuilder.ListImagePackagesInput, optFns ...func(*imagebuilder.Options)) (*imagebuilder.ListImagePackagesOutput, error)

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

func (*IClient) ListImagePipelineImages

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

func (*IClient) ListImagePipelines

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

func (*IClient) ListImageRecipes

func (_m *IClient) ListImageRecipes(ctx context.Context, params *imagebuilder.ListImageRecipesInput, optFns ...func(*imagebuilder.Options)) (*imagebuilder.ListImageRecipesOutput, error)

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

func (*IClient) ListImageScanFindingAggregations

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

func (*IClient) ListImageScanFindings

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

func (*IClient) ListImages

func (_m *IClient) ListImages(ctx context.Context, params *imagebuilder.ListImagesInput, optFns ...func(*imagebuilder.Options)) (*imagebuilder.ListImagesOutput, error)

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

func (*IClient) ListInfrastructureConfigurations

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

func (*IClient) ListLifecycleExecutionResources

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

func (*IClient) ListLifecycleExecutions

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

func (*IClient) ListLifecyclePolicies

ListLifecyclePolicies 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) ListWaitingWorkflowSteps

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

func (*IClient) ListWorkflowBuildVersions

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

func (*IClient) ListWorkflowExecutions

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

func (*IClient) ListWorkflowStepExecutions

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

func (*IClient) ListWorkflows

func (_m *IClient) ListWorkflows(ctx context.Context, params *imagebuilder.ListWorkflowsInput, optFns ...func(*imagebuilder.Options)) (*imagebuilder.ListWorkflowsOutput, error)

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) PutComponentPolicy

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

func (*IClient) PutContainerRecipePolicy

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

func (*IClient) PutImagePolicy

func (_m *IClient) PutImagePolicy(ctx context.Context, params *imagebuilder.PutImagePolicyInput, optFns ...func(*imagebuilder.Options)) (*imagebuilder.PutImagePolicyOutput, error)

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

func (*IClient) PutImageRecipePolicy

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

func (*IClient) SendWorkflowStepAction

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

func (*IClient) StartImagePipelineExecution

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

func (*IClient) StartResourceStateUpdate

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

func (*IClient) TagResource

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

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

func (*IClient) UntagResource

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

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

func (*IClient) UpdateDistributionConfiguration

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

func (*IClient) UpdateImagePipeline

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

func (*IClient) UpdateInfrastructureConfiguration

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

func (*IClient) UpdateLifecyclePolicy

UpdateLifecyclePolicy 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