Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrorIsActiveFlag = errors.New("Invalid --active flag provided. The value must be 'true' or 'false'. Run the command 'azion create function-instance --help' to display more information and try again") ErrorCreate = errors.New("Failed to create the Function Instance: %s. Check your settings and try again. If the error persists, contact Azion support") ErrorArgsFlag = errors.New("Failed to read the args file. Verify if the file name and its path are correct and the file's content has a valid JSON format. Run the command again using the --help flag to display more information and try again") ErrorParseArgs = errors.New("Failed to parse JSON args. Verify if the file's content has a valid JSON format. Run the command again using the --help flag to display more information and try again") ErrorConvertFunctionID = errors.New("Invalid --function-id flag provided. The value must be an integer. Run the command 'azion create function-instance --help' to display more information and try again") ErrorConvertApplicationId = errors.New("Invalid --application-id flag provided. The value must be an integer. Run the command 'azion create function-instance --help' to display more information and try again") )
View Source
var ( Usage = "function-instance" ShortDescription = "Creates a new Function Instance" LongDescription = "Creates a Function Instance based on given attributes" FlagName = "The Function Instance's name" FlagIsActive = "Whether the Function Instance is active or not" FlagFile = "Path to a JSON file containing the attributes that will be updated; you can use - for reading from stdin" OutputSuccess = "Created Function Instance with ID %d" HelpFlag = "Displays more information about the create function-instance command" AskInputName = "Enter the new Function Instance's name:" AskInputApplicationID = "Enter the Application's ID this Function Instance will be associated with:" AskInputFunctionID = "Enter the Function's ID:" FlagApplicationID = "Unique identifier of the Application" FlagFunctionID = "Unique identifier of the Function" FlagArgs = "The Function Instance's arguments" )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.