package supervisor
import "github.com/docker/docker/libcontainerd/supervisor"
Index ¶
- type Daemon
- type DaemonOpt
- func WithDebugAddress(addr string) DaemonOpt
- func WithLogLevel(lvl string) DaemonOpt
- func WithMetricsAddress(addr string) DaemonOpt
- func WithOOMScore(score int) DaemonOpt
- func WithPlugin(name string, conf interface{}) DaemonOpt
- func WithRemoteAddr(addr string) DaemonOpt
- func WithRemoteAddrUser(uid, gid int) DaemonOpt
Types ¶
type Daemon ¶
Daemon represents a running containerd daemon
func Start ¶
Start starts a containerd daemon and monitors it
type DaemonOpt ¶
type DaemonOpt func(c *remote) error
DaemonOpt allows to configure parameters of container daemons
func WithDebugAddress ¶
WithDebugAddress defines at which location the debug GRPC connection should be made
func WithLogLevel ¶
WithLogLevel defines which log level to starts containerd with. This only makes sense if WithStartDaemon() was set to true.
func WithMetricsAddress ¶
WithMetricsAddress defines at which location the debug GRPC connection should be made
func WithOOMScore ¶
WithOOMScore defines the oom_score_adj to set for the containerd process.
func WithPlugin ¶
WithPlugin allow configuring a containerd plugin configuration values passed needs to be quoted if quotes are needed in the toml format.
func WithRemoteAddr ¶
WithRemoteAddr sets the external containerd socket to connect to.
func WithRemoteAddrUser ¶
WithRemoteAddrUser sets the uid and gid to create the RPC address with
Source Files ¶
remote_daemon.go remote_daemon_linux.go remote_daemon_options.go remote_daemon_options_linux.go utils_linux.go
- Version
- v20.10.26+incompatible
- Published
- Aug 30, 2023
- Platform
- linux/amd64
- Imports
- 18 packages
- Last checked
- 1 hour ago –
Tools for package owners.