digest

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const ContentDigestHeader = "Docker-Content-Digest"

ContentDigestHeader is the key for the key-value pair containing the digest header

Variables

This section is empty.

Functions

func CompareDigest

func CompareDigest(container types.Container, registryAuth string) (bool, error)

CompareDigest ...

func GetDigest

func GetDigest(url string, token string) (string, error)

GetDigest from registry using a HEAD request to prevent rate limiting

func TransformAuth

func TransformAuth(registryAuth string) string

TransformAuth from a base64 encoded json object to base64 encoded string

Types

This section is empty.

Jump to

Keyboard shortcuts

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