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.34.0-rc.0
- Published
- Aug 6, 2025
- Platform
- linux/amd64
- Imports
- 14 packages
- Last checked
- 2 minutes ago –
Tools for package owners.