package
0.0.21
Repository: https://github.com/rigup/ephemeral-iam.git
Documentation: pkg.go.dev

# Functions

AddComputeInstanceFlag adds the --instance/-i flag to the command.
AddPersistentFlags add persistent flags to the root command.
AddProjectFlag adds the --project/-p flag to the command.
AddPubSubTopicFlag adds the --topic/-t flag to the command.
AddReasonFlag adds the --reason/-R flag.
AddRegionFlag adds the --region/-r flag to the command.
AddServiceAccountEmailFlag adds the --service-account-email/-s flag.
AddStorageBucketFlag adds the --bucket/-b flag to the command.
AddZoneFlag adds the --zone/-z flag to the command.
CheckRequired ensures that a command's required flags have been set.

# Constants

Flag annotation strings.

# Variables

ComputeInstanceFlag sets the compute instance to use for a command.
FormatFlag controls the output format for a command.
ProjectFlag sets the GCP project to use for a command.
PubSubTopicFlag sets the Pub/Sub topic to use for a command.
ReasonFlag enforces that a rationale be given for a command.
RegionFlag sets the GCP region to use for a command.
ServiceAccountEmailFlag sets the service account to use for a command.
StorageBucketFlag sets the GCS bucket to use for a command.
YesFlag is a boolean that when set to true ignores non-required user prompts.
YesOption designates whether to prompt for confirmation or not.
ZoneFlag sets the GCP zone to use for a command.

# Structs

CmdConfig holds the values passed to a command.