package
11.1.0+incompatible
Repository: https://github.com/fastly/cli.git
Documentation: pkg.go.dev

# Functions

NewStack constructs a new Stack.

# Structs

Stack models a simple undo stack which consumers can use to store undo stateful functions, such as a function to teardown API state if something goes wrong during procedural commands, for example deleting a Fastly service after it's been created.

# Interfaces

Stacker represents the API of a Stack.

# Type aliases

Fn is a function with no arguments which returns an error or nil.