- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 53 for Case (0.17 sec)
-
cni/pkg/install/install_test.go
go func(ctx context.Context) { errChan <- in.sleepWatchInstall(ctx, sets.String{}) }(ctx) select { case <-readyChan: assert.Equal(t, isReady.Load(), true) case err := <-errChan: if err == nil { t.Fatal("invalid configuration detected") } t.Fatal(err) case <-time.After(5 * time.Second): t.Fatal("timed out waiting for isReady to be set to true") }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 11.1K bytes - Viewed (0) -
istioctl/pkg/describe/describe_test.go
} cases := []execAndK8sConfigTestCase{ { // case 0 args: []string{}, expectedString: "Describe resource and related Istio configuration", }, { // case 2 no pod args: strings.Split("pod", " "), expectedString: "Error: expecting pod name", wantException: true, // "istioctl experimental inspect pod" should fail }, { // case 3 unknown pod
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Mar 28 09:54:01 GMT 2024 - 30.4K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/listener.go
equality := "=" switch v := match.GetMatcherTree().GetTreeType().(type) { case *matcher.Matcher_MatcherTree_ExactMatchMap: m = v.ExactMatchMap.Map case *matcher.Matcher_MatcherTree_PrefixMatchMap: m = v.PrefixMatchMap.Map equality = "^" case *matcher.Matcher_MatcherTree_CustomMatch: tc := v.CustomMatch.GetTypedConfig() switch tc.TypeUrl { case IPMatcher: ip := protoconv.SilentlyUnmarshalAny[matcher.IPMatcher](tc)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Nov 29 12:37:14 GMT 2023 - 18.1K bytes - Viewed (0) -
istioctl/pkg/workload/workload_test.go
expectedOutput: "Error: expecting a workload namespace\n", }, { description: "valid case - minimal flags, infer defaults", args: strings.Split("group create --name foo --namespace bar", " "), expectedException: false, expectedOutput: defaultYAML, }, { description: "valid case - create full workload group",
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/proxyconfig/proxyconfig.go
FQDN: host.Name(fqdn), Port: port, Subset: subset, Direction: model.TrafficDirection(direction), } switch outputFormat { case summaryOutput: return configWriter.PrintClusterSummary(filter) case jsonOutput, yamlOutput: return configWriter.PrintClusterDump(filter, outputFormat) default: return fmt.Errorf("output format %q not supported", outputFormat) } },
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 16 03:28:36 GMT 2024 - 48K bytes - Viewed (0) -
operator/cmd/mesh/manifest_shared_test.go
log.Infof("\nRunning test command using %s\n", cmd) switch cmd { case cmdApply, cmdController: if err := cleanTestCluster(); err != nil { return nil, err } if err := fakeApplyExtraResources(inFile); err != nil { return nil, err } default: } var objs *ObjectSet var err error switch cmd { case cmdGenerate:
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/install.go
} return iop.Spec.Profile, constants.IstioSystemNamespace, enabledComponents, nil } func humanReadableJoin(ss []string) string { switch len(ss) { case 0: return "" case 1: return ss[0] case 2: return ss[0] + " and " + ss[1] default: return strings.Join(ss[:len(ss)-1], ", ") + ", and " + ss[len(ss)-1] } }
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) -
cni/pkg/nodeagent/ztunnelserver.go
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 12.4K bytes - Viewed (0) -
cni/pkg/nodeagent/net.go
// this can happen if the pod was dynamically added to the mesh after it was created. // in that case, try finding the netns using procfs. if err := s.rescanPod(pod); err != nil { log.Errorf("error scanning proc: error was %s", err) return nil, err } // try again. we can still get here if the pod is in the process of being created. // in this case the CNI will be invoked soon and provide us with the netns.
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/multixds/gather.go
if err != nil { return nil, fmt.Errorf("could not get XDS from the agent pod %q: %v", pod.Name, err) } for _, resource := range response.GetResources() { switch resource.GetTypeUrl() { case "type.googleapis.com/envoy.service.status.v3.ClientConfig": clientConfig := xdsstatus.ClientConfig{} err := resource.UnmarshalTo(&clientConfig) if err != nil { return nil, err }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 08 08:38:19 GMT 2024 - 13.6K bytes - Viewed (0)