config

package
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2021 License: Apache-2.0 Imports: 12 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL