Documentation
¶
Index ¶
- func DownloadFile(downloadURL, targetDirPath string) error
- func EnvmanAdd(envstorePth, key, value string, expand, skipIfEmpty bool) error
- func EnvmanClear(envstorePth string) error
- func EnvmanInit() error
- func EnvmanInitAtPath(envstorePth string) error
- func EnvmanJSONPrint(envstorePth string) (string, error)
- func EnvmanRun(envstorePth, workDirPth string, cmdArgs []string, timeout time.Duration, ...) (int, error)
- func ExpandEnvItems(toExpand []models.EnvironmentItemModel, externalEnvs []string) (map[string]string, error)
- func ExportEnvironmentsList(envstorePth string, envsList []envmanModels.EnvironmentItemModel) error
- func GetSecretValues(secrets []envmanModels.EnvironmentItemModel) []string
- func InstallFromURL(toolBinName, downloadURL string) error
- func InstallToolFromGitHub(toolname, githubUser, toolVersion string) error
- func IsBuiltInFlagTypeKey(env string) bool
- func MoveFile(oldpath, newpath string) error
- func StepmanActivate(collection, stepID, stepVersion, dir, ymlPth string) error
- func StepmanJSONLocalStepInfo(pth string) (string, error)
- func StepmanJSONStepLibStepInfo(collection, stepID, stepVersion string) (string, error)
- func StepmanJSONStepList(collection string) (string, error)
- func StepmanRawLocalStepInfo(pth string) (string, error)
- func StepmanRawStepLibStepInfo(collection, stepID, stepVersion string) (string, error)
- func StepmanRawStepList(collection string) (string, error)
- func StepmanSetup(collection string) error
- func StepmanShare() error
- func StepmanShareAudit() error
- func StepmanShareCreate(tag, git, stepID string) error
- func StepmanShareFinish() error
- func StepmanShareStart(collection string) error
- func StepmanUpdate(collection string) error
- func UnameGOARCH() (string, error)
- func UnameGOOS() (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnvmanRun ¶
func EnvmanRun(envstorePth, workDirPth string, cmdArgs []string, timeout time.Duration, secrets []envmanModels.EnvironmentItemModel, stdInPayload []byte, ) (int, error)
EnvmanRun runs a command through envman.
func ExpandEnvItems ¶
func ExpandEnvItems(toExpand []models.EnvironmentItemModel, externalEnvs []string) (map[string]string, error)
ExpandEnvItems ...
func ExportEnvironmentsList ¶
func ExportEnvironmentsList(envstorePth string, envsList []envmanModels.EnvironmentItemModel) error
ExportEnvironmentsList ...
func GetSecretValues ¶
func GetSecretValues(secrets []envmanModels.EnvironmentItemModel) []string
GetSecretValues filters out built in configuration parameters from the secret envs
func InstallToolFromGitHub ¶
InstallToolFromGitHub ...
func IsBuiltInFlagTypeKey ¶
IsBuiltInFlagTypeKey returns true if the env key is a built-in flag type env key
func StepmanActivate ¶
StepmanActivate ...
func StepmanJSONLocalStepInfo ¶
StepmanJSONLocalStepInfo ...
func StepmanJSONStepLibStepInfo ¶
StepmanJSONStepLibStepInfo ...
func StepmanJSONStepList ¶
StepmanJSONStepList ...
func StepmanRawLocalStepInfo ¶
StepmanRawLocalStepInfo ...
func StepmanRawStepLibStepInfo ¶
StepmanRawStepLibStepInfo ...
func StepmanRawStepList ¶
StepmanRawStepList ...
func StepmanShareCreate ¶
StepmanShareCreate ...
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.