repository

package
v0.0.0-...-3dc5271 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 20, 2017 License: Apache-2.0 Imports: 6 Imported by: 3

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL