Documentation
¶
Index ¶
- func BlankFunction(*Config) string
- func BlankFunctionMap(*Config) map[string]string
- func Str(isSuccess bool, success, not string) string
- type Config
- func (c *Config) Environments() (result Environments)
- func (c *Config) Init(console *console.Console)
- func (c *Config) IsEnabled(tID string) bool
- func (c *Config) Libraries() (result Libraries)
- func (c *Config) Models() (result Models)
- func (c *Config) Properties() (result Properties)
- func (c *Config) TemplateClosers() (result TemplateClosers)
- func (c *Config) TemplateFiles() (result TemplateFiles)
- func (c *Config) TemplateRunFunctions() (result TemplateRunFunctions)
- func (c *Config) TemplateSetterFunctions() (result TemplateSetterFunctions)
- func (c *Config) TemplateSetters() (result TemplateSetters)
- type Environment
- type Environments
- type Libraries
- type Library
- type Models
- type Properties
- type Property
- type Template
- type TemplateClosers
- type TemplateFiles
- type TemplateRunFunctions
- type TemplateSetterFunctions
- type TemplateSetters
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BlankFunction ¶ added in v0.1.0
func BlankFunctionMap ¶ added in v0.1.0
Types ¶
type Config ¶ added in v0.1.0
func (*Config) Environments ¶ added in v0.1.0
func (c *Config) Environments() (result Environments)
func (*Config) Properties ¶ added in v0.1.0
func (c *Config) Properties() (result Properties)
func (*Config) TemplateClosers ¶ added in v0.1.2
func (c *Config) TemplateClosers() (result TemplateClosers)
func (*Config) TemplateFiles ¶ added in v0.1.0
func (c *Config) TemplateFiles() (result TemplateFiles)
func (*Config) TemplateRunFunctions ¶ added in v0.1.0
func (c *Config) TemplateRunFunctions() (result TemplateRunFunctions)
func (*Config) TemplateSetterFunctions ¶ added in v0.1.0
func (c *Config) TemplateSetterFunctions() (result TemplateSetterFunctions)
func (*Config) TemplateSetters ¶ added in v0.1.0
func (c *Config) TemplateSetters() (result TemplateSetters)
type Environments ¶ added in v0.1.0
type Environments []*Environment
func (Environments) String ¶ added in v0.1.0
func (env Environments) String() string
endregion region Environments
type Properties ¶ added in v0.1.0
type Properties []*Property
func (Properties) String ¶ added in v0.1.0
func (props Properties) String() string
endregion region Properties
func (Properties) Values ¶ added in v0.1.0
func (props Properties) Values() string
type Template ¶ added in v0.1.0
type Template struct { ID string Name string Package string Dependencies []string Conflicts []string Select []*Template Environments []*Environment Properties []*Property Libraries []*Library Models map[string]string TemplateSetter func(*Config) string TemplateSetterFunction func(*Config) string TemplateRunFunction func(*Config) string TemplateClosers func(*Config) string Templates func(*Config) map[string]string }
type TemplateClosers ¶ added in v0.1.2
type TemplateClosers []string
func (TemplateClosers) String ¶ added in v0.1.2
func (functions TemplateClosers) String() string
endregion region TemplateClosers
type TemplateFiles ¶ added in v0.1.0
type TemplateRunFunctions ¶ added in v0.1.0
type TemplateRunFunctions []string
func (TemplateRunFunctions) String ¶ added in v0.1.0
func (functions TemplateRunFunctions) String() string
endregion region TemplateRunFunctions
type TemplateSetterFunctions ¶ added in v0.1.0
type TemplateSetterFunctions []string
func (TemplateSetterFunctions) String ¶ added in v0.1.0
func (functions TemplateSetterFunctions) String() string
endregion region TemplateSetterFunctions
type TemplateSetters ¶ added in v0.1.0
type TemplateSetters []string
func (TemplateSetters) String ¶ added in v0.1.0
func (functions TemplateSetters) String() string
endregion region TemplateSetters