package
0.11.1
Repository: https://github.com/terramate-io/terramate.git
Documentation: pkg.go.dev

# Functions

Create creates a trigger for a stack with the given path and the given reason inside the project rootdir.
Dir will return the triggers directory for the project rooted at rootdir.
Is checks if the filename is a trigger file and if that's the case then it returns the parsed trigger info and the triggered path.
ParseFile will parse the given trigger file.
StackPath accepts a trigger file path and returns the path of the stack that is triggered by the given file.

# Constants

Supported trigger kinds.
DefaultContext is the default context for the trigger file when not specified.
ErrParsing indicates an error happened while parsing the trigger file.
ErrTrigger indicates an error happened while triggering the stack.
Supported trigger kinds.

# Structs

Info represents the parsed contents of a trigger.

# Type aliases

Kind is the trigger type/kind.