package poddisruptionbudget
import "k8s.io/kubernetes/pkg/registry/policy/poddisruptionbudget"
Index ¶
- Variables
- func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, bool, error)
- func MatchPodDisruptionBudget(label labels.Selector, field fields.Selector) storage.SelectionPredicate
- func PodDisruptionBudgetToSelectableFields(podDisruptionBudget *policy.PodDisruptionBudget) fields.Set
Variables ¶
var StatusStrategy = podDisruptionBudgetStatusStrategy{Strategy}
var Strategy = podDisruptionBudgetStrategy{api.Scheme, names.SimpleNameGenerator}
Strategy is the default logic that applies when creating and updating PodDisruptionBudget objects.
Functions ¶
func GetAttrs ¶
GetAttrs returns labels and fields of a given object for filtering purposes.
func MatchPodDisruptionBudget ¶
func MatchPodDisruptionBudget(label labels.Selector, field fields.Selector) storage.SelectionPredicate
MatchPodDisruptionBudget is the filter used by the generic etcd backend to watch events from etcd to clients of the apiserver only interested in specific labels/fields.
func PodDisruptionBudgetToSelectableFields ¶
func PodDisruptionBudgetToSelectableFields(podDisruptionBudget *policy.PodDisruptionBudget) fields.Set
PodDisruptionBudgetToSelectableFields returns a field set that represents the object.
Source Files ¶
doc.go strategy.go
Directories ¶
Path | Synopsis |
---|---|
pkg/registry/policy/poddisruptionbudget/storage |
- Version
- v1.7.0-beta.1
- Published
- Jun 8, 2017
- Platform
- js/wasm
- Imports
- 13 packages
- Last checked
- 8 minutes ago –
Tools for package owners.