Documentation ¶
Index ¶
- func NewTerraformRuntime() (runtime.Runtime, error)
- type TerraformRuntime
- func (t *TerraformRuntime) Apply(ctx context.Context, request *runtime.ApplyRequest) *runtime.ApplyResponse
- func (t *TerraformRuntime) Delete(ctx context.Context, request *runtime.DeleteRequest) *runtime.DeleteResponse
- func (t *TerraformRuntime) Read(ctx context.Context, request *runtime.ReadRequest) *runtime.ReadResponse
- func (t *TerraformRuntime) Watch(ctx context.Context, request *runtime.WatchRequest) *runtime.WatchResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTerraformRuntime ¶
Types ¶
type TerraformRuntime ¶
type TerraformRuntime struct {
tfops.WorkspaceStore
}
func (*TerraformRuntime) Apply ¶
func (t *TerraformRuntime) Apply(ctx context.Context, request *runtime.ApplyRequest) *runtime.ApplyResponse
Apply terraform apply resource
func (*TerraformRuntime) Delete ¶
func (t *TerraformRuntime) Delete(ctx context.Context, request *runtime.DeleteRequest) *runtime.DeleteResponse
Delete terraform resource and remove workspace
func (*TerraformRuntime) Read ¶
func (t *TerraformRuntime) Read(ctx context.Context, request *runtime.ReadRequest) *runtime.ReadResponse
Read terraform show state
func (*TerraformRuntime) Watch ¶
func (t *TerraformRuntime) Watch(ctx context.Context, request *runtime.WatchRequest) *runtime.WatchResponse
Watch terraform resource
Click to show internal directories.
Click to hide internal directories.