Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for diff (0.18 sec)

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

    	return &cobra.Command{
    		Use:   "diff <profile|file1.yaml> <profile|file2.yaml>",
    		Short: "Diffs two Istio configuration profiles",
    		Long:  "The diff subcommand displays the differences between two Istio configuration profiles.",
    		Example: `  # Profile diff by providing yaml files
      istioctl profile diff manifests/profiles/default.yaml manifests/profiles/demo.yaml
    
      # Profile diff by providing a profile name
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  2. operator/cmd/mesh/manifest-diff.go

    }
    
    func manifestDiffCmd(diffArgs *manifestDiffArgs) *cobra.Command {
    	cmd := &cobra.Command{
    		Use:   "diff <file|dir> <file|dir>",
    		Short: "Compare manifests and generate diff",
    		Long: "The diff subcommand compares manifests from two files or directories. The output is a list of\n" +
    			"changed paths with the value changes shown as OLD-VALUE -> NEW-VALUE.\n" +
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  3. operator/cmd/mesh/profile-diff_test.go

    func TestProfileDiff(t *testing.T) {
    	cases := []profileDiffTestcase{
    		{
    			args:       "profile diff demo default --unknown-flag",
    			shouldFail: true,
    		},
    		{
    			args:       "profile diff demo",
    			shouldFail: true,
    		},
    		{
    			args:       "profile diff",
    			shouldFail: true,
    		},
    		{
    			args:       fmt.Sprintf("profile diff default unknown-profile --manifests %s", snapshotCharts),
    			shouldFail: true,
    		},
    		{
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Wed Jan 10 05:10:03 GMT 2024
    - 3.6K bytes
    - Viewed (1)
  4. cmd/erasure-healing-common.go

    		}
    		nano := t.UnixNano()
    		if group > 0 {
    			for k := range timeOccurrenceMap {
    				if k == nano {
    					// We add to ourself later
    					continue
    				}
    				diff := k - nano
    				if diff < 0 {
    					diff = -diff
    				}
    				// We are within the limit
    				if diff < groupNano {
    					timeOccurrenceMap[k]++
    				}
    			}
    		}
    		// Add ourself...
    		timeOccurrenceMap[nano]++
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/compare/sds/writer_test.go

    			format: TABULAR,
    			diffs: []SecretItemDiff{
    				{
    					Agent: "alligator",
    					Proxy: "proxy",
    					SecretItem: SecretItem{
    						Name:        "fields",
    						Data:        "certdata",
    						Source:      "should",
    						Destination: "destination",
    						SecretMeta: SecretMeta{
    							Valid:        true,
    							SerialNumber: "serial_number",
    							NotAfter:     "expires",
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri May 29 20:42:01 GMT 2020
    - 4.9K bytes
    - Viewed (0)
  6. internal/s3select/sql/parser.go

    	Quantity  *Operand     `parser:" @@ \",\""`
    	Timestamp *PrimaryTerm `parser:" @@ \")\""`
    }
    
    // DateDiffFunc represents the DATE_DIFF function
    type DateDiffFunc struct {
    	DatePart   string       `parser:" \"DATE_DIFF\" \"(\" @( \"YEAR\":Timeword | \"MONTH\":Timeword | \"DAY\":Timeword | \"HOUR\":Timeword | \"MINUTE\":Timeword | \"SECOND\":Timeword ) \",\" "`
    	Timestamp1 *PrimaryTerm `parser:" @@ \",\" "`
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  7. istioctl/pkg/describe/describe_test.go

    				t.Fatal(err)
    			}
    			out, err := getIstioVirtualServicePathForSvcFromRoute(&cd, test.inputService, test.inputPort)
    			if err != nil {
    				t.Fatal(err)
    			}
    			if diff := cmp.Diff(test.expected, out); diff != "" {
    				t.Fatalf("Diff:\n%s", diff)
    			}
    		})
    	}
    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. internal/s3select/sql/evaluate.go

    				if !cmp(aA[i], bA[i]) {
    					return false
    				}
    			}
    			return true
    		}
    		// Try as numbers
    		aF, aOK := a.ToFloat()
    		bF, bOK := b.ToFloat()
    
    		diff := math.Abs(aF - bF)
    		return aOK && bOK && diff < floatCmpTolerance
    	}
    
    	var rhs Value
    	var err error
    	var eltVal *Value
    	switch {
    	case e.JPathExpr != nil:
    		eltVal, err = e.JPathExpr.evalNode(r, tableAlias)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 12K bytes
    - Viewed (0)
  9. operator/cmd/mesh/profile-dump_test.go

    				}
    			}
    
    			want, err := readFile(outPath)
    			if err != nil {
    				t.Fatal(err)
    			}
    			if got != want {
    				t.Errorf("profile-dump command(%s): got:\n%s\n\nwant:\n%s\nDiff:\n%s\n", tt.desc, got, want, diff.Diff(got, want))
    			}
    		})
    	}
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Thu Jan 20 11:44:25 GMT 2022
    - 3.7K bytes
    - Viewed (0)
  10. istioctl/pkg/multicluster/remote_secret_test.go

        users:
        - name: 54643f96-eca0-11e9-bb97-42010a80000a
          user:
            token: token
    ---
    `, clusterNameAnnotationKey, secretName, key)
    
    				if diff := cmp.Diff(got, wantOutput); diff != "" {
    					tt.Errorf("got\n%v\nwant\n%vdiff %v", got, c.want, diff)
    				}
    			}
    		})
    	}
    }
    
    func TestGetServiceAccountSecretToken(t *testing.T) {
    	secret := makeSecret("secret", "caData", "token")
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 20.6K bytes
    - Viewed (0)
Back to top