Documentation ¶
Overview ¶
Package provides worklow helper functionality for Guardian.
Package provides worklow helper functionality for Guardian.
Package provides worklow helper functionality for Guardian.
Index ¶
- type PlanStatusCommentCommand
- func (c *PlanStatusCommentCommand) Desc() string
- func (c *PlanStatusCommentCommand) Flags() *cli.FlagSet
- func (c *PlanStatusCommentCommand) Help() string
- func (c *PlanStatusCommentCommand) Process(ctx context.Context) error
- func (c *PlanStatusCommentCommand) Run(ctx context.Context, args []string) error
- type PlanStatusCommentsConfig
- type RemovePlanCommentsCommand
- func (c *RemovePlanCommentsCommand) Desc() string
- func (c *RemovePlanCommentsCommand) Flags() *cli.FlagSet
- func (c *RemovePlanCommentsCommand) Help() string
- func (c *RemovePlanCommentsCommand) Process(ctx context.Context) error
- func (c *RemovePlanCommentsCommand) Run(ctx context.Context, args []string) error
- type ValidatePermissionsCommand
- func (c *ValidatePermissionsCommand) Desc() string
- func (c *ValidatePermissionsCommand) Flags() *cli.FlagSet
- func (c *ValidatePermissionsCommand) Help() string
- func (c *ValidatePermissionsCommand) Process(ctx context.Context) error
- func (c *ValidatePermissionsCommand) Run(ctx context.Context, args []string) error
- type ValidatePermissionsConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PlanStatusCommentCommand ¶
type PlanStatusCommentCommand struct { cli.BaseCommand flags.GitHubFlags flags.RetryFlags // contains filtered or unexported fields }
func (*PlanStatusCommentCommand) Desc ¶
func (c *PlanStatusCommentCommand) Desc() string
func (*PlanStatusCommentCommand) Flags ¶
func (c *PlanStatusCommentCommand) Flags() *cli.FlagSet
func (*PlanStatusCommentCommand) Help ¶
func (c *PlanStatusCommentCommand) Help() string
type PlanStatusCommentsConfig ¶
type PlanStatusCommentsConfig struct { // GitHub context values ServerURL string // this value is used to generate URLs for creating links in pull request comments RunID int64 RunAttempt int64 }
PlanStatusCommentsConfig defines the of configuration required for running the plan status comments command for GitHub workflows.
func (*PlanStatusCommentsConfig) MapGitHubContext ¶
func (c *PlanStatusCommentsConfig) MapGitHubContext(context *githubactions.GitHubContext) error
MapGitHubContext maps values from the GitHub context.
type RemovePlanCommentsCommand ¶
type RemovePlanCommentsCommand struct { cli.BaseCommand flags.GitHubFlags flags.RetryFlags // contains filtered or unexported fields }
func (*RemovePlanCommentsCommand) Desc ¶
func (c *RemovePlanCommentsCommand) Desc() string
func (*RemovePlanCommentsCommand) Flags ¶
func (c *RemovePlanCommentsCommand) Flags() *cli.FlagSet
func (*RemovePlanCommentsCommand) Help ¶
func (c *RemovePlanCommentsCommand) Help() string
type ValidatePermissionsCommand ¶
type ValidatePermissionsCommand struct { cli.BaseCommand flags.GitHubFlags flags.RetryFlags // contains filtered or unexported fields }
func (*ValidatePermissionsCommand) Desc ¶
func (c *ValidatePermissionsCommand) Desc() string
func (*ValidatePermissionsCommand) Flags ¶
func (c *ValidatePermissionsCommand) Flags() *cli.FlagSet
func (*ValidatePermissionsCommand) Help ¶
func (c *ValidatePermissionsCommand) Help() string
type ValidatePermissionsConfig ¶
type ValidatePermissionsConfig struct { // GitHub context values Actor string }
ValidatePermissionsConfig defines the of configuration required for running the validate permissions command for GitHub workflows.
func (*ValidatePermissionsConfig) MapGitHubContext ¶
func (c *ValidatePermissionsConfig) MapGitHubContext(context *githubactions.GitHubContext) error
MapGitHubContext maps values from the GitHub context.
Click to show internal directories.
Click to hide internal directories.