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 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
type ConfigTenant ¶
type ConfigTenant struct {
Name string
DefaultNetType string
SubnetPool string
AllocSubnetLen uint
VLANs string
VXLANs string
Networks []ConfigNetwork
}
ConfigTenant keeps the global tenant specific policy and networks within
Click to show internal directories.
Click to hide internal directories.