Documentation ¶
Index ¶
- Constants
- Variables
- func NewClusterOperator() *apiconfigv1.ClusterOperator
- func NewContainerRuntimeConfig(runtime mcov1.ContainerRuntimeDefaultRuntime, mcpSelector map[string]string) *mcov1.ContainerRuntimeConfig
- func NewInfraResource(pin bool) *apiconfigv1.Infrastructure
- func NewPerformanceProfile(name string) *performancev2.PerformanceProfile
- func NewProfileMCP() *mcov1.MachineConfigPool
- func NewProfileMachineConfig(name string, kernelArgs []string) *mcov1.MachineConfig
Constants ¶
View Source
const ( // HugePageSize defines the huge page size used for tests HugePageSize = performancev2.HugePageSize("1G") // HugePagesCount defines the huge page count used for tests HugePagesCount = 4 // IsolatedCPUs defines the isolated CPU set used for tests IsolatedCPUs = performancev2.CPUSet("4-5") // ReservedCPUs defines the reserved CPU set used for tests ReservedCPUs = performancev2.CPUSet("0-3") // OfflinedCPUs defines the Offline CPU set used for tests OfflinedCPUs = performancev2.CPUSet("6-7") SharedCPUs = performancev2.CPUSet("8-9") // SingleNUMAPolicy defines the topologyManager policy used for tests SingleNUMAPolicy = "single-numa-node" // MachineConfigLabelKey defines the MachineConfig label key of the test profile MachineConfigLabelKey = "mcKey" // MachineConfigLabelValue defines the MachineConfig label vlue of the test profile MachineConfigLabelValue = "mcValue" // MachineConfigPoolLabelKey defines the MachineConfigPool label key of the test profile MachineConfigPoolLabelKey = "mcpKey" // MachineConfigPoolLabelValue defines the MachineConfigPool label value of the test profile MachineConfigPoolLabelValue = "mcpValue" )
Variables ¶
View Source
var AdditionalKernelArgs = []string{"audit=0", "processor.max_cstate=1", "idle=poll", "intel_idle.max_cstate=0"}
Additional Kernel Args
Functions ¶
func NewClusterOperator ¶
func NewClusterOperator() *apiconfigv1.ClusterOperator
func NewContainerRuntimeConfig ¶
func NewContainerRuntimeConfig(runtime mcov1.ContainerRuntimeDefaultRuntime, mcpSelector map[string]string) *mcov1.ContainerRuntimeConfig
func NewInfraResource ¶
func NewInfraResource(pin bool) *apiconfigv1.Infrastructure
func NewPerformanceProfile ¶
func NewPerformanceProfile(name string) *performancev2.PerformanceProfile
NewPerformanceProfile returns new performance profile object that used for tests
func NewProfileMCP ¶
func NewProfileMCP() *mcov1.MachineConfigPool
NewProfileMCP returns new MCP used for testing
func NewProfileMachineConfig ¶
func NewProfileMachineConfig(name string, kernelArgs []string) *mcov1.MachineConfig
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.