- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for genyaml (0.16 sec)
-
hack/update-generated-docs.sh
KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/.. source "${KUBE_ROOT}/hack/lib/init.sh" kube::golang::setup_env kube::util::ensure-temp-dir BINS=( ./cmd/gendocs ./cmd/genkubedocs ./cmd/genman ./cmd/genyaml ) GOPROXY=off go install "${BINS[@]}" # Run all doc generators. # $1 is the directory to put those generated documents generate_docs() { local dest="$1" mkdir -p "${dest}/docs/user-guide/kubectl/"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:07:33 UTC 2024 - 3K bytes - Viewed (0) -
operator/cmd/mesh/operator_test.go
cmd += " --watchedNamespaces " + odArgs.common.watchedNamespaces cmd += " --manifests=" + string(snapshotCharts) gotYAML, err := runCommand(cmd) if err != nil { t.Fatal(err) } if refreshGoldenFiles() { t.Logf("Refreshing golden file for %s", goldenFilepath) if err := os.WriteFile(goldenFilepath, []byte(gotYAML), 0o644); err != nil { t.Error(err) } } wantYAML, err := readFile(goldenFilepath) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Aug 29 14:15:33 UTC 2023 - 6.4K bytes - Viewed (0) -
pkg/test/framework/components/opentelemetry/kube.go
ports: http-tracing-span: 15443 # Do not change this port value ` ) func getYaml() (string, error) { b, err := os.ReadFile(env.OtelCollectorInstallFilePath) if err != nil { return "", err } return string(b), nil } func install(ctx resource.Context, ns string) error { y, err := getYaml() if err != nil { return err } return ctx.ConfigKube().YAML(ns, y).Apply() }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Aug 14 19:29:38 UTC 2023 - 4.6K bytes - Viewed (0) -
pilot/pkg/security/authz/model/model_test.go
} p, _ := m.Generate(tc.forTCP, false, tc.action) var gotYaml string if p != nil { if gotYaml, err = protomarshal.ToYAML(p); err != nil { t.Fatalf("%s: failed to parse yaml: %s", tc.name, err) } } for _, want := range tc.want { if !strings.Contains(gotYaml, want) { t.Errorf("got:\n%s but not found %s", gotYaml, want) } } for _, notWant := range tc.notWant {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Nov 20 22:15:12 UTC 2023 - 10K bytes - Viewed (0) -
pkg/test/util/yml/apply.go
return "", fmt.Errorf("json merge error (%s) for base object: \n%s\n override object: \n%s", err, mainYaml, overlayYaml) } resYaml, err := yaml.JSONToYAML(merged) if err != nil { return "", fmt.Errorf("jsonToYAML error (%s) for merged object: \n%s", err, merged) } return string(resYaml), nil } // MustApplyNamespace applies the given namespaces to the resources in the yamlText if not set.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 17 07:02:38 UTC 2023 - 3.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/filter_test.go
}, }, attributes: newValidAttribute(&podObject, false), results: []EvaluationResult{ { EvalResult: celtypes.True, }, }, authorizer: denyAll, }, { name: "test authorizer error", validations: []ExpressionAccessor{ &condition{ Expression: "authorizer.group('').resource('endpoints').check('create').errored()", },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 40.4K bytes - Viewed (0) -
pilot/pkg/security/authz/model/generator_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Apr 20 01:58:53 UTC 2024 - 13K bytes - Viewed (0) -
pkg/test/framework/components/istio/configmap.go
// Apply the change. if err := update(mc); err != nil { return err } // Store the updated MeshConfig back into the config map. newYAML, err := injectConfigToYaml(mc) if err != nil { return err } cfgMap.Data["config"] = newYAML // Write the config map back to the cluster. if err := ic.updateConfigMap(c, cfgMap); err != nil { return err }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 12.8K bytes - Viewed (0) -
pilot/pkg/security/authz/builder/builder_test.go
t.Fatalf("got %d configs but want %d", len(gots), len(wants)) } for i, got := range gots { gotYaml, err := protomarshal.ToYAML(got) if err != nil { t.Fatalf("failed to convert to YAML: %v", err) } wantFile := basePath + baseDir + wants[i] util.RefreshGoldenFile(t, []byte(gotYaml), wantFile) want := yamlConfig(t, wantFile, forTCP) wantYaml, err := protomarshal.ToYAML(want) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 22:20:44 UTC 2024 - 13.8K bytes - Viewed (0) -
docs/fr/docs/history-design-future.md
> Quelle est l'histoire de ce projet ? Il semble être sorti de nulle part et est devenu génial en quelques semaines [...]. Voici un petit bout de cette histoire. ## Alternatives
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Mar 22 01:42:11 UTC 2024 - 4.9K bytes - Viewed (0)