Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 184 for expected (0.18 sec)

  1. cni/test/testdata/expected/minikube_cni.conflist.expected

    John Howard <******@****.***> 1605827959 -0800
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Nov 19 23:19:19 GMT 2020
    - 736 bytes
    - Viewed (0)
  2. cni/test/testdata/expected/ZZZ-istio-cni-kubeconfig.expected

    John Howard <******@****.***> 1605827959 -0800
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Nov 19 23:19:19 GMT 2020
    - 2.5K bytes
    - Viewed (0)
  3. cni/test/install_k8s_test.go

    			expectedPostCleanFile:  testDataDir + "/expected/minikube_cni.conflist.clean",
    			cniConfDirOrderedFiles: []string{"minikube_cni.conf", "calico.conflist"},
    		},
    		{
    			name:                   "Skip non-json file for first valid .conf file",
    			chainedCNIPlugin:       true,
    			resultFileName:         "01-minikube_cni.conflist",
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Jul 27 18:01:48 GMT 2022
    - 8K bytes
    - Viewed (0)
  4. istioctl/pkg/tag/generate_test.go

    	testGenerateOption(t, true, func(t *testing.T, actual, expected []admitv1.MutatingWebhook) {
    		assert.Equal(t, actual, expected)
    	})
    
    	// Test generate option 'false', should modify webhooks
    	testGenerateOption(t, false, func(t *testing.T, actual, expected []admitv1.MutatingWebhook) {
    		if err := assert.Compare(actual, expected); err == nil {
    			t.Errorf("expected diff between webhooks, got none")
    		}
    	})
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 12.1K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/envoy/configdump/configdump_test.go

    				util.CompareContent(t, gotOut.Bytes(), tt.wantOutputFile)
    			}
    			if err == nil && tt.wantErr {
    				t.Errorf("PrintBootstrapDump (%v) did not produce expected err", tt.name)
    			} else if err != nil && !tt.wantErr {
    				t.Errorf("PrintBootstrapDump (%v) produced unexpected err: %v", tt.name, err)
    			}
    		})
    	}
    }
    
    func TestConfigWriter_PrintVersionSummary(t *testing.T) {
    	tests := []struct {
    		name           string
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Jan 03 23:08:06 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  6. istioctl/pkg/util/testutil/util.go

    	"istio.io/istio/pilot/test/util"
    )
    
    type TestCase struct {
    	Args []string
    
    	// Typically use one of the three
    	ExpectedOutput string         // Expected constant output
    	ExpectedRegexp *regexp.Regexp // Expected regexp output
    	GoldenFilename string         // Expected output stored in golden file
    
    	WantException bool
    }
    
    func VerifyOutput(t *testing.T, cmd *cobra.Command, c TestCase) {
    	t.Helper()
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 2K bytes
    - Viewed (0)
  7. istioctl/pkg/describe/describe_test.go

    	}
    }
    
    func TestGetRevisionFromPodAnnotation(t *testing.T) {
    	cases := []struct {
    		anno klabels.Set
    
    		expected string
    	}{
    		{
    			anno: klabels.Set{
    				apiannotation.SidecarStatus.Name: "",
    			},
    			expected: "",
    		},
    		{
    			anno:     klabels.Set{},
    			expected: "",
    		},
    		{
    			anno: klabels.Set{
    				apiannotation.SidecarStatus.Name: `
    				{
    					"initContainers": [
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Mar 28 09:54:01 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  8. istioctl/pkg/util/constants.go

    	// The actual name can be different - use getMeshConfigMapName
    	DefaultMeshConfigMapName = "istio"
    
    	// ConfigMapKey should match the expected MeshConfig file name
    	ConfigMapKey = "mesh"
    
    	// ValuesConfigMapKey should match the expected Values file name
    	ValuesConfigMapKey = "values"
    
    	DefaultRevisionName = "default"
    )
    
    const (
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/envoy/configdump/route_test.go

    		desc     string
    		domains  []string
    		expected string
    	}{
    		{
    			desc:     "test zero domain",
    			domains:  []string{},
    			expected: "",
    		},
    		{
    			desc:     "test only one domain",
    			domains:  []string{"example.com"},
    			expected: "example.com",
    		},
    		{
    			desc:     "test domains with port",
    			domains:  []string{"example.com", "example.com:8080"},
    			expected: "example.com",
    		},
    		{
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  10. istioctl/pkg/writer/ztunnel/configdump/configdump_test.go

    		callPrime          bool
    		wantErr            bool
    	}{
    		{
    			name:             "returns expected secret summary onto Stdout",
    			callPrime:        true,
    			wantOutputSecret: "testdata/secretsummary.txt",
    		},
    		{
    			name:    "errors if config dump is not primed",
    			wantErr: true,
    		},
    		{
    			name:               "returns expected workload summary onto Stdout",
    			callPrime:          true,
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Feb 02 18:21:48 GMT 2024
    - 3.6K bytes
    - Viewed (0)
Back to top