- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for FieldSelectorQueryParam (2.16 sec)
-
pkg/client/tests/listwatch_test.go
} func buildLocation(resourcePath string, query url.Values) string { return resourcePath + "?" + query.Encode() } func TestListWatchesCanList(t *testing.T) { fieldSelectorQueryParamName := metav1.FieldSelectorQueryParam("v1") table := []struct { desc string location string resource string namespace string fieldSelector fields.Selector }{ { desc: "node",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 02 17:08:23 UTC 2022 - 5.6K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/resource/builder_test.go
ResourceTypes("unknown") if b.Do().Err() == nil { t.Errorf("unexpected non-error") } } func TestFieldSelector(t *testing.T) { pods, svc := testData() fieldKey := metav1.FieldSelectorQueryParam(corev1GV.String()) b := newDefaultBuilderWith(fakeClientWith("", t, map[string]string{ "/namespaces/test/pods?" + fieldKey + "=a%3Db": runtime.EncodeOrDie(corev1Codec, pods),
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/apimachinery/pkg/apis/meta/v1/types.go
} // TODO: remove me when watch is refactored func LabelSelectorQueryParam(version string) string { return "labelSelector" } // TODO: remove me when watch is refactored func FieldSelectorQueryParam(version string) string { return "fieldSelector" } // String returns available api versions as a human-friendly version string. func (apiVersions APIVersions) String() string {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 05 10:52:25 UTC 2024 - 79.2K bytes - Viewed (1)