package poddisruptionbudget
import "k8s.io/kubernetes/pkg/registry/poddisruptionbudget"
Index ¶
- Variables
- 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, api.SimpleNameGenerator}
Strategy is the default logic that applies when creating and updating PodDisruptionBudget objects.
Functions ¶
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/poddisruptionbudget/etcd |
- Version
- v1.4.6
- Published
- Nov 12, 2016
- Platform
- js/wasm
- Imports
- 11 packages
- Last checked
- 1 minute ago –
Tools for package owners.