- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for dnsProto (0.38 sec)
-
pilot/pkg/xds/nds_test.go
"istio.io/istio/pkg/config/constants" dnsProto "istio.io/istio/pkg/dns/proto" ) func TestNDS(t *testing.T) { cases := []struct { name string meta model.NodeMetadata expected *dnsProto.NameTable }{ { name: "auto allocate", meta: model.NodeMetadata{ DNSCapture: true, DNSAutoAllocate: true, }, expected: &dnsProto.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/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) -
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 hostName := svc.Hostname
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Feb 27 07:19:38 UTC 2024 - 6.3K bytes - Viewed (0) -
pilot/pkg/networking/core/name_table.go
// See the License for the specific language governing permissions and // limitations under the License. package core import ( "istio.io/istio/pilot/pkg/features" "istio.io/istio/pilot/pkg/model" dnsProto "istio.io/istio/pkg/dns/proto" dnsServer "istio.io/istio/pkg/dns/server" ) // BuildNameTable produces a table of hostnames and their associated IPs that can then
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
discovery "github.com/envoyproxy/go-control-plane/envoy/service/discovery/v3" meshconfig "istio.io/api/mesh/v1alpha1" "istio.io/istio/pilot/pkg/model" dnsProto "istio.io/istio/pkg/dns/proto" ) // ConfigGenerator represents the interfaces to be implemented by code that generates xDS responses type ConfigGenerator interface {
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/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) -
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) -
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) -
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) -
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)