package carp
import "k8s.io/kubernetes/pkg/registry/testapigroup/carp"
Index ¶
- func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error)
- func Match(label labels.Selector, field fields.Selector) storage.SelectionPredicate
- func NewStatusStrategy(carpStrategy *carpStrategy) *carpStatusStrategy
- func NewStrategy(nsClient v1.NamespaceInterface) *carpStrategy
Functions ¶
func GetAttrs ¶
GetAttrs returns labels and fields of a given object for filtering purposes.
func Match ¶
Match returns a generic matcher for a given label and field selector.
func NewStatusStrategy ¶
func NewStatusStrategy(carpStrategy *carpStrategy) *carpStatusStrategy
NewStatusStrategy creates a strategy for operating the status object.
func NewStrategy ¶
func NewStrategy(nsClient v1.NamespaceInterface) *carpStrategy
NewStrategy is the default logic that applies when creating and updating Carp objects.
Source Files ¶
strategy.go
Directories ¶
Path | Synopsis |
---|---|
pkg/registry/testapigroup/carp/storage |
- Version
- v1.35.0-alpha.0
- Published
- Aug 2, 2025
- Platform
- js/wasm
- Imports
- 14 packages
- Last checked
- 7 minutes ago –
Tools for package owners.