docker_registry

package
v1.1.9-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2020 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const AwsEcrImplementationName = "ecr"
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 QuayImplementationName = "quay"

Variables

This section is empty.

Functions

func API added in v1.1.9

func API() *api

func ImplementationList added in v1.1.9

func ImplementationList() []string

func Init

func Init(insecureRegistry, skipTlsVerifyRegistry bool) error

Types

type DockerHubNotFoundError added in v1.1.9

type DockerHubNotFoundError error

type DockerHubUnauthorizedError added in v1.1.9

type DockerHubUnauthorizedError error

type DockerRegistry added in v1.1.9

type DockerRegistry interface {
	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)
	DeleteRepo(reference string) error
	DeleteRepoImage(repoImageList ...*image.Info) error

	Validate() error
	String() string
}

func NewDockerRegistry added in v1.1.9

func NewDockerRegistry(repository string, implementation string, options DockerRegistryOptions) (DockerRegistry, error)

type DockerRegistryOptions added in v1.1.9

type DockerRegistryOptions struct {
	InsecureRegistry      bool
	SkipTlsVerifyRegistry bool
	DockerHubUsername     string
	DockerHubPassword     string
}

type GcrOptions added in v1.1.9

type GcrOptions struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL