- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for doTest (0.23 sec)
-
cni/test/install_cni.go
} } t.Logf("PASS: All temporary files removed from %v", tempCNIConfDir) } // doTest sets up necessary environment variables, runs the Docker installation // container and verifies output file correctness. func doTest(t *testing.T, chainedCNIPlugin bool, wd, preConfFile, resultFileName, delayedConfFile, expectedOutputFile,
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 12.5K bytes - Viewed (0) -
operator/cmd/mesh/manifest_shared_test.go
clnt client.WithWatch, obj client.Object, patch client.Patch, opts ...client.PatchOption, ) error { // Apply patches are supposed to upsert, but fake client fails if the object doesn't exist, // if an apply patch occurs for an object that doesn't yet exist, create it. if patch.Type() != types.ApplyPatchType { return clnt.Patch(ctx, obj, patch, opts...) } check, ok := obj.DeepCopyObject().(client.Object) if !ok {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Feb 20 22:39:28 GMT 2024 - 11.7K bytes - Viewed (1) -
operator/cmd/mesh/profile-diff_test.go
// We won't be parsing with Cobra, but this is the command equivalent args: "profile diff default openshift", // This is just one of the many differences expectedString: "+ profile: openshift", // The profile doesn't change istiocoredns, so we shouldn't see this in the diff notExpected: "- istiocoredns:", // 'profile diff' "fails" so that the error level `$?` is 1, not 0, if there is a diff shouldFail: false, }, }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Jan 10 05:10:03 GMT 2024 - 3.6K bytes - Viewed (1) -
cni/pkg/nodeagent/net.go
// // We always need the IPs, but this is fine because this AddPodToMesh can be called from the CNI plugin as well, // which always has the firsthand info of the IPs, even before K8S does - so we pass them separately here because // we actually may have them before K8S in the Pod object. func (s *NetServer) AddPodToMesh(ctx context.Context, pod *corev1.Pod, podIPs []netip.Addr, netNs string) error {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 12.2K bytes - Viewed (1) -
istioctl/pkg/util/handlers/handlers.go
// If we got a pod, just use its name return nil, infos[0].Name, infos[0].Namespace, "", nil } namespace, selector, err := SelectorsForObject(infos[0].Object) if err != nil { return nil, "", "", "", fmt.Errorf("%q does not refer to a pod: %v", resname, err) } clientConfig, err := factory.ToRESTConfig() if err != nil { return nil, "", "", "", err } clientset, err := corev1client.NewForConfig(clientConfig)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Feb 06 15:01:41 GMT 2024 - 6.2K bytes - Viewed (0) -
istioctl/pkg/workload/workload_test.go
} func runTestCmd(t *testing.T, createResourceFunc func(client kube.CLIClient), rev string, args []string) (string, error) { t.Helper() // TODO there is already probably something else that does this var out bytes.Buffer ctx := cli.NewFakeContext(&cli.NewFakeContextOption{ IstioNamespace: "istio-system", }) rootCmd := Cmd(ctx) rootCmd.SetArgs(args) client, err := ctx.CLIClientWithRevision(rev)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Mar 27 16:59:05 GMT 2024 - 14.6K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/configdump.go
if c.configDump == nil { return fmt.Errorf("config writer has not been primed") } secretDump, err := c.configDump.GetSecretConfigDump() if err != nil { return fmt.Errorf("sidecar doesn't support secrets: %v", err) } out, err := protomarshal.ToJSONWithIndent(secretDump, " ") if err != nil { return fmt.Errorf("unable to marshal secrets in Envoy config dump: %v", err) } if outputFormat == "yaml" {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Feb 29 20:46:41 GMT 2024 - 7.4K bytes - Viewed (0) -
cni/pkg/nodeagent/ztunnelserver_test.go
assert.Equal(t, len(fds), 1) // in theory we should close the fd, but it's just a test.. assert.Equal(t, m.Payload.(*zdsapi.WorkloadRequest_Add).Add.Uid, uid) // send ack so the server doesn't wait for us. sendAck(ztunClient) // second message should be the snap sent message m, fds = readRequest(t, ztunClient) assert.Equal(t, len(fds), 0)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 8.6K bytes - Viewed (0) -
istioctl/pkg/validate/validate.go
continue } if ap := p["appProtocol"]; ap != nil { if protocol.Parse(ap.(string)).IsUnsupported() { errs = multierror.Append(errs, fmt.Errorf("service %q doesn't follow Istio protocol selection. "+ "This is not recommended, See "+url.ProtocolSelection, fmt.Sprintf("%s/%s/:", un.GetName(), un.GetNamespace()))) } } else { if p["name"] == nil {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Jan 22 17:58:52 GMT 2024 - 15K bytes - Viewed (0) -
operator/cmd/mesh/install.go
waitTimeout time.Duration, l clog.Logger, ) error { // Needed in case we are running a test through this path that doesn't start a new process. cache.FlushObjectCaches() opts := &helmreconciler.Options{ DryRun: dryRun, Log: l, WaitTimeout: waitTimeout, ProgressLog: progress.NewLog(), Force: force, }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu May 02 14:30:43 GMT 2024 - 15.5K bytes - Viewed (1)