package defaults

import "github.com/containerd/containerd/defaults"

Package defaults provides several common defaults for interacting with containerd. These can be used on the client-side or server-side.

Index

Constants

const (
	// DefaultMaxRecvMsgSize defines the default maximum message size for
	// receiving protobufs passed over the GRPC API.
	DefaultMaxRecvMsgSize = 16 << 20
	// DefaultMaxSendMsgSize defines the default maximum message size for
	// sending protobufs passed over the GRPC API.
	DefaultMaxSendMsgSize = 16 << 20
)
const (
	// DefaultAddress is the default winpipe address
	DefaultAddress = `\\.\pipe\containerd-containerd`
	// DefaultDebugAddress is the default winpipe address for pprof data
	DefaultDebugAddress = `\\.\pipe\containerd-debug`
	// DefaultFIFODir is the default location used by client-side cio library
	// to store FIFOs. Unused on Windows.
	DefaultFIFODir = ""
)

Variables

var (
	// DefaultRootDir is the default location used by containerd to store
	// persistent data
	DefaultRootDir = filepath.Join(os.Getenv("programfiles"), "containerd", "root")
	// DefaultStateDir is the default location used by containerd to store
	// transient data
	DefaultStateDir = filepath.Join(os.Getenv("programfiles"), "containerd", "state")
)

Source Files

defaults.go defaults_windows.go doc.go

Version
v1.1.1-rc.1
Published
Jun 18, 2018
Platform
windows/amd64
Imports
2 packages
Last checked
1 minute ago

Tools for package owners.