config

package
v2.1.15 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseConfiguration

func ParseConfiguration()

func ValidateConfiguration

func ValidateConfiguration()

Types

type Specification

type Specification struct {
	DiscoveryAttributesExcludesInstance []string `json:"discoveryAttributesExcludesInstance" split_words:"true" required:"false"`
	InsecureSkipVerify                  bool     `json:"insecureSkipVerify" split_words:"true" default:"false" required:"false"`
	EnableRequestLogging                bool     `json:"enableRequestLogging" split_words:"true" default:"false" required:"false"`
	AdditionalRequestParams             []string `json:"additionalRequestParams" split_words:"true" required:"false"`
	QueryRetries                        int      `json:"queryRetries" split_words:"true" default:"0" required:"false"`
}

Specification is the configuration specification for the extension. Configuration values can be applied through environment variables. Learn more through the documentation of the envconfig package. https://github.com/kelseyhightower/envconfig

var (
	Config Specification
)

Jump to

Keyboard shortcuts

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