config

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2020 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"
	DefaultContainerLogRoot = "/var/log/conman/containers"
	DefaultStreamingAddr    = "127.0.0.1:8881"
	DefaultShimmyPath       = "/usr/local/bin/shimmy"
	DefaultRuntimePath      = "/usr/bin/runc"
	DefaultRuntimeRoot      = "/var/run/conman-runc"
)

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

	// Streaming server host:port (for attach, exec, and port-forwarding).
	StreamingAddr 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