Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ChartfileName is the default Chart file name. ChartfileName = "Chart.yaml" // ValuesfileName is the default values file name. ValuesfileName = "values.yaml" // SchemafileName is the default values schema file name. SchemafileName = "values.schema.json" // TemplatesDir is the relative directory name for templates. TemplatesDir = "templates" // ChartsDir is the relative directory name for charts dependencies. ChartsDir = "charts" // TemplatesTestsDir is the relative directory name for tests. TemplatesTestsDir = TemplatesDir + sep + "tests" // IgnorefileName is the name of the Helm ignore file. IgnorefileName = ".helmignore" // IngressFileName is the name of the example ingress file. IngressFileName = TemplatesDir + sep + "ingress.yaml" // DeploymentName is the name of the example deployment file. DeploymentName = TemplatesDir + sep + "deployment.yaml" // ServiceName is the name of the example service file. ServiceName = TemplatesDir + sep + "service.yaml" // ServiceAccountName is the name of the example serviceaccount file. ServiceAccountName = TemplatesDir + sep + "serviceaccount.yaml" // HorizontalPodAutoscalerName is the name of the example hpa file. HorizontalPodAutoscalerName = TemplatesDir + sep + "hpa.yaml" // NotesName is the name of the example NOTES.txt file. NotesName = TemplatesDir + sep + "NOTES.txt" // HelpersName is the name of the example helpers file. HelpersName = TemplatesDir + sep + "_helpers.tpl" // TestConnectionName is the name of the example test file. TestConnectionName = TemplatesTestsDir + sep + "test-connection.yaml" )
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(tp string, constructor Constructor)
Types ¶
type ChartWithTime ¶
type ChartWithTime struct {
// contains filtered or unexported fields
}
type Constructor ¶
type Constructor func(repo templaterepo.Repo) (TemplateRepo, error)
type RepoWithCache ¶
type RepoWithCache struct { TemplateRepo // contains filtered or unexported fields }
type TemplateRepo ¶
type TemplateRepo interface { GetLoc() string UploadChart(chart *chart.Chart) error DeleteChart(name string, version string) error ExistChart(name string, version string) (bool, error) GetChart(name string, version string, lastSyncAt time.Time) (*chart.Chart, error) }
func NewRepo ¶
func NewRepo(config templaterepo.Repo) (TemplateRepo, error)
func NewRepoWithCache ¶
func NewRepoWithCache(repo TemplateRepo) TemplateRepo
Click to show internal directories.
Click to hide internal directories.