Documentation ¶
Index ¶
- Constants
- func API() *genericApi
- func ImplementationList() []string
- func Init(ctx context.Context, insecureRegistry, skipTlsVerifyRegistry bool) error
- func IsAzureCrRepositoryNotFoundErr(err error) bool
- func IsBlobUnknownError(err error) bool
- func IsDockerHubRepositoryNotFoundErr(err error) bool
- func IsDockerHubUnauthorizedErr(err error) bool
- func IsGitHubPackagesForbiddenErr(err error) bool
- func IsGitHubPackagesUnauthorizedErr(err error) bool
- func IsHarbor404Error(err error) bool
- func IsHarborNotFoundError(err error) bool
- func IsHarborRepositoryNotFoundErr(err error) bool
- func IsManifestUnknownError(err error) bool
- func IsNameUnknownError(err error) bool
- func IsQuayRepositoryNotFoundErr(err error) bool
- func IsQuayTagExpiredErr(err error) bool
- func ResolveImplementation(repository, implementation string) (string, error)
- type AzureCrRepositoryNotFoundErr
- type DockerHubRepositoryNotFoundErr
- type DockerHubUnauthorizedErr
- type DockerRegistry
- type DockerRegistryInterface
- type DockerRegistryOptions
- type GcrOptions
- type GitHubPackagesForbiddenErr
- type GitHubPackagesUnauthorizedErr
- type HarborRepositoryNotFoundErr
- type PushImageOptions
- type QuayRepositoryNotFoundErr
Constants ¶
View Source
const ( GitHubPackagesImplementationName = "github" GitHubPackagesRegistryAddress = "ghcr.io" )
View Source
const AwsEcrImplementationName = "ecr"
View Source
const (
AzureCrImplementationName = "acr"
)
View Source
const DefaultImplementationName = "default"
View Source
const DockerHubImplementationName = "dockerhub"
View Source
const GcrImplementationName = "gcr"
View Source
const GitLabRegistryImplementationName = "gitlab"
View Source
const (
HarborImplementationName = "harbor"
)
View Source
const (
QuayImplementationName = "quay"
)
Variables ¶
This section is empty.
Functions ¶
func ImplementationList ¶
func ImplementationList() []string
func IsAzureCrRepositoryNotFoundErr ¶ added in v1.2.14
func IsBlobUnknownError ¶ added in v1.1.24
func IsDockerHubRepositoryNotFoundErr ¶ added in v1.2.14
func IsDockerHubUnauthorizedErr ¶ added in v1.2.14
func IsGitHubPackagesForbiddenErr ¶ added in v1.2.14
func IsGitHubPackagesUnauthorizedErr ¶ added in v1.2.14
func IsHarbor404Error ¶ added in v1.1.29
func IsHarborNotFoundError ¶ added in v1.2.52
func IsHarborRepositoryNotFoundErr ¶ added in v1.2.14
func IsManifestUnknownError ¶
func IsNameUnknownError ¶
func IsQuayRepositoryNotFoundErr ¶ added in v1.2.14
func IsQuayTagExpiredErr ¶ added in v1.2.59
func ResolveImplementation ¶
Types ¶
type AzureCrRepositoryNotFoundErr ¶ added in v1.2.14
type AzureCrRepositoryNotFoundErr apiError
func NewAzureCrRepositoryNotFoundErr ¶ added in v1.2.14
func NewAzureCrRepositoryNotFoundErr(err error) AzureCrRepositoryNotFoundErr
type DockerHubRepositoryNotFoundErr ¶ added in v1.2.14
type DockerHubRepositoryNotFoundErr apiError
func NewDockerHubRepositoryNotFoundErr ¶ added in v1.2.14
func NewDockerHubRepositoryNotFoundErr(err error) DockerHubRepositoryNotFoundErr
type DockerHubUnauthorizedErr ¶ added in v1.2.14
type DockerHubUnauthorizedErr apiError
func NewDockerHubUnauthorizedErr ¶ added in v1.2.14
func NewDockerHubUnauthorizedErr(err error) DockerHubUnauthorizedErr
type DockerRegistry ¶
type DockerRegistry interface { CreateRepo(ctx context.Context, reference string) error DeleteRepo(ctx context.Context, reference string) error Tags(ctx context.Context, reference string) ([]string, error) TagRepoImage(ctx context.Context, repoImage *image.Info, tag string) error GetRepoImage(ctx context.Context, reference string) (*image.Info, error) TryGetRepoImage(ctx context.Context, reference string) (*image.Info, error) IsRepoImageExists(ctx context.Context, reference string) (bool, error) DeleteRepoImage(ctx context.Context, repoImage *image.Info) error PushImage(ctx context.Context, reference string, opts *PushImageOptions) error MutateAndPushImage(ctx context.Context, sourceReference, destinationReference string, mutateConfigFunc func(v1.Config) (v1.Config, error)) error String() string }
func NewDockerRegistry ¶
func NewDockerRegistry(repositoryAddress string, implementation string, options DockerRegistryOptions) (DockerRegistry, error)
type DockerRegistryInterface ¶ added in v1.2.60
type DockerRegistryOptions ¶
type GcrOptions ¶
type GcrOptions struct {
// contains filtered or unexported fields
}
type GitHubPackagesForbiddenErr ¶ added in v1.2.14
type GitHubPackagesForbiddenErr apiError
func NewGitHubPackagesForbiddenErr ¶ added in v1.2.14
func NewGitHubPackagesForbiddenErr(err error) GitHubPackagesForbiddenErr
type GitHubPackagesUnauthorizedErr ¶ added in v1.2.14
type GitHubPackagesUnauthorizedErr apiError
func NewGitHubPackagesUnauthorizedErr ¶ added in v1.2.14
func NewGitHubPackagesUnauthorizedErr(err error) GitHubPackagesUnauthorizedErr
type HarborRepositoryNotFoundErr ¶ added in v1.2.14
type HarborRepositoryNotFoundErr apiError
func NewHarborRepositoryNotFoundErr ¶ added in v1.2.14
func NewHarborRepositoryNotFoundErr(err error) HarborRepositoryNotFoundErr
type PushImageOptions ¶
type QuayRepositoryNotFoundErr ¶ added in v1.2.14
type QuayRepositoryNotFoundErr apiError
func NewQuayRepositoryNotFoundErr ¶ added in v1.2.14
func NewQuayRepositoryNotFoundErr(err error) QuayRepositoryNotFoundErr
Source Files ¶
Click to show internal directories.
Click to hide internal directories.