config

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultListen           = "/var/run/conmand.sock"
	DefaultLibRoot          = "/var/lib/conman"
	DefaultRunRoot          = "/var/run/conman"
	DefaultShimmyPath       = "/usr/local/bin/shimmy"
	DefaultRuntimePath      = "/usr/bin/runc"
	DefaultRuntimeRoot      = "/var/run/conman-runc"
	DefaultContainerLogRoot = "/var/log/conman/containers"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Listen string

	// Root directory to store long-lived data (images, containers, etc).
	LibRoot string

	// Root directory to store state of the conman daemon.
	RunRoot string

	// Root directory to store container logs.
	ContainerLogRoot string

	// Path to OCI runtime shim executable, aka shimmy.
	ShimmyPath string

	RuntimePath string

	RuntimeRoot string
}

func TestConfigFromFlags added in v0.0.2

func TestConfigFromFlags() *Config

Jump to

Keyboard shortcuts

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