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.

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 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

Directories

PathSynopsis
storage

Package secret imports 14 packages (graph) and is imported by 18 packages. Updated 2019-11-20. Refresh now. Tools for package owners.