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 generic matcher for a given label and field selector.

func SecretNameTriggerFunc Uses

func SecretNameTriggerFunc(obj runtime.Object) string

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 14 packages (graph) and is imported by 19 packages. Updated 2019-07-19. Refresh now. Tools for package owners.