Documentation ¶
Index ¶
- type IClient
- func (_m *IClient) BatchCheckLayerAvailability(ctx context.Context, params *ecr.BatchCheckLayerAvailabilityInput, ...) (*ecr.BatchCheckLayerAvailabilityOutput, error)
- func (_m *IClient) BatchDeleteImage(ctx context.Context, params *ecr.BatchDeleteImageInput, ...) (*ecr.BatchDeleteImageOutput, error)
- func (_m *IClient) BatchGetImage(ctx context.Context, params *ecr.BatchGetImageInput, ...) (*ecr.BatchGetImageOutput, error)
- func (_m *IClient) BatchGetRepositoryScanningConfiguration(ctx context.Context, params *ecr.BatchGetRepositoryScanningConfigurationInput, ...) (*ecr.BatchGetRepositoryScanningConfigurationOutput, error)
- func (_m *IClient) CompleteLayerUpload(ctx context.Context, params *ecr.CompleteLayerUploadInput, ...) (*ecr.CompleteLayerUploadOutput, error)
- func (_m *IClient) CreatePullThroughCacheRule(ctx context.Context, params *ecr.CreatePullThroughCacheRuleInput, ...) (*ecr.CreatePullThroughCacheRuleOutput, error)
- func (_m *IClient) CreateRepository(ctx context.Context, params *ecr.CreateRepositoryInput, ...) (*ecr.CreateRepositoryOutput, error)
- func (_m *IClient) DeleteLifecyclePolicy(ctx context.Context, params *ecr.DeleteLifecyclePolicyInput, ...) (*ecr.DeleteLifecyclePolicyOutput, error)
- func (_m *IClient) DeletePullThroughCacheRule(ctx context.Context, params *ecr.DeletePullThroughCacheRuleInput, ...) (*ecr.DeletePullThroughCacheRuleOutput, error)
- func (_m *IClient) DeleteRegistryPolicy(ctx context.Context, params *ecr.DeleteRegistryPolicyInput, ...) (*ecr.DeleteRegistryPolicyOutput, error)
- func (_m *IClient) DeleteRepository(ctx context.Context, params *ecr.DeleteRepositoryInput, ...) (*ecr.DeleteRepositoryOutput, error)
- func (_m *IClient) DeleteRepositoryPolicy(ctx context.Context, params *ecr.DeleteRepositoryPolicyInput, ...) (*ecr.DeleteRepositoryPolicyOutput, error)
- func (_m *IClient) DescribeImageReplicationStatus(ctx context.Context, params *ecr.DescribeImageReplicationStatusInput, ...) (*ecr.DescribeImageReplicationStatusOutput, error)
- func (_m *IClient) DescribeImageScanFindings(ctx context.Context, params *ecr.DescribeImageScanFindingsInput, ...) (*ecr.DescribeImageScanFindingsOutput, error)
- func (_m *IClient) DescribeImages(ctx context.Context, params *ecr.DescribeImagesInput, ...) (*ecr.DescribeImagesOutput, error)
- func (_m *IClient) DescribePullThroughCacheRules(ctx context.Context, params *ecr.DescribePullThroughCacheRulesInput, ...) (*ecr.DescribePullThroughCacheRulesOutput, error)
- func (_m *IClient) DescribeRegistry(ctx context.Context, params *ecr.DescribeRegistryInput, ...) (*ecr.DescribeRegistryOutput, error)
- func (_m *IClient) DescribeRepositories(ctx context.Context, params *ecr.DescribeRepositoriesInput, ...) (*ecr.DescribeRepositoriesOutput, error)
- func (_m *IClient) GetAuthorizationToken(ctx context.Context, params *ecr.GetAuthorizationTokenInput, ...) (*ecr.GetAuthorizationTokenOutput, error)
- func (_m *IClient) GetDownloadUrlForLayer(ctx context.Context, params *ecr.GetDownloadUrlForLayerInput, ...) (*ecr.GetDownloadUrlForLayerOutput, error)
- func (_m *IClient) GetLifecyclePolicy(ctx context.Context, params *ecr.GetLifecyclePolicyInput, ...) (*ecr.GetLifecyclePolicyOutput, error)
- func (_m *IClient) GetLifecyclePolicyPreview(ctx context.Context, params *ecr.GetLifecyclePolicyPreviewInput, ...) (*ecr.GetLifecyclePolicyPreviewOutput, error)
- func (_m *IClient) GetRegistryPolicy(ctx context.Context, params *ecr.GetRegistryPolicyInput, ...) (*ecr.GetRegistryPolicyOutput, error)
- func (_m *IClient) GetRegistryScanningConfiguration(ctx context.Context, params *ecr.GetRegistryScanningConfigurationInput, ...) (*ecr.GetRegistryScanningConfigurationOutput, error)
- func (_m *IClient) GetRepositoryPolicy(ctx context.Context, params *ecr.GetRepositoryPolicyInput, ...) (*ecr.GetRepositoryPolicyOutput, error)
- func (_m *IClient) InitiateLayerUpload(ctx context.Context, params *ecr.InitiateLayerUploadInput, ...) (*ecr.InitiateLayerUploadOutput, error)
- func (_m *IClient) ListImages(ctx context.Context, params *ecr.ListImagesInput, optFns ...func(*ecr.Options)) (*ecr.ListImagesOutput, error)
- func (_m *IClient) ListTagsForResource(ctx context.Context, params *ecr.ListTagsForResourceInput, ...) (*ecr.ListTagsForResourceOutput, error)
- func (_m *IClient) Options() ecr.Options
- func (_m *IClient) PutImage(ctx context.Context, params *ecr.PutImageInput, optFns ...func(*ecr.Options)) (*ecr.PutImageOutput, error)
- func (_m *IClient) PutImageScanningConfiguration(ctx context.Context, params *ecr.PutImageScanningConfigurationInput, ...) (*ecr.PutImageScanningConfigurationOutput, error)
- func (_m *IClient) PutImageTagMutability(ctx context.Context, params *ecr.PutImageTagMutabilityInput, ...) (*ecr.PutImageTagMutabilityOutput, error)
- func (_m *IClient) PutLifecyclePolicy(ctx context.Context, params *ecr.PutLifecyclePolicyInput, ...) (*ecr.PutLifecyclePolicyOutput, error)
- func (_m *IClient) PutRegistryPolicy(ctx context.Context, params *ecr.PutRegistryPolicyInput, ...) (*ecr.PutRegistryPolicyOutput, error)
- func (_m *IClient) PutRegistryScanningConfiguration(ctx context.Context, params *ecr.PutRegistryScanningConfigurationInput, ...) (*ecr.PutRegistryScanningConfigurationOutput, error)
- func (_m *IClient) PutReplicationConfiguration(ctx context.Context, params *ecr.PutReplicationConfigurationInput, ...) (*ecr.PutReplicationConfigurationOutput, error)
- func (_m *IClient) SetRepositoryPolicy(ctx context.Context, params *ecr.SetRepositoryPolicyInput, ...) (*ecr.SetRepositoryPolicyOutput, error)
- func (_m *IClient) StartImageScan(ctx context.Context, params *ecr.StartImageScanInput, ...) (*ecr.StartImageScanOutput, error)
- func (_m *IClient) StartLifecyclePolicyPreview(ctx context.Context, params *ecr.StartLifecyclePolicyPreviewInput, ...) (*ecr.StartLifecyclePolicyPreviewOutput, error)
- func (_m *IClient) TagResource(ctx context.Context, params *ecr.TagResourceInput, ...) (*ecr.TagResourceOutput, error)
- func (_m *IClient) UntagResource(ctx context.Context, params *ecr.UntagResourceInput, ...) (*ecr.UntagResourceOutput, error)
- func (_m *IClient) UpdatePullThroughCacheRule(ctx context.Context, params *ecr.UpdatePullThroughCacheRuleInput, ...) (*ecr.UpdatePullThroughCacheRuleOutput, error)
- func (_m *IClient) UploadLayerPart(ctx context.Context, params *ecr.UploadLayerPartInput, ...) (*ecr.UploadLayerPartOutput, error)
- func (_m *IClient) ValidatePullThroughCacheRule(ctx context.Context, params *ecr.ValidatePullThroughCacheRuleInput, ...) (*ecr.ValidatePullThroughCacheRuleOutput, 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) 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) 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