hooks

package
v0.19.821 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2026 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidHooks

func ValidHooks() []string

Types

type Hooks

type Hooks interface {
	Init(context.Context, string) error

	PreApply(context.Context, hclog.Logger) error
	PostApply(context.Context, hclog.Logger) error
	ErrorApply(context.Context, hclog.Logger) error

	PreDestroy(context.Context, hclog.Logger) error
	PostDestroy(context.Context, hclog.Logger) error
	ErrorDestroy(context.Context, hclog.Logger) error
}

Hooks expose an interface that enables post/pre commands to be executed in a terraform workspace

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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