cpi

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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 ErrUnknownArtifact(name, version string) error

func IsErrBlobNotFound

func IsErrBlobNotFound(err error) bool

func RegisterRepositorySpecHandler

func RegisterRepositorySpecHandler(handler RepositorySpecHandler, types ...string)

Types

type Artifact

type Artifact = internal.Artifact

type ArtifactAccess

type ArtifactAccess = internal.ArtifactAccess

type ArtifactSink

type ArtifactSink = internal.ArtifactSink

type ArtifactSource

type ArtifactSource = internal.ArtifactSource

type BlobSink

type BlobSink = internal.BlobSink

type BlobSource

type BlobSource = internal.BlobSource

type ConsumerIdentityProvider

type ConsumerIdentityProvider = internal.ConsumerIdentityProvider

type Context

type Context = internal.Context

func DefaultContext

func DefaultContext() Context

func FromProvider

func FromProvider(p ContextProvider) Context

func New

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

Jump to

Keyboard shortcuts

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