Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsValidName ¶
IsValidName validates configuration objects supported by libnetwork
Types ¶
type ClusterCfg ¶
ClusterCfg represents cluster configuration
type Config ¶
type Config struct { Daemon DaemonCfg Cluster ClusterCfg Datastore DatastoreCfg }
Config encapsulates configurations of various Libnetwork components
func ParseConfig ¶
ParseConfig parses the libnetwork configuration file
func (*Config) ProcessOptions ¶
ProcessOptions processes options and stores it in config
type DatastoreCfg ¶
type DatastoreCfg struct { Embedded bool Client DatastoreClientCfg }
DatastoreCfg represents Datastore configuration.
type DatastoreClientCfg ¶
DatastoreClientCfg represents Datastore Client-only mode configuration
type Option ¶
type Option func(c *Config)
Option is a option setter function type used to pass varios configurations to the controller
func OptionDefaultDriver ¶
OptionDefaultDriver function returns an option setter for default driver
func OptionDefaultNetwork ¶
OptionDefaultNetwork function returns an option setter for a default network
func OptionKVProvider ¶
OptionKVProvider function returns an option setter for kvstore provider
func OptionKVProviderURL ¶
OptionKVProviderURL function returns an option setter for kvstore url
func OptionLabels ¶
OptionLabels function returns an option setter for labels