Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for newMockMonitor (0.16 sec)

  1. pkg/controller/podautoscaler/horizontal_test.go

    		hpaController.recommendations["test-namespace/test-hpa"] = tc.recommendations
    	}
    	if tc.hpaSelectors != nil {
    		hpaController.hpaSelectors = tc.hpaSelectors
    	}
    
    	hpaController.monitor = newMockMonitor()
    	return hpaController, informerFactory
    }
    
    func hotCPUCreationTime() metav1.Time {
    	return metav1.Time{Time: time.Now()}
    }
    
    func coolCPUCreationTime() metav1.Time {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 199.3K bytes
    - Viewed (0)
Back to top