- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 141 for orange (0.14 sec)
-
operator/cmd/mesh/profile-dump_test.go
for _, tt := range tests { t.Run(tt.desc, func(t *testing.T) { inPath := filepath.Join(testDataDir, "input", tt.desc+".yaml") outPath := filepath.Join(testDataDir, "output", tt.desc+".yaml") got, err := runProfileDump(inPath, tt.configPath, snapshotCharts, "") if err != nil { t.Fatal(err) } // installPackagePath may change, we will remove it for consistent output
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jan 20 11:44:25 GMT 2022 - 3.7K bytes - Viewed (0) -
operator/cmd/mesh/profile-diff_test.go
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, }, } l := clog.NewConsoleLogger(os.Stdout, os.Stderr, nil) for i, c := range cases { t.Run(fmt.Sprintf("case %d %q", i, c.args), func(t *testing.T) {
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) -
istioctl/pkg/writer/envoy/configdump/listener.go
for _, rm := range ip.GetRangeMatchers() { for _, r := range rm.Ranges { cidr := r.AddressPrefix pl := r.PrefixLen.GetValue() if pl != 32 && pl != 128 { cidr += fmt.Sprintf("/%d", pl) } m[cidr] = rm.OnMatch } } default: panic("unhandled") } } outputs := []string{} for k, v := range m { switch v := v.GetOnMatch().(type) {
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/checkinject/checkinject.go
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 9.3K bytes - Viewed (0) -
istioctl/pkg/workload/workload_test.go
}, "ipv6": { "internalIP": "fd00:10:96::1", "ingressIP": "fd00:10:96::2", }, } for _, dir := range files { if !dir.IsDir() { continue } testdir := path.Join("testdata/vmconfig", dir.Name()) t.Cleanup(func() { for k := range generated { os.Remove(path.Join(testdir, k)) } }) t.Run(dir.Name(), func(t *testing.T) {
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/clusters/clusters.go
return fmt.Errorf("config writer has not been primed") } w := new(tabwriter.Writer).Init(c.Stdout, 0, 8, 5, ' ', 0) clusterEndpoint := make([]EndpointCluster, 0) for _, cluster := range c.clusters.ClusterStatuses { for _, host := range cluster.HostStatuses { if filter.Verify(host, cluster.Name) { addr := retrieveEndpointAddress(host) port := retrieveEndpointPort(host) status := retrieveEndpointStatus(host)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Nov 03 08:41:32 GMT 2022 - 5.8K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/workload.go
return true } if wf.Namespace != "" { if !strings.EqualFold(workload.Namespace, wf.Namespace) { return false } } if wf.Address != "" { var find bool for _, ip := range workload.WorkloadIPs { if strings.EqualFold(ip, wf.Address) { find = true break } } if !find { return false } } if wf.Node != "" && !strings.EqualFold(workload.Node, wf.Node) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 23 21:30:30 GMT 2024 - 4K bytes - Viewed (0) -
istioctl/pkg/multixds/gather.go
LabelSelector: fmt.Sprintf("%s=%s,!istio.io/tag", label.IoIstioRev.Name, client.Revision()), }) if err != nil { return nil, err } for _, whc := range webhooks.Items { for _, wh := range whc.Webhooks { if wh.ClientConfig.URL != nil { u, err := url.Parse(*wh.ClientConfig.URL) if err != nil { return nil, fmt.Errorf("parsing webhook URL: %w", 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) -
istioctl/pkg/admin/istiodconfig_test.go
wantErr bool }{ { name: "Fail when logs scope-level pair don't match pattern", args: args{validationPattern: validationPattern, slp: "invalid:pattern"}, wantErr: true, }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { got, err := newScopeLevelPair(tt.args.slp, tt.args.validationPattern) if (err != nil) != tt.wantErr { t.Errorf("newScopeLevelPair() error = %v, wantErr %v", err, tt.wantErr)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 6.2K bytes - Viewed (0) -
istioctl/pkg/internaldebug/internal-debug.go
writer io.Writer, istioNamespace string, xdsResponses map[string]*discovery.DiscoveryResponse, ) (map[string]*discovery.DiscoveryResponse, error) { for _, response := range xdsResponses { for _, resource := range response.Resources { eString := string(resource.Value) switch { case strings.Contains(eString, "You must provide a proxyID in the query string"):
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 04:16:55 GMT 2024 - 6.9K bytes - Viewed (0)