Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllocationPreferences ¶
func GetAllocationPreferences(obj runtime.Object, key string) (*fed.ReplicaAllocationPreferences, error)
GetAllocationPreferences reads the preferences from the annotations on the given object. It takes in an object and determines the supported types. Callers need to pass the string key used to store the annotations. Returns nil if the annotations with the given key are not found.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.