- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 70 for DR (0.26 sec)
-
istioctl/pkg/writer/pilot/status.go
mappedResp := map[string]string{} w := new(tabwriter.Writer).Init(s.Writer, 0, 8, 5, ' ', 0) _, _ = fmt.Fprintln(w, "NAME\tCLUSTER\tCDS\tLDS\tEDS\tRDS\tECDS\tISTIOD\tVERSION") for _, dr := range drs { for _, resource := range dr.Resources { clientConfig := xdsstatus.ClientConfig{} err := resource.UnmarshalTo(&clientConfig) if err != nil { return nil, nil, fmt.Errorf("could not unmarshal ClientConfig: %w", err) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 15 04:16:55 UTC 2024 - 6.1K bytes - Viewed (0) -
src/net/http/httputil/dump.go
req.Body.Close() } select { case dr.c <- strings.NewReader("HTTP/1.1 204 No Content\r\nConnection: close\r\n\r\n"): case <-quitReadCh: // Ensure delegateReader.Read doesn't block forever if we get an error. close(dr.c) } }() _, err := t.RoundTrip(reqSend) req.Body = save if err != nil { pw.Close() dr.err = err close(quitReadCh) return nil, err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 9.3K bytes - Viewed (0) -
pilot/pkg/xds/cds_test.go
Namespace: pod.Namespace, Name: pod.Name, }, }}, Ports: []discoveryv1.EndpointPort{{Name: ptr.Of("http"), Port: ptr.Of(int32(80))}}, } dr := config.Config{ Meta: config.Meta{ GroupVersionKind: gvk.DestinationRule, Name: "dr", Namespace: "test", }, Spec: &networking.DestinationRule{ Host: "example.default.svc.cluster.local",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 01 02:06:39 UTC 2024 - 9.2K bytes - Viewed (0) -
istioctl/pkg/precheck/precheck.go
return false } return tls.Sni == "" } for _, dr := range drs.Items { verificationImpacted := false sniImpacted := false verificationImpacted = verificationImpacted || checkVerify(dr.Spec.GetTrafficPolicy().GetTls()) sniImpacted = sniImpacted || checkSNI(dr.Spec.GetTrafficPolicy().GetTls()) for _, pl := range dr.Spec.GetTrafficPolicy().GetPortLevelSettings() {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 02:57:30 UTC 2024 - 19.3K bytes - Viewed (0) -
src/testing/fstest/mapfs_test.go
fi, err := d.Info() if err != nil { return err } fmt.Fprintf(buf, "%s: %v\n", path, fi.Mode()) return nil }) want := ` .: drwxrwxrwx a: dr-xr-xr-x a/b.txt: -rw-rw-rw- `[1:] got := buf.String() if want != got { t.Errorf("MapFS modes want:\n%s\ngot:\n%s\n", want, got) } } func TestMapFSFileInfoName(t *testing.T) { m := MapFS{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 20 14:59:55 UTC 2024 - 1.3K bytes - Viewed (0) -
pilot/pkg/model/sidecar.go
// this config namespace) will see, identify all the destinationRules // that these services need for _, s := range out.services { if dr := ps.destinationRule(configNamespace, s); dr != nil { out.destinationRules[s.Hostname] = dr for _, cdr := range dr { for _, from := range cdr.from { out.destinationRulesByNames[from] = cdr.rule } } } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 05 20:32:23 UTC 2024 - 38.4K bytes - Viewed (0) -
istioctl/pkg/internaldebug/internal-debug.go
} func (s *DebugWriter) PrintAll(drs map[string]*discovery.DiscoveryResponse) error { // Gather the statuses before printing so they may be sorted mappedResp := map[string]string{} for id, dr := range drs { for _, resource := range dr.Resources { if s.InternalDebugAllIstiod { mappedResp[id] = string(resource.Value) + "\n" } else { _, _ = s.Writer.Write(resource.Value) _, _ = s.Writer.Write([]byte("\n"))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 15 04:16:55 UTC 2024 - 6.9K bytes - Viewed (0) -
pkg/kube/client.go
} // namespaced resources should specify the namespace dr = c.dynamic.Resource(mapping.Resource).Namespace(ns) } else { // for cluster-wide resources dr = c.dynamic.Resource(mapping.Resource) } return obj, dr, nil } // IstioScheme returns a scheme will all known Istio-related types added var ( IstioScheme = istioScheme()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 25 14:44:17 UTC 2024 - 39K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster.go
return nil, nil } dr := prevCfg.Spec.(*networking.DestinationRule) services = append(services, proxy.SidecarScope.ServicesForHostname(host.Name(dr.Host))...) } else { dr := cfg.Spec.(*networking.DestinationRule) // Destinationrule was updated. Find matching services from updated destinationrule. services = append(services, proxy.SidecarScope.ServicesForHostname(host.Name(dr.Host))...)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 33K bytes - Viewed (0) -
pilot/pkg/networking/core/loadbalancer/loadbalancer_test.go
mesh *networking.LocalityLoadBalancerSetting dr *networking.LocalityLoadBalancerSetting expected *networking.LocalityLoadBalancerSetting }{ { "all disabled", nil, nil, nil, }, { "mesh only", &networking.LocalityLoadBalancerSetting{}, nil, &networking.LocalityLoadBalancerSetting{}, }, { "dr only", nil,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 23 05:38:57 UTC 2024 - 39.1K bytes - Viewed (0)