Documentation ¶
Index ¶
- Constants
- func ErrBlobNotFound(digest digest.Digest) error
- func ErrUnknownArtifact(name, version string) error
- func IsErrBlobNotFound(err error) bool
- func RegisterRepositorySpecHandler(handler RepositorySpecHandler, types ...string)
- type Artifact
- type ArtifactAccess
- type ArtifactSink
- type ArtifactSource
- type BlobSink
- type BlobSource
- type ConsumerIdentityProvider
- type Context
- type ContextProvider
- type Descriptor
- type GenericRepositorySpec
- type IndexAccess
- type IntermediateRepositorySpecAspect
- type ManifestAccess
- type NamespaceAccess
- type NamespaceLister
- type Repository
- type RepositorySource
- type RepositorySpec
- type RepositorySpecHandler
- type RepositorySpecHandlers
- type RepositoryType
- type RepositoryTypeProvider
- type RepositoryTypeScheme
- type UniformRepositorySpec
Constants ¶
View Source
const ( KIND_OCIARTIFACT = internal.KIND_OCIARTIFACT KIND_MEDIATYPE = blobaccess.KIND_MEDIATYPE KIND_BLOB = blobaccess.KIND_BLOB )
View Source
const CONTEXT_TYPE = internal.CONTEXT_TYPE
View Source
const CommonTransportFormat = internal.CommonTransportFormat
Variables ¶
This section is empty.
Functions ¶
func ErrBlobNotFound ¶
func ErrBlobNotFound(digest digest.Digest) error
func ErrUnknownArtifact ¶
func IsErrBlobNotFound ¶
func RegisterRepositorySpecHandler ¶
func RegisterRepositorySpecHandler(handler RepositorySpecHandler, types ...string)
Types ¶
type ArtifactAccess ¶
type ArtifactAccess = internal.ArtifactAccess
type ArtifactSink ¶
type ArtifactSink = internal.ArtifactSink
type ArtifactSource ¶
type ArtifactSource = internal.ArtifactSource
type BlobSource ¶
type BlobSource = internal.BlobSource
type ConsumerIdentityProvider ¶
type ConsumerIdentityProvider = internal.ConsumerIdentityProvider
type Context ¶
func DefaultContext ¶
func DefaultContext() Context
func FromProvider ¶
func FromProvider(p ContextProvider) Context
func New ¶
func New(m ...datacontext.BuilderMode) Context
type ContextProvider ¶
type ContextProvider = internal.ContextProvider
type Descriptor ¶
type Descriptor = ociv1.Descriptor
type GenericRepositorySpec ¶
type GenericRepositorySpec = internal.GenericRepositorySpec
func ToGenericRepositorySpec ¶
func ToGenericRepositorySpec(spec RepositorySpec) (*GenericRepositorySpec, error)
type IndexAccess ¶
type IndexAccess = internal.IndexAccess
type IntermediateRepositorySpecAspect ¶
type IntermediateRepositorySpecAspect = internal.IntermediateRepositorySpecAspect
type ManifestAccess ¶
type ManifestAccess = internal.ManifestAccess
type NamespaceAccess ¶
type NamespaceAccess = internal.NamespaceAccess
type NamespaceLister ¶
type NamespaceLister = internal.NamespaceLister
type Repository ¶
type Repository = internal.Repository
type RepositorySource ¶
type RepositorySource = internal.RepositorySource
type RepositorySpec ¶
type RepositorySpec = internal.RepositorySpec
type RepositorySpecHandler ¶
type RepositorySpecHandler = internal.RepositorySpecHandler
type RepositorySpecHandlers ¶
type RepositorySpecHandlers = internal.RepositorySpecHandlers
type RepositoryType ¶
type RepositoryType = internal.RepositoryType
type RepositoryTypeProvider ¶
type RepositoryTypeProvider = internal.RepositoryTypeProvider
type RepositoryTypeScheme ¶
type RepositoryTypeScheme = internal.RepositoryTypeScheme
type UniformRepositorySpec ¶
type UniformRepositorySpec = internal.UniformRepositorySpec
func UniformRepositorySpecForHostURL ¶
func UniformRepositorySpecForHostURL(typ string, host string) *UniformRepositorySpec
Click to show internal directories.
Click to hide internal directories.