Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToOCI ¶
func ToOCI(pkg *packagetypes.RawPackage) (containerregistrypkgv1.Image, error)
Exports the package as OCI (Open Container Image).
func ToOCIFile ¶
func ToOCIFile(dst string, tags []string, pkg *packagetypes.RawPackage) error
Exports the given package to an OCI tar under the given name and tags.
func ToPushedOCI ¶
func ToPushedOCI(ctx context.Context, references []string, pkg *packagetypes.RawPackage, opts ...crane.Option) error
Exports the given package by pushing it to an OCI registry.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.