- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for LabelSelectorParam (0.31 sec)
-
staging/src/k8s.io/cli-runtime/pkg/resource/builder_test.go
pods, _ := testData() b := newDefaultBuilderWith(fakeClientWith("", t, map[string]string{ "/namespaces/test/pods/foo": runtime.EncodeOrDie(corev1Codec, &pods.Items[0]), })). NamespaceParam("test"). LabelSelectorParam(""). ResourceTypeOrNameArgs(true, "pods", "foo") singleItemImplied := false infos, err := b.Do().IntoSingleItemImplied(&singleItemImplied).Infos() if err != nil || !singleItemImplied || len(infos) != 1 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 11:58:41 UTC 2023 - 56.1K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/resource/builder.go
} return b } // LabelSelectorParam defines a selector that should be applied to the object types to load. // This will not affect files loaded from disk or URL. If the parameter is empty it is // a no-op - to select all resources invoke `b.LabelSelector(labels.Everything.String)`. func (b *Builder) LabelSelectorParam(s string) *Builder { selector := strings.TrimSpace(s) if len(selector) == 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 03 10:17:56 UTC 2023 - 37.2K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.8.md
* The generic RESTClient type (`k8s.io/client-go/rest`) no longer exposes `LabelSelectorParam` or `FieldSelectorParam` methods - use `VersionedParams` with `metav1.ListOptions` instead. The `UintParam` method has been removed. The `timeout` parameter will no longer cause an error when using `Param()`. ([#48991](https://github.com/...
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 20 15:45:02 UTC 2024 - 312.2K bytes - Viewed (0)