plan

package
v2.2.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PollingIntervalSeconds time.Duration = 10

overridden in tests to speed them up

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

type PlanError struct {
	*tfe.Plan

	Message string
}

func (PlanError) Error

func (p PlanError) Error() string

Jump to

Keyboard shortcuts

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