Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for dnsProto (0.11 sec)

  1. pkg/dns/server/name_table_test.go

    			name:  "cidr service",
    			proxy: proxy,
    			push:  cpush,
    			expectedNameTable: &dnsProto.NameTable{
    				Table: map[string]*dnsProto.NameTable_NameInfo{},
    			},
    		},
    		{
    			name:  "service entry with resolution = NONE",
    			proxy: proxy,
    			push:  sepush,
    			expectedNameTable: &dnsProto.NameTable{
    				Table: map[string]*dnsProto.NameTable_NameInfo{
    					"foo.bar.com": {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 25 04:26:03 UTC 2024
    - 16K bytes
    - Viewed (0)
  2. pkg/dns/client/dns_test.go

    	return testAgentDNS
    }
    
    func fillTable(server *LocalDNSServer) {
    	server.searchNamespaces = []string{"ns1.svc.cluster.local", "svc.cluster.local", "cluster.local"}
    	server.UpdateLookupTable(&dnsProto.NameTable{
    		Table: map[string]*dnsProto.NameTable_NameInfo{
    			"www.google.com": {
    				Ips:      []string{"1.1.1.1"},
    				Registry: "External",
    			},
    			"productpage.ns1.svc.cluster.local": {
    				Ips:       []string{"9.9.9.9"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 29 16:17:34 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. pilot/cmd/pilot-agent/status/server.go

    	k8sUtilIo "k8s.io/utils/io"
    
    	"istio.io/istio/pilot/cmd/pilot-agent/metrics"
    	"istio.io/istio/pilot/cmd/pilot-agent/status/grpcready"
    	"istio.io/istio/pilot/cmd/pilot-agent/status/ready"
    	dnsProto "istio.io/istio/pkg/dns/proto"
    	"istio.io/istio/pkg/env"
    	commonFeatures "istio.io/istio/pkg/features"
    	"istio.io/istio/pkg/kube/apimirror"
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/model"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  6. pkg/istio-agent/xds_proxy.go

    	"istio.io/istio/pilot/cmd/pilot-agent/status/ready"
    	"istio.io/istio/pilot/pkg/features"
    	istiogrpc "istio.io/istio/pilot/pkg/grpc"
    	"istio.io/istio/pkg/channels"
    	"istio.io/istio/pkg/config/constants"
    	dnsProto "istio.io/istio/pkg/dns/proto"
    	"istio.io/istio/pkg/h2c"
    	"istio.io/istio/pkg/istio-agent/health"
    	"istio.io/istio/pkg/istio-agent/metrics"
    	istiokeepalive "istio.io/istio/pkg/keepalive"
    	"istio.io/istio/pkg/log"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 27.9K bytes
    - Viewed (0)
Back to top