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

package secret

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

Package secrets provides Registry interface and its REST implementation for storing Secret api objects.


Package Files

doc.go strategy.go


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

Strategy is the default logic that applies when creating and updating Secret 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.Secret) fields.Set

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



Package secret imports 13 packages (graph) and is imported by 30 packages. Updated 2021-01-26. Refresh now. Tools for package owners.