Documentation ¶
Index ¶
- Constants
- func EnvsDescription(envs ...Env) string
- func GetDeployTag(cmdData *CmdData, projectDir string) (string, error)
- func GetHelmRelease(releaseOption string, environmentOption string, werfConfig *config.WerfConfig) (string, error)
- func GetKubernetesNamespace(namespaceOption string, environmentOption string, ...) (string, error)
- func GetLongCommandDescription(text string) string
- func GetNamespace(namespaceOption string) string
- func GetOptionalRepoName(projectName, repoOption string) string
- func GetProjectBuildDir(projectName string) (string, error)
- func GetProjectDir(cmdData *CmdData) (string, error)
- func GetRequiredRepoName(projectName, repoOption string) (string, error)
- func GetTagOptions(cmdData *CmdData, projectDir string) (build.TagOptions, error)
- func GetWerfConfig(projectDir string) (*config.WerfConfig, error)
- func SetupDir(cmdData *CmdData, cmd *cobra.Command)
- func SetupEnvironment(cmdData *CmdData, cmd *cobra.Command)
- func SetupHomeDir(cmdData *CmdData, cmd *cobra.Command)
- func SetupKubeContext(cmdData *CmdData, cmd *cobra.Command)
- func SetupNamespace(cmdData *CmdData, cmd *cobra.Command)
- func SetupRelease(cmdData *CmdData, cmd *cobra.Command)
- func SetupSSHKey(cmdData *CmdData, cmd *cobra.Command)
- func SetupTag(cmdData *CmdData, cmd *cobra.Command)
- func SetupTmpDir(cmdData *CmdData, cmd *cobra.Command)
- type CmdData
- type Env
Constants ¶
View Source
const ( CmdEnvAnno string = "environment" WerfHome Env = "WERF_HOME" WerfTmp Env = "WERF_TMP" WerfAnsibleArgs Env = "WERF_ANSIBLE_ARGS" WerfDockerConfig Env = "WERF_DOCKER_CONFIG" WerfIgnoreCIDockerAutologin Env = "WERF_IGNORE_CI_DOCKER_AUTOLOGIN" WerfInsecureRegistry Env = "WERF_INSECURE_REGISTRY" WerfSecretKey Env = "WERF_SECRET_KEY" WerfCleanupRegistryPassword Env = "WERF_CLEANUP_REGISTRY_PASSWORD" WerfDisableSyncLocalStagesDatePeriodPolicy Env = "WERF_DISABLE_SYNC_LOCAL_STAGES_DATE_PERIOD_POLICY" WerfGitTagsExpiryDatePeriodPolicy Env = "WERF_GIT_TAGS_EXPIRY_DATE_PERIOD_POLICY" WerfGitTagsLimitPolicy Env = "WERF_GIT_TAGS_LIMIT_POLICY" WerfGitCommitsExpiryDatePeriodPolicy Env = "WERF_GIT_COMMITS_EXPIRY_DATE_PERIOD_POLICY" WerfGitCommitsLimitPolicy Env = "WERF_GIT_COMMITS_LIMIT_POLICY" )
Variables ¶
This section is empty.
Functions ¶
func EnvsDescription ¶
func GetHelmRelease ¶
func GetKubernetesNamespace ¶
func GetNamespace ¶
func GetOptionalRepoName ¶
func GetProjectBuildDir ¶
func GetProjectDir ¶
func GetRequiredRepoName ¶
func GetTagOptions ¶
func GetTagOptions(cmdData *CmdData, projectDir string) (build.TagOptions, error)
func GetWerfConfig ¶
func GetWerfConfig(projectDir string) (*config.WerfConfig, error)
func SetupEnvironment ¶
func SetupHomeDir ¶
func SetupKubeContext ¶
func SetupNamespace ¶
func SetupRelease ¶
func SetupSSHKey ¶
func SetupTmpDir ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.