replicapreferences

package
v0.0.0-...-cf23810 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2017 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