Documentation
¶
Index ¶
Constants ¶
View Source
const ResultsHistoryAnnotation = "kube-scheduler-simulator.sigs.k8s.io/result-history"
ResultsHistoryAnnotation has the all results including the past ones.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reflector ¶
type Reflector interface { AddResultStore(store ResultStore, key string) ResisterResultSavingToInformer(client clientset.Interface, stopCh <-chan struct{}) error }
type ResultStore ¶
type ResultStore interface { // GetStoredResult get all stored result of a given Pod. GetStoredResult(pod *corev1.Pod) map[string]string // DeleteData deletes all data corresponding to the pod. DeleteData(key corev1.Pod) }
ResultStore represents the store which is stores data and shared with simulator and scheduler. Fulfilling this interface will allow the stored results to be saved as data in that Pod when the Pod's schedule is complete.
Directories
¶
Path | Synopsis |
---|---|
Package mock_storereflector is a generated GoMock package.
|
Package mock_storereflector is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.