Documentation ¶ Index ¶ func Confirm(resourceID, confirmFlag string, isTTY, noInput bool, ...) error func HasScope(scopes []string, required string) bool func RequireLive(environment string, liveFlag bool) error func RequireSandbox(environment string) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Confirm ¶ func Confirm(resourceID, confirmFlag string, isTTY, noInput bool, prompt func(string) (string, error)) error func HasScope ¶ added in v0.1.2 func HasScope(scopes []string, required string) bool func RequireLive ¶ func RequireLive(environment string, liveFlag bool) error func RequireSandbox ¶ func RequireSandbox(environment string) error Types ¶ This section is empty. Source Files ¶ View all Source files guard.go Click to show internal directories. Click to hide internal directories.