Documentation ¶
Index ¶
- Variables
- func EnsureRepoID(name string) string
- func GetOrInstallTemplateFromRepoID(repoID string) (string, error)
- func IsRepoID(name string) bool
- func MakeRepoID(name, version string) string
- func NameFromRepoID(name string) string
- func New(cacheDir string) *cache
- func NewDefaultCache() *cache
- func NewDefaultRegistry() *registry
- func NewRegistry(registryDir, registryURL string) *registry
- func SplitRepoID(name string) (string, string)
- func VersionFromRepoID(name string) string
- type TemplateRegistry
Constants ¶
This section is empty.
Variables ¶
View Source
var Cache *cache = NewDefaultCache()
View Source
var Registry = NewDefaultRegistry()
Functions ¶
func EnsureRepoID ¶
func GetOrInstallTemplateFromRepoID ¶ added in v0.29.1
InstallTemplateFromFQN tries to install a template from a fully qualified name (e.g. name@version)
func MakeRepoID ¶
func NameFromRepoID ¶
func NewDefaultCache ¶
func NewDefaultCache() *cache
NewDefault creates a new template cache with default configuration
func NewDefaultRegistry ¶
func NewDefaultRegistry() *registry
func NewRegistry ¶
func NewRegistry(registryDir, registryURL string) *registry
func SplitRepoID ¶
SplitRepoID splits a qualified name into name and version
func VersionFromRepoID ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.