- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 81 for NodeMetadata (0.22 sec)
-
pkg/model/proxy_test.go
model.BootstrapNodeMetadata{}, "{}", model.BootstrapNodeMetadata{NodeMetadata: model.NodeMetadata{Raw: map[string]any{}}}, }, { "csvlists", model.BootstrapNodeMetadata{NodeMetadata: model.NodeMetadata{InstanceIPs: []string{"abc", "1.2.3.4"}}}, `{"INSTANCE_IPS":"abc,1.2.3.4"}`, model.BootstrapNodeMetadata{ NodeMetadata: model.NodeMetadata{ InstanceIPs: []string{"abc", "1.2.3.4"}, Raw: map[string]any{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 20:38:02 UTC 2024 - 8.2K bytes - Viewed (0) -
pilot/pkg/networking/core/accesslog_test.go
}{ { name: "telemetry", push: env.PushContext(), proxy: &model.Proxy{ ConfigNamespace: "default", Labels: map[string]string{"app": "test"}, Metadata: &model.NodeMetadata{Labels: map[string]string{"app": "test"}}, }, tcp: &tcp.TcpProxy{}, class: networking.ListenerClassSidecarInbound, expected: &tcp.TcpProxy{ AccessLog: []*accesslog.AccessLog{ {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:30 UTC 2024 - 19.9K bytes - Viewed (0) -
pkg/bootstrap/config_test.go
expectedVersion: "binary", }, { name: "if IstioVersion is specified, don't set it from binary version", meta: &model.BootstrapNodeMetadata{ NodeMetadata: model.NodeMetadata{ IstioVersion: "metadata-version", }, }, expectedVersion: "metadata-version", }, } for _, tc := range testCases { t.Run(tc.name, func(t *testing.T) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 20:38:02 UTC 2024 - 9.1K bytes - Viewed (0) -
pilot/pkg/security/model/authentication_test.go
crl string validateClient bool expected *auth.CommonTlsContext }{ { name: "MTLSStrict using SDS", node: &model.Proxy{ Metadata: &model.NodeMetadata{}, }, validateClient: true, expected: &auth.CommonTlsContext{ TlsCertificateSdsSecretConfigs: []*auth.SdsSecretConfig{ { Name: "default", SdsConfig: &core.ConfigSource{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Feb 20 22:39:21 UTC 2024 - 18.9K bytes - Viewed (0) -
pilot/pkg/model/context_test.go
DNSDomain: "local", Metadata: &model.NodeMetadata{}, IstioVersion: model.MaxIstioVersion, }, out: "router~10.3.3.3~random~local", }, { in: &model.Proxy{ Type: model.SidecarProxy, ID: "random", IPAddresses: []string{"10.3.3.3", "10.4.4.4", "10.5.5.5", "10.6.6.6"}, DNSDomain: "local", Metadata: &model.NodeMetadata{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 05 23:51:52 UTC 2024 - 11.2K bytes - Viewed (0) -
pkg/istio-agent/xds_proxy_test.go
downstream := stream(t, conn) sendDownstreamWithNode(t, downstream, model.NodeMetadata{ Namespace: "default", InstanceIPs: []string{"1.1.1.1"}, }) downstream.CloseSend() waitDisconnect(proxy) downstream = stream(t, conn) sendDownstreamWithNode(t, downstream, model.NodeMetadata{ Namespace: "default", InstanceIPs: []string{"1.1.1.1"}, }) })
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Mar 30 04:48:02 UTC 2024 - 18.6K bytes - Viewed (0) -
pkg/dns/server/name_table_test.go
proxy := &model.Proxy{ IPAddresses: []string{"9.9.9.9"}, Metadata: &model.NodeMetadata{}, Type: model.SidecarProxy, DNSDomain: "testns.svc.cluster.local", } nw1proxy := &model.Proxy{ IPAddresses: []string{"9.9.9.9"}, Metadata: &model.NodeMetadata{Network: "nw1"}, Type: model.SidecarProxy, DNSDomain: "testns.svc.cluster.local", }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jan 25 04:26:03 UTC 2024 - 16K bytes - Viewed (0) -
pilot/pkg/xds/nds_test.go
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{ Table: map[string]*dnsProto.NameTable_NameInfo{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 27 16:59:05 UTC 2024 - 4.6K bytes - Viewed (0) -
pilot/pkg/xds/workload_test.go
s := xds.NewFakeDiscoveryServer(t, xds.FakeOptions{ KubernetesObjects: []runtime.Object{mkPod("pod", "sa", "127.0.0.1", "not-node")}, }) ads := s.ConnectDeltaADS().WithType(v3.AddressType).WithMetadata(model.NodeMetadata{NodeName: "node"}) ads.Request(&discovery.DeltaDiscoveryRequest{ ResourceNamesSubscribe: []string{"*"}, ResourceNamesUnsubscribe: []string{"*"}, }) ads.ExpectEmptyResponse()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 18 19:09:43 UTC 2024 - 15.9K bytes - Viewed (0) -
pkg/model/proxy.go
RawMetadata map[string]any // Locality from Envoy bootstrap Locality *core.Locality } // BootstrapNodeMetadata is a superset of NodeMetadata, intended to model the entirety of the node metadata // we configure in the Envoy bootstrap. This is split out from NodeMetadata to explicitly segment the parameters // that are consumed by Pilot from the parameters used only as part of the bootstrap. Fields used by bootstrap only
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 25 17:18:17 UTC 2024 - 18.7K bytes - Viewed (0)