service

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: 17 Imported by: 0

Documentation

Index

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

func CheckRequirement(command string) error

TODO: add input options, if they are set they will be used (like automatically install requirements or so...)

func CheckRequirements

func CheckRequirements(requirements []string) error

TODO: add input options, if they are set they will be used (like automatically install requirements or so...)

func DestroyProject

func DestroyProject(cmd *cobra.Command) error

func GetAllTemplates

func GetAllTemplates(projectDir string) ([]model.Template, error)

func GetCurrentPulumiUser

func GetCurrentPulumiUser(projectDir string) (string, error)

func GetOS

func GetOS() string

func GetOutputVarsFromOtherProjects

func GetOutputVarsFromOtherProjects() (map[string]interface{}, error)

func GetOutputVarsWithValuesFromOtherProjects

func GetOutputVarsWithValuesFromOtherProjects() (map[string]string, error)

func GetProjectTemplateYaml

func GetProjectTemplateYaml(projectDir string) (*model.Template, error)

func GetProjectYaml

func GetProjectYaml(projectDir string) (*model.ProjectConfig, error)

func GetPulumiProjectName

func GetPulumiProjectName(projectDir string) (string, error)

func GetPulumiProjectVars

func GetPulumiProjectVars(projectDir string) ([]string, error)

func GetPulumiProjectVarsWithValues

func GetPulumiProjectVarsWithValues(projectDir string) (map[string]string, error)

func GetTemplateProjectYaml

func GetTemplateProjectYaml(templateDir string) (*model.Templates, error)

func InitProject

func InitProject(cmd *cobra.Command) error

func InstallKubectl

func InstallKubectl() error

kubectl

func InstallKubectlDarwin

func InstallKubectlDarwin() error

func InstallKubectlLinux

func InstallKubectlLinux() error

func InstallProject

func InstallProject(cmd *cobra.Command) error

func InstallPrompt

func InstallPrompt(toInstall string) error

func InstallPulumi

func InstallPulumi() error

pulumi

func InstallPulumiUnix

func InstallPulumiUnix() error

func PopulatePrompts

func PopulatePrompts(template *model.Template) error

func PreparePulumiPath

func PreparePulumiPath() error

func SetPropertiesRequired

func SetPropertiesRequired(props []model.TemplateProperty, propNames []string) []model.TemplateProperty

func SetTemplateProps

func SetTemplateProps(template *model.Template) error

func StartProject

func StartProject(cmd *cobra.Command) error

func ValidateRequired

func ValidateRequired(input string, required bool, allowEmpty bool) error

func WriteProjectYaml

func WriteProjectYaml(projectDir string, config *model.ProjectConfig) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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