package podsecuritypolicy
import "k8s.io/kubernetes/pkg/registry/extensions/podsecuritypolicy"
Package podsecuritypolicy provides Registry interface and its REST implementation for storing PodSecurityPolicy api objects.
Index ¶
- Variables
- func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, bool, error)
- func MatchPodSecurityPolicy(label labels.Selector, field fields.Selector) storage.SelectionPredicate
- func PodSecurityPolicyToSelectableFields(obj *extensions.PodSecurityPolicy) fields.Set
Variables ¶
var Strategy = strategy{api.Scheme, names.SimpleNameGenerator}
Strategy is the default logic that applies when creating and updating PodSecurityPolicy objects via the REST API.
Functions ¶
func GetAttrs ¶
GetAttrs returns labels and fields of a given object for filtering purposes.
func MatchPodSecurityPolicy ¶
func MatchPodSecurityPolicy(label labels.Selector, field fields.Selector) storage.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/extensions/podsecuritypolicy/storage |
- Version
- v1.7.13-beta.0
- Published
- Dec 29, 2017
- Platform
- js/wasm
- Imports
- 13 packages
- Last checked
- 1 minute ago –
Tools for package owners.