messages

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2018 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ERROR_INVALID_CLI_VERSION     = "Astronomer CLI version is not valid"
	ERROR_GITHUB_JSON_MARSHALLING = "Failed to JSON decode Github response from %s"

	CLI_CMD_DEPRECATE         = "Deprecated in favor of %s\n"
	CLI_CURR_VERSION          = "Astro CLI Version: v%s"
	CLI_CURR_COMMIT           = "Git Commit: %s"
	CLI_CURR_VERSION_DATE     = CLI_CURR_VERSION + " (%s)"
	CLI_LATEST_VERSION        = "Astro CLI Latest: %s "
	CLI_LATEST_VERSION_DATE   = CLI_LATEST_VERSION + " (%s)"
	CLI_INSTALL_CMD           = "\t$ curl -sL https://install.astronomer.io | sudo bash"
	CLI_SET_WORKSPACE_EXAMPLE = "" /* 176-byte string literal not displayed */
	CLI_UPGRADE_PROMPT        = "" /* 133-byte string literal not displayed */
	CLI_UNTAGGED_PROMPT       = "" /* 163-byte string literal not displayed */

	CONFIG_CREATE_DIR_ERROR         = "Error creating config directory\n"
	CONFIG_CREATE_HOME_ERROR        = "Error creating default config in home dir: %s"
	CONFIG_CREATE_FILE_ERROR        = "Error creating config file\n"
	CONFIG_DOMAIN_NOT_SET_ERROR     = "" /* 137-byte string literal not displayed */
	CONFIG_PATH_KEY_MISSING_ERROR   = "Must specify config key\n"
	CONFIG_PATH_KEY_INVALID_ERROR   = "Config does not exist, check your config key\n"
	CONFIG_PROJECT_NAME_ERROR       = "Project name is invalid\n"
	CONFIG_PROJECT_DIR_ERROR        = "Error: Not in an astronomer project directory\n"
	CONFIG_INIT_PROJECT_CONFIG      = "Initialized empty astronomer project in %s"
	CONFIG_INVALID_SET_ARGS         = "Must specify exactly two arguments (key value) when setting a config\n"
	CONFIG_READ_ERROR               = "Error reading config in home dir: %s\n"
	CONFIG_REINIT_PROJECT_CONFIG    = "Reinitialized existing astronomer project in %s\n"
	CONFIG_SAVE_ERROR               = "Error saving config\n"
	CONFIG_SEARCH_ERROR             = "Error searching for project dir: %v\n"
	CONFIG_SET_DEFAULT_WORKSPACE    = "Default \"%s\" (%s) workspace found, setting default workspace.\n"
	CONFIG_SET_GLOBAL_DOMAIN_PROMPT = "You are not in a project directory, do you want to use %s as your global domain configuration?"
	CONFIG_SET_SUCCESS              = "Setting %s to %s successfully\n"
	CONFIG_USE_OUTSIDE_PROJECT_DIR  = "You are attempting to %s a project config outside of a project directory\n To %s a global config try\n%s\n"

	COMPOSE_CREATE_ERROR         = "Error creating docker-compose project"
	COMPOSE_IMAGE_BUILDING_PROMT = "Building image..."
	COMPOSE_STATUS_CHECK_ERROR   = "Error checking docker-compose status"
	COMPOSE_STOP_ERROR           = "Error stopping and removing containers"
	COMPOSE_PAUSE_ERROR          = "Error pausing project containers"
	COMPOSE_PROJECT_RUNNING      = "Project is already running, cannot start"
	COMPOSE_RECREATE_ERROR       = "Error building, (re)creating or starting project containers"
	COMPOSE_PUSHING_IMAGE_PROMPT = "Pushing image to Astronomer registry"
	COMPOSE_LINK_WEBSERVER       = "Airflow Webserver: http://localhost:8080/admin/"
	COMPOSE_LINK_POSTGRES        = "Postgres Database: localhost:5432/postgres"

	EE_LINK_AIRFLOW = "Airflow Dashboard: https://%s-airflow.%s"
	EE_LINK_FLOWER  = "Flower Dashboard: https://%s-flower.%s"

	HOUSTON_BASIC_AUTH_DISABLED           = "Basic authentication is disabled, conact administrator or defer back to oAuth"
	HOUSTON_DEPLOYMENT_HEADER             = "Authenticated to %s \n\n"
	HOUSTON_DEPLOYING_PROMPT              = "Deploying: %s\n"
	HOUSTON_DEPLOYMENT_CREATE_SUCCESS     = "Successfully created %s\n"
	HOUSTON_DEPLOYMENT_DELETE_SUCCESS     = "Successfully deleted %s\n"
	HOUSTON_DEPLOYMENT_UPDATE_SUCCESS     = "Successfully updated deployment %s"
	HOUSTON_NO_DEPLOYMENTS_ERROR          = "No airflow deployments found"
	HOUSTON_SELECT_DEPLOYMENT_PROMPT      = "Select which airflow deployment you want to deploy to:"
	HOUSTON_OAUTH_REDIRECT                = "Please visit the following URL, authenticate and paste token in next prompt\n"
	HOUSTON_OAUTH_DISABLED                = "OAuth is disabled, contact administrator or defer to basic auth\n"
	HOUSTON_INVALID_DEPLOYMENT_KEY        = "Invalid deployment selection\n"
	HOUSTON_NO_USERS                      = "There are no users to list or you don't have permissions to list users that do exist"
	HOUSTON_WORKSPACE_CREATE_SUCCESS      = "Successfully created %s (%s)\n"
	HOUSTON_WORKSPACE_DELETE_SUCCESS      = "Succesfully deleted %s (%s)\n"
	HOUSTON_WORKSPACE_USER_ADD_SUCCESS    = "Successfully added user %s from workspace (%s)\n"
	HOUSTON_WORKSPACE_USER_REMOVE_SUCCESS = "Successfully removed user %s from workspace (%s)\n"
	HOUSTON_WORKSPACE_UPDATE_SUCCESS      = "Successfully updated workspace %s"
	HOUSTON_USER_CREATE_SUCCESS           = "Successfully created user (%s) with email %s\n"

	INPUT_PASSWORD    = "Password: "
	INPUT_USERNAME    = "Username (leave blank for oAuth): "
	INPUT_OAUTH_TOKEN = "oAuth Token: "

	REGISTRY_AUTH_SUCCESS        = "Successfully authenticated to %s\n"
	REGISTRY_AUTH_FAIL           = "" /* 167-byte string literal not displayed */
	REGISTRY_UNCOMMITTED_CHANGES = "Project directory has uncommmited changes, use `astro airflow deploy [releaseName] -f` to force deploy."
	REGISTRY_TAGS_REQUEST_ERROR  = "Error requesting respostory tags"

	NA = "N/A"
)

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