Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommandLineSource ¶ added in v1.17.0
CommandLineSource returns the CLI-based crio config loader
Types ¶
type Config ¶
Config represents the cri-o config
func (*Config) AddRuntime ¶
AddRuntime adds a new runtime to the crio config
func (*Config) DefaultRuntime ¶
DefaultRuntime returns the default runtime for the cri-o config
func (*Config) GetRuntimeConfig ¶ added in v1.17.0
func (c *Config) GetRuntimeConfig(name string) (engine.RuntimeConfig, error)
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 WithConfigSource ¶ added in v1.17.0
WithConfigSource sets the TOML source for the config.
func WithLogger ¶
WithLogger sets the logger for the config builder
Click to show internal directories.
Click to hide internal directories.