- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for nameTable (0.13 sec)
-
pilot/pkg/xds/nds_test.go
nametable, _, _ := gen.Generate(s.SetupProxy(tt.proxy), &model.WatchedResource{ResourceNames: tt.resources}, tt.request) if len(tt.nameTable) == 0 { if len(nametable) != 0 { t.Errorf("unexpected nametable. want: %v, got: %v", tt.nameTable, nametable) } } else { if !reflect.DeepEqual(tt.nameTable[0].Resource, nametable[0].Resource) { t.Errorf("unexpected nametable. want: %v, got: %v", tt.nameTable, nametable) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 27 16:59:05 UTC 2024 - 4.6K bytes - Viewed (0) -
pkg/dns/proto/nds.pb.go
(*NameTable)(nil), // 0: istio.networking.nds.v1.NameTable (*NameTable_NameInfo)(nil), // 1: istio.networking.nds.v1.NameTable.NameInfo nil, // 2: istio.networking.nds.v1.NameTable.TableEntry } var file_dns_proto_nds_proto_depIdxs = []int32{ 2, // 0: istio.networking.nds.v1.NameTable.table:type_name -> istio.networking.nds.v1.NameTable.TableEntry
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 02:27:10 UTC 2024 - 10.2K bytes - Viewed (0) -
pilot/pkg/networking/core/name_table.go
// will only be effective if DNS capture is enabled in the proxy func (configgen *ConfigGeneratorImpl) BuildNameTable(node *model.Proxy, push *model.PushContext) *dnsProto.NameTable { if node.Type != model.SidecarProxy { // DNS resolution is only for sidecars return nil } return dnsServer.BuildNameTable(dnsServer.Config{ Node: node,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 17:09:02 UTC 2024 - 1.4K bytes - Viewed (0) -
pilot/pkg/networking/core/configgen.go
// BuildNameTable returns list of hostnames and the associated IPs BuildNameTable(node *model.Proxy, push *model.PushContext) *dnsProto.NameTable // BuildExtensionConfiguration returns the list of extension configuration for the given proxy and list of names. This is the ECDS output.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 17:09:02 UTC 2024 - 3.1K bytes - Viewed (0) -
pkg/model/xds.go
ExtensionConfigurationType = APITypePrefix + "envoy.config.core.v3.TypedExtensionConfig" NameTableType = APITypePrefix + "istio.networking.nds.v1.NameTable" HealthInfoType = APITypePrefix + "istio.v1.HealthInformation" ProxyConfigType = APITypePrefix + "istio.mesh.v1alpha1.ProxyConfig" // DebugType requests debug info from istio, a secured implementation for istio debug interface.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 04 20:29:08 UTC 2024 - 3.7K bytes - Viewed (0) -
pilot/cmd/pilot-agent/status/server.go
http.Error(w, "Only requests from localhost are allowed", http.StatusForbidden) return } nametable := s.fetchDNS() if nametable == nil { // See https://golang.org/doc/faq#nil_error for why writeJSONProto cannot handle this w.WriteHeader(http.StatusNotFound) _, _ = w.Write([]byte(`{}`)) return } writeJSONProto(w, nametable) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 15:07:03 UTC 2024 - 31.1K bytes - Viewed (1) -
pkg/istio-agent/agent.go
} } return nil } // GetDNSTable builds DNS table used in debugging interface. func (a *Agent) GetDNSTable() *dnsProto.NameTable { if a.localDNSServer != nil && a.localDNSServer.NameTable() != nil { nt := a.localDNSServer.NameTable() nt = proto.Clone(nt).(*dnsProto.NameTable) a.localDNSServer.BuildAlternateHosts(nt, func(althosts map[string]struct{}, ipv4 []netip.Addr, ipv6 []netip.Addr, _ []string) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 05 10:02:56 UTC 2024 - 26.7K bytes - Viewed (0) -
pkg/istio-agent/xds_proxy.go
ia: ia, downstreamGrpcOptions: ia.cfg.DownstreamGrpcOptions, } if ia.localDNSServer != nil { proxy.handlers[model.NameTableType] = func(resp *anypb.Any) error { var nt dnsProto.NameTable if err := resp.UnmarshalTo(&nt); err != nil { log.Errorf("failed to unmarshal name table: %v", err) return err } ia.localDNSServer.UpdateLookupTable(&nt) return nil } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 16 22:12:28 UTC 2024 - 27.9K bytes - Viewed (0) -
src/sync/map.go
func (e *entry) tryCompareAndSwap(old, new any) bool { p := e.p.Load() if p == nil || p == expunged || *p != old { return false } // Copy the interface after the first load to make this method more amenable // to escape analysis: if the comparison fails from the start, we shouldn't // bother heap-allocating an interface value to store. nc := new for { if e.p.CompareAndSwap(p, &nc) { return true }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 21:14:51 UTC 2024 - 15.6K bytes - Viewed (0)