business

package
v0.0.0-...-ac2752c Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const PackageNameFlag = "package_name"
View Source
const PackagePathFlag = "package_path"

Variables

This section is empty.

Functions

func NewConfigService

func NewConfigService(localStorage data.LocalStorage) *configService

func NewTemplateService

func NewTemplateService(remoteStorage data.RemoteStorage, scriptEngine data.ScriptEngine, templateEngine data.TemplateEngine) *templateService

Types

type ConfigService

type ConfigService interface {
	SetAuth(username string, password string) error
	SetDefaultEngine(command string) error
}

type TemplatingService

type TemplatingService interface {
	Pack(remoteUrl string, packagePath string) error
	Unpack(remoteUtl string, packagePath string, flags map[string]string) error
	Render(templatePath string, packagePath string, flags map[string]string) error
}

Jump to

Keyboard shortcuts

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