Documentation ¶
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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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