config

package
v1.3.30 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 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 {
	ContainerSocket             string   `json:"containerSocket" split_words:"true" required:"false"`
	ContainerRuntime            string   `json:"containerRuntime" split_words:"true" required:"false"`
	ContainerdNamespace         string   `json:"containerdNamespace" split_words:"true" required:"true" default:"k8s.io"`
	DisableDiscoveryExcludes    bool     `required:"false" split_words:"true" default:"false"`
	DiscoveryCallInterval       string   `json:"discoveryCallInterval" split_words:"true" required:"false" default:"15s"`
	DiscoveryAttributesExcludes []string `` /* 174-byte string literal not displayed */
	Port                        uint16   `json:"port" split_words:"true" required:"false" default:"8086"`
	HealthPort                  uint16   `json:"healthPort" split_words:"true" required:"false" default:"8082"`
	LivenessCheckInterval       string   `json:"livenessProbeInterval" split_words:"true" required:"false" default:"30s"` // 0 or empty string disables liveness check
	MemfillPath                 string   `json:"memfillPath" split_words:"true" required:"true"`
}
var (
	Config Specification
)

Jump to

Keyboard shortcuts

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