- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for MakeCRD (0.21 sec)
-
pkg/kube/kclient/crdwatcher_test.go
// Happened sync vsCalls.Inc() } }() clienttest.MakeCRD(t, c, gvr.VirtualService) c.RunAndWait(stop) assert.EventuallyEqual(t, vsCalls.Load, 1) } func TestCRDWatcher(t *testing.T) { stop := test.NewStop(t) c := kube.NewFakeClient() clienttest.MakeCRD(t, c, gvr.VirtualService) vsCalls := atomic.NewInt32(0) clienttest.MakeCRD(t, c, gvr.GatewayClass) ctl := c.CrdWatcher()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 25 14:44:17 UTC 2024 - 3.1K bytes - Viewed (0) -
pkg/kube/kclient/client_test.go
wasm.AddEventHandler(clienttest.TrackerHandler(tracker)) go constantlyAccessForRaceDetection(stop, wasm) // CRD and Delayed client are ready to go by the time we start informers clienttest.MakeCRD(t, c, gvr.WasmPlugin) c.RunAndWait(stop) wt.Create(&istioclient.WasmPlugin{ ObjectMeta: metav1.ObjectMeta{Name: "name", Namespace: "default"}, }) assert.EventuallyEqual(t, func() int {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 11 15:12:54 UTC 2024 - 17.2K bytes - Viewed (0) -
pkg/kube/kclient/clienttest/crd.go
"k8s.io/apimachinery/pkg/runtime/schema" metadatafake "k8s.io/client-go/metadata/fake" "istio.io/istio/pkg/config/schema/gvr" "istio.io/istio/pkg/kube" "istio.io/istio/pkg/test" ) func MakeCRD(t test.Failer, c kube.Client, g schema.GroupVersionResource) { t.Helper() MakeCRDWithAnnotations(t, c, g, nil) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 25 14:44:17 UTC 2024 - 2K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/fake.go
assert.NoError(t, queue.WaitForClose(c.queue, time.Second*5)) }) } c.stop = stop if cleanupStop { t.Cleanup(func() { close(stop) }) } for _, crd := range opts.CRDs { clienttest.MakeCRD(t, c.client, crd) } opts.Client.RunAndWait(c.stop) var fx *xdsfake.Updater if x, ok := xdsUpdater.(*xdsfake.Updater); ok { fx = x } if !opts.SkipRun { go c.Run(c.stop)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 4K bytes - Viewed (0) -
pilot/pkg/config/kube/crdclient/client_test.go
if len(l) != 0 { return fmt.Errorf("expected no items returned for unknown CRD") } return nil }, retry.Timeout(time.Second*5), retry.Converge(5)) clienttest.MakeCRD(t, fake, r.GroupVersionResource()) retry.UntilSuccessOrFail(t, func() error { l := store.List(r.GroupVersionKind(), "") if len(l) != 1 { return fmt.Errorf("expected items returned") }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 02:58:52 UTC 2024 - 14.1K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 08 01:04:50 UTC 2024 - 70.2K bytes - Viewed (0)