approval

package
v1.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2026 License: MIT Imports: 9 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ApprovalCmd = &cobra.Command{
	Use:     "approval",
	Aliases: []string{"req"},
	Short:   "List and manage approval requests",
	Long: `Approval requests are created when actions require administrator
review—work session creation, sudo policy grants, IAM username
conflicts, and service token issuance all generate requests that
a superuser must approve or reject before the action proceeds.

Subcommands for reviewers (superuser only):
  ls        List pending approval requests
  describe  Show details of a request
  approve   Approve a pending request
  reject    Reject a pending request

Subcommands for requesters:
  ls --my   List your own pending requests
  cancel    Cancel a pending request you submitted`,
	RunE: func(cmd *cobra.Command, args []string) error {
		if err := cmd.Help(); err != nil {
			return err
		}
		return errors.New("a subcommand is required. Use 'alpacon approval ls', 'alpacon approval describe', 'alpacon approval approve', 'alpacon approval reject', or 'alpacon approval cancel'. Run 'alpacon approval --help' for more information")
	},
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL