Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
Config represents the cri-o config
func (*Config) AddRuntime ¶
func (c *Config) AddRuntime(name string, path string, setAsDefault bool, _ ...map[string]interface{}) error
AddRuntime adds a new runtime to the crio config
func (*Config) DefaultRuntime ¶
DefaultRuntime returns the default runtime for the cri-o config
func (*Config) RemoveRuntime ¶
RemoveRuntime removes a runtime from the cri-o config
type Option ¶
type Option func(*builder)
Option defines a function that can be used to configure the config builder
func WithLogger ¶
WithLogger sets the logger for the config builder
Click to show internal directories.
Click to hide internal directories.