config

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package config includes configuration utilities for whereabouts

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFlatIPAM added in v0.6.1

func GetFlatIPAM(isControlLoop bool, IPAM *types.IPAMConfig, extraConfigPaths ...string) (types.Net, string, error)

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

func LoadIPAMConfiguration(bytes []byte, envArgs string, extraConfigPaths ...string) (*types.IPAMConfig, error)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL