Documentation
¶
Index ¶
- func DecryptConfig(decryptionKeys []string) (*encconfig.DecryptConfig, error)
- func EncryptConfig(encryptionKeys []string, encryptLayers []int) (*encconfig.EncryptConfig, *[]int, error)
- func ExportFromReader(input io.Reader, opts define.BuildOutputOption) error
- func GetFormat(format string) (string, error)
- func GetTempDir() string
- func LookupImage(ctx *types.SystemContext, store storage.Store, image string) (*libimage.Image, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryptConfig ¶ added in v1.26.10
func DecryptConfig(decryptionKeys []string) (*encconfig.DecryptConfig, error)
DecryptConfig translates decryptionKeys into a DescriptionConfig structure
func EncryptConfig ¶ added in v1.27.0
func EncryptConfig(encryptionKeys []string, encryptLayers []int) (*encconfig.EncryptConfig, *[]int, error)
EncryptConfig translates encryptionKeys into a EncriptionsConfig structure
func ExportFromReader ¶ added in v1.26.0
func ExportFromReader(input io.Reader, opts define.BuildOutputOption) error
ExportFromReader reads bytes from given reader and exports to external tar, directory or stdout.
func GetFormat ¶ added in v1.26.10
GetFormat translates format string into either docker or OCI format constant
func GetTempDir ¶ added in v1.26.4
func GetTempDir() string
GetTempDir returns base for a temporary directory on host.
func LookupImage ¶
func LookupImage(ctx *types.SystemContext, store storage.Store, image string) (*libimage.Image, error)
LookupImage returns *Image to corresponding imagename or id
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.