Documentation ¶
Overview ¶
Package containerd provides support for containerd CRI plugin
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateRegistriesConfig ¶
func GenerateRegistriesConfig(r config.Registries) ([]config.File, error)
GenerateRegistriesConfig returns a list of extra files.
nolint: gocyclo
Types ¶
type AuthConfig ¶ added in v0.7.0
type AuthConfig struct { Username string `toml:"username"` Password string `toml:"password"` Auth string `toml:"auth"` IdentityToken string `toml:"identitytoken"` }
AuthConfig represents the registry auth options.
type CRIConfig ¶ added in v0.7.0
type CRIConfig struct {
Registry Registry `toml:"registry"`
}
CRIConfig represents the CRI config.
type Config ¶ added in v0.7.0
type Config struct {
Plugins PluginsConfig `toml:"plugins"`
}
Config represnts the containerd config.
type Mirror ¶ added in v0.7.0
type Mirror struct {
Endpoints []string `toml:"endpoint"`
}
Mirror represents a registry mirror.
type PluginsConfig ¶ added in v0.7.0
type PluginsConfig struct {
CRI CRIConfig `toml:"cri"`
}
PluginsConfig represents the CRI plugins config.
type Registry ¶ added in v0.7.0
type Registry struct { Mirrors map[string]Mirror `toml:"mirrors"` Configs map[string]RegistryConfig `toml:"configs"` }
Registry represents the registry configuration.
type RegistryConfig ¶ added in v0.7.0
type RegistryConfig struct { Auth *AuthConfig `toml:"auth"` TLS *TLSConfig `toml:"tls"` }
RegistryConfig represents a registry.
Click to show internal directories.
Click to hide internal directories.