functioninstance

package
v0.0.0-...-8779f77 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2026 License: MIT Imports: 1 Imported by: 0

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 update function-instance --help' to display more information and try again")
	ErrorUpdate                    = errors.New("Failed to update 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")
	ErrorConvertApplicationId      = errors.New("Invalid --application-id flag provided. The value must be an integer. Run the command 'azion update function-instance --help' to display more information and try again")
	ErrorConvertFunctionInstanceId = errors.New("Invalid --instance-id flag provided. The value must be an integer. Run the command 'azion update function-instance --help' to display more information and try again")
)
View Source
var (
	Usage                 = "function-instance"
	ShortDescription      = "Updates a Function Instance"
	LongDescription       = "Updates a Function Instance based on given attributes"
	FlagName              = "The Function Instance's name"
	FlagIsActive          = "Whether the Function Instance is active or not"
	FlagInstanceID        = "Unique identifier of the Function Instance"
	FlagFile              = "Path to a JSON file containing the attributes that will be updated; you can use - for reading from stdin"
	OutputSuccess         = "Updated Function Instance with ID %d"
	HelpFlag              = "Displays more information about the update function-instance command"
	AskInputName          = "Enter the new Function Instance's name:"
	AskInputApplicationID = "Enter the Application's ID this Function Instance will be associated with:"
	AskInputInstanceID    = "Enter the Function Instance's ID:"
	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.

Jump to

Keyboard shortcuts

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