Documentation ¶
Index ¶
- Constants
- func BuildDockerImageFromLayer(layerTarGZ string, ic types.ImageConfiguration, logger *logrus.Entry, ...) (oci.SignedImage, error)
- func BuildDockerIndex(outfile string, ic types.ImageConfiguration, ...) (name.Digest, error)
- func BuildImageFromLayer(layerTarGZ string, ic types.ImageConfiguration, logger *logrus.Entry, ...) (oci.SignedImage, error)
- func BuildImageTarballFromLayer(imageRef string, layerTarGZ string, outputTarGZ string, ...) error
- func BuildIndex(outfile string, ic types.ImageConfiguration, ...) (name.Digest, error)
- func Copy(src, dst string) error
- func PostAttachSBOM(si oci.SignedEntity, sbomPath string, sbomFormats []string, ...) (oci.SignedEntity, error)
- func PublishDockerImageFromLayer(layerTarGZ string, ic types.ImageConfiguration, created time.Time, ...) (name.Digest, oci.SignedImage, error)
- func PublishDockerIndex(ic types.ImageConfiguration, imgs map[types.Architecture]oci.SignedImage, ...) (name.Digest, oci.SignedImageIndex, error)
- func PublishImageFromLayer(layerTarGZ string, ic types.ImageConfiguration, created time.Time, ...) (name.Digest, oci.SignedImage, error)
- func PublishIndex(ic types.ImageConfiguration, imgs map[types.Architecture]oci.SignedImage, ...) (name.Digest, oci.SignedImageIndex, error)
Constants ¶
View Source
const ( LocalDomain = "apko.local" LocalRepo = "cache" )
Variables ¶
This section is empty.
Functions ¶
func BuildDockerImageFromLayer ¶ added in v0.7.0
func BuildDockerImageFromLayer(layerTarGZ string, ic types.ImageConfiguration, logger *logrus.Entry, opts options.Options) (oci.SignedImage, error)
func BuildDockerIndex ¶ added in v0.7.0
func BuildDockerIndex(outfile string, ic types.ImageConfiguration, imgs map[types.Architecture]oci.SignedImage, tags []string, logger *logrus.Entry) (name.Digest, error)
BuildIndex builds an index in a tar.gz file containing all architectures, given their individual image tar.gz files. Uses the legacy docker media type for the image index, i.e. multiarch manifest. Returns the digest and the path to the combined tar.gz.
func BuildImageFromLayer ¶ added in v0.7.0
func BuildImageFromLayer(layerTarGZ string, ic types.ImageConfiguration, logger *logrus.Entry, opts options.Options) (oci.SignedImage, error)
func BuildIndex ¶ added in v0.7.0
func BuildIndex(outfile string, ic types.ImageConfiguration, imgs map[types.Architecture]oci.SignedImage, tags []string, logger *logrus.Entry) (name.Digest, error)
BuildIndex builds an index in a tar.gz file containing all architectures, given their individual image tar.gz files. Uses the standard OCI media type for the image index. Returns the digest and the path to the combined tar.gz.
func PostAttachSBOM ¶ added in v0.5.0
func PostAttachSBOM(si oci.SignedEntity, sbomPath string, sbomFormats []string, arch types.Architecture, logger *logrus.Entry, tags ...string, ) (oci.SignedEntity, error)
PostAttachSBOM attaches the sboms to an already published image
func PublishDockerImageFromLayer ¶ added in v0.4.0
func PublishDockerIndex ¶ added in v0.4.0
func PublishDockerIndex(ic types.ImageConfiguration, imgs map[types.Architecture]oci.SignedImage, logger *logrus.Entry, local bool, shouldPushTags bool, tags ...string) (name.Digest, oci.SignedImageIndex, error)
func PublishImageFromLayer ¶
func PublishIndex ¶ added in v0.2.0
func PublishIndex(ic types.ImageConfiguration, imgs map[types.Architecture]oci.SignedImage, logger *logrus.Entry, local bool, shouldPushTags bool, tags ...string) (name.Digest, oci.SignedImageIndex, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.