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 KubeTgzRange(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 Packer
- 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 KubeTgzRange ¶
Types ¶
type BlobWriter ¶
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 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.