Documentation ¶
Index ¶
- func DeployNROScheduler() *nropv1alpha1.NUMAResourcesScheduler
- func TeardownDeployment(nrod NroDeployment, timeout time.Duration)
- func TeardownNROScheduler(nroSched *nropv1alpha1.NUMAResourcesScheduler, timeout time.Duration)
- func WaitForMCPUpdatedAfterNROCreated(offset int, nroObj *nropv1alpha1.NUMAResourcesOperator)
- func WaitForMCPUpdatedAfterNRODeleted(offset int, nroObj *nropv1alpha1.NUMAResourcesOperator)
- type NroDeployment
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeployNROScheduler ¶
func DeployNROScheduler() *nropv1alpha1.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 *nropv1alpha1.NUMAResourcesScheduler, timeout time.Duration)
func WaitForMCPUpdatedAfterNROCreated ¶
func WaitForMCPUpdatedAfterNROCreated(offset int, nroObj *nropv1alpha1.NUMAResourcesOperator)
func WaitForMCPUpdatedAfterNRODeleted ¶
func WaitForMCPUpdatedAfterNRODeleted(offset int, nroObj *nropv1alpha1.NUMAResourcesOperator)
Types ¶
type NroDeployment ¶
type NroDeployment struct { McpObj *machineconfigv1.MachineConfigPool KcObj *machineconfigv1.KubeletConfig NroObj *nropv1alpha1.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.
Click to show internal directories.
Click to hide internal directories.