Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewOrchestratorForwarder ¶
func NewOrchestratorForwarder() *forwarder.DefaultForwarder
NewOrchestratorForwarder returns an orchestratorForwarder if the feature is activated on the cluster-agent/cluster-check runner, nil otherwise
Types ¶
type OrchestratorConfig ¶
type OrchestratorConfig struct {
OrchestrationCollectionEnabled bool
KubeClusterName string
IsScrubbingEnabled bool
Scrubber *redact.DataScrubber
OrchestratorEndpoints []apicfg.Endpoint
MaxPerMessage int
PodQueueBytes int // The total number of bytes that can be enqueued for delivery to the orchestrator endpoint
ExtraTags []string
}
OrchestratorConfig is the global config for the Orchestrator related packages. This information is sourced from config files and the environment variables.
func NewDefaultOrchestratorConfig ¶
func NewDefaultOrchestratorConfig() *OrchestratorConfig
NewDefaultOrchestratorConfig returns an NewDefaultOrchestratorConfig using a configuration file. It can be nil if there is no file available. In this case we'll configure only via environment.
func (*OrchestratorConfig) Load ¶
func (oc *OrchestratorConfig) Load() error
Load load orchestrator-specific configuration at this point secrets should already be resolved by the core/process/cluster agent
Click to show internal directories.
Click to hide internal directories.