Versions in this module Expand all Collapse all v2 v2.2.13 Dec 1, 2021 v2.2.12 Nov 18, 2021 v2.2.11 Nov 1, 2021 Changes in this version type AppRuntime + Xdebug AppRuntimeXdebug + type AppRuntimeXdebug struct + IdeKey string + func (d *AppRuntimeXdebug) SetDefaults() + func (d AppRuntimeXdebug) Validate(root *App) []error v2.2.10 Aug 23, 2021 v2.2.9 Aug 20, 2021 v2.2.8 Aug 18, 2021 Changes in this version type BoolString + func (d BoolString) IsSet() bool v2.2.7 Aug 2, 2021 v2.2.6 May 18, 2021 Changes in this version + const AppDir + func AssertEqual(actual interface{}, expected interface{}, msg string, t *testing.T) + func InterfaceToString(v interface{}) string + func NewValidateError(key string, msg string) error + func RoutesToMap(routes []Route) map[string]Route + type App struct + Build AppBuild + Crons map[string]*AppCron + Dependencies AppDependencies + Disk int + Hooks AppHooks + Mounts map[string]*AppMount + Name string + Path string + Relationships map[string]string + Runtime AppRuntime + Size string + Type string + Variables Variables + Web AppWeb + Workers map[string]*AppWorker + func ParseAppYamlFiles(fileList []string, global *GlobalConfig) (*App, error) + func ParseAppYamls(d [][]byte, global *GlobalConfig) (*App, error) + func (d *App) SetDefaults() + func (d App) GetEmptyRelationship() map[string]interface{} + func (d App) GetTypeName() string + func (d App) Validate() []error + type AppBuild struct + Flavor string + func (d *AppBuild) SetDefaults() + func (d AppBuild) Validate(root *App) []error + type AppCron struct + Command string + Spec string + func (d *AppCron) SetDefaults() + func (d AppCron) Validate(root *App) []error + type AppDependencies struct + NodeJS map[string]string + PHP AppDependenciesPhp + Python2 map[string]string + Python3 map[string]string + func (d *AppDependencies) SetDefaults() + func (d AppDependencies) Validate(root *App) []error + type AppDependenciesPhp struct + Repositories []*AppDependenciesPhpRepository + Require map[string]string + func (d *AppDependenciesPhp) SetDefaults() + func (d *AppDependenciesPhp) UnmarshalYAML(unmarshal func(interface{}) error) error + func (d AppDependenciesPhp) Validate(root *App) []error + type AppDependenciesPhpRepository struct + Type string + URL string + func (d *AppDependenciesPhpRepository) SetDefaults() + func (d AppDependenciesPhpRepository) Validate(root *App) []error + type AppHooks struct + Build string + Deploy string + PostDeploy string + func (d *AppHooks) SetDefaults() + func (d AppHooks) Validate(root *App) []error + type AppMount struct + Service string + Source string + SourcePath string + func (d *AppMount) SetDefaults() + func (d *AppMount) UnmarshalYAML(unmarshal func(interface{}) error) error + func (d AppMount) Validate(root *App) []error + type AppRuntime struct + DisabledExtensions []string + Extensions []*AppRuntimeExtension + RequestTerminateTimeout int + func (d *AppRuntime) SetDefaults() + func (d AppRuntime) Validate(root *App) []error + type AppRuntimeExtension struct + Configuration map[string]string + Name string + func (d *AppRuntimeExtension) SetDefaults() + func (d *AppRuntimeExtension) UnmarshalYAML(unmarshal func(interface{}) error) error + func (d AppRuntimeExtension) Validate(root *App) []error + type AppWeb struct + Commands AppWebCommands + Locations map[string]*AppWebLocation + MoveToRoot bool + Upstream AppWebUpstream + func (d *AppWeb) SetDefaults() + func (d AppWeb) Validate(root *App) []error + type AppWebCommands struct + Start string + func (d *AppWebCommands) SetDefaults() + func (d AppWebCommands) Validate(root *App) []error + type AppWebLocation struct + Allow Bool + Expires string + Headers map[string]string + Index []string + Passthru BoolString + RequestBuffering AppWebLocationRequestBuffering + Root string + Rules map[string]*AppWebLocation + Scripts Bool + func (d *AppWebLocation) SetDefaults() + func (d AppWebLocation) Validate(root *App) []error + type AppWebLocationRequestBuffering struct + Enabled Bool + MaxRequestSize string + func (d *AppWebLocationRequestBuffering) SetDefaults() + func (d AppWebLocationRequestBuffering) Validate(root *App) []error + type AppWebUpstream struct + Protocol string + SocketFamily string + func (d *AppWebUpstream) SetDefaults() + func (d AppWebUpstream) Validate(root *App) []error + type AppWorker struct + Commands AppWorkersCommands + Dependencies AppDependencies + Disk int + Mounts map[string]*AppMount + Name string + ParentApp string + Path string + Relationships map[string]string + Runtime AppRuntime + Size string + Type string + Variables Variables + func (d *AppWorker) SetDefaults() + func (d AppWorker) GetTypeName() string + func (d AppWorker) Validate(root *App) []error + type AppWorkersCommands struct + Start string + func (d *AppWorkersCommands) SetDefaults() + func (d AppWorkersCommands) Validate(root *App) []error + type Bool struct + DefaultValue bool + func (d *Bool) SetDefaults() + func (d *Bool) UnmarshalJSON(data []byte) error + func (d *Bool) UnmarshalYAML(unmarshal func(interface{}) error) error + func (d Bool) Get() bool + func (d Bool) MarshalJSON() ([]byte, error) + type BoolString struct + func (d *BoolString) MarshalJSON() ([]byte, error) + func (d *BoolString) SetDefaults() + func (d *BoolString) UnmarshalYAML(unmarshal func(interface{}) error) error + func (d BoolString) GetBool() bool + func (d BoolString) GetString() string + func (d BoolString) IsString() bool + type GlobalConfig struct + Flags []string + Options map[string]string + Router struct{ ... } + Variables Variables + func (d *GlobalConfig) SetDefaults() + func (d GlobalConfig) Validate() []error + type Route struct + Attributes map[string]string + Cache RouteCache + Disable bool + ID string + OriginalURL string + Path string + Primary Bool + Redirects RouteRedirects + SSI RoutesSsi + To string + Type string + Upstream string + func ExpandRoutes(inRoutes []Route, internalDomainSuffix string) ([]Route, error) + func ParseRoutesYaml(d []byte) ([]Route, error) + func ParseRoutesYamlFile(f string) ([]Route, error) + func ParseRoutesYamlFiles(fileList []string) ([]Route, error) + func (d *Route) SetDefaults() + func (d Route) Validate() []error + type RouteCache struct + Cookies []string + DefaultTTL int + Enabled Bool + Headers []string + func (d *RouteCache) SetDefaults() + func (d RouteCache) Validate(root *Route) []error + type RouteRedirects struct + Expires string + Paths map[string]*RouteRedirectsPath + func (d *RouteRedirects) SetDefaults() + func (d RouteRedirects) Validate(root *Route) []error + type RouteRedirectsPath struct + AppendSuffix Bool + Code int + Expires string + Prefix Bool + Regexp Bool + To string + func (d *RouteRedirectsPath) SetDefaults() + func (d RouteRedirectsPath) Validate(root *Route) []error + type RoutesSsi struct + Enabled Bool + func (d *RoutesSsi) SetDefaults() + func (d RoutesSsi) Validate(root *Route) []error + type Service struct + Configuration ServiceConfiguration + Disable bool + Disk int + Name string + Relationships map[string]string + Type string + func ParseServiceYamlFiles(fileList []string) ([]Service, error) + func ParseServiceYamls(d [][]byte) ([]Service, error) + func (d *Service) SetDefaults() + func (d Service) GetEmptyRelationship() map[string]interface{} + func (d Service) GetTypeName() string + func (d Service) Validate() []error + type ServiceConfiguration map[string]interface + func (d *ServiceConfiguration) UnmarshalYAML(value *yaml.Node) error + func (d ServiceConfiguration) IsAuthenticationEnabled() bool + type ValidateError struct + func (d *ValidateError) Error() string + type Variables map[string]interface + func (v *Variables) Delete(key string) + func (v *Variables) Merge(m Variables) + func (v *Variables) Set(key string, value interface{}) error + func (v *Variables) UnmarshalJSON(data []byte) error + func (v *Variables) UnmarshalYAML(unmarshal func(interface{}) error) error + func (v Variables) Get(name string) interface{} + func (v Variables) GetString(name string) string + func (v Variables) GetStringSubMap(name string) map[string]string + func (v Variables) GetSubMap(name string) map[string]interface{} + func (v Variables) Keys() []string + type YamlMerge map[string]interface + func (m *YamlMerge) UnmarshalYAML(value *yaml.Node) error