MCPcopy
hub / github.com/operator-framework/operator-sdk / csvPath

Function csvPath

test/integration/suite_test.go:199–205  ·  view source on GitHub ↗
(tc *testutils.TestContext, version string, isBundle bool)

Source from the content-addressed store, hash-verified

197}
198
199func csvPath(tc *testutils.TestContext, version string, isBundle bool) string {
200 fileName := fmt.Sprintf("%s.clusterserviceversion.yaml", tc.ProjectName)
201 if isBundle {
202 return filepath.Join(tc.Dir, "bundle", bundle.ManifestsDir, fileName)
203 }
204 return filepath.Join(tc.Dir, "packagemanifests", version, fileName)
205}

Callers 2

readCSVFunction · 0.85
writeCSVFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected