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"`
NsmountPath string `json:"nsmountPath" split_words:"true" default:"nsmount"`
DisableDiscoveryExcludes bool `required:"false" split_words:"true" default:"false"`
DiscoveryCallInterval string `json:"discoveryCallInterval" split_words:"true" required:"false" default:"30s"`
DiscoveryAttributesExcludes []string `json:"discoveryAttributesExcludes" split_words:"true" required:"false"`
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
)
Click to show internal directories.
Click to hide internal directories.