Documentation ¶
Index ¶
- Constants
- type Config
- type LocalStore
- func (l *LocalStore) GetLatestTemplate(name string) *template.AppTemplate
- func (l *LocalStore) GetTemplate(name, version string) *template.AppTemplate
- func (l *LocalStore) ListAppTemplates()
- func (l *LocalStore) Load() error
- func (l *LocalStore) LoadTemplate(path string) error
- func (l *LocalStore) SearchTemplates(name string) []*template.AppTemplate
- func (l *LocalStore) SyncTemplates()
- func (l *LocalStore) UnloadTemplate(path string)
Constants ¶
View Source
const (
Name = "local"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Directory string `yaml:"directory"`
}
func (*Config) RegisterFlags ¶
type LocalStore ¶
type LocalStore struct { *services.BasicService // contains filtered or unexported fields }
func (*LocalStore) GetLatestTemplate ¶
func (l *LocalStore) GetLatestTemplate(name string) *template.AppTemplate
func (*LocalStore) GetTemplate ¶
func (l *LocalStore) GetTemplate(name, version string) *template.AppTemplate
func (*LocalStore) ListAppTemplates ¶
func (l *LocalStore) ListAppTemplates()
func (*LocalStore) Load ¶
func (l *LocalStore) Load() error
func (*LocalStore) LoadTemplate ¶
func (l *LocalStore) LoadTemplate(path string) error
func (*LocalStore) SearchTemplates ¶
func (l *LocalStore) SearchTemplates(name string) []*template.AppTemplate
func (*LocalStore) SyncTemplates ¶
func (l *LocalStore) SyncTemplates()
func (*LocalStore) UnloadTemplate ¶
func (l *LocalStore) UnloadTemplate(path string)
Click to show internal directories.
Click to hide internal directories.