containerd

package
v0.14.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2021 License: MPL-2.0 Imports: 7 Imported by: 0

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.

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:"io.containerd.grpc.v1.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.

type TLSConfig added in v0.7.0

type TLSConfig struct {
	InsecureSkipVerify bool   `toml:"insecure_skip_verify"`
	CAFile             string `toml:"ca_file"`
	CertFile           string `toml:"cert_file"`
	KeyFile            string `toml:"key_file"`
}

TLSConfig represents the registry TLS options.

Jump to

Keyboard shortcuts

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