Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrorGetItem = errors.New("Failed to describe the variable: %s. Check your settings and try again. If the error persists, contact Azion support.") ErrorMissingArguments = errors.New("A required flag is missing. You must supply the --variable-id flag as an argument. Run 'azion <command> <subcommand> --help' command to display more information and try again") ErrorFailToDeleteVariable = errors.New("Failed to delete the variable: %s. Check your settings and try again. If the error persists, contact Azion support") ErrorMissingVariableIdArgumentDelete = errors.New("A required flag is missing. You must provide the --variable_id flag as an argument. Run the command 'azion variables <subcommand> --help' to display more information and try again") ErrorMissingVariableIdArgument = errors.New("Required lags are missing. You must provide the --variable-id, --key, --value, and --secret flags as arguments, or the --file flag informing the path to import the file. Run the command 'azion variables <subcommand> --help' to display more information and try again") ErrorMissingFieldUpdateVariables = errors.New("Required flags are missing. You must provide the --key, --value, and --secret flags as arguments, or the --file flag informing the path to import the file. Run the command 'azion variables <subcommand> --help' to display more information and try again") ErrorSecretFlag = errors.New("Invalid --secret flag provided. The value must be 'true' or 'false'. Run the command 'azion variables <subcommand> --help' to display more information and try again") ErrorUpdateVariable = errors.New("Failed to update the variable: %s. Check your settings and try again. If the error persists, contact Azion support") ErrorCreateItem = errors.New("Failed to create the variable: %s. Check your settings and try again. If the error persists, contact Azion support.") )
View Source
var ( Usage = "variables" // [ variables ] ShortDescription = "Manages your environment variables and secrets" LongDescription = "Manages your environment variables and secrets to be used inside Edge Functions" FlagHelp = "Displays more information about the variables command" FlagVariableID = "Unique identifier for a variable. The '--variable-id' flag is mandatory" // [ describe ] DescribeShortDescription = "Returns the specific variable's key and value" DescribeLongDescription = "Displays information about a variable based on a given UUID to show the variable's attributes in detail" DescribeFlagOut = "Exports the output to the given filepath, such as: <file_path/file_name.ext>" DescribeFlagFormat = "Changes the output format passing the json value to the flag" DescribeHelpFlag = "Displays more information about the describe subcommand" // [ general ] FileWritten = "File successfully written to: %s\n" // [ list ] VariablesListShortDescription = "Displays your variables in a list" VariablesListLongDescription = "Displays all your environment variables and secrets in a list" VariablesListHelpFlag = "Displays more information about the list subcommand" VariablesDump = "Variables file (.env) dumped successfully" // [ delete ] DeleteOutputSuccess = "Variable %v was successfully deleted" DeleteHelpFlag = "Displays more information about the delete subcommand" DeleteShortDescription = "Deletes a variable" DeleteLongDescription = "Deletes a variable based on its UUID" //update cmd UpdateShortDescription = "Updates a variable's attributes" UpdateLongDescription = "Modifies a variable's attributes based on its UUID" UpdateFlagKey = "The variable's key" UpdateFlagValue = "The variable's value" UpdateFlagSecret = "Indicates whether the value is meant to be confidential." UpdateFlagIn = "Given path and JSON file to automatically update the variable attributes; you can use - for reading from stdin" UpdateOutputSuccess = "Updated variable with UUID %s" UpdateHelpFlag = "Displays more information about the update subcommand" // [ create ] CreateShortDescription = "Creates a new environment variable or secret" CreateLongDescription = "Creates a new environment variable or secret to be used inside Edge Functions" CreateFlagKey = "Informs the variable's key" CreateFlagValue = "Informs the variable's value" CreateFlagSecret = "Indicates whether the value is meant to be confidential." CreateFlagFileJSON = "Path to a JSON file containing the attributes of the variable that will be created; you can use - for reading from stdin" CreateOutputSuccess = "Created variable with UUID %s\n" CreateHelpFlag = "Displays more information about the create subcommand" // [ ask ] AskKey = "Enter the Variable's key:" AskValue = "Enter the Variable's value:" AskSecret = "Enter the Variable's secret:" AskVariableID = "Enter the Variable's variable ID:" VariableSetSecret = "" /* 170-byte string literal not displayed */ )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.