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

package configmap

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

Package configmap provides Registry interface and its REST implementation for storing ConfigMap API objects.

Index

Package Files

doc.go strategy.go

Variables

var Strategy = strategy{legacyscheme.Scheme, names.SimpleNameGenerator}

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

func Matcher(label labels.Selector, field fields.Selector) pkgstorage.SelectionPredicate

Matcher returns a selection predicate for a given label and field selector.

func NameTriggerFunc Uses

func NameTriggerFunc(obj runtime.Object) string

NameTriggerFunc returns value metadata.namespace of given object.

func SelectableFields Uses

func SelectableFields(obj *api.ConfigMap) fields.Set

SelectableFields returns a field set that can be used for filter selection

Directories

PathSynopsis
storage

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