config

package
v0.4.17-0rc0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	MultiNUMALabel = "numa.hardware.openshift-kni.io/cell-count"

	SchedulerTestName = "test-topology-scheduler"
)

Variables

This section is empty.

Functions

func CheckNodesTopology

func CheckNodesTopology(ctx context.Context) error

func GetNUMACellDevicePluginPullSpec

func GetNUMACellDevicePluginPullSpec() string

func GetRteCiImage

func GetRteCiImage() string

func LabelNodes

func LabelNodes(cli client.Client, nrtList nrtv1alpha2.NodeResourceTopologyList)

func Setup

func Setup()

func SetupFixture

func SetupFixture() error

func Teardown

func Teardown()

func TeardownFixture

func TeardownFixture() error

func TeardownInfra

func TeardownInfra(fxt *e2efixture.Fixture, nrtList nrtv1alpha2.NodeResourceTopologyList)

func UnlabelNodes

func UnlabelNodes(cli client.Client, nrtList nrtv1alpha2.NodeResourceTopologyList)

Types

type E2EConfig

type E2EConfig struct {
	Fixture       *e2efixture.Fixture
	NRTList       nrtv1alpha2.NodeResourceTopologyList
	NROOperObj    *nropv1.NUMAResourcesOperator
	NROSchedObj   *nropv1.NUMAResourcesScheduler
	SchedulerName string
	// contains filtered or unexported fields
}
var Config *E2EConfig

func NewFixtureWithOptions

func NewFixtureWithOptions(nsName string, options e2efixture.Options) (*E2EConfig, error)

func (*E2EConfig) Ready

func (cfg *E2EConfig) Ready() bool

func (*E2EConfig) RecordNRTReference

func (cfg *E2EConfig) RecordNRTReference() error

Jump to

Keyboard shortcuts

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