Versions in this module Expand all Collapse all v0 v0.1.0 Jun 11, 2024 Changes in this version + const LockHCLFile + func ConvertTFState(tfState *StateRepresentation, providerAddr string) v1.Resource + func TFError(infos []byte) error + type Change struct + Actions []string + After json.RawMessage + AfterSensitive json.RawMessage + AfterUnknown json.RawMessage + Before json.RawMessage + BeforeSensitive json.RawMessage + ReplacePaths json.RawMessage + type Diagnostic struct + Detail string + Range *Range + Severity string + Snippet *Snippet + Summary string + type InstanceKey interface + String func() string + Value func() cty.Value + type PlanRepresentation struct + Checks json.RawMessage + Config json.RawMessage + FormatVersion string + OutputChanges map[string]Change + PlannedValues stateValues + PriorState json.RawMessage + RelevantAttributes []ResourceAttr + ResourceChanges []ResourceChange + ResourceDrift []ResourceChange + TerraformVersion string + Variables variables + type Pos struct + Byte int + Column int + Line int + type Range struct + End Pos + Filename string + Start Pos + type ResourceAttr struct + Attr json.RawMessage + Resource string + type ResourceChange struct + ActionReason string + Address string + Change Change + Deposed string + Index json.RawMessage + Mode string + ModuleAddress string + Name string + PreviousAddress string + ProviderName string + Type string + type Snippet struct + Code string + Context string + HighlightEndOffset int + HighlightStartOffset int + StartLine int + Values []interface{} + type StateRepresentation struct + FormatVersion string + TerraformVersion string + Values *stateValues + type TerraformInfo struct + Diagnostic Diagnostic + Level string + Message string + Module string + Timestamp time.Time + Type string + type WorkSpace struct + func NewWorkSpace(fs afero.Afero) *WorkSpace + func (w *WorkSpace) Apply(ctx context.Context) (*StateRepresentation, error) + func (w *WorkSpace) CleanAndInitWorkspace(ctx context.Context) error + func (w *WorkSpace) Destroy(ctx context.Context) error + func (w *WorkSpace) GetProvider() (string, error) + func (w *WorkSpace) InitWorkSpace(ctx context.Context) error + func (w *WorkSpace) Plan(ctx context.Context) (*PlanRepresentation, error) + func (w *WorkSpace) RefreshOnly(ctx context.Context) (*StateRepresentation, error) + func (w *WorkSpace) SetCacheDir(cacheDir string) + func (w *WorkSpace) SetFS(fs afero.Afero) + func (w *WorkSpace) SetResource(resource *v1.Resource) + func (w *WorkSpace) SetStackDir(stackDir string) + func (w *WorkSpace) ShowPlan(ctx context.Context) (*PlanRepresentation, error) + func (w *WorkSpace) ShowState(ctx context.Context) (*StateRepresentation, error) + func (w *WorkSpace) WriteHCL() error + func (w *WorkSpace) WriteTFState(priorState *v1.Resource) error