package podsecuritypolicy
import "k8s.io/kubernetes/pkg/registry/podsecuritypolicy"
Package podsecuritypolicy provides Registry interface and its REST implementation for storing PodSecurityPolicy api objects.
Index ¶
- Variables
- func MatchPodSecurityPolicy(label labels.Selector, field fields.Selector) *generic.SelectionPredicate
- func PodSecurityPolicyToSelectableFields(obj *extensions.PodSecurityPolicy) fields.Set
Variables ¶
var Strategy = strategy{api.Scheme, api.SimpleNameGenerator}
Strategy is the default logic that applies when creating and updating PodSecurityPolicy objects via the REST API.
Functions ¶
func MatchPodSecurityPolicy ¶
func MatchPodSecurityPolicy(label labels.Selector, field fields.Selector) *generic.SelectionPredicate
Matcher returns a generic matcher for a given label and field selector.
func PodSecurityPolicyToSelectableFields ¶
func PodSecurityPolicyToSelectableFields(obj *extensions.PodSecurityPolicy) fields.Set
PodSecurityPolicyToSelectableFields returns a label set that represents the object
Source Files ¶
doc.go strategy.go
Directories ¶
Path | Synopsis |
---|---|
pkg/registry/podsecuritypolicy/etcd |
- Version
- v1.4.2
- Published
- Oct 15, 2016
- Platform
- js/wasm
- Imports
- 10 packages
- Last checked
- 25 seconds ago –
Tools for package owners.