kubernetes: k8s.io/kubernetes/pkg/registry/core/persistentvolumeclaim Index | Files | Directories

package persistentvolumeclaim

import "k8s.io/kubernetes/pkg/registry/core/persistentvolumeclaim"


Package Files

doc.go strategy.go


var StatusStrategy = persistentvolumeclaimStatusStrategy{Strategy}
var Strategy = persistentvolumeclaimStrategy{legacyscheme.Scheme, names.SimpleNameGenerator}

Strategy is the default logic that applies when creating and updating PersistentVolumeClaim objects via the REST API.

func GetAttrs Uses

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

GetAttrs returns labels and fields of a given object for filtering purposes.

func MatchPersistentVolumeClaim Uses

func MatchPersistentVolumeClaim(label labels.Selector, field fields.Selector) storage.SelectionPredicate

MatchPersistentVolumeClaim returns a generic matcher for a given label and field selector.

func PersistentVolumeClaimToSelectableFields Uses

func PersistentVolumeClaimToSelectableFields(persistentvolumeclaim *api.PersistentVolumeClaim) fields.Set

PersistentVolumeClaimToSelectableFields returns a field set that represents the object



Package persistentvolumeclaim imports 15 packages (graph) and is imported by 1 packages. Updated 2019-08-13. Refresh now. Tools for package owners.