init

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 (
	EdgeApplicationsOutputErr = errors.New("This output-ctrl option is not available. Read the readme files found in the repository https://github.com/aziontech/azion-template and try again")

	ErrorVulcanExecute                 = errors.New("Error executing Vulcan: %s")
	ErrorModeNotSent                   = errors.New("You must send the --mode flag when --template is not nextjs/simple/static")
	ErrorEnvFileVulcan                 = errors.New("Failed to read .env file generated by Vulcan during build process")
	ErrorUpdatingVulcan                = errors.New("Failed to update Vulcan: %s")
	ErrorInstallVulcan                 = errors.New("Failed to install Vulcan: %s")
	ErrorOpeningConfigFile             = errors.New("Failed to open the config.json file. The file doesn't exist, is corrupted, or has an invalid JSON format. Verify if the file format is JSON or fix its content according to the JSON format specification at https://www.json.org/json-en.html")
	ErrorUnmarshalConfigFile           = errors.New("Failed to unmarshal the config.json file. Verify if the file format is JSON or fix its content according to the JSON format specification at https://www.json.org/json-en.html")
	ErrFailedToRunInitCommand          = errors.New("Failed to run the init step command. Verify if the command is correct and check the output above for more details. Try the 'azion init' command again or contact Azion's support")
	ErrorGetAllTags                    = errors.New("Failed to return all reference tags in a repository. Verify your repository tags and try again. If the error persists, contact Azion support.")
	ErrorIterateAllTags                = errors.New("Failed to iterate over Git reference. Verify the credentials to access your Git repository and try again. If the error persists, contact Azion support.")
	ErrorOpeningAzionFile              = errors.New("Failed to open the azion.json file. The file doesn't exist, is corrupted, or has an invalid JSON format. Verify if the file format is JSON or fix its content according to the JSON format specification at https://www.json.org/json-en.html")
	ErrorUnmarshalAzionFile            = errors.New("Failed to unmarshal the azion.json file. Verify if the file format is JSON or fix its content according to the JSON format specification at https://www.json.org/json-en.html")
	ErrorNpmNotInstalled               = errors.New("Failed to open the NPM package Manager. Visit the website 'https://nodejs.org/en/download/' and follow the instructions to install the Node.js JavaScript runtime environment in your operating system. Node.js installation includes the NPM package manager")
	ErrorFailedCreatingWorkerDirectory = errors.New("Failed to create the worker directory. The worker's parent directory is read-only and/or isn't accessible. Change the permissions of the parent directory to read and write and/or give access to it")
	ErrorFailedCreatingAzionDirectory  = errors.New("Failed to create the azion directory. The public's parent directory is read-only and/or isn't accessible. Change the permissions of the parent directory to read and write and/or give access to it")
	ErrorDeps                          = errors.New("Failed to install project dependencies")
	ErrorWorkingDir                    = errors.New("Failed to change current working directory")
	ErrorModeNotFound                  = errors.New("No mode was found for the selected template. For more information, run the command again using the '--debug' flag. If the problem persists, contact Azion’s support")
)
View Source
var (

	//init cmd
	EdgeApplicationsInitUsage             = `init [flags]`
	EdgeApplicationsInitShortDescription  = "Initializes an edge application from a starter template"
	EdgeApplicationsInitLongDescription   = "" /* 126-byte string literal not displayed */
	EdgeApplicationsInitRunningCmd        = "Running init step command:\n\n"
	EdgeApplicationsInitFlagName          = "The edge application's name"
	EdgeApplicationsInitFlagYes           = "Answers all yes/no interactions automatically with yes"
	EdgeApplicationsInitFlagNo            = "Answers all yes/no interactions automatically with no"
	WebAppInitContentOverridden           = "This application was already configured. Do you want to override the previous configuration? <yes | no> (default: no) "
	WebAppInitCmdSuccess                  = "Template successfully fetched and configured\n\n"
	InitGettingTemplates                  = "\nGetting modes available (Some dependencies may need to be installed)\n"
	InitGettingVulcan                     = "Getting templates available\n"
	InitProjectQuestion                   = "(Hit enter to accept the suggested name in parenthesis) Your application's name: "
	EdgeApplicationsInitFlagHelp          = "Displays more information about the init command"
	EdgeApplicationsInitSuccessful        = "Your application %s was initialized successfully\n"
	EdgeApplicationsInitNameNotSent       = "" /* 170-byte string literal not displayed */
	EdgeApplicationsInitNameNotSentSimple = "" /* 128-byte string literal not displayed */
	EdgeApplicationsInitNameNotSentStatic = "" /* 128-byte string literal not displayed */
	EdgeApplicationsUpdateNamePackageJson = "Updating your package.json name field with the value informed through the --name flag\n"
	EdgeApplicationsInitTypeNotSent       = "" /* 171-byte string literal not displayed */
	InitDevCommand                        = "If you want to start a local development server later, run 'azion dev'\n"
	InitDeployCommand                     = "If you want to deploy your application later, run 'azion deploy'\n"
	InitInstallDeps                       = "Installing application dependencies"
	ModeAutomatic                         = "\nMode %s was chosen automatically, as it is the only option available for %s\n"
)

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