regclient

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2022 License: Apache-2.0 Imports: 9 Imported by: 3

Documentation

Overview

Package regclient is a legacy package, this has been moved to the top level regclient package

Index

Constants

View Source
const (
	TLSUndefined = config.TLSUndefined
	TLSEnabled   = config.TLSEnabled
	TLSInsecure  = config.TLSInsecure
	TLSDisabled  = config.TLSDisabled
)
View Source
const (
	DefaultBlobChunk   = reg.DefaultBlobChunk
	DefaultBlobMax     = reg.DefaultBlobMax
	DefaultRetryLimit  = reghttp.DefaultRetryLimit
	DefaultUserAgent   = rcTop.DefaultUserAgent
	DockerCertDir      = rcTop.DockerCertDir
	DockerRegistry     = config.DockerRegistry
	DockerRegistryAuth = config.DockerRegistryAuth
	DockerRegistryDNS  = config.DockerRegistryDNS
)

Variables

View Source
var (
	ErrAPINotFound = types.ErrAPINotFound
	ErrCanceled    = types.ErrCanceled
	//lint:ignore ST1003 exported field cannot be changed for legacy reasons
	ErrHttpStatus               = types.ErrHTTPStatus
	ErrMissingDigest            = types.ErrMissingDigest
	ErrMissingLocation          = types.ErrMissingLocation
	ErrMissingName              = types.ErrMissingName
	ErrMissingTag               = types.ErrMissingTag
	ErrMissingTagOrDigest       = types.ErrMissingTagOrDigest
	ErrMountReturnedLocation    = types.ErrMountReturnedLocation
	ErrNotFound                 = types.ErrNotFound
	ErrNotImplemented           = types.ErrNotImplemented
	ErrParsingFailed            = types.ErrParsingFailed
	ErrRateLimit                = types.ErrRateLimit
	ErrUnavailable              = types.ErrUnavailable
	ErrUnauthorized             = types.ErrUnauthorized
	ErrUnsupportedAPI           = types.ErrUnsupportedAPI
	ErrUnsupportedConfigVersion = types.ErrUnsupportedConfigVersion
	ErrUnsupportedMediaType     = types.ErrUnsupportedMediaType
)
View Source
var (
	MediaTypeDocker1Manifest       = types.MediaTypeDocker1Manifest
	MediaTypeDocker1ManifestSigned = types.MediaTypeDocker1ManifestSigned
	MediaTypeDocker2Manifest       = types.MediaTypeDocker2Manifest
	MediaTypeDocker2ManifestList   = types.MediaTypeDocker2ManifestList
	MediaTypeDocker2ImageConfig    = types.MediaTypeDocker2ImageConfig
	MediaTypeOCI1Manifest          = types.MediaTypeOCI1Manifest
	MediaTypeOCI1ManifestList      = types.MediaTypeOCI1ManifestList
	MediaTypeOCI1ImageConfig       = types.MediaTypeOCI1ImageConfig
	MediaTypeDocker2Layer          = types.MediaTypeDocker2Layer
	MediaTypeOCI1Layer             = types.MediaTypeOCI1Layer
	MediaTypeOCI1LayerGzip         = types.MediaTypeOCI1LayerGzip
	MediaTypeBuildkitCacheConfig   = types.MediaTypeBuildkitCacheConfig
)
View Source
var (
	NewRegClient            = rcTop.New
	WithCertDir             = rcTop.WithCertDir
	WithDockerCerts         = rcTop.WithDockerCerts
	WithDockerCreds         = rcTop.WithDockerCreds
	WithConfigHosts         = rcTop.WithConfigHosts
	WithConfigHost          = rcTop.WithConfigHost
	WithBlobSize            = rcTop.WithBlobSize
	WithLog                 = rcTop.WithLog
	WithRetryDelay          = rcTop.WithRetryDelay
	WithRetryLimit          = rcTop.WithRetryLimit
	WithUserAgent           = rcTop.WithUserAgent
	ImageWithForceRecursive = rcTop.ImageWithForceRecursive
	ImageWithDigestTags     = rcTop.ImageWithDigestTags
	ImageWithPlatforms      = rcTop.ImageWithPlatforms
	WithRepoLast            = scheme.WithRepoLast
	WithRepoLimit           = scheme.WithRepoLimit
	TagOptLast              = scheme.WithTagLast
	TagOptLimit             = scheme.WithTagLimit
)
View Source
var ConfigHostNewName = config.HostNewName
View Source
var TemplateFuncs = gotemplate.FuncMap{}
View Source
var (
	// VCSRef is injected from a build flag, used to version the UserAgent header
	VCSRef = "unknown"
)

Functions

This section is empty.

Types

type Client added in v0.4.0

type Client = *rcTop.RegClient

type ConfigHost

type ConfigHost = config.Host

type ImageOpts added in v0.3.10

type ImageOpts = rcTop.ImageOpts

type Opt

type Opt = rcTop.Opt

type RegClient

type RegClient = *rcTop.RegClient

type RepoDockerList added in v0.3.0

type RepoDockerList = repo.RepoRegistryList

type RepoList added in v0.3.0

type RepoList = *repo.RepoList

type RepoOpts added in v0.0.3

type RepoOpts = scheme.RepoOpts // RepoOpts is a breaking change (struct to func opts)

type TLSConf added in v0.1.0

type TLSConf = config.TLSConf

type TagDockerList added in v0.3.0

type TagDockerList = tag.DockerList

type TagList

type TagList = *tag.List

type TagOpts added in v0.0.3

type TagOpts = scheme.TagOpts

Directories

Path Synopsis
Package blob is a legacy package, this has been moved to the types/blob package
Package blob is a legacy package, this has been moved to the types/blob package
Package config is a legacy package, this has been moved to the config package
Package config is a legacy package, this has been moved to the config package
Package manifest is a legacy package, this has been moved to the types/manifest package
Package manifest is a legacy package, this has been moved to the types/manifest package
Package types is a legacy package, using the top level types package is recommended
Package types is a legacy package, using the top level types package is recommended

Jump to

Keyboard shortcuts

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