package resolver

import "github.com/docker/buildx/util/resolver"

Index

Functions

func NewRegistryConfig

func NewRegistryConfig(m map[string]RegistryConfig) docker.RegistryHosts

NewRegistryConfig converts registry config to docker.RegistryHosts callback

Types

type RegistryConfig

type RegistryConfig struct {
	Mirrors   []string
	PlainHTTP *bool
	Insecure  *bool
	RootCAs   [][]byte
	KeyPairs  []TLSKeyPair
}

type TLSKeyPair

type TLSKeyPair struct {
	Key         []byte
	Certificate []byte
}

Source Files

resolver.go

Version
v0.13.0
Published
Mar 5, 2024
Platform
js/wasm
Imports
9 packages
Last checked
9 hours ago

Tools for package owners.