Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 188 for diff (0.17 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. bin/diff_yaml.py

                print("## ", k)
                s0 = yaml.safe_dump(q0[k], default_flow_style=False, indent=2)
                s1 = yaml.safe_dump(q1[k], default_flow_style=False, indent=2)
    
                print(datadiff.diff(s0, s1, fromfile=args.orig, tofile=args.new))
    
        return changed + len(added) + len(removed)
    
    
    def main(args):
        return compare(args)
    
    
    def get_parser():
        parser = argparse.ArgumentParser(
    Python
    - Registered: Wed Apr 17 22:53:10 GMT 2024
    - Last Modified: Wed Mar 03 16:14:57 GMT 2021
    - 4.5K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/compare/testdata/configdump_diff.json

    Xiaopeng Han <******@****.***> 1710237729 +0800
    Json
    - Registered: Wed Apr 17 22:53:10 GMT 2024
    - Last Modified: Tue Mar 12 10:02:09 GMT 2024
    - 51.6K bytes
    - Viewed (0)
  5. 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)
  6. 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 Apr 17 22:53:10 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 20.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/CacheStatsTest.java

        CacheStats diff = two.minus(one);
        assertEquals(76, diff.requestCount());
        assertEquals(42, diff.hitCount());
        assertEquals(42.0 / 76, diff.hitRate());
        assertEquals(34, diff.missCount());
        assertEquals(34.0 / 76, diff.missRate());
        assertEquals(26, diff.loadSuccessCount());
        assertEquals(22, diff.loadExceptionCount());
        assertEquals(22.0 / 48, diff.loadExceptionRate());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Sun Jun 30 14:58:49 GMT 2019
    - 4.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/CacheStatsTest.java

        CacheStats diff = two.minus(one);
        assertEquals(76, diff.requestCount());
        assertEquals(42, diff.hitCount());
        assertEquals(42.0 / 76, diff.hitRate());
        assertEquals(34, diff.missCount());
        assertEquals(34.0 / 76, diff.missRate());
        assertEquals(26, diff.loadSuccessCount());
        assertEquals(22, diff.loadExceptionCount());
        assertEquals(22.0 / 48, diff.loadExceptionRate());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Sun Jun 30 14:58:49 GMT 2019
    - 4.6K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/compare/comparator_test.go

    	comparator, err := NewComparator(&outputBuffer, map[string][]byte{"default": cfg}, cfg)
    	if err != nil {
    		t.Fatalf("Failed to create Comparator: %v", err)
    	}
    	err = comparator.Diff()
    	if err != nil {
    		t.Errorf("Unexpected error during diff: %v", err)
    	}
    
    	expected := []string{"Clusters Match", "Listeners Match", "Routes Match"}
    	for _, exp := range expected {
    		if !bytes.Contains(outputBuffer.Bytes(), []byte(exp)) {
    Go
    - Registered: Wed Apr 17 22:53:10 GMT 2024
    - Last Modified: Tue Mar 12 10:02:09 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  10. .cm/summary_table.cm

                <td>{{ platform.name }}</td>
                <td>{{ branch.diff.files_metadata | filter(attr='file', list=platform.subprojects) | map(attr='additions') | sum }}</td>
                <td>{{ ((branch.diff.files_metadata | filter(attr='file', list=platform.subprojects) | map(attr='additions') | sum) / (changes.additions + changes.deletions) * 100) | round(2) }}%</td>
    Plain Text
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Thu Feb 08 15:20:44 GMT 2024
    - 6.5K bytes
    - Viewed (0)
Back to top