docker

package
v0.118.0 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogParseError

func LogParseError(err error, image string, logger *zap.Logger)

Types

type ImageRef

type ImageRef struct {
	Repository string
	Tag        string
	SHA256     string
}

func ParseImageName

func ParseImageName(image string) (ImageRef, error)

ParseImageName extracts image repository and tag from a combined image reference e.g. example.com:5000/alpine/alpine:test --> `example.com:5000/alpine/alpine` and `test`

Jump to

Keyboard shortcuts

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