Documentation
¶
Index ¶
- Constants
- func CreateSoci(rawRef string, gOpts types.GlobalCommandOptions, allPlatform bool, ...) error
- func PushSoci(rawRef string, gOpts types.GlobalCommandOptions, allPlatform bool, ...) error
- func SociAppendDefaultLabelsHandlerWrapper(indexDigest string, wrapper func(images.Handler) images.Handler) func(f images.Handler) images.Handler
Constants ¶
View Source
const ( // TargetSizeLabel is a label which contains layer size. TargetSizeLabel = "containerd.io/snapshot/remote/soci.size" // TargetSociIndexDigestLabel is a label which contains the digest of the soci index. TargetSociIndexDigestLabel = "containerd.io/snapshot/remote/soci.index.digest" )
Variables ¶
This section is empty.
Functions ¶
func CreateSoci ¶
func CreateSoci(rawRef string, gOpts types.GlobalCommandOptions, allPlatform bool, platforms []string, sOpts types.SociOptions) error
CreateSoci creates a SOCI index(`rawRef`)
func PushSoci ¶
func PushSoci(rawRef string, gOpts types.GlobalCommandOptions, allPlatform bool, platforms []string) error
PushSoci pushes a SOCI index(`rawRef`) `hostsDirs` are used to resolve image `rawRef`
func SociAppendDefaultLabelsHandlerWrapper ¶
func SociAppendDefaultLabelsHandlerWrapper(indexDigest string, wrapper func(images.Handler) images.Handler) func(f images.Handler) images.Handler
SociAppendDefaultLabelsHandlerWrapper makes a handler which appends image's basic information to each layer descriptor as annotations during unpack. These annotations will be passed to this remote snapshotter as labels and used to construct source information.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.