MCPcopy Create free account
hub / github.com/NVIDIA/gpu-operator / getFilesFromDir

Function getFilesFromDir

internal/render/render_test.go:47–53  ·  view source on GitHub ↗
(dirPath string)

Source from the content-addressed store, hash-verified

45}
46
47func getFilesFromDir(dirPath string) []string {
48 files, err := utils.GetFilesWithSuffix(dirPath, "json", "yaml", "yml")
49 if err != nil {
50 panic(err)
51 }
52 return files
53}
54
55var _ = Describe("Test Renderer via API", func() {
56 t := &render.TemplatingData{

Callers 1

render_test.goFile · 0.85

Calls 1

GetFilesWithSuffixFunction · 0.92

Tested by

no test coverage detected