kubernetes: k8s.io/kubernetes/pkg/registry/apps/replicaset Index | Files | Directories

package replicaset

import "k8s.io/kubernetes/pkg/registry/apps/replicaset"

Package replicaset provides Registry interface and it's RESTStorage implementation for storing ReplicaSet api objects.

Index

Package Files

doc.go strategy.go

Variables

var StatusStrategy = rsStatusStrategy{Strategy}
var Strategy = rsStrategy{legacyscheme.Scheme, names.SimpleNameGenerator}

Strategy is the default logic that applies when creating and updating ReplicaSet objects.

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

func MatchReplicaSet(label labels.Selector, field fields.Selector) apistorage.SelectionPredicate

MatchReplicaSet is the filter used by the generic etcd backend to route watch events from etcd to clients of the apiserver only interested in specific labels/fields.

func ReplicaSetToSelectableFields Uses

func ReplicaSetToSelectableFields(rs *apps.ReplicaSet) fields.Set

ReplicaSetToSelectableFields returns a field set that represents the object.

Directories

PathSynopsis
storage

Package replicaset imports 22 packages (graph) and is imported by 1 packages. Updated 2019-07-18. Refresh now. Tools for package owners.