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 ¶
- Variables
- func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error)
- func MatchReplicaSet(label labels.Selector, field fields.Selector) apistorage.SelectionPredicate
- func ToSelectableFields(rs *apps.ReplicaSet) fields.Set
Variables ¶
var StatusStrategy = rsStatusStrategy{Strategy}
StatusStrategy is the default logic invoked when updating object status.
var Strategy = rsStrategy{legacyscheme.Scheme, names.SimpleNameGenerator}
Strategy is the default logic that applies when creating and updating ReplicaSet objects.
Functions ¶
func GetAttrs ¶
GetAttrs returns labels and fields of a given object for filtering purposes.
func MatchReplicaSet ¶
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 ToSelectableFields ¶
func ToSelectableFields(rs *apps.ReplicaSet) fields.Set
ToSelectableFields returns a field set that represents the object.
Source Files ¶
doc.go strategy.go
Directories ¶
Path | Synopsis |
---|---|
pkg/registry/apps/replicaset/storage |
- Version
- v1.33.0 (latest)
- Published
- Apr 23, 2025
- Platform
- linux/amd64
- Imports
- 24 packages
- Last checked
- 3 hours ago –
Tools for package owners.