Documentation
¶
Index ¶
- func Apply(td *terradagger.TD, tfOpts terraformcore.TfGlobalOptions, options ApplyOptions) (*dagger.Container, container.Runtime, error)
- func ApplyE(td *terradagger.TD, tfOpts terraformcore.TfGlobalOptions, options ApplyOptions) (string, error)
- func Destroy(td *terradagger.TD, tfOpts terraformcore.TfGlobalOptions, ...) (*dagger.Container, container.Runtime, error)
- func DestroyE(td *terradagger.TD, tfOpts terraformcore.TfGlobalOptions, ...) (string, error)
- func Init(td *terradagger.TD, tfOpts terraformcore.TfGlobalOptions, options InitOptions) (*dagger.Container, container.Runtime, error)
- func InitE(td *terradagger.TD, tfOpts terraformcore.TfGlobalOptions, options InitOptions) (string, error)
- func Plan(td *terradagger.TD, tfOpts terraformcore.TfGlobalOptions, options PlanOptions) (*dagger.Container, container.Runtime, error)
- func PlanE(td *terradagger.TD, tfOpts terraformcore.TfGlobalOptions, options PlanOptions) (string, error)
- type ApplyOptions
- type DestroyOptions
- type InitOptions
- type PlanOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Apply ¶
func Apply(td *terradagger.TD, tfOpts terraformcore.TfGlobalOptions, options ApplyOptions) (*dagger.Container, container.Runtime, error)
func ApplyE ¶ added in v1.2.1
func ApplyE(td *terradagger.TD, tfOpts terraformcore.TfGlobalOptions, options ApplyOptions) (string, error)
func Destroy ¶
func Destroy(td *terradagger.TD, tfOpts terraformcore.TfGlobalOptions, options DestroyOptions) (*dagger.Container, container.Runtime, error)
func DestroyE ¶ added in v1.2.1
func DestroyE(td *terradagger.TD, tfOpts terraformcore.TfGlobalOptions, options DestroyOptions) (string, error)
func Init ¶
func Init(td *terradagger.TD, tfOpts terraformcore.TfGlobalOptions, options InitOptions) (*dagger.Container, container.Runtime, error)
func InitE ¶ added in v1.2.0
func InitE(td *terradagger.TD, tfOpts terraformcore.TfGlobalOptions, options InitOptions) (string, error)
func Plan ¶
func Plan(td *terradagger.TD, tfOpts terraformcore.TfGlobalOptions, options PlanOptions) (*dagger.Container, container.Runtime, error)
func PlanE ¶ added in v1.2.1
func PlanE(td *terradagger.TD, tfOpts terraformcore.TfGlobalOptions, options PlanOptions) (string, error)
Types ¶
type ApplyOptions ¶
type ApplyOptions struct {
// RefreshOnly is a flag to only refresh the state. Equivalent to
// terraform plan -refresh-only
RefreshOnly bool
// TerraformVarFiles is a list of terraform var files to use
TerraformVarFiles []string
// Vars is a list of terraform vars to use
Vars []terraformcore.TFInputVariable
// AutoApprove is a flag to auto approve the plan
AutoApprove bool
}
type DestroyOptions ¶
type DestroyOptions struct {
// RefreshOnly is a flag to only refresh the state. Equivalent to
// terraform plan -refresh-only
RefreshOnly bool
// TerraformVarFiles is a list of terraform var files to use
TerraformVarFiles []string
// Vars is a list of terraform vars to use
Vars []terraformcore.TFInputVariable
// AutoApprove is a flag to auto approve the plan
AutoApprove bool
}
type InitOptions ¶
type PlanOptions ¶
type PlanOptions struct {
// RefreshOnly is a flag to only refresh the state. Equivalent to
// terraform plan -refresh-only
RefreshOnly bool
// TerraformVarFiles is a list of terraform var files to use
TerraformVarFiles []string
// Vars is a list of terraform vars to use
Vars []terraformcore.TFInputVariable
}
Click to show internal directories.
Click to hide internal directories.