checkup

package
v0.3.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	VMIUnderTestNamePrefix = "vmi-under-test"
	TrafficGenNamePrefix   = "dpdk-traffic-gen"
)
View Source
const (
	CPUSocketsCount = 1
	CPUCoresCount   = 4
	CPUTreadsCount  = 2
)
View Source
const DPDKCheckupUIDLabelKey = "kubevirt-dpdk-checkup/uid"
View Source
const (
	TrafficGenConfigMapNamePrefix = "dpdk-traffic-gen-config"
)

Variables

This section is empty.

Functions

func Affinity added in v0.2.0

func Affinity(nodeName, ownerUID string) *k8scorev1.Affinity

func CloudInit

func CloudInit(bootCommands []string) string

func ObjectFullName

func ObjectFullName(namespace, name string) string

Types

type Checkup

type Checkup struct {
	// contains filtered or unexported fields
}

func New

func New(client kubeVirtVMIClient, namespace string, checkupConfig config.Config, executor testExecutor) *Checkup

func (*Checkup) Results

func (c *Checkup) Results() status.Results

func (*Checkup) Run

func (c *Checkup) Run(ctx context.Context) error

func (*Checkup) Setup

func (c *Checkup) Setup(ctx context.Context) (setupErr error)

func (*Checkup) Teardown

func (c *Checkup) Teardown(ctx context.Context) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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