package job
import "k8s.io/kubernetes/pkg/registry/batch/job"
Package job provides Registry interface and it's RESTStorage implementation for storing Job api objects.
Index ¶
- Variables
- func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error)
- func JobToSelectableFields(job *batch.Job) fields.Set
- func MatchJob(label labels.Selector, field fields.Selector) storage.SelectionPredicate
Variables ¶
var StatusStrategy = jobStatusStrategy{Strategy}
var Strategy = jobStrategy{legacyscheme.Scheme, names.SimpleNameGenerator}
Strategy is the default logic that applies when creating and updating Replication Controller objects.
Functions ¶
func GetAttrs ¶
GetAttrs returns labels and fields of a given object for filtering purposes.
func JobToSelectableFields ¶
JobSelectableFields returns a field set that represents the object for matching purposes.
func MatchJob ¶
MatchJob 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.
Source Files ¶
doc.go strategy.go
Directories ¶
Path | Synopsis |
---|---|
pkg/registry/batch/job/storage |
- Version
- v1.33.0 (latest)
- Published
- Apr 23, 2025
- Platform
- linux/amd64
- Imports
- 28 packages
- Last checked
- 3 hours ago –
Tools for package owners.