cfg

package
v1.2.2-0...-70982f0 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cfg

type Cfg struct {
	Log        cfg.Log
	Domain     string
	Flavour    string
	HTTP       cfg.HTTP
	LibvirtURI string `mapstructure:"libvirt_uri"`
	SSH        SSH
	Collectors Collectors
}

func New

func New() Cfg

type Collectors

type Collectors struct {
	Hypervisor             Hypervisor
	Domain                 Domain
	System                 System
	Socket                 Socket
	IsardVDIAPI            IsardVDIAPI            `mapstructure:"isardvdi_api"`
	IsardVDIAuthentication IsardvdiAuthentication `mapstructure:"isardvdi_authentication"`
	OCI                    OCI
	Conntrack              Conntrack
}

type Conntrack

type Conntrack struct {
	Enable bool
}

type Domain

type Domain struct {
	Enable bool
}

type Hypervisor

type Hypervisor struct {
	Enable bool
}

type IsardVDIAPI

type IsardVDIAPI struct {
	Enable bool
	Addr   string
	Secret string
}

type IsardvdiAuthentication

type IsardvdiAuthentication struct {
	Enable      bool
	LokiAddress string `mapstructure:"loki_address"`
}

type OCI

type OCI struct {
	Enable bool
}

type SSH

type SSH struct {
	Host string
	Port int
	User string
}

type Socket

type Socket struct {
	Enable bool
}

type System

type System struct {
	Enable bool
}

Jump to

Keyboard shortcuts

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