config

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	VMUnderTestTargetNodeNameParamName     = "vmUnderTestTargetNodeName"
	VMUnderTestContainerDiskImageParamName = "vmUnderTestContainerDiskImage"
	OslatDurationParamName                 = "oslatDuration"
	OslatLatencyThresholdParamName         = "oslatLatencyThresholdMicroSeconds"
)
View Source
const (
	VMIPassword = "redhat" // #nosec

	OslatDefaultDuration         = 5 * time.Minute
	OslatDefaultLatencyThreshold = 40 * time.Microsecond

	BootScriptName                          = "realtime-checkup-boot.sh"
	BootScriptBinDirectory                  = "/usr/bin/"
	BootScriptTunedAdmSetMarkerFileFullPath = "/var/realtime-checkup-tuned-adm-set-marker"
	BootScriptReadinessMarkerFileFullPath   = "/tmp/realtime-checkup-ready-marker"
)

Variables

View Source
var (
	ErrInvalidVMContainerDiskImage  = errors.New("invalid VM container disk image")
	ErrInvalidOslatDuration         = errors.New("invalid oslat duration")
	ErrInvalidOslatLatencyThreshold = errors.New("invalid oslat latency threshold")
)

Functions

This section is empty.

Types

type Config

type Config struct {
	PodName                       string
	PodUID                        string
	VMUnderTestTargetNodeName     string
	VMUnderTestContainerDiskImage string
	OslatDuration                 time.Duration
	OslatLatencyThreshold         time.Duration
}

func New

func New(baseConfig kconfig.Config) (Config, error)

Jump to

Keyboard shortcuts

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