Documentation
¶
Index ¶
- Constants
- func AddTemplateLabels[T template.TemplateType](info *template.TemplateInfo[T], labels commonModel.Labels) commonModel.Labels
- func EventCallback(loader *Loader) func(e event.Event)
- func NewGitSourceOptions(cacheDir string, revision string) *template.GitSourceOptions
- func PrettyName[T template.TemplateType](info *template.TemplateInfo[T], cacheDir string, name string) string
- func PrettyPath(cacheDir string, path string) string
- type Loader
Constants ¶
View Source
const ( ProjectName = "hckops" CliName = "hckctl" DefaultDirName = "hck" TemplateSourceUrl = "https://github.com/hckops/megalopolis" TemplateSourceRevision = "main" DefaultVpnName = "default" )
Variables ¶
This section is empty.
Functions ¶
func AddTemplateLabels ¶ added in v0.10.0
func AddTemplateLabels[T template.TemplateType](info *template.TemplateInfo[T], labels commonModel.Labels) commonModel.Labels
func EventCallback ¶ added in v0.9.0
func NewGitSourceOptions ¶ added in v0.9.0
func NewGitSourceOptions(cacheDir string, revision string) *template.GitSourceOptions
func PrettyName ¶ added in v0.12.0
func PrettyName[T template.TemplateType](info *template.TemplateInfo[T], cacheDir string, name string) string
func PrettyPath ¶ added in v0.12.0
Types ¶
Click to show internal directories.
Click to hide internal directories.