Documentation ¶
Index ¶
- Variables
- func CheckRequirement(command string) error
- func CheckRequirements(requirements []string) error
- func DestroyProject(cmd *cobra.Command) error
- func GetAllTemplates(projectDir string) ([]model.Template, error)
- func GetCurrentPulumiUser(projectDir string) (string, error)
- func GetOS() string
- func GetOutputVarsFromOtherProjects() (map[string]interface{}, error)
- func GetOutputVarsWithValuesFromOtherProjects() (map[string]string, error)
- func GetProjectTemplateYaml(projectDir string) (*model.Template, error)
- func GetProjectYaml(projectDir string) (*model.ProjectConfig, error)
- func GetPulumiProjectName(projectDir string) (string, error)
- func GetPulumiProjectVars(projectDir string) ([]string, error)
- func GetPulumiProjectVarsWithValues(projectDir string) (map[string]string, error)
- func GetTemplateProjectYaml(templateDir string) (*model.Templates, error)
- func InitProject(cmd *cobra.Command) error
- func InstallKubectl() error
- func InstallKubectlDarwin() error
- func InstallKubectlLinux() error
- func InstallProject(cmd *cobra.Command) error
- func InstallPrompt(toInstall string) error
- func InstallPulumi() error
- func InstallPulumiUnix() error
- func PopulatePrompts(template *model.Template) error
- func PreparePulumiPath() error
- func SetPropertiesRequired(props []model.TemplateProperty, propNames []string) []model.TemplateProperty
- func SetTemplateProps(template *model.Template) error
- func StartProject(cmd *cobra.Command) error
- func ValidateRequired(input string, required bool, allowEmpty bool) error
- func WriteProjectYaml(projectDir string, config *model.ProjectConfig) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ProjectTemplateYamlFileName = "project.yaml"
View Source
var ProjectYamlFileName = ".gocloud.yaml"
View Source
var PulumiStackRefTempVar = "pulumi_stack_references"
View Source
var TemplatesYamlFileName = "templates.yaml"
Functions ¶
func CheckRequirement ¶
TODO: add input options, if they are set they will be used (like automatically install requirements or so...)
func CheckRequirements ¶
TODO: add input options, if they are set they will be used (like automatically install requirements or so...)
func DestroyProject ¶
func GetCurrentPulumiUser ¶
func GetProjectTemplateYaml ¶
func GetProjectYaml ¶
func GetProjectYaml(projectDir string) (*model.ProjectConfig, error)
func GetPulumiProjectName ¶
func GetPulumiProjectVars ¶
func GetTemplateProjectYaml ¶
func InitProject ¶
func InstallKubectlDarwin ¶
func InstallKubectlDarwin() error
func InstallKubectlLinux ¶
func InstallKubectlLinux() error
func InstallProject ¶
func InstallPrompt ¶
func InstallPulumiUnix ¶
func InstallPulumiUnix() error
func PopulatePrompts ¶
func PreparePulumiPath ¶
func PreparePulumiPath() error
func SetPropertiesRequired ¶
func SetPropertiesRequired(props []model.TemplateProperty, propNames []string) []model.TemplateProperty
func SetTemplateProps ¶
func StartProject ¶
func WriteProjectYaml ¶
func WriteProjectYaml(projectDir string, config *model.ProjectConfig) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.