- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ApplyAnnotation (0.13 sec)
-
pkg/test/util/yml/apply.go
func MustApplyNamespace(t test.Failer, yamlText, ns string) string { y, err := ApplyNamespace(yamlText, ns) if err != nil { t.Fatalf("ApplyNamespace: %v for text %v", err, yamlText) } return y } func ApplyAnnotation(yamlText, k, v string) (string, error) { m := make(map[string]any) if err := yaml.Unmarshal([]byte(yamlText), &m); err != nil { return "", err } meta, err := ensureChildMap(m, "metadata") if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 17 07:02:38 UTC 2023 - 3.8K bytes - Viewed (0) -
tests/integration/pilot/validation_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Dec 13 15:19:36 UTC 2023 - 6.7K bytes - Viewed (0)