functioninstance

package
v0.0.0-...-059d9f2 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2026 License: MIT Imports: 1 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 (
	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")
)

Used only by the v4 command tree.

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"
	AskInputApplicationID = "Enter the Application's ID this Function Instance will be associated with:"
	AskInputInstanceID    = "Enter the Function Instance's ID:"
	FlagApplicationID     = "Unique identifier of the Application"
	FlagFunctionID        = "Unique identifier of the Function"
	FlagArgs              = "The Function Instance's arguments"
)

Used only by the v4 command tree.

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