Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Command = cli.Command{ Name: "images", Aliases: []string{"image", "i"}, Usage: "manage images", Subcommands: cli.Commands{ checkCommand, exportCommand, importCommand, listCommand, pullCommand, pushCommand, removeCommand, tagCommand, setLabelsCommand, encryptCommand, decryptCommand, layerinfoCommand, }, }
Command is the cli command for managing images
Functions ¶
func CreateDecryptCryptoConfig ¶
func CreateDecryptCryptoConfig(context *cli.Context, descs []ocispec.Descriptor) (encconfig.CryptoConfig, error)
CreateDecryptCryptoConfig creates the CryptoConfig object that contains the necessary information to perform decryption from command line options and possibly LayerInfos describing the image and helping us to query for the PGP decryption keys
Types ¶
type LayerInfo ¶
type LayerInfo struct { // The Number of this layer in the sequence; starting at 0 Index uint32 Descriptor ocispec.Descriptor }
LayerInfo holds information about an image layer
Click to show internal directories.
Click to hide internal directories.