constants

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const BaseDefinitionPathEnvName = "BASE_DEFINITION_PATH"

BaseDefinitionPathEnvName is the name of the environment variable that contains the absolute file path to the base component descriptor

View Source
const CliHomeEnvName = "COMPONENT_CLI_HOME"

CliHomeEnvName is the name of the environment variable that configures the component cli home directory.

View Source
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.

View Source
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.

View Source
const ComponentRepositoryCacheDirEnvVar = "COMPONENT_REPOSITORY_CACHE_DIR"

ComponentRepositoryCacheDirEnvVar is the name of the environment variable that points to the local component descriptor cache.

View Source
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

func CliHomeDir() (string, error)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL