Documentation
¶
Index ¶
Constants ¶
View Source
const NODE_VERSION = "18"
NODE_VERSION Default node version running the React app
View Source
const PORT string = "3000"
PORT Default port of React app
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { DistSource string `mapstructure:"distSource" required:"true"` SslCertBase64 string `mapstructure:"sslCertBase64" required:"true"` SslCertKeyBase64 string `mapstructure:"sslCertKeyBase64" required:"true"` AppDomain string `mapstructure:"appDomain" required:"true"` NodeVersion string `mapstructure:"nodeVersion" required:"false"` HomeDir string `mapstructure:"homeDir" required:"false"` // contains filtered or unexported fields }
type FlatConfig ¶
type FlatConfig struct { DistSource *string `mapstructure:"distSource" required:"true" cty:"distSource" hcl:"distSource"` SslCertBase64 *string `mapstructure:"sslCertBase64" required:"true" cty:"sslCertBase64" hcl:"sslCertBase64"` SslCertKeyBase64 *string `mapstructure:"sslCertKeyBase64" required:"true" cty:"sslCertKeyBase64" hcl:"sslCertKeyBase64"` AppDomain *string `mapstructure:"appDomain" required:"true" cty:"appDomain" hcl:"appDomain"` NodeVersion *string `mapstructure:"nodeVersion" required:"false" cty:"nodeVersion" hcl:"nodeVersion"` HomeDir *string `mapstructure:"homeDir" required:"false" cty:"homeDir" hcl:"homeDir"` }
FlatConfig is an auto-generated flat version of Config. Where the contents of a field with a `mapstructure:,squash` tag are bubbled up.
type Provisioner ¶
type Provisioner struct {
// contains filtered or unexported fields
}
func (*Provisioner) ConfigSpec ¶
func (p *Provisioner) ConfigSpec() hcldec.ObjectSpec
func (*Provisioner) Prepare ¶
func (p *Provisioner) Prepare(raws ...interface{}) error
Click to show internal directories.
Click to hide internal directories.