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

package persistentvolume

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


Package Files

doc.go strategy.go


var StatusStrategy = persistentvolumeStatusStrategy{Strategy}
var Strategy = persistentvolumeStrategy{legacyscheme.Scheme, names.SimpleNameGenerator}

Strategy is the default logic that applies when creating and updating PersistentVolume 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 MatchPersistentVolumes Uses

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

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

func PersistentVolumeToSelectableFields Uses

func PersistentVolumeToSelectableFields(persistentvolume *api.PersistentVolume) fields.Set

PersistentVolumeToSelectableFields returns a field set that represents the object



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