mocks

package
v0.0.6 Latest Latest
Warning

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

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

func (_m *IClient) BatchCheckLayerAvailability(ctx context.Context, params *ecr.BatchCheckLayerAvailabilityInput, optFns ...func(*ecr.Options)) (*ecr.BatchCheckLayerAvailabilityOutput, error)

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

func (*IClient) BatchDeleteImage

func (_m *IClient) BatchDeleteImage(ctx context.Context, params *ecr.BatchDeleteImageInput, optFns ...func(*ecr.Options)) (*ecr.BatchDeleteImageOutput, error)

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

func (*IClient) BatchGetImage

func (_m *IClient) BatchGetImage(ctx context.Context, params *ecr.BatchGetImageInput, optFns ...func(*ecr.Options)) (*ecr.BatchGetImageOutput, error)

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

func (*IClient) BatchGetRepositoryScanningConfiguration

func (_m *IClient) BatchGetRepositoryScanningConfiguration(ctx context.Context, params *ecr.BatchGetRepositoryScanningConfigurationInput, optFns ...func(*ecr.Options)) (*ecr.BatchGetRepositoryScanningConfigurationOutput, error)

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

func (*IClient) CompleteLayerUpload

func (_m *IClient) CompleteLayerUpload(ctx context.Context, params *ecr.CompleteLayerUploadInput, optFns ...func(*ecr.Options)) (*ecr.CompleteLayerUploadOutput, error)

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

func (*IClient) CreatePullThroughCacheRule

func (_m *IClient) CreatePullThroughCacheRule(ctx context.Context, params *ecr.CreatePullThroughCacheRuleInput, optFns ...func(*ecr.Options)) (*ecr.CreatePullThroughCacheRuleOutput, error)

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

func (*IClient) CreateRepository

func (_m *IClient) CreateRepository(ctx context.Context, params *ecr.CreateRepositoryInput, optFns ...func(*ecr.Options)) (*ecr.CreateRepositoryOutput, error)

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

func (*IClient) DeleteLifecyclePolicy

func (_m *IClient) DeleteLifecyclePolicy(ctx context.Context, params *ecr.DeleteLifecyclePolicyInput, optFns ...func(*ecr.Options)) (*ecr.DeleteLifecyclePolicyOutput, error)

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

func (*IClient) DeletePullThroughCacheRule

func (_m *IClient) DeletePullThroughCacheRule(ctx context.Context, params *ecr.DeletePullThroughCacheRuleInput, optFns ...func(*ecr.Options)) (*ecr.DeletePullThroughCacheRuleOutput, error)

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

func (*IClient) DeleteRegistryPolicy

func (_m *IClient) DeleteRegistryPolicy(ctx context.Context, params *ecr.DeleteRegistryPolicyInput, optFns ...func(*ecr.Options)) (*ecr.DeleteRegistryPolicyOutput, error)

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

func (*IClient) DeleteRepository

func (_m *IClient) DeleteRepository(ctx context.Context, params *ecr.DeleteRepositoryInput, optFns ...func(*ecr.Options)) (*ecr.DeleteRepositoryOutput, error)

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

func (*IClient) DeleteRepositoryPolicy

func (_m *IClient) DeleteRepositoryPolicy(ctx context.Context, params *ecr.DeleteRepositoryPolicyInput, optFns ...func(*ecr.Options)) (*ecr.DeleteRepositoryPolicyOutput, error)

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

func (*IClient) DescribeImageReplicationStatus

func (_m *IClient) DescribeImageReplicationStatus(ctx context.Context, params *ecr.DescribeImageReplicationStatusInput, optFns ...func(*ecr.Options)) (*ecr.DescribeImageReplicationStatusOutput, error)

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

func (*IClient) DescribeImageScanFindings

func (_m *IClient) DescribeImageScanFindings(ctx context.Context, params *ecr.DescribeImageScanFindingsInput, optFns ...func(*ecr.Options)) (*ecr.DescribeImageScanFindingsOutput, error)

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

func (*IClient) DescribeImages

func (_m *IClient) DescribeImages(ctx context.Context, params *ecr.DescribeImagesInput, optFns ...func(*ecr.Options)) (*ecr.DescribeImagesOutput, error)

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

func (*IClient) DescribePullThroughCacheRules

func (_m *IClient) DescribePullThroughCacheRules(ctx context.Context, params *ecr.DescribePullThroughCacheRulesInput, optFns ...func(*ecr.Options)) (*ecr.DescribePullThroughCacheRulesOutput, error)

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

func (*IClient) DescribeRegistry

func (_m *IClient) DescribeRegistry(ctx context.Context, params *ecr.DescribeRegistryInput, optFns ...func(*ecr.Options)) (*ecr.DescribeRegistryOutput, error)

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

func (*IClient) DescribeRepositories

func (_m *IClient) DescribeRepositories(ctx context.Context, params *ecr.DescribeRepositoriesInput, optFns ...func(*ecr.Options)) (*ecr.DescribeRepositoriesOutput, error)

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

func (*IClient) GetAuthorizationToken

func (_m *IClient) GetAuthorizationToken(ctx context.Context, params *ecr.GetAuthorizationTokenInput, optFns ...func(*ecr.Options)) (*ecr.GetAuthorizationTokenOutput, error)

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

func (*IClient) GetDownloadUrlForLayer

func (_m *IClient) GetDownloadUrlForLayer(ctx context.Context, params *ecr.GetDownloadUrlForLayerInput, optFns ...func(*ecr.Options)) (*ecr.GetDownloadUrlForLayerOutput, error)

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

func (*IClient) GetLifecyclePolicy

func (_m *IClient) GetLifecyclePolicy(ctx context.Context, params *ecr.GetLifecyclePolicyInput, optFns ...func(*ecr.Options)) (*ecr.GetLifecyclePolicyOutput, error)

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

func (*IClient) GetLifecyclePolicyPreview

func (_m *IClient) GetLifecyclePolicyPreview(ctx context.Context, params *ecr.GetLifecyclePolicyPreviewInput, optFns ...func(*ecr.Options)) (*ecr.GetLifecyclePolicyPreviewOutput, error)

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

func (*IClient) GetRegistryPolicy

func (_m *IClient) GetRegistryPolicy(ctx context.Context, params *ecr.GetRegistryPolicyInput, optFns ...func(*ecr.Options)) (*ecr.GetRegistryPolicyOutput, error)

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

func (*IClient) GetRegistryScanningConfiguration

func (_m *IClient) GetRegistryScanningConfiguration(ctx context.Context, params *ecr.GetRegistryScanningConfigurationInput, optFns ...func(*ecr.Options)) (*ecr.GetRegistryScanningConfigurationOutput, error)

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

func (*IClient) GetRepositoryPolicy

func (_m *IClient) GetRepositoryPolicy(ctx context.Context, params *ecr.GetRepositoryPolicyInput, optFns ...func(*ecr.Options)) (*ecr.GetRepositoryPolicyOutput, error)

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

func (*IClient) InitiateLayerUpload

func (_m *IClient) InitiateLayerUpload(ctx context.Context, params *ecr.InitiateLayerUploadInput, optFns ...func(*ecr.Options)) (*ecr.InitiateLayerUploadOutput, error)

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

func (*IClient) ListImages

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

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

func (*IClient) ListTagsForResource

func (_m *IClient) ListTagsForResource(ctx context.Context, params *ecr.ListTagsForResourceInput, optFns ...func(*ecr.Options)) (*ecr.ListTagsForResourceOutput, error)

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) PutImage

func (_m *IClient) PutImage(ctx context.Context, params *ecr.PutImageInput, optFns ...func(*ecr.Options)) (*ecr.PutImageOutput, error)

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

func (*IClient) PutImageScanningConfiguration

func (_m *IClient) PutImageScanningConfiguration(ctx context.Context, params *ecr.PutImageScanningConfigurationInput, optFns ...func(*ecr.Options)) (*ecr.PutImageScanningConfigurationOutput, error)

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

func (*IClient) PutImageTagMutability

func (_m *IClient) PutImageTagMutability(ctx context.Context, params *ecr.PutImageTagMutabilityInput, optFns ...func(*ecr.Options)) (*ecr.PutImageTagMutabilityOutput, error)

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

func (*IClient) PutLifecyclePolicy

func (_m *IClient) PutLifecyclePolicy(ctx context.Context, params *ecr.PutLifecyclePolicyInput, optFns ...func(*ecr.Options)) (*ecr.PutLifecyclePolicyOutput, error)

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

func (*IClient) PutRegistryPolicy

func (_m *IClient) PutRegistryPolicy(ctx context.Context, params *ecr.PutRegistryPolicyInput, optFns ...func(*ecr.Options)) (*ecr.PutRegistryPolicyOutput, error)

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

func (*IClient) PutRegistryScanningConfiguration

func (_m *IClient) PutRegistryScanningConfiguration(ctx context.Context, params *ecr.PutRegistryScanningConfigurationInput, optFns ...func(*ecr.Options)) (*ecr.PutRegistryScanningConfigurationOutput, error)

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

func (*IClient) PutReplicationConfiguration

func (_m *IClient) PutReplicationConfiguration(ctx context.Context, params *ecr.PutReplicationConfigurationInput, optFns ...func(*ecr.Options)) (*ecr.PutReplicationConfigurationOutput, error)

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

func (*IClient) SetRepositoryPolicy

func (_m *IClient) SetRepositoryPolicy(ctx context.Context, params *ecr.SetRepositoryPolicyInput, optFns ...func(*ecr.Options)) (*ecr.SetRepositoryPolicyOutput, error)

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

func (*IClient) StartImageScan

func (_m *IClient) StartImageScan(ctx context.Context, params *ecr.StartImageScanInput, optFns ...func(*ecr.Options)) (*ecr.StartImageScanOutput, error)

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

func (*IClient) StartLifecyclePolicyPreview

func (_m *IClient) StartLifecyclePolicyPreview(ctx context.Context, params *ecr.StartLifecyclePolicyPreviewInput, optFns ...func(*ecr.Options)) (*ecr.StartLifecyclePolicyPreviewOutput, error)

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

func (*IClient) TagResource

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

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

func (*IClient) UntagResource

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

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

func (*IClient) UpdatePullThroughCacheRule

func (_m *IClient) UpdatePullThroughCacheRule(ctx context.Context, params *ecr.UpdatePullThroughCacheRuleInput, optFns ...func(*ecr.Options)) (*ecr.UpdatePullThroughCacheRuleOutput, error)

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

func (*IClient) UploadLayerPart

func (_m *IClient) UploadLayerPart(ctx context.Context, params *ecr.UploadLayerPartInput, optFns ...func(*ecr.Options)) (*ecr.UploadLayerPartOutput, error)

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

func (*IClient) ValidatePullThroughCacheRule

func (_m *IClient) ValidatePullThroughCacheRule(ctx context.Context, params *ecr.ValidatePullThroughCacheRuleInput, optFns ...func(*ecr.Options)) (*ecr.ValidatePullThroughCacheRuleOutput, error)

ValidatePullThroughCacheRule 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