config

package
v0.0.0-...-058fe0e Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	//Volume config
	VolumeConfig volume.Config

	// Network config
	NetworkConfg network.Config

	// Server listening address.
	Listen []string

	// ListenCRI is the listening address which serves CRI.
	ListenCRI string

	// Debug refers to the log mode.
	Debug bool

	// ContainerdAddr refers to the unix socket path of containerd.
	ContainerdAddr string

	// DefaultRegistry is daemon's default registry which is to pull/push/search images.
	DefaultRegistry string

	// Home directory.
	HomeDir string

	// ContainerdPath is the absolute path of containerd binary,
	// /usr/local/bin is the default.
	ContainerdPath string

	// Containerd's config file.
	ContainerdConfig string

	// TLS configuration
	TLS utils.TLSConfig

	// Default OCI Runtime
	DefaultRuntime string

	// Enable lxcfs
	IsLxcfsEnabled bool

	// LxcfsBinPath is the absolute path of lxcfs binary
	LxcfsBinPath string

	// LxcfsHome is the absolute path of lxcfs
	LxcfsHome string
}

Config refers to daemon's whole configurations.

Jump to

Keyboard shortcuts

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