kubernetesk8s.io/kubernetes/pkg/registry/extensions/podsecuritypolicy Index | Files | Directories

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

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

func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, bool, error)

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

PathSynopsis
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.