Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileTemplateRepository ¶
type FileTemplateRepository struct{}
FileTemplateRepository load template from local file system.
func (*FileTemplateRepository) GetTemplate ¶
func (p *FileTemplateRepository) GetTemplate(path string) (*topology.ServiceTemplate, error)
type HttpTemplateRepository ¶
type HttpTemplateRepository struct{}
HttpTemplateRepository load template from remote server
func (*HttpTemplateRepository) GetTemplate ¶
func (p *HttpTemplateRepository) GetTemplate(path string) (*topology.ServiceTemplate, error)
type TemplateRepository ¶
type TemplateRepository interface { // GetTemplate load template from storage GetTemplate(path string) (*topology.ServiceTemplate, error) }
TemplateRepository manage all templates
Click to show internal directories.
Click to hide internal directories.