application

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Name template Name
	Name = "Name"
	// Path template Path
	Path = "Path"

	// AppbootConfig appboot configuration items
	AppbootConfig = "appboot"
	// AppbootPreSH appboot pre script
	AppbootPreSH = "pre.sh"
	// AppbootPostSH appboot post script
	AppbootPostSH = "post.sh"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {
	Name       string
	Path       string
	Template   string
	Parameters string
}

Application data struct

func (*Application) Description

func (app *Application) Description() string

Description application description

func (*Application) GetParameters added in v0.2.0

func (app *Application) GetParameters() (map[string]string, error)

GetParameters get application parameters

func (*Application) GetPostScript

func (app *Application) GetPostScript() string

GetPostScript post script

func (*Application) GetPreScript

func (app *Application) GetPreScript() string

GetPreScript pre script

func (*Application) IsValid

func (app *Application) IsValid() bool

IsValid is it valid

func (*Application) TemplatePath

func (app *Application) TemplatePath() string

TemplatePath application template path

Jump to

Keyboard shortcuts

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