Documentation
¶
Index ¶
- Variables
- func GenerateFromTemplate(data *template.Data) error
- func GetMassdriverArtifacts() ([]string, error)
- func PackageApplication(appPath string, c *client.MassdriverClient, workingDir string, buf io.Writer) (*bundle.Bundle, error)
- func RunPrompt(t *template.Data) error
- func RunPromptNew(t *template.Data) error
- type Application
- type ChartYAML
- type Dependencies
- type DependenciesEnvs
- type Deployment
Constants ¶
This section is empty.
Variables ¶
View Source
var MassdriverArtifacts = []string{
"aws-dynamodb-table",
"aws-efs-file-system",
"aws-eventbridge",
"aws-iam-role",
"aws-s3-bucket",
"aws-sns-topic",
"aws-sqs-queue",
"aws-vpc",
"azure-data-lake-storage",
"azure-databricks-workspace",
"azure-service-principal",
"azure-virtual-network",
"draft-node",
"elasticsearch-authentication",
"env-file",
"gcp-bucket-https",
"gcp-cloud-function",
"gcp-firebase-authentication",
"gcp-global-network",
"gcp-pubsub-subscription",
"gcp-pubsub-topic",
"gcp-service-account",
"gcp-subnetwork",
"kafka-authentication",
"kubernetes-cluster",
"kubernetes-cluster",
"mongo-authentication",
"mysql-authentication",
"postgresql-authentication",
"redis-authentication",
}
View Source
var SimpleParams = `` /* 3452-byte string literal not displayed */
View Source
var SimpleUI = `` /* 375-byte string literal not displayed */
Functions ¶
func GenerateFromTemplate ¶ added in v0.2.0
func GetMassdriverArtifacts ¶ added in v0.2.1
func PackageApplication ¶ added in v0.0.3
func RunPromptNew ¶ added in v0.2.0
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 Deployment `json:"deployment" yaml:"deployment"`
Params map[string]interface{} `json:"params" yaml:"params"`
Dependencies map[string]Dependencies `json:"dependencies" yaml:"dependencies"`
}
func Parse ¶
func Parse(path string) (*Application, error)
func (*Application) ConvertToBundle ¶
func (app *Application) ConvertToBundle() (*bundle.Bundle, error)
type Dependencies ¶ added in v0.1.0
type Dependencies struct {
Type string `json:"type" yaml:"type"`
Required bool `json:"required,omitempty" yaml:"required,omitempty"`
Envs []DependenciesEnvs `json:"envs" yaml:"envs"`
Policies []string `json:"policies,omitempty" yaml:"policies,omitempty"`
}
type DependenciesEnvs ¶ added in v0.1.0
Click to show internal directories.
Click to hide internal directories.