utils

package
v0.0.0-...-c867f56 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2022 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildDeploymentCanonical

func BuildDeploymentCanonical(usecase, service string) string

func BuildDeploymentFolderPath

func BuildDeploymentFolderPath(canonical string) (string, error)

func BuildStaticFolderPath

func BuildStaticFolderPath() (string, error)

func BuildTemplatesFolderPath

func BuildTemplatesFolderPath() (string, error)

func GeneratePassword

func GeneratePassword(seed int64) string

func GetAdminCredentials

func GetAdminCredentials(st models.Type, host string) (string, string)

func InstallTerraform

func InstallTerraform(cfg *config.Config)

in case no terraform executable path was provided we will install it and pass the new executable path to the config

func ReadDir

func ReadDir(dpath string) []string

Types

type Interpolator

type Interpolator struct {
	Name        string
	Count       int
	DownloadURL string
	Version     string
	AdminPass   string
	DbPass      string
	PluginURLs  []string
}

func (*Interpolator) Interpolate

func (i *Interpolator) Interpolate(data []byte) []byte

Jump to

Keyboard shortcuts

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