util

package
v2.1.6 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 14 Imported by: 3

Documentation

Overview

Code generated by go generate; DO NOT EDIT. This file was generated by robots at 2021-02-09 13:11:28.537236306 -0500 EST m=+0.034330659 using data from 'go tool dist list'

Index

Constants

View Source
const (
	// DefaultHostname is the default built-in registry (DockerHub)
	DefaultHostname = "docker.io"
	// LegacyDefaultHostname is the old hostname used for DockerHub
	LegacyDefaultHostname = "index.docker.io"
	// DefaultRepoPrefix is the prefix used for official images in DockerHub
	DefaultRepoPrefix = "library/"
)

Variables

This section is empty.

Functions

func ConfigDir added in v2.1.4

func ConfigDir() string

func CreateRegistryHost added in v2.1.0

func CreateRegistryHost(imageRef reference.Named, username, password string, insecure, plainHTTP bool, dockerConfigPath string, pushOp bool) error

func GetResolver added in v2.1.0

func GetResolver() remotes.Resolver

func IsValidOSArch

func IsValidOSArch(os string, arch string, variant string) bool

IsValidOSArch checks against the generated list of os/arch combinations from Go as well as checking for valid variants for ARM (the only architecture that uses variants)

func ParseName

func ParseName(name string) (reference.Named, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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