model

package
v0.0.0-...-dd99716 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProjectConfig

type ProjectConfig struct {
	InstallScripts []TemplateScript `yaml:"install_script"`
	UpScripts      []TemplateScript `yaml:"up_script"`
	DownScripts    []TemplateScript `yaml:"down_script"`
}

type PropertyValue

type PropertyValue struct {
	Value                   interface{}
	IsPulumiOutput          bool
	PulumiStackReferenceVar string
	PulumiOutputVar         string
}

type PulumiYaml

type PulumiYaml struct {
	Name string `yaml:"name"`
}

type StackReference

type StackReference struct {
	Reference string
	VarName   string
}

type Template

type Template struct {
	Folder         string
	Name           string             `yaml:"name"`
	Description    string             `yaml:"description"`
	Requirements   []string           `yaml:"requirements"`
	InstallScripts []TemplateScript   `yaml:"install_script"`
	UpScripts      []TemplateScript   `yaml:"up_script"`
	DownScripts    []TemplateScript   `yaml:"down_script"`
	Properties     []TemplateProperty `yaml:"properties"`
	PropertyValues map[string]interface{}
}

type TemplateProject

type TemplateProject struct {
	Name   string `yaml:"name"`
	Title  string `yaml:"title"`
	Folder string `yaml:"folder"`
}

type TemplateProperty

type TemplateProperty struct {
	Name                  string   `yaml:"name"`
	Type                  string   `yaml:"type"`
	Description           string   `yaml:"description"`
	Required              bool     `yaml:"required"`
	AllowEmpty            bool     `yaml:"allowEmpty"`
	CanHaveOutputVarValue bool     `yaml:"canHaveOutputVarValue"`
	Requires              []string `yaml:"requires"`
	Prompt                *promptui.Prompt
}

type TemplateScript

type TemplateScript struct {
	OS     string `yaml:"os"`
	Script string `yaml:"script"`
}

type Templates

type Templates struct {
	Projects []TemplateProject `yaml:"projects"`
}

Jump to

Keyboard shortcuts

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