Documentation ¶
Overview ¶
Package kubepkg GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE
Index ¶
- func AnnotationPlatforms(k *v1alpha1.KubePkg, platforms []string)
- func ContextWithRegistry(ctx context.Context, r *Registry) context.Context
- func ImportBlob(ctx context.Context, repo distribution.Repository, r io.Reader, ...) error
- func ImportDigest(ctx context.Context, repo distribution.Repository, dm *v1alpha1.DigestMeta, ...) error
- func ImportManifest(ctx context.Context, repo distribution.Repository, r io.Reader, ...) error
- func KubeTarRange(ctx context.Context, r io.Reader, ...) ([]*v1alpha1.KubePkg, error)
- func Load(path string) ([]*v1alpha1.KubePkg, error)
- func LoadKubePkgs(data []byte) ([]*v1alpha1.KubePkg, error)
- type BlobWriter
- type DigestResolver
- type DockerManifest
- type Packer
- type PackerOptionFunc
- type Progress
- type Registry
- func (reg *Registry) ImportDigest(ctx context.Context, dm *v1alpha1.DigestMeta, r io.Reader) error
- func (reg *Registry) ImportFromKubeTgzReader(ctx context.Context, r io.Reader) ([]*v1alpha1.KubePkg, error)
- func (reg *Registry) Stat(ctx context.Context, d digest.Digest) (distribution.Descriptor, error)
- func (reg *Registry) Wrap(ctx context.Context, r io.ReadCloser, dgst *digest.Digest) (io.ReadCloser, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AnnotationPlatforms ¶
func ContextWithRegistry ¶ added in v0.2.0
func ImportBlob ¶ added in v0.5.0
func ImportDigest ¶ added in v0.5.0
func ImportManifest ¶ added in v0.5.0
func KubeTarRange ¶ added in v0.5.4
Types ¶
type BlobWriter ¶
type BlobWriter interface { io.WriteCloser Commit(ctx context.Context, provisional *digest.Digest) (canonical distribution.Descriptor, err error) }
type DigestResolver ¶
type DigestResolver struct {
distribution.Namespace
}
func NewDigestResolver ¶
func NewDigestResolver(n distribution.Namespace) *DigestResolver
func (DigestResolver) RuntimeDoc ¶ added in v0.2.0
func (v DigestResolver) RuntimeDoc(names ...string) ([]string, bool)
type DockerManifest ¶ added in v0.5.4
type DockerManifest struct { Config string `json:"Config"` RepoTags []string `json:"RepoTags"` Layers []string `json:"Layers"` }
func (DockerManifest) RuntimeDoc ¶ added in v0.5.4
func (v DockerManifest) RuntimeDoc(names ...string) ([]string, bool)
type Packer ¶
type Packer struct { distribution.Namespace // contains filtered or unexported fields }
func NewPacker ¶
func NewPacker(n distribution.Namespace, optionFuncs ...PackerOptionFunc) *Packer
type PackerOptionFunc ¶ added in v0.5.0
type PackerOptionFunc = func(o *packerOptions)
func WithFilterBlob ¶ added in v0.5.0
func WithFilterBlob(filterBlob func(d digest.Digest) bool) PackerOptionFunc
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
func NewRegistry ¶
func NewRegistry(cr distribution.Namespace, ds driver.StorageDriver) *Registry
func RegistryFromContext ¶ added in v0.2.0
func (*Registry) ImportDigest ¶
func (*Registry) ImportFromKubeTgzReader ¶
func (*Registry) Wrap ¶
func (reg *Registry) Wrap(ctx context.Context, r io.ReadCloser, dgst *digest.Digest) (io.ReadCloser, error)
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package controller GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE
|
Package controller GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE |
Package k8sapply GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE
|
Package k8sapply GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE |
Package manifest GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE
|
Package manifest GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE |
Click to show internal directories.
Click to hide internal directories.