Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( ErrorGetCaches = errors.New("Failed to list your Cache Settings configurations. Check your settings and try again. If the error persists, contact Azion support.") ErrorGetCache = errors.New("Failed to get Cache Settings configuration: %s. Check your settings and try again. If the error persists, contact Azion support.") ErrorCachingForOptionsFlag = errors.New("Invalid --enable-caching-for-options flag provided. The value must be either 'true' or 'false'. Run the command 'azion <command> <subcommand> --help' to display more information and try again.") ErrorCachingForPostFlag = errors.New("Invalid --enable-caching-for-post flag provided. The value must be either 'true' or 'false'. Run the command 'azion <command> <subcommand> --help' to display more information and try again.") ErrorCachingStringSortFlag = errors.New("Invalid --enable-caching-string-sort flag provided. The value must be either 'true' or 'false'. Run the command 'azion <command> <subcommand> --help' to display more information and try again.") ErrorCreateCacheSettings = errors.New("Failed to create the Cache Settings configuration: %s. Check your settings and try again. If the error persists, contact Azion support.") ErrorBrowserMaximumTtlNotSent = errors.New("When browser Cache Settings is 'override' you must inform the --browser-cache-max-age flag.") ErrorFailToDelete = errors.New("Failed to delete the Cache Settings configuration: %s. Check your settings 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 application' command to check your application ID") )
Used by both the v3 and the v4 command trees.
var ( ErrorTieredCachingFlag = errors.New("Invalid --tiered-caching-enabled flag provided. The value must be either 'true' or 'false'. Run the command 'azion <command> <subcommand> --help' to display more information and try again.") ErrorUpdateCacheSettings = errors.New("Failed to update the Cache Settings configuration: %s. Check your settings and try again. If the error persists, contact Azion support.") )
Used only by the v4 command tree.
var ( ErrorSliceConfigurationFlag = errors.New("Invalid --slice-configuration-enable flag provided. The value must be either 'true' or 'false'. Run the command 'azion <command> <subcommand> --help' to display more information and try again.") ErrorSliceL2CachingFlag = errors.New("Invalid --slice-l2-caching-enabled flag provided. The value must be either 'true' or 'false'. Run the command 'azion <command> <subcommand> --help' to display more information and try again.") ErrorL2CachingEnabledFlag = errors.New("Invalid --l2-caching-enabled flag provided. The value must be either 'true' or 'false'. Run the command 'azion <command> <subcommand> --help' to display more information and try again.") ErrorApplicationAccelerationNotEnabled = errors.New("When --enable-caching-string-sort, --enable-caching-for-post or --enable-caching-for-options is sent, application acceleration must be enabled.") )
Used only by the v3 command tree (bug-fix-only; see doc/plan.md).
var ( // [ general ] Usage = "cache-setting" CreateFlagHelp = "Displays more information about the create cache-setting command" ListAskInputApplicationID = "Enter the ID of the Application the Cache Setting is linked to:" CreateAskInputApplicationID = "Enter the ID of the Application the Cache Setting will be linked to:" UpdateAskInputCacheSettingID = "Enter the ID of the Cache Setting you wish to update:" DeleteAskInputCacheID = "Enter the ID of the Cache Setting you wish to delete:" DescribeAskInputCacheID = "Enter the ID of the Cache Setting you wish to describe:" DescibeAskInputApplicationID = "Enter the ID of the Application the Cache Settings is linked to:" // [ list ] ListShortDescription = "Displays your Cache Settings configurations" ListLongDescription = "Displays your Cache Settings configurations to be used with an Application" ListHelpFlag = "Displays more information about the list cache-setting command" // [ create ] CreateShortDescription = "Creates a new Cache Settings configuration" CreateLongDescription = "Creates a Cache Settings configuration based on given attributes to be used in Applications" CreateOutputSuccess = "Created Cache Settings configuration with ID %d" CreateAskInputName = "Enter the new Cache Setting's name:" UpdateShortDescription = "Updates a Cache Settings configuration" UpdateLongDescription = "Updates a Cache Settings configuration based on given attributes to be used in Applications" UpdateOutputSuccess = "Updated a Cache Settings configuration with ID %d" UpdateFlagHelp = "Displays more information about the update cache-setting command" // [ describe ] DescribeShortDescription = "Returns information about a specific Cache Settings configuration" DescribeLongDescription = "Returns information about a specific Cache Settings configuration, based on a given ID, in details" DescribeFlagApplicationID = "Unique identifier for an Application. The '--application-id' flag is required" DescribeFlagCacheSettingsID = "Unique identifier for a Cache Settings configuration. The '--cache-settings-id' flag is required" DescribeHelpFlag = "Displays more information about the describe cache-setting command" // [ delete ] DeleteShortDescription = "Deletes a Cache Settings configuration" DeleteLongDescription = "Deletes a Cache Settings configuration from the Applications library based on its given ID" DeleteOutputSuccess = "Caches settings configuration %d was successfully deleted" DeleteFlagApplicationID = "Unique identifier for an Application" DeleteFlagCacheSettingsID = "The Cache Settings configuration key unique identifier" DeleteHelpFlag = "Displays more information about the delete cache-setting command" // [ flags ] FlagApplicationID = "Unique identifier for an Application" FlagCacheSettingID = "Unique identifier for an Cache Setting" FlagName = "The Cache Settings configuration name" FlagFile = "" /* 140-byte string literal not displayed */ FlagQueryStringFields = "" /* 140-byte string literal not displayed */ FlagCookieNames = "Distinguishes objects in the Azion cache by name/value of cookies" FlagCacheByCookiesEnabled = "Whether cache by cookies is active or not" FlagCacheByQueryString = "Defines how you want the content to be cached according to variations of Query String in your URLs" FlagCachingForOptionsEnabled = "Whether caching for options is active or not" FlagCachingStringSortEnabled = "Whether caching string sort is active or not" FlagCachingForPostEnabled = "Whether caching for post is active or not" )
Used by both the v3 and the v4 command trees.
var ( FlagBrowserCacheBehavior = "Configures the amount of time that the content is cached in the web browser" FlagBrowserCacheMaxAge = "Defines how long content is cached by the web browser before it expires" FlagTieredCachingEnabled = "Whether tiered caching is active or not" )
Used only by the v4 command tree.
var ( FlagSliceConfigurationEnabled = "Whether slice configuration is active or not" FlagSliceConfigurationRange = "Informs slice configuration range" FlagAdaptiveDeliveryAction = "Informs the Cache Settings configuration adaptive delivery action." FlagBrowserCacheSettings = "Configures the amount of time that the content is cached in the web browser" FlagCdnCacheSettingsEnabled = "" /* 149-byte string literal not displayed */ FlagSliceL2CachingEnabled = "Whether slice L2 caching is active or not" FlagL2CachingEnabled = "Whether L2 caching is active or not" FlagCdnCacheSettingsMaxTtl = "Informs Application Cache Settings configuration maximum TTL" FlagBrowserCacheSettingsMaxTtl = "Informs Browser Cache Settings configuration maximum TTL" )
Used only by the v3 command tree (bug-fix-only; see doc/plan.md).
Functions ¶
This section is empty.
Types ¶
This section is empty.