docker

package
v0.42.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckImageArchs

func CheckImageArchs(ctx context.Context, org, repo, tag string, archs []string) error

CheckImageArchs checks if an image exists and has all the provided architectures

Types

type DockerImage

type DockerImage struct {
	Architecture string    `json:"architecture"`
	Status       string    `json:"status"`
	Size         int       `json:"size"`
	LastPushed   time.Time `json:"last_pushed"`
}

type DockerTag

type DockerTag struct {
	Name   string        `json:"name"`
	Images []DockerImage `json:"images"`
}

Jump to

Keyboard shortcuts

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