config

package
v1.1.17 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 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"`
	RuncRoot                 string `json:"runcRoot" split_words:"true" required:"false"`
	RuncRootless             string `json:"runcRootless" split_words:"true" required:"false"`
	RuncSystemdCgroup        bool   `json:"runcSystemdCgroup" split_words:"true" required:"false"`
	RuncDebug                bool   `json:"runcDebug" split_words:"true" required:"false"`
	DisableDiscoveryExcludes bool   `required:"false" split_words:"true" default:"false"`
	DiscoveryCallInterval    string `json:"discoveryCallInterval" split_words:"true" required:"false" default:"1m"`
	Port                     uint16 `json:"port" split_words:"true" required:"false" default:"8086"`
	HealthPort               uint16 `json:"healthPort" split_words:"true" required:"false" default:"8082"`
}
var (
	Config Specification
)

Jump to

Keyboard shortcuts

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