Help us shape the future of Go! Take the 2026 Go Developer Survey

ociutil

package
v1.11.4 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDigest

func GetDigest(target string, authn auth.Auth) string

GetDigest returns the SHA256 digest of a given container image.

If the digest cannot be found, an empty string is returned.

func SnapshotImage

func SnapshotImage(target string, authn auth.Auth) (string, error)

SnapshotImage mangles a given OCI string so that there is a digest present.

Types

This section is empty.

Jump to

Keyboard shortcuts

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