Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
InfraNetworks []ConfigInfraNetwork
Hosts []ConfigHost
Tenants []ConfigTenant
// (optional) host bindings
HostBindings []ConfigEP
}
Config is the top level configuration
type ConfigEP ¶
ConfigEP encapulsates an endpoint: a leg into a network
type ConfigHost ¶
ConfigHost keeps track of the host's properties; A host is a node where containers are deployed
type ConfigInfraNetwork ¶
ConfigInfraNetwork holds information about the name and LAN tagging configuration.
type ConfigNetwork ¶
type ConfigNetwork struct {
Name string
// overrides for various functions when auto allocation is not desired
PktTagType string
PktTag string
SubnetCIDR string
DefaultGw string
// eps associated with the network
Endpoints []ConfigEP
}
ConfigNetwork is a multi-destination isolated containment of endpoints or it is an endpoint group
Source Files
¶
- config.go
Click to show internal directories.
Click to hide internal directories.