cmd

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 1, 2026 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(stderr io.Writer) int

func Run added in v0.2.0

func Run(stdout, stderr io.Writer, args ...string) int

Types

type Check added in v0.2.0

type Check interface {
	Name() string
	Run(ctx context.Context) CheckResult
}

type CheckResult added in v0.2.0

type CheckResult struct {
	Status string
	Detail string
	Hint   string
}

type ImageRef added in v0.2.0

type ImageRef struct {
	Transport string
	Path      string
	Raw       string // original "transport:path" string as supplied by the user
}

func ParseImageRef added in v0.2.0

func ParseImageRef(argName, raw string) (ImageRef, error)

Jump to

Keyboard shortcuts

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