Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for TestTproxy (0.09 sec)

  1. tests/integration/pilot/original_src_addr_test.go

    // limitations under the License.
    
    package pilot
    
    import (
    	"fmt"
    	"testing"
    
    	"istio.io/istio/pkg/test/framework"
    	"istio.io/istio/pkg/test/framework/components/echo"
    )
    
    func TestTproxy(t *testing.T) {
    	// nolint: staticcheck
    	framework.
    		NewTest(t).
    		RequiresSingleCluster().
    		Run(func(t framework.TestContext) {
    			if t.Settings().Skip(echo.TProxy) {
    				t.Skip()
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. pkg/xds/server_test.go

    	"istio.io/istio/pkg/model"
    )
    
    type TestProxy struct {
    	WatchedResources map[string]*WatchedResource
    }
    
    func (p *TestProxy) DeleteWatchedResource(url string) {
    	delete(p.WatchedResources, url)
    }
    
    func (p *TestProxy) GetWatchedResource(url string) *WatchedResource {
    	return p.WatchedResources[url]
    }
    
    func (p *TestProxy) NewWatchedResource(url string, names []string) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. pkg/envoy/agent_test.go

    	"listener.admin.main_thread.downstream_cx_active: 2"
    
    // TestProxy sample struct for proxy
    type TestProxy struct {
    	run          func(<-chan error) error
    	cleanup      func()
    	blockChannel chan any
    }
    
    func (tp TestProxy) Run(stop <-chan error) error {
    	if tp.run == nil {
    		return nil
    	}
    	return tp.run(stop)
    }
    
    func (tp TestProxy) Drain(bool) error {
    	tp.blockChannel <- "unblock"
    	return nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Oct 19 20:22:09 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  4. pkg/envoy/proxy_test.go

    		Concurrency:       8,
    	}
    
    	test := &envoy{
    		ProxyConfig: cfg,
    		extraArgs:   []string{"-l", "trace", "--component-log-level", "misc:error"},
    	}
    
    	testProxy := NewProxy(cfg)
    	if !reflect.DeepEqual(testProxy, test) {
    		t.Errorf("unexpected struct got\n%v\nwant\n%v", testProxy, test)
    	}
    
    	got := test.args("test.json", "testdata/bootstrap.json")
    	want := []string{
    		"-c", "test.json",
    		"--drain-time-s", "45",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 11:45:51 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/mod_list_update_nolatest.txt

    # Verifies #45305, where proxy.golang.org serves an empty /@v/list (200)
    # but has no /@latest (410) because the go.mod at the tip of the default
    # branch has a different major version suffix.
    env testproxy=$GOPROXY
    env GOPROXY=file:///$WORK/proxy
    env GOSUMDB=off
    
    # If the proxy does not return a list of versions (404/410)
    # or a latest version (404/410), we should see no error.
    go list -m example.com/noversion
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 15 00:06:54 UTC 2021
    - 2K bytes
    - Viewed (0)
Back to top