Documentation
¶
Index ¶
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-7") // ReservedCPUs defines the reserved CPU set used for tests ReservedCPUs = performancev2.CPUSet("0-3") // 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 ¶
This section is empty.
Functions ¶
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
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.