Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Controller *ControllerConfig Consul *consulapi.Config }
Config describes the attributes that are uses to create configuration structure
type ControllerConfig ¶
type ControllerConfig struct { ConsulAddress string ConsulPort string ConsulScheme string ConsulCAFile string ConsulCertFile string ConsulKeyFile string ConsulInsecureSkipVerify bool ConsulToken string ConsulTimeout time.Duration ConsulContainerName string ConsulNodeSelector string PodLabelSelector string K8sTag string RegisterMode RegisterMode RegisterSource string }
ControllerConfig describes the attributes for the controller configuration
type RegisterMode ¶
type RegisterMode string
RegisterMode is a name of register mode
const ( RegisterSingleMode RegisterMode = "single" RegisterNodeMode RegisterMode = "node" RegisterPodMode RegisterMode = "pod" )
"RegisterSingleMode", "RegisterNodeMode" and "RegisterPodMode" defines correct value of `register_mode` option. "RegisterSingleMode" determine correct value for `single` mode. "RegisterNodeMode" determine correct value for `node` mode. "RegisterNodeMode" determine correct value for `pod` mode.
Click to show internal directories.
Click to hide internal directories.