- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for FilterManifest (0.1 sec)
-
operator/pkg/compare/compare.go
} bosm, err := filterResourceWithSelectAndIgnore(bom, sm, im) if err != nil { return "", err } return manifestDiff(aosm, bosm, im, verbose) } // FilterManifest selects and ignores subset from the manifest string func FilterManifest(ms string, selectResources string, ignoreResources string) (string, error) { sm := getObjPathMap(selectResources) im := getObjPathMap(ignoreResources)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 15 01:29:35 UTC 2024 - 13.3K bytes - Viewed (0) -
operator/cmd/mesh/manifest-generate_test.go
want, err := readFile(outPath) if err != nil { t.Fatal(err) } diffSelect := "Deployment:*:istio-egressgateway, Service:*:istio-egressgateway" got, err = compare.FilterManifest(got, diffSelect, "") if err != nil { t.Errorf("error selecting from output manifest: %v", err) } diff := compare.YAMLCmp(got, want) if diff != "" { t.Errorf("`manifest generate` diff = %s", diff) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 04 18:05:06 UTC 2024 - 43.5K bytes - Viewed (0)