Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config map[string]interface{}
Config defines a docker config file. TODO: This should not be public, but we need to access it from the tests in tools/container/docker
func (*Config) AddRuntime ¶
func (c *Config) AddRuntime(name string, path string, setAsDefault bool, _ ...map[string]interface{}) error
AddRuntime adds a new runtime to the docker config
func (Config) DefaultRuntime ¶
DefaultRuntime returns the default runtime for the docker config
func (*Config) RemoveRuntime ¶
RemoveRuntime removes a runtime from the docker 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.