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 ApplyCommand ¶
type ApplyCommand struct { actions.GitHubActionCommand flags.RetryFlags flags.CommonFlags flags.GitHubFlags // contains filtered or unexported fields }
ApplyCommand performs terraform apply on the given working directory.
func (*ApplyCommand) Desc ¶
func (c *ApplyCommand) Desc() string
Desc provides a short, one-line description of the command.
func (*ApplyCommand) Flags ¶
func (c *ApplyCommand) Flags() *cli.FlagSet
func (*ApplyCommand) Help ¶
func (c *ApplyCommand) 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.