- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 52 for foos (0.1 sec)
-
staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresourcedefinition/strategy_test.go
Version: "v1", Versions: []apiextensions.CustomResourceDefinitionVersion{{Name: "v1", Storage: true, Served: true}}, Names: apiextensions.CustomResourceDefinitionNames{Plural: "foos", Singular: "foo", Kind: "Foo", ListKind: "FooList"}, Validation: &apiextensions.CustomResourceValidation{ OpenAPIV3Schema: &apiextensions.JSONSchemaProps{Type: "object", XPreserveUnknownFields: pointer.BoolPtr(true)}, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 44.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/width_test.go
"events.foo.bar": 799, }, initialSeatsExpected: 8, }, { name: "request verb is create, no watches", requestURI: "http://server/apis/foo.bar/v1/foos", requestInfo: &apirequest.RequestInfo{ Verb: "create", APIGroup: "foo.bar", Resource: "foos", }, maxSeats: 10, initialSeatsExpected: 1, finalSeatsExpected: 0,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 17K bytes - Viewed (0) -
pkg/kube/krt/collection_test.go
lblFoo := map[string]string{"app": "foo"} lblBar := map[string]string{"app": "bar"} // Setup a simple collection that fetches the same dependency twice Results := krt.NewCollection(pods, func(ctx krt.HandlerContext, i *corev1.Pod) *Result { foos := krt.Fetch(ctx, configMaps, krt.FilterLabel(lblFoo)) bars := krt.Fetch(ctx, configMaps, krt.FilterLabel(lblBar)) names := slices.Map(foos, func(f *corev1.ConfigMap) string { return f.Name })
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 28 04:22:19 UTC 2024 - 14.6K bytes - Viewed (0) -
pkg/registry/core/service/strategy_test.go
Resource: "foos", }) expect := errors.NewNotFound(api.Resource("foos"), "bar") if err := rest.CheckGeneratedNameError(ctx, Strategy, expect, &api.Service{}); err != expect { t.Errorf("NotFoundError should be ignored: %v", err) } expect = errors.NewAlreadyExists(api.Resource("foos"), "bar")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 32.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/compile_test.go
errorExpressions: map[string]string{ "request.foo1 == 'nope'": "undefined field 'foo1'", "request.resource.foo2 == 'nope'": "undefined field 'foo2'", "request.requestKind.foo3 == 'nope'": "undefined field 'foo3'", "request.requestResource.foo4 == 'nope'": "undefined field 'foo4'", "request.userInfo.foo5 == 'nope'": "undefined field 'foo5'", }, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 10.8K bytes - Viewed (0) -
pkg/kubelet/cm/devicemanager/pod_devices_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 10.3K bytes - Viewed (0) -
pkg/kubelet/util/queue/work_queue_test.go
} } func TestGetWork(t *testing.T) { q, clock := newTestBasicWorkQueue() q.Enqueue(types.UID("foo1"), -1*time.Minute) q.Enqueue(types.UID("foo2"), -1*time.Minute) q.Enqueue(types.UID("foo3"), 1*time.Minute) q.Enqueue(types.UID("foo4"), 1*time.Minute) expected := []types.UID{types.UID("foo1"), types.UID("foo2")} compareResults(t, expected, q.GetWork()) compareResults(t, []types.UID{}, q.GetWork())
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 2.4K bytes - Viewed (0) -
pkg/kubelet/config/config_test.go
// should register an add podUpdate := CreatePodUpdate(kubetypes.ADD, TestSource, CreateValidPod("foo", "new"), CreateValidPod("foo2", "new"), CreateValidPod("foo3", "new")) channel <- podUpdate expectPodUpdate(t, ch, CreatePodUpdate(kubetypes.ADD, TestSource, CreateValidPod("foo", "new"), CreateValidPod("foo2", "new"), CreateValidPod("foo3", "new"))) // should ignore ADDs that are identical expectNoPodUpdate(t, ch)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 17.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/testing/watcher_tests.go
watchTests: []*testWatchStruct{ {basePod("t4-foo1"), true, watch.Added}, {basePod("t4-foo2"), false, ""}, {basePodUpdated("t4-foo1"), true, watch.Modified}, {basePodUpdated("t4-foo2"), false, ""}, }, }, { name: "cluster-wide watch, request with name, field selector with metadata.name and spec.nodeName", requestedName: "t5-foo1", fieldSelector: fields.SelectorFromSet(fields.Set{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 63.8K bytes - Viewed (0) -
pkg/apis/storage/validation/validation_test.go
ObjectMeta: metav1.ObjectMeta{Name: "foo"}, DriverName: "foo", Parameters: map[string]string{ "foo-parameter": "free-form-string", }, }, { // some parameters ObjectMeta: metav1.ObjectMeta{Name: "foo"}, DriverName: "kubernetes.io/foo", Parameters: map[string]string{ "kubernetes.io/foo-parameter": "free/form/string", "foo-parameter": "free-form-string",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 69.7K bytes - Viewed (0)