MCPcopy
hub / github.com/cyclops-ui/cyclops / ITemplateRepo

Interface ITemplateRepo

cyclops-ctrl/pkg/template/template.go:19–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17)
18
19type ITemplateRepo interface {
20 GetTemplate(
21 repo string,
22 path string,
23 version string,
24 resolvedVersion string,
25 source cyclopsv1alpha1.TemplateSourceType,
26 ) (*models.Template, error)
27 GetTemplateInitialValues(
28 repo string,
29 path string,
30 version string,
31 source cyclopsv1alpha1.TemplateSourceType,
32 ) (map[string]interface{}, error)
33 GetTemplateRevisions(repo, path string) ([]string, error)
34 ReturnCache() *ristretto.Cache
35}
36
37type Repo struct {
38 credResolver auth.TemplatesResolver

Callers 14

LoadTemplateMethod · 0.65
LoadHelmChartMethod · 0.65
LoadOCIHelmChartMethod · 0.65
ManifestMethod · 0.65
CurrentManifestMethod · 0.65
HistoryEntryManifestMethod · 0.65
ResourcesForModuleMethod · 0.65
TemplateMethod · 0.65

Implementers 3

ITemplateRepocyclops-ctrl/mocks/ITemplateRepo.go
ITemplateRepo_Expectercyclops-ctrl/mocks/ITemplateRepo.go
Repocyclops-ctrl/pkg/template/template.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…