Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 208 for want (0.12 sec)

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

    				if err := os.WriteFile(outPath, []byte(got), 0o644); err != nil {
    					t.Error(err)
    				}
    			}
    
    			want, err := readFile(outPath)
    			if err != nil {
    				t.Fatal(err)
    			}
    			if !util.IsYAMLEqual(got, want) {
    				t.Errorf("profile-dump command(%s): got:\n%s\n\nwant:\n%s\nDiff:\n%s\n", tt.desc, got, want, util.YAMLDiff(got, want))
    			}
    		})
    	}
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jan 20 11:44:25 GMT 2022
    - 3.7K bytes
    - Viewed (0)
  2. istioctl/pkg/admin/istiodconfig_test.go

    			if (err != nil) != tt.wantErr {
    				t.Errorf("newScopeLevelPair() error = %v, wantErr %v", err, tt.wantErr)
    				return
    			}
    			if !reflect.DeepEqual(got, tt.want) {
    				t.Errorf("newScopeLevelPair() got = %v, want %v", got, tt.want)
    			}
    		})
    	}
    }
    
    func Test_newScopeStackTraceLevelPair(t *testing.T) {
    	validationPattern := `^\w+:(debug|error|warn|info|debug)`
    	type args struct {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  3. cni/pkg/util/podutil_test.go

    				namespace: unlabelledNamespace,
    				pod:       podWithSidecarAndAmbientEnabledLabel,
    			},
    			want: false,
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			if got := PodRedirectionEnabled(tt.args.namespace, tt.args.pod); got != tt.want {
    				t.Errorf("PodRedirectionEnabled() = %v, want %v", got, tt.want)
    			}
    		})
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  4. istioctl/pkg/workload/workload_test.go

    		name string
    		arg  []string
    		want map[string]string
    	}{
    		{name: "empty", arg: []string{""}, want: map[string]string{"": ""}},
    		{name: "one-valid", arg: []string{"key=value"}, want: map[string]string{"key": "value"}},
    		{name: "one-valid-double-equals", arg: []string{"key==value"}, want: map[string]string{"key": "=value"}},
    		{name: "one-key-only", arg: []string{"key"}, want: map[string]string{"key": ""}},
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  5. cni/pkg/log/uds_test.go

    		strings.TrimSuffix(string(out), "\n"), "\n")
    	if want, got := len(wantLevels), len(gotLogs); want != got {
    		t.Fatalf("Number of logs want %v, got %v logs: %v", want, got, gotLogs)
    	}
    
    	for i, l := range gotLogs {
    		// For each line, there should be two level string, e.g.
    		// "2021-07-09T03:26:08.984951Z	debug	debug log"
    		if got, want := strings.Count(l, wantLevels[i]), 2; want != got {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Mar 16 00:20:01 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/pilot/status_test.go

    				input[key] = ss
    			}
    
    			err := sw.PrintAll(input)
    			if tt.wantErr {
    				assert.Error(t, err)
    			} else {
    				assert.NoError(t, err)
    			}
    			want, _ := os.ReadFile(tt.want)
    			if err := util.Compare(got.Bytes(), want); err != nil {
    				t.Errorf(err.Error())
    			}
    		})
    	}
    }
    
    const clientConfigType = "type.googleapis.com/envoy.service.status.v3.ClientConfig"
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  7. manifests/charts/istio-cni/files/profile-stable.yaml

    # WARNING: DO NOT EDIT, THIS FILE IS A COPY.
    # The original version of this file is located at /manifests/helm-profiles directory.
    # If you want to make a change in this file, edit the original one and run "make gen".
    
    # The stable profile deploys admission control to ensure that only stable resources and fields are used
    # THIS IS CURRENTLY EXPERIMENTAL AND SUBJECT TO CHANGE
    experimental:
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 22:00:40 GMT 2024
    - 423 bytes
    - Viewed (0)
  8. manifests/charts/istio-operator/files/profile-stable.yaml

    # WARNING: DO NOT EDIT, THIS FILE IS A COPY.
    # The original version of this file is located at /manifests/helm-profiles directory.
    # If you want to make a change in this file, edit the original one and run "make gen".
    
    # The stable profile deploys admission control to ensure that only stable resources and fields are used
    # THIS IS CURRENTLY EXPERIMENTAL AND SUBJECT TO CHANGE
    experimental:
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 22:00:40 GMT 2024
    - 423 bytes
    - Viewed (0)
  9. manifests/charts/default/files/profile-compatibility-version-1.21.yaml

    # WARNING: DO NOT EDIT, THIS FILE IS A COPY.
    # The original version of this file is located at /manifests/helm-profiles directory.
    # If you want to make a change in this file, edit the original one and run "make gen".
    
    pilot:
      env:
        # 1.22 behavioral changes
        ENABLE_RESOLUTION_NONE_TARGET_PORT: "false"
    meshConfig:
      # 1.22 behavioral changes
      proxyMetadata:
        ISTIO_DELTA_XDS: "false"
      defaultConfig:
        tracing:
          zipkin:
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 03 02:25:06 GMT 2024
    - 483 bytes
    - Viewed (0)
  10. manifests/charts/ztunnel/files/profile-compatibility-version-1.21.yaml

    # WARNING: DO NOT EDIT, THIS FILE IS A COPY.
    # The original version of this file is located at /manifests/helm-profiles directory.
    # If you want to make a change in this file, edit the original one and run "make gen".
    
    pilot:
      env:
        # 1.22 behavioral changes
        ENABLE_RESOLUTION_NONE_TARGET_PORT: "false"
    meshConfig:
      # 1.22 behavioral changes
      proxyMetadata:
        ISTIO_DELTA_XDS: "false"
      defaultConfig:
        tracing:
          zipkin:
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 03 02:25:06 GMT 2024
    - 483 bytes
    - Viewed (0)
Back to top