image_helper

package
v0.0.0-...-5f6b411 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2024 License: Apache-2.0 Imports: 14 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHashFromRepoDigest

func GetHashFromRepoDigest(repoDigests []string, imageName string) string

func GetHashFromRepoDigestsOrImageID

func GetHashFromRepoDigestsOrImageID(repoDigests []string, imageID string, imageName string) (string, error)

Types

type FsLayerCommand

type FsLayerCommand struct {
	Command string
	Layer   string
}

FsLayerCommand represents a history command of a layer in a docker image.

func GetImageLayerCommands

func GetImageLayerCommands(imageName string, sharedConf *sharedconfig.Config) ([]*FsLayerCommand, error)

Jump to

Keyboard shortcuts

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