config

package
v0.0.0-...-fcfc175 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultListen           = "/var/run/cri-impl.sock"
	DefaultLibRoot          = "/var/lib/cri-impl"
	DefaultRunRoot          = "/var/run/cri-impl"
	DefaultContainerLogRoot = "/var/log/cri-impl/containers"
	DefaultStreaminAddr     = "127.0.0.1:8881"
	DefaultShimmyPath       = "/usr/local/bin/shimmy"
	DefaultRuntimePath      = "/usr/bin/runc"
	DefaultRuntimeRoot      = "/var/run/cri-impl-runc"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Listen string
	// LibRoot 用于存储长期存在的数据
	LibRoot string
	// RunRoot 用于存储 cri-impl 守护程序的 root path
	RunRoot string
	// ContainerLogRoot 存放容器日志目录
	ContainerLogRoot string
	// StreamingAddr 流服务 host:port( for attach,exec,port-forwarding)
	StreamingAddr string
	// ShimmyPath OCI 运行时 shim 可执行文件(shimmy)
	ShimmyPath  string
	RuntimePath string
	RuntimeRoot string
}

Jump to

Keyboard shortcuts

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