Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 410 for fromfile (0.34 sec)

  1. istioctl/pkg/writer/compare/route.go

    	} else {
    		istiod, err := protomarshal.ToJSONWithAnyResolver(istiodRouteDump, "    ", &envoyResolver)
    		if err != nil {
    			return err
    		}
    		istiodBytes.WriteString(istiod)
    	}
    	diff := difflib.UnifiedDiff{
    		FromFile: "Istiod Routes",
    		A:        difflib.SplitLines(istiodBytes.String()),
    		ToFile:   "Envoy Routes",
    		B:        difflib.SplitLines(envoyBytes.String()),
    		Context:  c.context,
    	}
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Mar 12 10:02:09 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/compare/cluster.go

    	} else {
    		istiod, err := protomarshal.ToJSONWithAnyResolver(istiodClusterDump, "    ", &envoyResolver)
    		if err != nil {
    			return err
    		}
    		istiodBytes.WriteString(istiod)
    	}
    	diff := difflib.UnifiedDiff{
    		FromFile: "Istiod Clusters",
    		A:        difflib.SplitLines(istiodBytes.String()),
    		ToFile:   "Envoy Clusters",
    		B:        difflib.SplitLines(envoyBytes.String()),
    		Context:  c.context,
    	}
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Mar 12 10:02:09 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/compare/listener.go

    	} else {
    		istiod, err := protomarshal.ToJSONWithAnyResolver(istiodListenerDump, "    ", &envoyResolver)
    		if err != nil {
    			return err
    		}
    		istiodBytes.WriteString(istiod)
    	}
    	diff := difflib.UnifiedDiff{
    		FromFile: "Istiod Listeners",
    		A:        difflib.SplitLines(istiodBytes.String()),
    		ToFile:   "Envoy Listeners",
    		B:        difflib.SplitLines(envoyBytes.String()),
    		Context:  c.context,
    	}
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Apr 04 20:29:08 GMT 2024
    - 2K bytes
    - Viewed (0)
  4. 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 24 22:53:08 GMT 2024
    - Last Modified: Wed Mar 03 16:14:57 GMT 2021
    - 4.5K bytes
    - Viewed (0)
  5. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts

        components {
            withModule<CodeNarcRule>("org.codenarc:CodeNarc") {
                params(groovyVersion)
            }
        }
    }
    
    fun configFile(fileName: String) = resources.text.fromFile(rules.asFileTree.filter { it.name == fileName })
    
    checkstyle {
        toolVersion = "8.12"
        config = configFile("checkstyle.xml")
        val projectDirectory = layout.projectDirectory
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Tue Jan 30 10:26:21 GMT 2024
    - 6K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java

            tasks.register("checkstyleApi", Checkstyle.class, task -> {
                task.source(extension.getDocumentedSource());
                // TODO: This is ugly
                task.setConfig(project.getResources().getText().fromFile(checkstyle.getConfigDirectory().file("checkstyle-api.xml")));
                task.setClasspath(layout.files());
                task.getReports().getXml().getOutputLocation().set(new File(checkstyle.getReportsDir(), "checkstyle-api.xml"));
    Java
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Mon Oct 16 13:03:20 GMT 2023
    - 6.9K bytes
    - Viewed (0)
  7. ci/official/containers/linux_arm64/devel.usertools/squash_testlogs.py

    seen = collections.Counter()
    runfiles_matcher = re.compile(r"(/.*\.runfiles/)")
    
    
    for f in files.strip().splitlines():
      # Just ignore any failures, they're probably not important
      try:
        r = JUnitXml.fromfile(f)
      except Exception as e:  # pylint: disable=broad-except
        print("Ignoring this XML parse failure in {}: ".format(f), str(e))
    
      source_file = re.search(
          r"/(bazel_pip|tensorflow)/.*", f.decode("utf-8")
    Python
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 19:00:37 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  8. operator/cmd/mesh/profile.go

    // ProfileCmd is a group of commands related to profile listing, dumping and diffing.
    func ProfileCmd(_ cli.Context) *cobra.Command {
    	pc := &cobra.Command{
    		Use:   "profile",
    		Short: "Commands related to Istio configuration profiles",
    		Long:  "The profile command lists, dumps or diffs Istio configuration profiles.",
    		Example: "istioctl profile list\n" +
    			"istioctl install --set profile=demo  # Use a profile from the list",
    	}
    
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  9. manifests/charts/gateways/istio-ingress/templates/zzz_profile.yaml

    {{- $_ := unset $.Values "defaults" }}
    {{- $profile := dict }}
    {{- with .Values.profile }}
    {{- with $.Files.Get (printf "files/profile-%s.yaml" .)}}
    {{- $profile = (. | fromYaml) }}
    {{- else }}
    {{ fail (cat "unknown profile" $.Values.profile) }}
    {{- end }}
    {{- end }}
    {{- with .Values.compatibilityVersion }}
    {{- with $.Files.Get (printf "files/profile-compatibility-version-%s.yaml" .) }}
    Others
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 22:30:06 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  10. manifests/charts/ztunnel/templates/zzz_profile.yaml

    {{- $_ := unset $.Values "defaults" }}
    {{- $profile := dict }}
    {{- with .Values.profile }}
    {{- with $.Files.Get (printf "files/profile-%s.yaml" .)}}
    {{- $profile = (. | fromYaml) }}
    {{- else }}
    {{ fail (cat "unknown profile" $.Values.profile) }}
    {{- end }}
    {{- end }}
    {{- with .Values.compatibilityVersion }}
    {{- with $.Files.Get (printf "files/profile-compatibility-version-%s.yaml" .) }}
    Others
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Thu Jan 18 16:33:33 GMT 2024
    - 1.3K bytes
    - Viewed (0)
Back to top