config

package
v2.26.7 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	MetricsDataDriverType string `mapstructure:"metrics_data_driver_type"`
	MetricsDataLocation   string `mapstructure:"metrics_data_location"`
	MetricsRecordInterval int    `mapstructure:"metrics_record_interval"`
	XcloudInstance        string `mapstructure:"xcloud_instance"`
	XcloudPullInterval    int    `mapstructure:"xcloud_pull_interval"`
	InsecureSkipVerify    bool   `mapstructure:"insecure_skip_verify"`
}

Config holds the config options that need to be passed down to the metrics reader(driver)

func (*Config) Init

func (c *Config) Init()

Init sets sane defaults

Jump to

Keyboard shortcuts

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