Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MutatingHandler ¶
type MutatingHandler interface {
// Mutate injects affinity info into pod
// if a plugin return true, it means that no need to call other plugins
// map[string]base.RuntimeInfoInterface's key is pvcName
Mutate(*corev1.Pod, map[string]base.RuntimeInfoInterface) (shouldStop bool, err error)
// GetName returns the name of plugin
GetName() string
}
Click to show internal directories.
Click to hide internal directories.