config

package
v0.0.0-...-b8a1a0e Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Set

func Set(c *RecorderConfig)

Types

type LogDebugConfig

type LogDebugConfig struct {
	Enabled       bool     `default:"false" yaml:"enabled"`
	DetailEnabled bool     `default:"false" yaml:"detail_enabled"`
	ResourceTypes []string `default:"" yaml:"resource_type"`
}

type RecorderConfig

type RecorderConfig struct {
	CacheRefreshInterval         uint16 `default:"60" yaml:"cache_refresh_interval"`
	DeletedResourceCleanInterval uint16 `default:"24" yaml:"deleted_resource_clean_interval"`
	DeletedResourceRetentionTime uint16 `default:"168" yaml:"deleted_resource_retention_time"`
	ResourceMaxID0               int    `default:"64000" yaml:"resource_max_id_0"`
	ResourceMaxID1               int    `default:"499999" yaml:"resource_max_id_1"`

	LogDebug LogDebugConfig `yaml:"log_debug"`
}

func Get

func Get() *RecorderConfig

Jump to

Keyboard shortcuts

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