Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RestartContainerd ¶
RestartContainerd restarts containerd by sending a SIGHUP signal to the containerd daeon
Types ¶
type Config ¶
type Config struct { *toml.Tree RuntimeType string UseDefaultRuntimeName bool PodAnnotations []string }
Config represents the containerd config
func (*Config) AddRuntime ¶
AddRuntime adds a runtime to the containerd config
func (*Config) DefaultRuntime ¶
DefaultRuntime returns the default runtime for the containerd config
func (*Config) RemoveRuntime ¶
RemoveRuntime removes a runtime from the containerd config
type Option ¶
type Option func(*builder)
Option defines a function that can be used to configure the config builder
func WithPodAnnotations ¶
WithPodAnnotations sets the container annotations for the config builder
func WithRuntimeType ¶
WithRuntimeType sets the runtime type for the config builder
func WithUseLegacyConfig ¶
WithUseLegacyConfig sets the useLegacyConfig flag for the config builder
Click to show internal directories.
Click to hide internal directories.