config

package
v0.0.0-...-7ef7dd6 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2018 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// K8sNamespace is the namespace we use to connect containerd when CRI is enabled.
	K8sNamespace = "k8s.io"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// Listen is the listening address which servers CRI.
	Listen string `json:"listen,omitempty"`
	// NetworkPluginBinDir is the directory in which the binaries for the plugin is kept.
	NetworkPluginBinDir string `json:"network-plugin-bin-dir,omitempty"`
	// NetworkPluginConfDir is the directory in which the admin places a CNI conf.
	NetworkPluginConfDir string `json:"network-plugin-conf-dir,omitempty"`
	// SandboxImage is the image used by sandbox container.
	SandboxImage string `json:"sandbox-image,omitempty"`
	// CriVersion is the cri version
	CriVersion string `json:"cri-version,omitempty"`
}

Config defines the CRI configuration.

Jump to

Keyboard shortcuts

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