domain

package
v0.0.0-...-79ceddb Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrorCreate               = errors.New("Failed to create the Domain: %s. Check your settings and try again. If the error persists, contact Azion support")
	ErrorMissingCnames        = errors.New("Missing CNAMES. When the flag '--cname-access-only' is set as 'true', at least one CNAME must be provided through the flag '--cnames'. Add one or more CNAMES, or set '--cname-access-only' as false and try again.")
	ErrorConvertApplicationID = 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")
	ErrorIsActiveFlag         = errors.New("Invalid --active flag provided. The value must be 'true' or 'false'. Run the command 'azion create domains --help' to display more information and try again")
	ErrorCnameAccessOnlyFlag  = errors.New("Invalid --cname-access-only flag provided. The value must be 'true' or 'false'. Run the command 'azion create domains --help' to display more information and try again")
)
View Source
var (
	Usage                    = "domain"
	ShortDescription         = "Creates a new Domain"
	LongDescription          = "Creates a Domain based on given attributes to be used with Edge Applications"
	FlagName                 = "The Domain's name"
	FlagCnames               = "List of a Domain's CNAMES"
	FlagCnameAccessOnly      = "Whether the Domain is accessed only through CNAMES or not"
	FlagDigitalCertificateID = "The Digital Certificate's unique identifier. It can be an integer or null."
	FlagEdgeApplicationId    = "The Edge Application's unique identifier"
	FlagIsActive             = "Whether the Domain is active or not"
	FlagFile                 = "Path to a JSON file containing the attributes that will be updated; you can use - for reading from stdin"
	OutputSuccess            = "Created Domain with ID %d"
	HelpFlag                 = "Displays more information about the create domain command"
	AskInputApplicationID    = "Enter the ID of the Edge Application that the Domain will be connected to:"
	AskInputName             = "Enter the new Domain's name:"
)

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