Versions in this module Expand all Collapse all v1 v1.4.0 Mar 10, 2023 Changes in this version + type JSONLog struct + Diagnostic *viewsjson.Diagnostic + Hook map[string]interface{} + Message string + Outputs viewsjson.Outputs + Type JSONLogType + type JSONLogType string + const LogApplyComplete + const LogApplyErrored + const LogApplyStart + const LogChangeSummary + const LogDiagnostic + const LogOutputs + const LogPlannedChange + const LogProvisionComplete + const LogProvisionErrored + const LogProvisionProgress + const LogProvisionStart + const LogRefreshComplete + const LogRefreshStart + const LogVersion + type Plan struct + OutputChanges map[string]jsonplan.Change + PlanFormatVersion string + ProviderFormatVersion string + ProviderSchemas map[string]*jsonprovider.Provider + RelevantAttributes []jsonplan.ResourceAttr + ResourceChanges []jsonplan.ResourceChange + ResourceDrift []jsonplan.ResourceChange + type PlanRendererOpt int + const CanNotApply + const Errored + type Renderer struct + Colorize *colorstring.Colorize + RunningInAutomation bool + Streams *terminal.Streams + func (r Renderer) RenderLog(log *JSONLog) error + func (renderer Renderer) RenderHumanPlan(plan Plan, mode plans.Mode, opts ...PlanRendererOpt) + func (renderer Renderer) RenderHumanState(state State) + type State struct + ProviderFormatVersion string + ProviderSchemas map[string]*jsonprovider.Provider + RootModule jsonstate.Module + RootModuleOutputs map[string]jsonstate.Output + StateFormatVersion string + func (state State) Empty() bool + func (state State) GetSchema(resource jsonstate.Resource) *jsonprovider.Schema