Documentation ¶
Overview ¶
Package apply provides the Terraform apply functionality for Guardian.
Index ¶
Constants ¶
View Source
const (
CommentPrefix = "**`🔱 Guardian 🔱 APPLY`** -"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplyRunCommand ¶
type ApplyRunCommand struct { cli.BaseCommand flags.GitHubFlags flags.RetryFlags // contains filtered or unexported fields }
ApplyRunCommand is a subcommand of apply and implements the cli.Command interface. It performs terraform apply on the given working directory.
func (*ApplyRunCommand) Desc ¶
func (c *ApplyRunCommand) Desc() string
Desc provides a short, one-line description of the command.
func (*ApplyRunCommand) Flags ¶
func (c *ApplyRunCommand) Flags() *cli.FlagSet
func (*ApplyRunCommand) Help ¶
func (c *ApplyRunCommand) Help() string
Help is the long-form help output to include usage instructions and flag information.
type Config ¶
type Config struct { // GitHub context values ServerURL string // this value is used to generate URLs for creating links in pull request comments RunID int64 RunAttempt int64 }
Config defines the of configuration required for running the apply action.
func (*Config) MapGitHubContext ¶
MapGitHubContext maps values from the GitHub context.
Click to show internal directories.
Click to hide internal directories.