Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for duplicate (0.16 sec)

  1. cni/pkg/plugin/plugin_test.go

    		name string
    		args args
    		want []string
    	}{
    		{
    			name: "No duplicates",
    			args: args{ports: []string{"1234", "2345"}},
    			want: []string{"1234", "2345"},
    		},
    		{
    			name: "Sequential Duplicates",
    			args: args{ports: []string{"1234", "1234", "2345", "2345"}},
    			want: []string{"1234", "2345"},
    		},
    		{
    			name: "Mixed Duplicates",
    			args: args{ports: []string{"1234", "2345", "1234", "2345"}},
    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)
  2. operator/cmd/mesh/manifest-generate_test.go

    	}
    }
    
    func TestManifestGenerateWithDuplicateMutatingWebhookConfig(t *testing.T) {
    	testResourceFile := "duplicate_mwc"
    
    	testCases := []struct {
    		name       string
    		force      bool
    		assertFunc func(g *WithT, objs *ObjectSet, err error)
    	}{
    		{
    			name:  "Duplicate MutatingWebhookConfiguration should be allowed when --force is enabled",
    			force: true,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 43.5K bytes
    - Viewed (0)
  3. common/config/.golangci.yml

          - name: imports-blacklist
          - name: range-val-in-closure
          - name: range-val-address
          - name: waitgroup-by-value
          - name: atomic
          - name: call-to-gc
          - name: duplicated-imports
          - name: string-of-int
          - name: defer
            arguments:
              - - "call-chain"
          - name: unconditional-recursion
          - name: identical-branches
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 19:22:39 GMT 2024
    - 11K bytes
    - Viewed (0)
Back to top