Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IDLE_PRIORITY_CLASS (0.15 sec)

  1. cmd/kubelet/app/init_windows.go

    func getPriorityValue(priorityClassName string) uint32 {
    	var priorityClassMap = map[string]uint32{
    		"IDLE_PRIORITY_CLASS":         uint32(windows.IDLE_PRIORITY_CLASS),
    		"BELOW_NORMAL_PRIORITY_CLASS": uint32(windows.BELOW_NORMAL_PRIORITY_CLASS),
    		"NORMAL_PRIORITY_CLASS":       uint32(windows.NORMAL_PRIORITY_CLASS),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 09 01:54:34 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  2. cmd/kubelet/app/init_windows_test.go

    			description:           "Invalid Priority Class",
    			priorityClassName:     "myPriorityClass",
    			expectedPriorityValue: 0,
    		},
    		{
    			description:           "Valid Priority Class",
    			priorityClassName:     "IDLE_PRIORITY_CLASS",
    			expectedPriorityValue: uint32(64),
    		},
    	}
    	for _, test := range testCases {
    		actualPriorityValue := getPriorityValue(test.priorityClassName)
    		if test.expectedPriorityValue != actualPriorityValue {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 02 19:48:59 UTC 2020
    - 1.2K bytes
    - Viewed (0)
Back to top