config

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 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 {
	// Deprecated: AccessToken is no longer supported. Use apiClientName, apiClientSecret, and accountName instead.
	AccessToken                             string   `json:"accessToken" split_words:"true" required:"false"`
	ApiBaseUrl                              string   `json:"apiBaseUrl" split_words:"true" required:"true"`
	ApiClientName                           string   `json:"apiClientName" split_words:"true" required:"false"`
	ApiClientSecret                         string   `json:"apiClientSecret" split_words:"true" required:"false"`
	AccountName                             string   `json:"accountName" split_words:"true" required:"false"`
	EventApplicationID                      string   `json:"eventApplicationID" split_words:"true" required:"false"`
	ActionSuppressionTimezone               string   `json:"actionSuppressionTimezone" split_words:"true" required:"false"`
	DiscoveryAttributesExcludesApplications []string `json:"discoveryAttributesExcludesApplications" split_words:"true" required:"false"`
	DiscoveryAttributesExcludesHealthRules  []string `json:"discoveryAttributesExcludesHealthRules" split_words:"true" required:"false"`
	ApplicationFilter                       []string `json:"applicationFilter" split_words:"true" 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