Documentation
¶
Index ¶
- Variables
- func AgentComponentKey(agentGroupName, policyName string, componentIndex int64) string
- func AgentGroupPrefix(agentGroupName string) string
- func ClassifierKey(agentGroupName, policyName string, classifierIndex int64) string
- func FluxMeterKey(agentGroupName, fluxMeterName string) string
- func PolicyPrefix(agentGroupName, policyName string) string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ConfigPrefix is key prefix in etcd for config. ConfigPrefix = path.Join("/config") // DecisionsPrefix is key prefix in etcd for decisions. DecisionsPrefix = path.Join("/decisions") // StatusPrefix is key prefix in etcd for status. StatusPrefix = path.Join("/status") // ClassifiersPath is config path in etcd for classifiers. ClassifiersPath = path.Join(ConfigPrefix, "classifiers") // LoadActuatorDecisionsPath is decision path in etcd for load decisions. LoadActuatorDecisionsPath = path.Join(DecisionsPrefix, "load") // AutoTokenResultsPath is config path in etcd for query tokens. AutoTokenResultsPath = path.Join(ConfigPrefix, "tokens") // ConcurrencyLimiterConfigPath is config path in etcd for concurrency limiter. ConcurrencyLimiterConfigPath = path.Join(ConfigPrefix, "concurrency_limiter") // RateLimiterConfigPath is config path in etcd for rate limiter. RateLimiterConfigPath = path.Join(ConfigPrefix, "rate_limiter") // RateLimiterDecisionsPath is decision path in etcd for rate limiter decisions. RateLimiterDecisionsPath = path.Join(DecisionsPrefix, "rate_limiter") // RateLimiterDynamicConfigPath is config path in etcd for dynamic config of rate limiter. RateLimiterDynamicConfigPath = path.Join(ConfigPrefix, "rate_limiter_dynamic_config") // FluxMeterConfigPath is config path in etcd for flux meters. FluxMeterConfigPath = path.Join(ConfigPrefix, "flux_meter") // HorizontalPodScalerConfigPath is config path in etcd for kubernetes horizontal pod scaler. HorizontalPodScalerConfigPath = path.Join(ConfigPrefix, "horizontal_pod_scaler") // HorizontalPodScalerDecisionsPath is decision path in etcd for kubernetes horizontal pod scaler decisions. HorizontalPodScalerDecisionsPath = path.Join(DecisionsPrefix, "horizontal_pod_scaler") // HorizontalPodScalerStatusPath is decision path in etcd for kubernetes horizontal pod scaler status. HorizontalPodScalerStatusPath = path.Join(StatusPrefix, "horizontal_pod_scaler") // HorizontalPodScalerDynamicConfigPath is config path in etcd for dynamic config of kubernetes horizontal pod scaler. HorizontalPodScalerDynamicConfigPath = path.Join(ConfigPrefix, "horizontal_pod_scaler_dynamic_config") )
Functions ¶
func AgentComponentKey ¶ added in v0.19.0
AgentComponentKey returns the identifier for a Component in etcd.
func AgentGroupPrefix ¶
AgentGroupPrefix returns the prefix for an agent group.
func ClassifierKey ¶
ClassifierKey returns the identifier for a Classifier in etcd.
func FluxMeterKey ¶
FluxMeterKey returns the identifier for FluxMeter in etcd.
func PolicyPrefix ¶
PolicyPrefix returns the prefix for a policy.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.