mocks

package
v0.1.3 Latest Latest
Warning

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

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

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

func (*IClient) CopyPackageVersions

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

func (*IClient) CreateDomain

func (_m *IClient) CreateDomain(ctx context.Context, params *codeartifact.CreateDomainInput, optFns ...func(*codeartifact.Options)) (*codeartifact.CreateDomainOutput, error)

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

func (*IClient) CreatePackageGroup

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

func (*IClient) CreateRepository

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

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

func (*IClient) DeleteDomain

func (_m *IClient) DeleteDomain(ctx context.Context, params *codeartifact.DeleteDomainInput, optFns ...func(*codeartifact.Options)) (*codeartifact.DeleteDomainOutput, error)

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

func (*IClient) DeleteDomainPermissionsPolicy

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

func (*IClient) DeletePackage

func (_m *IClient) DeletePackage(ctx context.Context, params *codeartifact.DeletePackageInput, optFns ...func(*codeartifact.Options)) (*codeartifact.DeletePackageOutput, error)

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

func (*IClient) DeletePackageGroup

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

func (*IClient) DeletePackageVersions

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

func (*IClient) DeleteRepository

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

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

func (*IClient) DeleteRepositoryPermissionsPolicy

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

func (*IClient) DescribeDomain

func (_m *IClient) DescribeDomain(ctx context.Context, params *codeartifact.DescribeDomainInput, optFns ...func(*codeartifact.Options)) (*codeartifact.DescribeDomainOutput, error)

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

func (*IClient) DescribePackage

func (_m *IClient) DescribePackage(ctx context.Context, params *codeartifact.DescribePackageInput, optFns ...func(*codeartifact.Options)) (*codeartifact.DescribePackageOutput, error)

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

func (*IClient) DescribePackageGroup

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

func (*IClient) DescribePackageVersion

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

func (*IClient) DescribeRepository

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

func (*IClient) DisassociateExternalConnection

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

func (*IClient) DisposePackageVersions

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

func (*IClient) GetAssociatedPackageGroup

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

func (*IClient) GetAuthorizationToken

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

func (*IClient) GetDomainPermissionsPolicy

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

func (*IClient) GetPackageVersionAsset

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

func (*IClient) GetPackageVersionReadme

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

func (*IClient) GetRepositoryEndpoint

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

func (*IClient) GetRepositoryPermissionsPolicy

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

func (*IClient) ListAllowedRepositoriesForGroup

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

func (*IClient) ListAssociatedPackages

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

func (*IClient) ListDomains

func (_m *IClient) ListDomains(ctx context.Context, params *codeartifact.ListDomainsInput, optFns ...func(*codeartifact.Options)) (*codeartifact.ListDomainsOutput, error)

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

func (*IClient) ListPackageGroups

func (_m *IClient) ListPackageGroups(ctx context.Context, params *codeartifact.ListPackageGroupsInput, optFns ...func(*codeartifact.Options)) (*codeartifact.ListPackageGroupsOutput, error)

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

func (*IClient) ListPackageVersionAssets

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

func (*IClient) ListPackageVersionDependencies

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

func (*IClient) ListPackageVersions

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

func (*IClient) ListPackages

func (_m *IClient) ListPackages(ctx context.Context, params *codeartifact.ListPackagesInput, optFns ...func(*codeartifact.Options)) (*codeartifact.ListPackagesOutput, error)

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

func (*IClient) ListRepositories

func (_m *IClient) ListRepositories(ctx context.Context, params *codeartifact.ListRepositoriesInput, optFns ...func(*codeartifact.Options)) (*codeartifact.ListRepositoriesOutput, error)

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

func (*IClient) ListRepositoriesInDomain

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

func (*IClient) ListSubPackageGroups

ListSubPackageGroups 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() codeartifact.Options

Options provides a mock function with given fields:

func (*IClient) PublishPackageVersion

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

func (*IClient) PutDomainPermissionsPolicy

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

func (*IClient) PutPackageOriginConfiguration

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

func (*IClient) PutRepositoryPermissionsPolicy

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

func (*IClient) TagResource

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

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

func (*IClient) UntagResource

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

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

func (*IClient) UpdatePackageGroup

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

func (*IClient) UpdatePackageGroupOriginConfiguration

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

func (*IClient) UpdatePackageVersionsStatus

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

func (*IClient) UpdateRepository

func (_m *IClient) UpdateRepository(ctx context.Context, params *codeartifact.UpdateRepositoryInput, optFns ...func(*codeartifact.Options)) (*codeartifact.UpdateRepositoryOutput, error)

UpdateRepository 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