oci

package
v0.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2023 License: Apache-2.0 Imports: 35 Imported by: 3

Documentation

Index

Constants

View Source
const (
	LocalDomain = "apko.local"
	LocalRepo   = "cache"
)

Variables

This section is empty.

Functions

func BuildImageTarballFromLayer

func BuildImageTarballFromLayer(imageRef string, layerTarGZ string, outputTarGZ string, ic types.ImageConfiguration, logger *logrus.Entry, opts options.Options) error

func Copy added in v0.6.0

func Copy(src, dst string) error

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 PublishDockerImageFromLayer(layerTarGZ string, ic types.ImageConfiguration, created time.Time, arch types.Architecture, logger *logrus.Entry, sbomPath string, sbomFormats []string, local bool, tags ...string) (name.Digest, oci.SignedImage, error)

func PublishDockerIndex added in v0.4.0

func PublishDockerIndex(ic types.ImageConfiguration, imgs map[types.Architecture]oci.SignedImage, logger *logrus.Entry, local bool, tags ...string) (name.Digest, oci.SignedImageIndex, error)

func PublishImageFromLayer

func PublishImageFromLayer(layerTarGZ string, ic types.ImageConfiguration, created time.Time, arch types.Architecture, logger *logrus.Entry, sbomPath string, sbomFormats []string, local bool, tags ...string) (name.Digest, oci.SignedImage, error)

func PublishIndex added in v0.2.0

func PublishIndex(ic types.ImageConfiguration, imgs map[types.Architecture]oci.SignedImage, logger *logrus.Entry, local bool, tags ...string) (name.Digest, oci.SignedImageIndex, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL