Documentation
¶
Index ¶
- Variables
- func Provider() terraform.ResourceProvider
- func RandomSafeString(length int) string
- func RandomString(length int) string
- func RandomStringWithCharset(length int, charset string) string
- type ChangeMap
- type CommandTemplates
- type CommandsConfig
- type EnvironmentConfig
- type LoggedOutput
- type Logger
- type Logging
- type Operation
- type OutputConfig
- type ProviderConfig
- type ResourceConfig
- type Scripted
- type TemplateContext
- type TemplatesConfig
Constants ¶
This section is empty.
Variables ¶
View Source
var EmptyString = `ZVaXr3jCd80vqJRhBP9t83LrpWIdNKWJ` // String representing empty value, can be set to anything (eg. generate random each time)
View Source
var Stderr = os.Stderr
Store original os.Stderr and os.Stdout, because it gets overwritten by go-plugin/server:Serve()
View Source
var Stdout = os.Stdout
View Source
var TemplateFuncs = getTemplateFuncs()
View Source
var ValidLevelsStrings = []string{"TRACE", "DEBUG", "INFO", "WARN", "ERROR"}
Functions ¶
func Provider ¶
func Provider() terraform.ResourceProvider
func RandomSafeString ¶
func RandomString ¶
func RandomStringWithCharset ¶
Types ¶
type CommandTemplates ¶
type CommandsConfig ¶
type CommandsConfig struct {
Environment *EnvironmentConfig
Templates *CommandTemplates
Output *OutputConfig
CreateAfterUpdate bool
DeleteBeforeUpdate bool
DeleteOnNotExists bool
DeleteOnReadFailure bool
Separator string
WorkingDirectory string
}
type EnvironmentConfig ¶
type LoggedOutput ¶
type LoggedOutput struct {
// contains filtered or unexported fields
}
func (*LoggedOutput) Close ¶
func (lo *LoggedOutput) Close()
func (*LoggedOutput) Start ¶
func (lo *LoggedOutput) Start() *os.File
type ProviderConfig ¶
type ProviderConfig struct {
Commands *CommandsConfig
Logging *Logging
Templates *TemplatesConfig
EmptyString string
LoggingBufferSize int64
OutputLinePrefix string
OutputFormat string
StateFormat string
StateLinePrefix string
}
type ResourceConfig ¶
type Scripted ¶
type Scripted struct {
// contains filtered or unexported fields
}
func (*Scripted) Environment ¶
type TemplateContext ¶
type TemplatesConfig ¶
Click to show internal directories.
Click to hide internal directories.