Documentation ¶
Overview ¶
config package containers utilities for helping configure the Docker resolver
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureHosts ¶
func ConfigureHosts(ctx context.Context, options HostOptions) docker.RegistryHosts
ConfigureHosts creates a registry hosts function from the provided host creation options. The host directory can read hosts.toml or certificate files laid out in the Docker specific layout. If a `HostDir` function is not required, defaults are used.
Types ¶
Click to show internal directories.
Click to hide internal directories.