sysadvisor

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GenericSysAdvisorOptions

type GenericSysAdvisorOptions struct {
	SysAdvisorPlugins  []string
	StateFileDirectory string
}

GenericSysAdvisorOptions holds the configurations for sysadvisor

func NewGenericSysAdvisorOptions

func NewGenericSysAdvisorOptions() *GenericSysAdvisorOptions

NewGenericSysAdvisorOptions creates a new Options with a default config.

func (*GenericSysAdvisorOptions) AddFlags

AddFlags adds flags to the specified FlagSet.

func (*GenericSysAdvisorOptions) ApplyTo

ApplyTo fills up config with options

func (*GenericSysAdvisorOptions) Config

Config returns a new generic sysadvisor plugin configuration instance.

type SysAdvisorPluginsOptions

SysAdvisorPluginsOptions holds the configurations for sysadvisor plugins

func NewSysAdvisorPluginsOptions

func NewSysAdvisorPluginsOptions() *SysAdvisorPluginsOptions

NewSysAdvisorPluginsOptions creates a new Options with a default config.

func (*SysAdvisorPluginsOptions) AddFlags

AddFlags adds flags to the specified FlagSet.

func (*SysAdvisorPluginsOptions) ApplyTo

ApplyTo fills up config with options

func (*SysAdvisorPluginsOptions) Config

Config returns a new sysadvisor plugins configuration instance.

Jump to

Keyboard shortcuts

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