Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrorUpdateApplication = errors.New("Failed to update the Edge Application: %s. Check your settings and try again. If the error persists, contact Azion support") ErrorApplicationAccelerationFlag = errors.New("Invalid --application-acceleration flag provided. The flag must have 'true' or 'false' values. Run the command 'azion update edge-application --help' to display more information and try again") ErrorCachingFlag = errors.New("Invalid --caching flag provided. The flag must have 'true' or 'false' values. Run the command 'azion update edge-application --help' to display more information and try again") ErrorDeviceDetectionFlag = errors.New("Invalid --device-detection flag provided. The flag must have 'true' or 'false' values. Run the command 'azion update edge-application --help' to display more information and try again") ErrorEdgeFirewallFlag = errors.New("Invalid --edge-firewall flag provided. The flag must have 'true' or 'false' values. Run the command 'azion update edge-application --help' to display more information and try again") ErrorEdgeFunctionsFlag = errors.New("Invalid --edge-functions flag provided. The flag must have 'true' or 'false' values. Run the command 'azion update edge-application --help' to display more information and try again") ErrorImageOptimizationFlag = errors.New("Invalid --image-optimization flag provided. The flag must have 'true' or 'false' values. Run the command 'azion update edge-application --help' to display more information and try again") ErrorL2CachingFlag = errors.New("Invalid --l2-caching flag provided. The flag must have 'true' or 'false' values. Run the command 'azion update edge-application --help' to display more information and try again") ErrorLoadBalancerFlag = errors.New("Invalid --load-balancer flag provided. The flag must have 'true' or 'false' values. Run the command 'azion update edge-application --help' to display more information and try again") ErrorRawLogsFlag = errors.New("Invalid --raw-logs flag provided. The flag must have 'true' or 'false' values. Run the command 'azion update edge-application --help' to display more information and try again") ErrorWebApplicationFirewallFlag = errors.New("Invalid --webapp-firewall flag provided. The flag must have 'true' or 'false' values. Run the command 'azion update edge-application --help' to display more information and try again") ErrorNoFieldInformed = errors.New("Inform at least one field to be updated. It's not possible to update an Edge Application without specifying the fields that will be updated. Run ‘azion update edge-application --help’ to display more information and try again. If the error persists, contact Azion support.") ErrorConvertIdApplication = errors.New("The application ID you provided is invalid. The value must be an integer. You may run the 'azion list edge-application' command to check your application ID") )
View Source
var ( Usage = "edge-application" ShortDescription = "Updates an Edge Application" LongDescription = "Modifies an Edge Application's name, activity status, and other attributes based on the given ID" FlagID = "The Edge Application's id" FlagName = "The Edge Application's name" FlagDeliveryProtocol = "The Edge Application's Delivery Protocol" FlagHttpPort = "The Edge Application's Http Port" FlagHttpsPort = "The Edge Application's Https Port" FlagMinimumTlsVersion = "The Edge Application's Minimum Tls Version" FlagApplicationAcceleration = "Whether the Edge Application has Application Acceleration active or not" FlagCaching = "Whether the Edge Application has Caching active or not" FlagDeviceDetection = "Whether the Edge Application has Device Detection active or not" FlagEdgeFirewall = "Whether the Edge Application has Edge Firewall active or not" FlagEdgeFunctions = "Whether the Edge Application has Edge Functions active or not" FlagImageOptimization = "Whether the Edge Application has Image Optimization active or not" FlagL2Caching = "Whether the Edge Application has L2 Caching active or not" FlagLoadBalancer = "Whether the Edge Application has Load Balancer active or not" RawLogs = "Whether the Edge Application has Raw Logs active or not" WebApplicationFirewall = "Whether the Edge Application has Web Application Firewall active or not" FlagFile = "Given path and JSON file to automatically update the Edge Application attributes; you can use - for reading from stdin" OutputSuccess = "Updated Edge Application with ID %d" HelpFlag = "Displays more information about the update edge-application command" AskInputApplicationId = "Enter the ID of the Edge Application you wish to update:" )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.