link

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

View Source
const (
	FLAG_PACKAGE_MANAGE = "Specify the package manager to use (e.g., npm, yarn, pnpm)"
	FLAG_SYNC           = "Synchronizes the local azion.json file with remote resources. Use this flag when deploying your project from this command"
	FLAG_LOCAL          = "Runs the entire build and deploy process locally. Use this flag when deploying your project from this command"
)
View Source
const (
	FLAG_REMOTE  = "Clones a remote repository to be linked to an Azion Edge Application"
	FLAGPATHCONF = "Relative path to where your custom azion.json and args.json files are stored"
	ASKPREBUILD  = "Do you allow Azion to build your project in order to generate configuration files? (Y/n)"
	BUILDLATER   = "Please, remember to run azion build --preset [preset-name], in order to generate the necessary configuration files\n"
)

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 Bundler: %s")
	ErrorUpdatingVulcan                = errors.New("Failed to update Bundler: %s")
	ErrorInstallVulcan                 = errors.New("Failed to install Bundler: %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")
	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")
	ErrorReadingGitignore              = errors.New("Failed to read your .gitignore file")
	ErrorWritingGitignore              = errors.New("Failed to write to your .gitignore file")
)
View Source
var (
	//link cmd
	EdgeApplicationsLinkUsage             = "link [flags]"
	EdgeApplicationsLinkShortDescription  = "Creates configuration used to build and deploy applications on Azion"
	EdgeApplicationsLinkLongDescription   = "Defines primary parameters based on a given name and application preset to link a Project to an Azion Edge Application"
	EdgeApplicationsLinkRunningCmd        = "Running link step command:\n\n"
	EdgeApplicationsLinkFlagName          = "The Edge Application's name"
	EdgeApplicationsLinkFlagTemplate      = "The Edge Application's template"
	WebAppLinkCmdSuccess                  = "Project successfully configured\n"
	LinkGettingTemplates                  = "Getting templates available\n"
	LinkProjectQuestion                   = "(Hit enter to accept the suggested name in parenthesis) Your application's name: "
	EdgeApplicationsLinkFlagHelp          = "Displays more information about the link command"
	EdgeApplicationsLinkSuccessful        = "Your application %s was linked successfully\n"
	InstallDeps                           = "Installing application dependencies\n"
	EdgeApplicationsLinkNameNotSent       = "" /* 170-byte string literal not displayed */
	EdgeApplicationsLinkNameNotSentSimple = "" /* 128-byte string literal not displayed */
	EdgeApplicationsLinkNameNotSentStatic = "" /* 128-byte string literal not displayed */
	LinkDevCommand                        = "If you want to start a local development server later, run 'azion dev'\n"
	LinkDeployCommand                     = "If you want to deploy your application later, run 'azion deploy'\n"
	LinkFlagAuto                          = "If sent, the entire flow of the command will be run without interruptions"
	AskDeploy                             = "Do you want to deploy your project? (y/N)"
	AskInstallDepsDev                     = "Do you want to install project dependencies? This may be required to start local development server (Y/n)"
	AskInstallDepsDeploy                  = "Do you want to install project dependencies? This may be required to deploy your project (Y/n)"
	AskLocalDev                           = "Do you want to start a local development server? (y/N)"
	AskGitignore                          = "" /* 130-byte string literal not displayed */
	WrittenGitignore                      = "Sucessfully written to your .gitignore file\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