terraform

package
v0.12.1-rc.3 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2024 License: Apache-2.0 Imports: 19 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTerraformRuntime

func NewTerraformRuntime(spec apiv1.Spec) (runtime.Runtime, error)

Types

type CLIInstaller added in v0.11.0

type CLIInstaller struct {
	Intent *apiv1.Spec
}

func (*CLIInstaller) CheckAndInstall added in v0.11.0

func (installer *CLIInstaller) CheckAndInstall() error

Check and install the terraform executable binary if it has not been downloaded.

type Runtime added in v0.12.1

type Runtime struct {
	// contains filtered or unexported fields
}

func (*Runtime) Apply added in v0.12.1

func (t *Runtime) Apply(ctx context.Context, request *runtime.ApplyRequest) *runtime.ApplyResponse

Apply Terraform resource

func (*Runtime) Delete added in v0.12.1

func (t *Runtime) Delete(ctx context.Context, request *runtime.DeleteRequest) (res *runtime.DeleteResponse)

Delete terraform resource and remove workspace

func (*Runtime) Import added in v0.12.1

func (*Runtime) Read added in v0.12.1

func (t *Runtime) Read(ctx context.Context, request *runtime.ReadRequest) *runtime.ReadResponse

Read terraform show state

func (*Runtime) Watch added in v0.12.1

func (t *Runtime) Watch(ctx context.Context, request *runtime.WatchRequest) *runtime.WatchResponse

Watch terraform resource

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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