package horizontalpodautoscaler
import "k8s.io/kubernetes/pkg/registry/autoscaling/horizontalpodautoscaler"
Index ¶
- Variables
- func AutoscalerToSelectableFields(hpa *autoscaling.HorizontalPodAutoscaler) fields.Set
- func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, bool, error)
- func MatchAutoscaler(label labels.Selector, field fields.Selector) storage.SelectionPredicate
Variables ¶
var StatusStrategy = autoscalerStatusStrategy{Strategy}
var Strategy = autoscalerStrategy{api.Scheme, names.SimpleNameGenerator}
Strategy is the default logic that applies when creating and updating HorizontalPodAutoscaler objects via the REST API.
Functions ¶
func AutoscalerToSelectableFields ¶
func AutoscalerToSelectableFields(hpa *autoscaling.HorizontalPodAutoscaler) fields.Set
func GetAttrs ¶
GetAttrs returns labels and fields of a given object for filtering purposes.
func MatchAutoscaler ¶
Source Files ¶
doc.go strategy.go
Directories ¶
Path | Synopsis |
---|---|
pkg/registry/autoscaling/horizontalpodautoscaler/storage |
- Version
- v1.7.0
- Published
- Jun 29, 2017
- Platform
- js/wasm
- Imports
- 11 packages
- Last checked
- 17 minutes ago –
Tools for package owners.