Documentation ¶
Index ¶
Constants ¶
View Source
const DockerHubRegistry = "registry-1.docker.io"
View Source
const (
HeaderWWWAuthenticate = "www-authenticate"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ImageTagList ¶
type OCIDownloader ¶
type OCIDownloader interface { WithBasicAuth(username string, password string) WithRegistry(string) WithRoundTripper(http.RoundTripper) WithInsecure(bool) WithTimeout(time.Duration) WithContext(context.Context) Download(image, tag, file string) (reader io.Reader, err error) }
func NewDefaultOCIDownloader ¶
func NewDefaultOCIDownloader() OCIDownloader
type PlatformAwareOCIDownloader ¶
type PlatformAwareOCIDownloader interface { OCIDownloader WithOS(string) WithArch(string) GetTargetFile() string WithImagePrefix(string) }
func NewStoreDownloader ¶
func NewStoreDownloader() PlatformAwareOCIDownloader
type ProgressReader ¶ added in v0.0.18
func NewProgressReader ¶ added in v0.0.18
func NewProgressReader(r io.Reader) ProgressReader
type RegistryAuth ¶
type RegistryAuth struct {
Token string `json:"token"`
}
Click to show internal directories.
Click to hide internal directories.