build

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 (
	ErrorBuilding              = errors.New("Failed to build your resource. Azion configuration not found. Make sure you are in the root directory of your local repository and have already initialized or linked your resource with the commands 'azion init' or 'azion link'")
	ErrorVulcanExecute         = errors.New("Error executing Vulcan: %s")
	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")
	ErrFailedToRunBuildCommand = errors.New("Failed to run the build command. Verify if the command is correct and check the output above for more details. Run the 'azion build' command again or contact Azion's support")
	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")
	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")
	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")
	ErrorEnvFileVulcan         = errors.New("Failed to read .env file generated by Vulcan during build process")
)
View Source
var (
	BuildUsage            = "build [flags]"
	BuildShortDescription = "Builds an edge application locally"
	BuildLongDescription  = "Builds an edge application locally to run on Azion’s Edge Computing Platform"
	BuildRunningCmd       = "Running build step command:\n\n"
	BuildStart            = "Building your edge application. This process may take a few minutes\n"
	BuildSuccessful       = "Your edge application was built successfully\n"
	BuildFlagHelp         = "Displays more information about the build command"
	BuildSimple           = "Skipping build step. Build isn't applied to the type 'simple'\n"
	BuildStatic           = "Skipping build step. Build isn't applied to the type 'static'\n"
	BuildNotNecessary     = "Skipping build step. There were no changes detected in your project"
	FlagTemplate          = "The edge application's preset; Inform this flag if you wish to change the project's preset during build"
	FlagMode              = "The edge application's mode; Inform this flag if you wish to change the project's mode during build"
)

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