Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 39 of 39 for NodeMetadata (0.47 sec)

  1. pilot/pkg/networking/core/envoyfilter/listener_patch_test.go

    		ConfigNamespace: "not-default",
    		Metadata: &model.NodeMetadata{
    			IstioVersion: "1.2.2",
    			Raw: map[string]any{
    				"foo": "sidecar",
    				"bar": "proxy",
    			},
    		},
    	}
    
    	gatewayProxy := &model.Proxy{
    		Type:            model.Router,
    		ConfigNamespace: "not-default",
    		Metadata: &model.NodeMetadata{
    			IstioVersion: "1.2.2",
    			Raw: map[string]any{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 70.1K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/tracing.go

    	dryRunPolicyTraceTag("istio.authorization.dry_run.deny_policy.result", authz_model.RBACShadowRulesDenyStatPrefix+authz_model.RBACShadowEngineResult),
    }
    
    func buildServiceTags(metadata *model.NodeMetadata, labels map[string]string) []*tracing.CustomTag {
    	var revision, service string
    	if labels != nil {
    		revision = labels["service.istio.io/canonical-revision"]
    		service = labels["service.istio.io/canonical-name"]
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 17:05:28 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  3. pilot/pkg/xds/endpoints/ep_filters_test.go

    				t.Fatalf("output of EndpointsByNetworkFilter is non-deterministic: %v", diff)
    			}
    		})
    	}
    }
    
    func makeProxy(nw network.ID, c cluster.ID) *model.Proxy {
    	return &model.Proxy{
    		Metadata: &model.NodeMetadata{
    			Network:   nw,
    			ClusterID: c,
    		},
    	}
    }
    
    // environment defines the networks with:
    //   - 1 gateway for network1
    //   - 3 gateway for network2
    //   - 1 gateway for network3
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/sidecar_simulation_test.go

    				EndpointPort:    uint32(targetPort),
    			},
    		})
    	}
    	return ret
    }
    
    func TestInboundClusters(t *testing.T) {
    	proxy := &model.Proxy{
    		IPAddresses: []string{"1.2.3.4"},
    		Metadata:    &model.NodeMetadata{},
    	}
    	service := &model.Service{
    		Hostname:       host.Name("backend.default.svc.cluster.local"),
    		DefaultAddress: "1.1.1.1",
    		Ports: model.PortList{&model.Port{
    			Name:     "default",
    			Port:     80,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/gateway_simulation_test.go

    func runGatewayTest(t *testing.T, cases ...simulationTest) {
    	for _, tt := range cases {
    		proxy := &model.Proxy{
    			Labels: map[string]string{"istio": "ingressgateway"},
    			Metadata: &model.NodeMetadata{
    				Labels:    map[string]string{"istio": "ingressgateway"},
    				Namespace: "istio-system",
    			},
    			Type: model.Router,
    		}
    		runSimulationTest(t, proxy, xds.FakeOptions{}, tt)
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 18:27:40 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  6. pilot/pkg/xds/debug.go

    	ConnectedAt  time.Time           `json:"connectedAt"`
    	PeerAddress  string              `json:"address"`
    	Labels       map[string]string   `json:"labels"`
    	Metadata     *model.NodeMetadata `json:"metadata,omitempty"`
    	Locality     *core.Locality      `json:"locality,omitempty"`
    	Watches      map[string][]string `json:"watches,omitempty"`
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  7. pilot/pkg/model/sidecar_test.go

    				}
    			}
    
    			if tt.sidecarConfig != nil {
    				dr := sidecarScope.DestinationRule(TrafficDirectionOutbound,
    					&Proxy{
    						Labels:          tt.sidecarConfig.Labels,
    						Metadata:        &NodeMetadata{Labels: tt.sidecarConfig.Labels},
    						ConfigNamespace: tt.sidecarConfig.Namespace,
    					}, host.Name("httpbin.org")).GetRule()
    				assert.Equal(t, dr, tt.expectedDr)
    			}
    		})
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 07 09:38:49 UTC 2024
    - 74.3K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/listener.go

    	default:
    		certProxy := &model.Proxy{}
    		certProxy.IstioVersion = proxy.IstioVersion
    		// If certificate files are specified in gateway configuration, use file based SDS.
    		certProxy.Metadata = &model.NodeMetadata{
    			TLSServerCertChain: serverTLSSettings.ServerCertificate,
    			TLSServerKey:       serverTLSSettings.PrivateKey,
    			TLSServerRootCert:  serverTLSSettings.CaCertificates,
    		}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/serviceentry/controller_test.go

    	t.Helper()
    	// The system is eventually consistent, so add some retries
    	retry.UntilSuccessOrFail(t, func() error {
    		instances := sd.GetProxyServiceTargets(&model.Proxy{IPAddresses: []string{ip}, Metadata: &model.NodeMetadata{}})
    		sortServiceTargets(instances)
    		sortServiceTargets(expected)
    		if err := compare(t, instances, expected); err != nil {
    			return err
    		}
    		return nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 92.9K bytes
    - Viewed (0)
Back to top