Documentation ¶
Index ¶
- Constants
- func Get(ctx context.Context, ref string) (v1.Image, error)
- func NewLayer(ctx context.Context, fs fullfs.FullFS, username string, uid int, ...) (v1.Layer, error)
- func NormaliseImage(ctx context.Context, base v1.Image) (v1.Image, error)
- func Push(ctx context.Context, img v1.Image, dst string) error
- func Save(ctx context.Context, img v1.Image, dst, path string) error
Constants ¶
View Source
const MagicImageScratch = "scratch"
Variables ¶
This section is empty.
Functions ¶
func NormaliseImage ¶
NormaliseImage mutates the provided v1.Image to be OCI compliant v1.Image.
Check image-spec to see which properties are ported and which are dropped. https://github.com/opencontainers/image-spec/blob/main/config.md
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.