Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Fontan (0.22 sec)

  1. operator/cmd/mesh/profile-diff_test.go

    	"istio.io/istio/operator/pkg/util/clog"
    )
    
    type profileDiffTestcase struct {
    	args           string
    	shouldFail     bool
    	expectedString string // String output is expected to contain
    	notExpected    string // String the output must NOT contain
    }
    
    func TestProfileDiff(t *testing.T) {
    	cases := []profileDiffTestcase{
    		{
    			args:       "profile diff demo default --unknown-flag",
    			shouldFail: true,
    		},
    		{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jan 10 05:10:03 GMT 2024
    - 3.6K bytes
    - Viewed (1)
  2. cni/pkg/plugin/plugin_test.go

    	mockIntercept := testDoAddRun(t, buildMockConf(true, ""), testNSName, pod, ns)
    
    	if len(mockIntercept.lastRedirect) != 0 {
    		t.Fatalf("Didnt Expect nsenterFunc to be called because this pod does not contain a sidecar")
    	}
    }
    
    func TestCmdAddExcludePod(t *testing.T) {
    	pod, ns := buildFakePodAndNSForClient()
    
    	mockIntercept := testDoAddRun(t, buildMockConf(true, ""), "testExcludeNS", pod, ns)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  3. istioctl/pkg/util/configdump/listener.go

    	if err != nil {
    		return nil, err
    	}
    
    	dal := make([]*admin.ListenersConfigDump_DynamicListener, 0)
    	for _, l := range listenerDump.DynamicListeners {
    		// If a listener was reloaded, it would contain both the active and draining state
    		// delete the draining state for proper comparison
    		l.DrainingState = nil
    		if l.ActiveState != nil {
    			dal = append(dal, l)
    		}
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Nov 03 08:41:32 GMT 2022
    - 2.5K bytes
    - Viewed (1)
  4. istioctl/pkg/xds/google.go

    	if err != nil {
    		return err
    	}
    	for k, v := range ret {
    		if !strings.EqualFold(k, "authorization") {
    			if _, ok := dst[k]; ok {
    				return fmt.Errorf("underlying %s credentials contain a %s header which is already present in the combined credentials", kind, k)
    			}
    			dst[k] = v
    		} else {
    			dst[dstHdr] = v
    		}
    	}
    	return nil
    }
    
    type hubMembership struct {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Nov 14 20:23:34 GMT 2022
    - 3.4K bytes
    - Viewed (0)
  5. istioctl/pkg/proxystatus/proxystatus_test.go

    type execTestCase struct {
    	args     []string
    	revision string
    	noIstiod bool
    
    	// Typically use one of the three
    	expectedOutput string // Expected constant output
    	expectedString string // String output is expected to contain
    
    	wantException bool
    }
    
    func TestProxyStatus(t *testing.T) {
    	cases := []execTestCase{
    		{ // case 0, with no Isitod instance
    			args:           []string{},
    			noIstiod:       true,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 08:28:50 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  6. istioctl/pkg/describe/describe_test.go

    	namespace      string
    	istioNamespace string
    
    	args []string
    
    	// Typically use one of the three
    	expectedOutput string // Expected constant output
    	expectedString string // String output is expected to contain
    
    	wantException bool
    }
    
    // Tests Pilot /debug
    func TestDescribe(t *testing.T) {
    	productPageConfigPath := "testdata/describe/http_config.json"
    	config, err := os.ReadFile(productPageConfigPath)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Mar 28 09:54:01 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  7. istioctl/pkg/multixds/google.go

    	if !strings.HasSuffix(ret.host, ":443") {
    		ret.host += ":443"
    	}
    	const projSeg = "/projects/"
    	i := strings.Index(u.Path, projSeg)
    	if i == -1 {
    		return nil, fmt.Errorf("webhook URL %s doesn't contain the projects segment", u)
    	}
    	i += len(projSeg)
    	j := strings.IndexByte(u.Path[i:], '/')
    	if j == -1 {
    		return nil, fmt.Errorf("webhook URL %s is malformed", u)
    	}
    	ret.gcpProject = u.Path[i : i+j]
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Jun 06 03:39:27 GMT 2022
    - 1.5K bytes
    - Viewed (1)
  8. cni/pkg/util/podutil.go

    			"status",
    		)
    	if errors.IsNotFound(err) {
    		return nil
    	}
    	return err
    }
    
    // Get any IPs currently assigned to the Pod.
    //
    // If 'PodIPs' exists, it is preferred (and should be guaranteed to contain the address in 'PodIP'),
    // otherwise fallback to 'PodIP'.
    //
    // Note that very early in the pod's lifecycle (before all the node CNI plugin invocations finish)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  9. istioctl/pkg/ztunnelconfig/ztunnelconfig_test.go

    	execClientConfig map[string][]byte
    	args             []string
    
    	// Typically use one of the three
    	expectedOutput string // Expected constant output
    	expectedString string // String output is expected to contain
    
    	wantException bool
    }
    
    func TestProxyConfig(t *testing.T) {
    	loggingConfig := map[string][]byte{
    		"ztunnel-9v7nw": []byte("current log level is debug"),
    	}
    	cases := []execTestCase{
    		{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 10 21:51:29 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  10. istioctl/pkg/proxyconfig/proxyconfig_test.go

    	execClientConfig map[string][]byte
    	args             []string
    
    	// Typically use one of the three
    	expectedOutput string // Expected constant output
    	expectedString string // String output is expected to contain
    
    	wantException bool
    }
    
    func TestProxyConfig(t *testing.T) {
    	loggingConfig := map[string][]byte{
    		"details-v1-5b7f94f9bc-wp5tb": util.ReadFile(t, "../writer/envoy/logging/testdata/logging.txt"),
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 10 21:51:29 GMT 2024
    - 8.9K bytes
    - Viewed (0)
Back to top