Documentation ¶
Index ¶
- func NewTerraformRuntime(spec apiv1.Spec) (runtime.Runtime, error)
- type CLIInstaller
- type Runtime
- func (t *Runtime) Apply(ctx context.Context, request *runtime.ApplyRequest) *runtime.ApplyResponse
- func (t *Runtime) Delete(ctx context.Context, request *runtime.DeleteRequest) (res *runtime.DeleteResponse)
- func (t *Runtime) Import(ctx context.Context, request *runtime.ImportRequest) *runtime.ImportResponse
- func (t *Runtime) Read(ctx context.Context, request *runtime.ReadRequest) *runtime.ReadResponse
- func (t *Runtime) Watch(ctx context.Context, request *runtime.WatchRequest) *runtime.WatchResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CLIInstaller ¶ added in v0.11.0
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 (t *Runtime) Import(ctx context.Context, request *runtime.ImportRequest) *runtime.ImportResponse
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
Click to show internal directories.
Click to hide internal directories.