Documentation
¶
Index ¶
Constants ¶
const BaseDefinitionPathEnvName = "BASE_DEFINITION_PATH"
BaseDefinitionPathEnvName is the name of the environment variable that contains the absolute file path to the base component descriptor
const CliHomeEnvName = "COMPONENT_CLI_HOME"
CliHomeEnvName is the name of the environment variable that configures the component cli home directory.
const ComponentArchivePathEnvName = "COMPONENT_ARCHIVE_PATH"
ComponentArchivePathEnvName is the name of the environment variable that contains the file path to the component archive to be used.
const ComponentDescriptorPathEnvName = "COMPONENT_DESCRIPTOR_PATH"
ComponentDescriptorPathEnvName is the name of the environment variable that contains the absolute file path to output the final descriptor to.
const ComponentRepositoryCacheDirEnvVar = "COMPONENT_REPOSITORY_CACHE_DIR"
ComponentRepositoryCacheDirEnvVar is the name of the environment variable that points to the local component descriptor cache.
const ComponentRepositoryRepositoryBaseUrlEnvName = "COMPONENT_REPOSITORY_BASE_URL"
ComponentRepositoryRepositoryBaseUrlEnvName is the name of the environment variable that hold the base url of the current component repository
Variables ¶
This section is empty.
Functions ¶
func CliHomeDir ¶
CliHomeDir returns the home directoy of the components cli. It returns the COMPONENT_CLI_HOME if its defined otherwise the default "$HOME/.component-cli" is returned.
Types ¶
This section is empty.