cmd

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2021 License: Apache-2.0 Imports: 66 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DockerHashFromManifest

func DockerHashFromManifest(imageManifest []byte) (string, error)

DockerHashFromManifest get the sha256 hash as a string from a raw image manifest. The "docker hash" is what is used for the image, i.e. the topmost layer.

func Execute

func Execute()

Execute primary function for cobra

func LayersFromManifest

func LayersFromManifest(imageManifest []byte) ([]v1.Descriptor, error)

LayersFromManifest get the descriptors for layers from a raw image manifest

Types

This section is empty.

Jump to

Keyboard shortcuts

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