- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 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) -
pkg/dns/server/name_table_test.go
push *model.PushContext enableMultiClusterHeadless bool expectedNameTable *dnsProto.NameTable }{ { name: "headless service pods", proxy: proxy, push: push, expectedNameTable: &dnsProto.NameTable{ Table: map[string]*dnsProto.NameTable_NameInfo{ "pod1.headless-svc.testns.svc.cluster.local": { Ips: []string{"1.2.3.4"},
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jan 25 04:26:03 UTC 2024 - 16K bytes - Viewed (0) -
pkg/dns/client/dns.go
func (h *LocalDNSServer) IsReady() bool { return h.lookupTable.Load() != nil } func (h *LocalDNSServer) NameTable() *dnsProto.NameTable { lt := h.nameTable.Load() if lt == nil { return nil } return lt.(*dnsProto.NameTable) } // Inspired by https://github.com/coredns/coredns/blob/master/plugin/loadbalance/loadbalance.go func roundRobinResponse(res *dns.Msg) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 29 16:17:34 UTC 2024 - 23.9K 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) -
pkg/dns/server/name_table.go
// be used by the agent to resolve DNS. This logic is always active. However, local DNS resolution // will only be effective if DNS capture is enabled in the proxy func BuildNameTable(cfg Config) *dnsProto.NameTable { out := &dnsProto.NameTable{ Table: make(map[string]*dnsProto.NameTable_NameInfo), } for _, svc := range cfg.Node.SidecarScope.Services() { svcAddress := svc.GetAddressForProxy(cfg.Node) var addressList []string
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Feb 27 07:19:38 UTC 2024 - 6.3K bytes - Viewed (0) -
pkg/dns/proto/nds.proto
option go_package = "istio.io/istio/pkg/dns/proto/istio_networking_nds_v1"; // Table of hostnames and their IPs to br used for DNS resolution at the agent // Sent by istiod to istio agents via xds message NameTable { message NameInfo { // List of IPs for the host. repeated string ips = 1; // The name of the service registry containing the service (e.g. 'Kubernetes'). string registry = 2;
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Oct 01 20:40:32 UTC 2021 - 1.5K 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)