Documentation ¶
Index ¶
- Constants
- func API() *api
- func ImplementationList() []string
- func Init(insecureRegistry, skipTlsVerifyRegistry bool) error
- func ResolveImplementation(repository, implementation string) (string, error)
- type AzureCrNotFoundError
- type DockerHubNotFoundError
- type DockerHubUnauthorizedError
- type DockerRegistry
- type DockerRegistryOptions
- type GcrOptions
- type GitHubPackagesUnauthorizedError
- type HarborNotFoundError
- type QuayNotFoundError
Constants ¶
View Source
const ( MultirepoRepoMode = "multirepo" MonorepoRepoMode = "monorepo" )
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 GitHubPackagesImplementationName = "github"
View Source
const GitLabRegistryImplementationName = "gitlab"
View Source
const HarborImplementationName = "harbor"
View Source
const QuayImplementationName = "quay"
Variables ¶
This section is empty.
Functions ¶
func ImplementationList ¶ added in v1.1.9
func ImplementationList() []string
func ResolveImplementation ¶ added in v1.1.9
Types ¶
type AzureCrNotFoundError ¶ added in v1.1.9
type AzureCrNotFoundError apiError
type DockerHubNotFoundError ¶ added in v1.1.9
type DockerHubNotFoundError apiError
type DockerHubUnauthorizedError ¶ added in v1.1.9
type DockerHubUnauthorizedError apiError
type DockerRegistry ¶ added in v1.1.9
type DockerRegistry interface { CreateRepo(reference string) error DeleteRepo(reference string) error Tags(reference string) ([]string, error) GetRepoImage(reference string) (*image.Info, error) TryGetRepoImage(reference string) (*image.Info, error) IsRepoImageExists(reference string) (bool, error) GetRepoImageList(reference string) ([]*image.Info, error) SelectRepoImageList(reference string, f func(*image.Info) bool) ([]*image.Info, error) DeleteRepoImage(repoImageList ...*image.Info) error ResolveRepoMode(registryOrRepositoryAddress, repoMode string) (string, error) String() string }
func NewDockerRegistry ¶ added in v1.1.9
func NewDockerRegistry(repositoryAddress string, implementation string, options DockerRegistryOptions) (DockerRegistry, error)
type DockerRegistryOptions ¶ added in v1.1.9
type GcrOptions ¶ added in v1.1.9
type GcrOptions struct {
// contains filtered or unexported fields
}
type GitHubPackagesUnauthorizedError ¶ added in v1.1.9
type GitHubPackagesUnauthorizedError apiError
type HarborNotFoundError ¶ added in v1.1.9
type HarborNotFoundError apiError
type QuayNotFoundError ¶ added in v1.1.9
type QuayNotFoundError apiError
Click to show internal directories.
Click to hide internal directories.