Documentation
¶
Index ¶
- Variables
- func Generate(data *ApplicationTemplateData) error
- func PackageApplication(appPath string, c *client.MassdriverClient, workingDir string, buf io.Writer) (*bundle.Bundle, error)
- func RunPrompt(t *ApplicationTemplateData) error
- type Application
- type ApplicationDependencies
- type ApplicationDependenciesEnvs
- type ApplicationDeployment
- type ApplicationTemplateData
- type ChartYaml
Constants ¶
This section is empty.
Variables ¶
View Source
var MASSDRIVER_HELM_CHART_REPOSITORY = "https://massdriver-cloud.github.io/helm-charts"
View Source
var MASSDRIVER_URL string = "https://api.massdriver.cloud/"
View Source
var SimpleParams = `` /* 3452-byte string literal not displayed */
View Source
var SimpleUi = `` /* 375-byte string literal not displayed */
Functions ¶
func Generate ¶ added in v0.0.6
func Generate(data *ApplicationTemplateData) error
func PackageApplication ¶ added in v0.0.3
func RunPrompt ¶ added in v0.0.6
func RunPrompt(t *ApplicationTemplateData) error
Types ¶
type Application ¶
type Application struct { Schema string `json:"schema" yaml:"schema"` Name string `json:"name" yaml:"name"` Description string `json:"description" yaml:"description"` Ref string `json:"ref" yaml:"ref"` Access string `json:"access" yaml:"access"` Deployment ApplicationDeployment `json:"deployment" yaml:"deployment"` Params map[string]interface{} `json:"params" yaml:"params"` Dependencies []ApplicationDependencies `json:"dependencies" yaml:"dependencies"` }
func Parse ¶
func Parse(path string) (*Application, error)
func (*Application) ConvertToBundle ¶
func (app *Application) ConvertToBundle() *bundle.Bundle
type ApplicationDependencies ¶
type ApplicationDependencies struct { Type string `json:"type" yaml:"type"` Field string `json:"field" yaml:"field"` Required bool `json:"required,omitempty" yaml:"required,omitempty"` Envs []ApplicationDependenciesEnvs `json:"envs" yaml:"envs"` Policies []string `json:"policies,omitempty" yaml:"policies,omitempty"` }
type ApplicationDeployment ¶
type ApplicationTemplateData ¶ added in v0.0.6
Click to show internal directories.
Click to hide internal directories.