- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ResourceMapping (0.16 sec)
-
staging/src/k8s.io/cli-runtime/pkg/resource/selector.go
return NewHelper(r.Client, r.Mapping).Watch(r.Namespace, r.ResourceMapping().GroupVersionKind.GroupVersion().String(), &metav1.ListOptions{ResourceVersion: resourceVersion, LabelSelector: r.LabelSelector, FieldSelector: r.FieldSelector}) } // ResourceMapping returns the mapping for this resource and implements ResourceMapping func (r *Selector) ResourceMapping() *meta.RESTMapping { return r.Mapping
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 12 15:08:01 UTC 2021 - 2.8K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/resource/result.go
return &v1.List{ ListMeta: metav1.ListMeta{ ResourceVersion: version, }, Items: raw, } } // ResourceMapping returns a single meta.RESTMapping representing the // resources located by the builder, or an error if more than one // mapping was found. func (r *Result) ResourceMapping() (*meta.RESTMapping, error) { if r.err != nil { return nil, r.err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 23:00:24 UTC 2019 - 7.3K bytes - Viewed (0)