- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,048 for Rake (0.2 sec)
-
cni/pkg/nodeagent/net_test.go
assert.Equal(t, ztunnelServer.deletedPods.Load(), 1) assert.Equal(t, nlDeps.DelInpodMarkIPRuleCnt.Load(), 1) assert.Equal(t, nlDeps.DelLoopbackRoutesCnt.Load(), 1) // make sure the uid was taken from cache and netns closed netns := fixture.podNsMap.Take(string(pod.UID)) assert.Equal(t, nil, netns) // run gc to clean up ns: //revive:disable-next-line:call-to-gc Just a test that we are cleaning up the netns
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 14.3K bytes - Viewed (0) -
finisher_api.go
// db.Where(User{Name: "non_existing"}).Attrs(User{Email: "fake@fake.org"}).FirstOrInit(&user) // // user -> User{Name: "non_existing", Email: "fake@fake.org"} // // // assign email regardless of if record is found // db.Where(User{Name: "jinzhu"}).Assign(User{Email: "fake@fake.org"}).FirstOrInit(&user) // // user -> User{Name: "jinzhu", Age: 20, Email: "fake@fake.org"}
Go - Registered: Sun Apr 28 09:35:09 GMT 2024 - Last Modified: Fri Jan 12 08:42:21 GMT 2024 - 22.7K bytes - Viewed (0) -
internal/grid/grid_test.go
defer testlogger.T.SetErrorTB(t)() errFatal := func(err error) { t.Helper() if err != nil { t.Fatal(err) } } // We fake a local and remote server. remoteHost := remote.HostName() // 1: Echo serverSent := make(chan struct{}) serverCanceled := make(chan struct{}) register := func(manager *Manager) { errFatal(manager.RegisterStreamingHandler(handlerTest, StreamHandler{
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Thu Feb 08 18:15:27 GMT 2024 - 30.1K bytes - Viewed (0) -
CONTRIBUTING.md
git config user.email ******@****.*** #### Import Gradle into IntelliJ To import Gradle into IntelliJ: - Open the `build.gradle.kts` file with IntelliJ and choose "Open as Project" - Make sure "Create separate module per source set" is selected - Make sure "Use default gradle wrapper" is selected - Select a Java 11 VM as "Gradle JVM" - In the "File already exists" dialogue, choose "Yes" to overwrite
Plain Text - Registered: Wed Apr 24 11:36:11 GMT 2024 - Last Modified: Fri Feb 09 15:30:53 GMT 2024 - 15.6K bytes - Viewed (0) -
cni/pkg/nodeagent/server_test.go
server := &fakeServer{} server.Start(fakeCtx) server.On("DelPodFromMesh", fakeCtx, pod, ).Return(errors.New("fake error")) fakeClientSet := fake.NewSimpleClientset() m := meshDataplane{ kubeClient: fakeClientSet, netServer: server, } // pod is not in fake client, so if this will try to remove annotation, it will fail. err := m.DelPodFromMesh(fakeCtx, pod) assert.Error(t, err) }
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 7.8K bytes - Viewed (0) -
docs/en/docs/tutorial/security/get-current-user.md
The security and dependency injection stuff is written once. And you can make it as complex as you want. And still, have it written only once, in a single place. With all the flexibility. But you can have thousands of endpoints (*path operations*) using the same security system. And all of them (or any portion of them that you want) can take the advantage of re-using these dependencies or any other dependencies you create.
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Jan 11 16:31:18 GMT 2024 - 7.6K bytes - Viewed (0) -
istioctl/pkg/waypoint/waypoint_test.go
makeGateway(constants.DefaultNamespaceWaypoint, "fake", true, true), }, expectedOutFile: "default-gateway", }, { name: "all namespaces gateways", args: strings.Split("list -A", " "), gateways: []*gateway.Gateway{ makeGateway(constants.DefaultNamespaceWaypoint, "default", true, true), makeGateway(constants.DefaultNamespaceWaypoint, "fake", true, true), }, expectedOutFile: "all-gateway", },
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Thu Apr 04 15:53:09 GMT 2024 - 4.4K bytes - Viewed (0) -
src/cmd/api/main_test.go
ok = false // broke compatibility } case len(required) == 0 || (len(features) > 0 && required[0] > features[0]): newFeature := take(&features) fmt.Fprintf(w, "+%s\n", newFeature) ok = false // feature not in api/next/* default: take(&required) take(&features) } } return ok } // aliasReplacer applies type aliases to earlier API files,
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Tue Apr 09 20:48:51 GMT 2024 - 31.4K bytes - Viewed (0) -
architecture/networking/controllers.md
`kube.Client` just bundles these all in one place, so we have a single object to pass around anywhere we need Kubernetes access. Additionally, it has a fake client variant, that does the same thing but with fake clients for use in unit tests. Aside from this, there are a few conveniences and workarounds built-in to the client to make things simpler. *All Istio Kubernetes usage should use this library and not operate on Kubernetes clients directly.*
Plain Text - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Fri Feb 09 17:41:25 GMT 2024 - 4.9K bytes - Viewed (0) -
operator/cmd/mesh/manifest_shared_test.go
istioNamespace: constants.IstioSystemNamespace, watchedNamespaces: constants.IstioSystemNamespace, operatorNamespace: operatorDefaultNamespace, // placeholders, since the fake API server does not actually pull images and create pods. hub: "fake hub", tag: "fake tag", } _, mstr, err := renderOperatorManifest(nil, ocArgs) if err != nil { return err } if err := applyWithReconciler(reconciler, mstr); err != nil {
Go - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Tue Feb 20 22:39:28 GMT 2024 - 11.7K bytes - Viewed (0)