MCPcopy
hub / github.com/helm/helm / releaseStub

Function releaseStub

pkg/storage/driver/mock_test.go:38–49  ·  view source on GitHub ↗
(name string, vers int, namespace string, status common.Status)

Source from the content-addressed store, hash-verified

36)
37
38func releaseStub(name string, vers int, namespace string, status common.Status) *rspb.Release {
39 return &rspb.Release{
40 Name: name,
41 Version: vers,
42 Namespace: namespace,
43 Info: &rspb.Info{Status: status},
44 Labels: map[string]string{
45 "key1": "val1",
46 "key2": "val2",
47 },
48 }
49}
50
51func testKey(name string, vers int) string {
52 return fmt.Sprintf("%s.v%d", name, vers)

Callers 15

TestMemoryCreateFunction · 0.70
TestMemoryUpdateFunction · 0.70
TestSQLGetFunction · 0.70
TestSQLListFunction · 0.70
TestSqlCreateFunction · 0.70
TestSqlUpdateFunction · 0.70
TestSqlQueryFunction · 0.70
TestSqlDeleteFunction · 0.70
TestSecretGetFunction · 0.70
TestSecretListFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…