resolver

package
v0.7.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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
}

Jump to

Keyboard shortcuts

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