Documentation
¶
Index ¶
- func NewCommands() *cobra.Command
- func NewCreateCommand() *cobra.Command
- func NewDeleteCommand() *cobra.Command
- func NewGetCommand() *cobra.Command
- func NewListCommand() *cobra.Command
- func NewUpdateCommand() *cobra.Command
- func NewValidateCommand() *cobra.Command
- func WithFlagCannonical(cmd *cobra.Command) string
- func WithFlagDescription(cmd *cobra.Command) string
- func WithFlagEnabled(cmd *cobra.Command) string
- func WithFlagName(cmd *cobra.Command) string
- func WithFlagOwner(cmd *cobra.Command) string
- func WithFlagPlanPath(cmd *cobra.Command) string
- func WithFlagPolicyPath(cmd *cobra.Command) string
- func WithFlagSeverity(cmd *cobra.Command) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCommands ¶
func NewCreateCommand ¶ added in v1.0.84
NewCreateCommand returns the cobra command to create a new infrapolicy using a file Note! For boolean flags it is required var=bool
https://github.com/spf13/cobra/issues/613
func NewDeleteCommand ¶ added in v1.0.84
NewDeleteCommand returns the cobra command to delete a infrapolicy
func NewGetCommand ¶ added in v1.0.84
NewGetCommand returns the cobra command to get a infrapolicy
func NewListCommand ¶ added in v1.0.84
NewLIstCommand returns the cobra command to list the infrapolicies in a organisation
func NewUpdateCommand ¶ added in v1.0.84
NewUpdateCommand returns the cobra command to update a infrapolicy Note! For boolean flags it is required var=bool
https://github.com/spf13/cobra/issues/613
func NewValidateCommand ¶
NewValidateCommand returns the cobra command holding the validate Terraform plan against infrapolicy
func WithFlagCannonical ¶ added in v1.0.84
func WithFlagDescription ¶ added in v1.0.84
func WithFlagEnabled ¶ added in v1.0.84
func WithFlagName ¶ added in v1.0.84
func WithFlagOwner ¶ added in v1.0.84
func WithFlagPlanPath ¶
func WithFlagPolicyPath ¶ added in v1.0.84
func WithFlagSeverity ¶ added in v1.0.84
Types ¶
This section is empty.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.