Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
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.") ErrorMandatoryListFlags = errors.New("A Required flag is missing. You must provide the application-id flag. Run the command 'azion <command> <subcommand> --help' to display more information and try again.") ErrorMandatoryCreateFlags = errors.New("Required flags are missing. You must provide the application-id and name flags when --in flag is not provided. Run the command 'azion <command> <subcommand> --help' to display more information and try again.") ErrorMandatoryCreateFlagsIn = errors.New("A required flag is missing. You must provide the application-id flag when the --in flag is provided. Run the command 'azion <command> <subcommand> --help' to display more information and try again.") 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.") 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.") 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-settings-maximum-ttl flag.") ErrorApplicationAccelerationNotEnabled = errors.New("When --enable-caching-string-sort, --enable-caching-for-post or --enable-caching-for-options is sent, application acceleration must be enabled.") ErrorMissingArguments = errors.New("Required flags are missing. You must supply application-id and cache-settings-id as arguments. Run 'azion <command> <subcommand> --help' command to display more information and try again.") ErrorFailToDelete = errors.New("Failed to delete the Cache Settings configuration: %s. Check your settings and try again. If the error persists, contact Azion support.") ErrorMandatoryUpdateFlags = errors.New("Required flags are missing. You must provide the application-id and cache-settings-id flags when --in flag is not provided. Run the command 'azion <command> <subcommand> --help' to display more information and try again.") ErrorMandatoryUpdateInFlags = errors.New("Required flags are missing. You must provide the application-id flag when --in flag is not provided. Run the command 'azion <command> <subcommand> --help' to display more information and try again.") 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 ( // [ general ] Usage = "cache-setting" CacheSettingsShortDescription = "Cache Settings allows you to manage existing cache configurations and create new ones" CacheSettingsLongDescription = "Cache Settings allows you to check, remove or update existing cache configurations and create new ones" CreateFlagHelp = "Displays more information about the create cache-setting command" CacheSettingsId = "Unique identifier for a Cache Settings configuration" ListAskInputApplicationID = "Enter the ID of the Edge Application the Cache Setting is linked to:" CreateAskInputApplicationID = "Enter the ID of the Edge 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 Edge 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 Edge 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 Edge Applications" CreateOutputSuccess = "Created Cache Settings configuration with ID %d" CreateAskInputName = "Enter the new Cache Setting's name:" // [ update ] UpdateUsage = "update [flags]" UpdateShortDescription = "Updates a Cache Settings configuration" UpdateLongDescription = "Updates a Cache Settings configuration based on given attributes to be used in Edge 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 Edge Application. The '--application-id' flag is required" DescribeFlagCacheSettingsID = "Unique identifier for a Cache Settings configuration. The '--cache-settings-id' flag is required" DescribeFlagOut = "Exports the output to the given <file_path/file_name.ext>" DescribeFlagFormat = "Changes the output format passing the json value to the flag" DescribeHelpFlag = "Displays more information about the describe cache-setting command" // [ delete ] DeleteShortDescription = "Deletes a Cache Settings configuration" DeleteLongDescription = "Deletes a Caches Settings configuration from the Edge Applications library based on its given ID" DeleteOutputSuccess = "Caches settings configuration %d was successfully deleted" DeleteFlagApplicationID = "Unique identifier for an Edge Application" DeleteFlagCacheSettingsID = "The Cache Settings configuration key unique identifier" DeleteHelpFlag = "Displays more information about the delete cache-setting command" // [ flags ] FlagEdgeApplicationID = "Unique identifier for an Edge Application" FlagCacheSettingID = "Unique identifier for an Cache Setting" FlagName = "The Cache Settings configuration name" FlagFile = "" /* 140-byte string literal not displayed */ FlagBrowserCacheSettings = "Configures the amount of time that the content is cached in the web browser" 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" FlagCdnCacheSettingsEnabled = "" /* 154-byte string literal not displayed */ 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" FlagSliceConfigurationEnabled = "Whether slice configuration is active or not" FlagSliceL2CachingEnabled = "Whether slice L2 caching is active or not" FlagL2CachingEnabled = "Whether L2 caching is active or not" FlagSliceConfigurationRange = "Informs slice configuration range" FlagCdnCacheSettingsMaxTtl = "Informs Edge Application Cache Settings configuration maximum TTL" FlagBrowserCacheSettingsMaxTtl = "Informs Browser Cache Settings configuration maximum TTL" FlagAdaptiveDeliveryAction = "Informs the Cache Settings configuration adaptive delivery action." )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.