Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { UnderlayIP string `json:"underlay_ip" validate:"nonzero"` VxlanInterfaceName string `json:"vxlan_interface_name"` SubnetPrefixLength int `json:"subnet_prefix_length" validate:"nonzero"` OverlayNetwork string `json:"overlay_network" validate:"nonzero"` HealthCheckPort uint16 `json:"health_check_port" validate:"nonzero"` VTEPName string `json:"vtep_name" validate:"nonzero"` ConnectivityServerURL string `json:"connectivity_server_url" validate:"nonzero"` ServerCACertFile string `json:"ca_cert_file" validate:"nonzero"` ClientCertFile string `json:"client_cert_file" validate:"nonzero"` ClientKeyFile string `json:"client_key_file" validate:"nonzero"` VNI int `json:"vni" validate:"nonzero"` VTEPPort int `json:"vtep_port" validate:"min=1"` PollInterval int `json:"poll_interval" validate:"nonzero"` DebugServerPort int `json:"debug_server_port" validate:"nonzero"` Datastore string `json:"datastore" validate:"nonzero"` PartitionToleranceSeconds int `json:"partition_tolerance_seconds" validate:"nonzero"` ClientTimeoutSeconds int `json:"client_timeout_seconds" validate:"nonzero"` MetronPort int `json:"metron_port" validate:"min=1"` LogPrefix string `json:"log_prefix" validate:"nonzero"` LogLevel string `json:"log_level"` SingleIPOnly bool `json:"single_ip_only"` }
func LoadConfig ¶
Click to show internal directories.
Click to hide internal directories.