Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for TestOptions (0.18 sec)

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

    	test.SetForTest(t, &features.EnableAdditionalIpv4OutboundListenerForIpv6Only, true)
    	cg := NewConfigGenTest(t, TestOptions{Services: testServices})
    	proxy := cg.SetupProxy(&model.Proxy{IPAddresses: []string{"1111:2222::1"}})
    
    	listeners := buildListeners(t, TestOptions{Services: testServices}, proxy)
    	vo := xdstest.ExtractListener(model.VirtualOutboundListenerName, listeners)
    	if vo == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/fake.go

    	"istio.io/istio/pkg/config/schema/collections"
    	"istio.io/istio/pkg/test"
    	"istio.io/istio/pkg/test/util/retry"
    	"istio.io/istio/pkg/util/sets"
    	"istio.io/istio/pkg/wellknown"
    )
    
    type TestOptions struct {
    	// If provided, these configs will be used directly
    	Configs        []config.Config
    	ConfigPointers []*config.Config
    
    	// If provided, the yaml string will be parsed and used as configs
    	ConfigString string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/accesslog_test.go

    			// 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 {
    				t.Errorf("expected to have 2 listeners, but got %v", len(listeners))
    			}
    			// Validate that access log filter uses the new format.
    			for _, l := range listeners {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  4. pilot/test/xds/fake.go

    		DomainSuffix: "cluster.local",
    	})
    	defaultKubeClient.RunAndWait(stop)
    
    	var gwc *gateway.Controller
    	cg := core.NewConfigGenTest(t, core.TestOptions{
    		Configs:             opts.Configs,
    		ConfigString:        opts.ConfigString,
    		ConfigTemplateInput: opts.ConfigTemplateInput,
    		ConfigController:    configController,
    		MeshConfig:          m,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 16:08:52 UTC 2024
    - 18.4K bytes
    - Viewed (0)
Back to top