MCPcopy Create free account
hub / github.com/databus23/helm-diff / foundObjects

Function foundObjects

manifest/parse_test.go:15–22  ·  view source on GitHub ↗
(result map[string]*MappingResult)

Source from the content-addressed store, hash-verified

13)
14
15func foundObjects(result map[string]*MappingResult) []string {
16 objs := make([]string, 0, len(result))
17 for k := range result {
18 objs = append(objs, k)
19 }
20 sort.Strings(objs)
21 return objs
22}
23
24func TestPod(t *testing.T) {
25 spec, err := os.ReadFile("testdata/pod.yaml")

Callers 10

TestPodFunction · 0.85
TestPodNamespaceFunction · 0.85
TestPodHookFunction · 0.85
TestDeployV1Function · 0.85
TestDeployV1Beta1Function · 0.85
TestListFunction · 0.85
TestConfigMapListFunction · 0.85
TestSecretListFunction · 0.85
TestEmptyFunction · 0.85
TestBaseNameAnnotationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected