Documentation
¶
Overview ¶
Package config includes configuration utilities for whereabouts
Index ¶
- func GetFlatIPAM(isControlLoop bool, IPAM *types.IPAMConfig, extraConfigPaths ...string) (types.Net, string, error)
- func LoadIPAMConfig(bytes []byte, envArgs string, extraConfigPaths ...string) (*types.IPAMConfig, string, error)
- func LoadIPAMConfiguration(bytes []byte, envArgs string, extraConfigPaths ...string) (*types.IPAMConfig, error)
- type ConfigFileNotFoundError
- type InvalidPluginError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFlatIPAM ¶ added in v0.6.1
func LoadIPAMConfig ¶
func LoadIPAMConfig(bytes []byte, envArgs string, extraConfigPaths ...string) (*types.IPAMConfig, string, error)
LoadIPAMConfig creates IPAMConfig using json encoded configuration provided as `bytes`. At the moment values provided in envArgs are ignored so there is no possibility to overload the json configuration using envArgs
func LoadIPAMConfiguration ¶ added in v0.5.3
Types ¶
type ConfigFileNotFoundError ¶ added in v0.6.2
type ConfigFileNotFoundError struct{}
func NewConfigFileNotFoundError ¶ added in v0.6.2
func NewConfigFileNotFoundError() *ConfigFileNotFoundError
func (*ConfigFileNotFoundError) Error ¶ added in v0.6.2
func (e *ConfigFileNotFoundError) Error() string
type InvalidPluginError ¶ added in v0.5.3
type InvalidPluginError struct {
// contains filtered or unexported fields
}
func NewInvalidPluginError ¶ added in v0.5.3
func NewInvalidPluginError(ipamType string) *InvalidPluginError
func (*InvalidPluginError) Error ¶ added in v0.5.3
func (e *InvalidPluginError) Error() string
Click to show internal directories.
Click to hide internal directories.