plan

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2021 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 a 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