Documentation ¶
Index ¶
- Constants
- type Store
- func (s *Store) AddFilterResult(namespace, podName, nodeName, pluginName, reason string)
- func (s *Store) AddNormalizedScoreResult(namespace, podName, nodeName, pluginName string, normalizedscore int64)
- func (s *Store) AddScoreResult(namespace, podName, nodeName, pluginName string, score int64)
- func (s *Store) DeleteData(k key)
Constants ¶
View Source
const (
// PassedFilterMessage is used when node pass the filter plugin.
PassedFilterMessage = "passed"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store has results of scheduling. It manages all scheduling results and reflects all results on the pod annotation when the scheduling is finished.
func (*Store) AddFilterResult ¶
AddFilterResult adds filtering result to pod annotation.
func (*Store) AddNormalizedScoreResult ¶
func (s *Store) AddNormalizedScoreResult(namespace, podName, nodeName, pluginName string, normalizedscore int64)
AddNormalizedScoreResult adds final score result to pod annotation.
func (*Store) AddScoreResult ¶
AddScoreResult adds scoring result to pod annotation.
func (*Store) DeleteData ¶
func (s *Store) DeleteData(k key)
Click to show internal directories.
Click to hide internal directories.