plan

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2022 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatResourceChanges

func FormatResourceChanges(p *tfe.Plan) string

func IsPlanFinished

func IsPlanFinished(p *tfe.Plan) bool

func WatchPlan

func WatchPlan(ctx context.Context, client *tfe.Client, planId string) error

WatchRun periodically checks the Run and returns when it is finished, errored, or waiting for confirmation

Types

type PlanError added in v1.3.0

type PlanError struct {
	*tfe.Plan

	Message string
}

func (PlanError) Error added in v1.3.0

func (p PlanError) Error() string

Jump to

Keyboard shortcuts

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