Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for NewGenerator (0.1 sec)

  1. pkg/test/framework/components/echo/util/traffic/generator.go

    	// Start sending traffic.
    	Start() Generator
    
    	// Stop sending traffic and wait for any in-flight requests to complete.
    	// Returns the Result
    	Stop() Result
    }
    
    // NewGenerator returns a new Generator with the given configuration.
    func NewGenerator(t test.Failer, cfg Config) Generator {
    	fillInDefaults(&cfg)
    	return &generator{
    		Config:  cfg,
    		t:       t,
    		stop:    make(chan struct{}),
    		stopped: make(chan struct{}),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 12 22:50:35 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  2. pilot/pkg/bootstrap/discovery.go

    	generators["grpc/"+v3.ListenerType] = generators["grpc"]
    	generators["grpc/"+v3.RouteType] = generators["grpc"]
    	generators["grpc/"+v3.ClusterType] = generators["grpc"]
    
    	generators["api"] = apigen.NewGenerator(env.ConfigStore)
    	generators["api/"+v3.EndpointType] = edsGen
    
    	generators["event"] = xds.NewStatusGen(s)
    	generators[v3.DebugType] = xds.NewDebugGen(s, systemNameSpace, internalDebugMux)
    	s.Generators = generators
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 16 18:25:42 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. tests/integration/pilot/revisioned_upgrade_test.go

    			{
    				Name:         "http",
    				Protocol:     protocol.HTTP,
    				WorkloadPort: 8080,
    			},
    		},
    	})
    	builder.BuildOrFail(t)
    
    	// Create a traffic generator between A and B.
    	g := traffic.NewGenerator(t, traffic.Config{
    		Source: apps.A[0],
    		Options: echo.CallOptions{
    			To:    apps.B,
    			Count: 1,
    			Port: echo.Port{
    				Name: "http",
    			},
    		},
    		Interval: callInterval,
    	}).Start()
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. pilot/pkg/networking/apigen/apigen.go

    //
    // TODO: we can also add a special marker in the header)
    type APIGenerator struct {
    	// ConfigStore interface for listing istio api resources.
    	store model.ConfigStore
    }
    
    func NewGenerator(store model.ConfigStore) *APIGenerator {
    	return &APIGenerator{
    		store: store,
    	}
    }
    
    // TODO: take 'updates' into account, don't send pushes for resources that haven't changed
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Oct 05 19:01:38 UTC 2023
    - 5K bytes
    - Viewed (0)
Back to top