Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for DefaultMeshConfig (0.19 sec)

  1. pilot/pkg/networking/core/accesslog_test.go

    			wantFormat: model.EnvoyTextLogFormat,
    		},
    	} {
    		tc := tc
    		t.Run(tc.name, func(t *testing.T) {
    			accessLogBuilder.reset()
    			// Update MeshConfig
    			m := mesh.DefaultMeshConfig()
    			m.AccessLogFile = "foo"
    			m.AccessLogEncoding = tc.encoding
    			m.AccessLogFormat = tc.format
    			listeners := buildListeners(t, TestOptions{MeshConfig: m}, nil)
    			if len(listeners) != 2 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/listener_test.go

    		tcp.Ports[0].Port = 1234
    		tcp.Ports[0].Name = "tcp"
    		services := []*model.Service{
    			tcp,
    			buildService("http.example.com", wildcardIPv4, protocol.HTTP, tnow),
    		}
    		mc := mesh.DefaultMeshConfig()
    		mc.ExtensionProviders = append(mc.ExtensionProviders, &meshconfig.MeshConfig_ExtensionProvider{
    			Name: "extauthz",
    			Provider: &meshconfig.MeshConfig_ExtensionProvider_EnvoyExtAuthzGrpc{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 93.6K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/kube/controller/ambient/workloads_test.go

    func GetMeshConfig(mc *krttest.MockCollection) krt.StaticSingleton[MeshConfig] {
    	attempt := krttest.GetMockSingleton[MeshConfig](mc)
    	if attempt.Get() == nil {
    		return krt.NewStatic(&MeshConfig{mesh.DefaultMeshConfig()})
    	}
    	return attempt
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  4. pilot/test/xds/fake.go

    	MemRegistry  *memregistry.ServiceDiscovery
    }
    
    func NewFakeDiscoveryServer(t test.Failer, opts FakeOptions) *FakeDiscoveryServer {
    	m := opts.MeshConfig
    	if m == nil {
    		m = mesh.DefaultMeshConfig()
    	}
    
    	// Init with a dummy environment, since we have a circular dependency with the env creation.
    	s := xds.NewDiscoveryServer(model.NewEnvironment(), map[string]string{})
    	// Disable debounce to reduce test times
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 16:08:52 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  5. pilot/pkg/model/telemetry_test.go

    func createTestTelemetries(configs []config.Config, t *testing.T) (*Telemetries, *PushContext) {
    	t.Helper()
    
    	store := &telemetryStore{}
    	for _, cfg := range configs {
    		store.add(cfg)
    	}
    	m := mesh.DefaultMeshConfig()
    
    	m.ExtensionProviders = append(m.ExtensionProviders, jsonTextProvider, textFormattersProvider, jsonFormattersProvider)
    
    	environment := &Environment{
    		ConfigStore: store,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 39.6K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/sidecar_simulation_test.go

    			s := core.NewConfigGenTest(t, core.TestOptions{
    				Services:  tt.services,
    				Instances: tt.instances,
    				Configs:   tt.configs,
    				MeshConfig: func() *meshconfig.MeshConfig {
    					m := mesh.DefaultMeshConfig()
    					if tt.disableInboundPassthrough {
    						m.InboundTrafficPolicy.Mode = meshconfig.MeshConfig_InboundTrafficPolicy_LOCALHOST
    					}
    					return m
    				}(),
    			})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 84.7K bytes
    - Viewed (0)
Back to top