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.22.0 (latest)
Published
Mar 17, 2025
Platform
linux/amd64
Imports
9 packages
Last checked
3 weeks ago

Tools for package owners.