Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for RunComponentAsync (0.42 sec)

  1. pilot/pkg/server/instance.go

    	Start(stop <-chan struct{}) error
    
    	// RunComponent adds the given component to the server's run queue.
    	RunComponent(name string, t Component)
    
    	// RunComponentAsync runs the given component asynchronously.
    	RunComponentAsync(name string, t Component)
    
    	// RunComponentAsyncAndWait runs the given component asynchronously. When
    	// the server Instance is shutting down, it will wait for the component
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  2. pilot/pkg/server/instance_test.go

    			// This is used to verify that we don't wait for it while shutting down.
    			c:     newFakeComponent(longDuration, stop),
    			async: false,
    			wait:  false,
    		},
    		{
    			name: "RunComponentAsync",
    			// Use a large duration - it will not complete before the end of the test.
    			// This is used to verify that we don't wait for it while shutting down.
    			c:     newFakeComponent(longDuration, stop),
    			async: true,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 23:02:39 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top