resource

package
v0.5.13 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: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ResourceAdvisorOptions

type ResourceAdvisorOptions struct {
	ResourceAdvisors []string

	*cpu.CPUAdvisorOptions
	*memory.MemoryAdvisorOptions
}

ResourceAdvisorOptions holds the configurations for resource advisors in qos aware plugin

func NewResourceAdvisorOptions

func NewResourceAdvisorOptions() *ResourceAdvisorOptions

NewResourceAdvisorOptions creates a new Options with a default config

func (*ResourceAdvisorOptions) AddFlags

func (o *ResourceAdvisorOptions) AddFlags(fs *pflag.FlagSet)

AddFlags adds flags to the specified FlagSet.

func (*ResourceAdvisorOptions) ApplyTo

ApplyTo fills up config with options

Directories

Path Synopsis
cpu

Jump to

Keyboard shortcuts

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