Documentation ¶
Overview ¶
Package petitions offer subcommands for performing actions with Petitions.
Index ¶
- func NewCmdApprove(f cliutil.Factory) *cobra.Command
- func NewCmdClose(f cliutil.Factory) *cobra.Command
- func NewCmdCreate(f cliutil.Factory) *cobra.Command
- func NewCmdDeny(f cliutil.Factory) *cobra.Command
- func NewCmdList(f cliutil.Factory) *cobra.Command
- func NewCmdPetitions(f cliutil.Factory) *cobra.Command
- func NewCmdRevoke(f cliutil.Factory) *cobra.Command
- type ApproveOptions
- type CreateOptions
- type ListOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdApprove ¶
NewCmdApprove returns a command allowing users to approve a Petition.
func NewCmdClose ¶
NewCmdClose returns a command allowing users to close a Petition.
func NewCmdCreate ¶
NewCmdCreate returns a command allowing users to create a Petition.
func NewCmdDeny ¶
NewCmdDeny returns a command allowing users to deny a Petition.
func NewCmdList ¶
NewCmdList returns a command allowing users to list Petitions.
func NewCmdPetitions ¶
NewCmdPetitions returns a set of commands allowing users manage Petitions.
Types ¶
type ApproveOptions ¶
ApproveOptions specify the details of approving a Petition.
func NewApproveOptions ¶
func NewApproveOptions() *ApproveOptions
NewApproveOptions returns a ApproveOptions with the defaults set.
type CreateOptions ¶
type CreateOptions struct { *indentv1.CreatePetitionRequest ResourceNames []string Interactive bool Output string }
CreateOptions specify the Petition being created.
func NewCreateOptions ¶
func NewCreateOptions() *CreateOptions
NewCreateOptions returns CreateOptions with the defaults set.
type ListOptions ¶ added in v0.10.10
type ListOptions struct {
Output string
}
ListOptions are the options for listing Petitions.
func NewListOptions ¶ added in v0.10.10
func NewListOptions() *ListOptions
NewListOptions returns a new ListOptions.