replicapreferences

package
v1.7.14-beta.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL