config

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 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 {
	//STEADYBIT_EXTENSION_CREDENTIALS_KEYFILE_PATH
	CredentialsKeyfilePath string `json:"credentialsKeyfilePath" required:"false" split_words:"true"`
	// STEADYBIT_EXTENSION_CREDENTIALS_KEYFILE_JSON
	CredentialsKeyfileJson string `json:"credentialsKeyfileJson" required:"false" split_words:"true"`
	//STEADYBIT_EXTENSION_PROJECT_ID
	ProjectID                     string   `json:"projectId" required:"false" split_words:"true"`
	DiscoveryAttributesExcludesVM []string `json:"discoveryAttributesExcludesVM" required:"false" split_words:"true"`
	EnrichVMDataForTargetTypes    []string `` /* 376-byte string literal not displayed */
}

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