Documentation
¶
Index ¶
- func DeployNROScheduler() *nropv1.NUMAResourcesScheduler
- func TeardownDeployment(nrod NroDeployment, timeout time.Duration)
- func TeardownNROScheduler(nroSched *nropv1.NUMAResourcesScheduler, timeout time.Duration)
- func WaitForMCPUpdatedAfterNROCreated(nroObj *nropv1.NUMAResourcesOperator)
- func WaitForMCPUpdatedAfterNRODeleted(nroObj *nropv1.NUMAResourcesOperator)
- type NroDeployment
- type NroDeploymentWithSched
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeployNROScheduler ¶
func DeployNROScheduler() *nropv1.NUMAResourcesScheduler
Deploy a test NUMAResourcesScheduler and waits until its available or a timeout happens (5 min right now).
see: `TestNROScheduler` to see the specific object characteristics.
func TeardownDeployment ¶
func TeardownDeployment(nrod NroDeployment, timeout time.Duration)
TODO: what if timeout < period?
func TeardownNROScheduler ¶
func TeardownNROScheduler(nroSched *nropv1.NUMAResourcesScheduler, timeout time.Duration)
func WaitForMCPUpdatedAfterNROCreated ¶
func WaitForMCPUpdatedAfterNROCreated(nroObj *nropv1.NUMAResourcesOperator)
func WaitForMCPUpdatedAfterNRODeleted ¶
func WaitForMCPUpdatedAfterNRODeleted(nroObj *nropv1.NUMAResourcesOperator)
Types ¶
type NroDeployment ¶
type NroDeployment struct {
McpObj *machineconfigv1.MachineConfigPool
KcObj *machineconfigv1.KubeletConfig
NroObj *nropv1.NUMAResourcesOperator
}
func OverallDeployment ¶
func OverallDeployment() NroDeployment
OverallDeployment returns a struct containing all the deployed objects, so it will be easier to introspect and delete them later.
type NroDeploymentWithSched ¶
type NroDeploymentWithSched struct {
NroDeployment
NroSchedObj *nropv1.NUMAResourcesScheduler
}
func GetDeploymentWithSched ¶
func GetDeploymentWithSched() (NroDeploymentWithSched, error)
Click to show internal directories.
Click to hide internal directories.