domain

package
v0.0.0-...-80e6674 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 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 domains' CNAMES"
	FlagCnameAccessOnly      = "Whether the domain is accessed only through the 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"
	FlagIn                   = "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\n"
	HelpFlag                 = "Displays more information about the create subcommand"
	AskInputApplicationID    = "What is the ID of the edge application that the domain will be connected to?"
	AskInputName             = "What will the domain name be?"
)

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