tools

package
v0.0.0-...-f5fadde Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: MIT Imports: 17 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadFile

func DownloadFile(downloadURL, targetDirPath string) error

DownloadFile ...

func EnvmanAdd

func EnvmanAdd(envStorePth, key, value string, expand, skipIfEmpty, sensitive bool) error

EnvmanAdd ...

func EnvmanAddEnvs

func EnvmanAddEnvs(envstorePth string, envsList []envmanModels.EnvironmentItemModel) error

EnvmanAddEnvs ...

func EnvmanClear

func EnvmanClear(envStorePth string) error

EnvmanClear ...

func EnvmanInit

func EnvmanInit(envStorePth string, clear bool) error

EnvmanInit ...

func EnvmanReadEnvList

func EnvmanReadEnvList(envStorePth string) (envmanModels.EnvsJSONListModel, error)

EnvmanReadEnvList ...

func ExpandEnvItems

func ExpandEnvItems(toExpand []models.EnvironmentItemModel, externalEnvs []string) (map[string]string, error)

ExpandEnvItems ...

func GetSecretKeysAndValues

func GetSecretKeysAndValues(secrets []envmanModels.EnvironmentItemModel) ([]string, []string)

GetSecretKeysAndValues filters out built in configuration parameters from the secret envs

func InstallFromURL

func InstallFromURL(toolBinName, downloadURL string) error

InstallFromURL ...

func InstallToolFromGitHub

func InstallToolFromGitHub(toolname, githubUser, toolVersion string) error

InstallToolFromGitHub ...

func IsBuiltInFlagTypeKey

func IsBuiltInFlagTypeKey(env string) bool

IsBuiltInFlagTypeKey returns true if the env key is a built-in flag type env key

func MoveFile

func MoveFile(oldpath, newpath string) error

MoveFile ...

func StepmanActivate

func StepmanActivate(collection, stepID, stepVersion, dir, ymlPth string) error

StepmanActivate ...

func StepmanSetup

func StepmanSetup(collection string) error

StepmanSetup ...

func StepmanShare

func StepmanShare() error

StepmanShare ...

func StepmanShareAudit

func StepmanShareAudit() error

StepmanShareAudit ...

func StepmanShareCreate

func StepmanShareCreate(tag, git, stepID string) error

StepmanShareCreate ...

func StepmanShareFinish

func StepmanShareFinish() error

StepmanShareFinish ...

func StepmanShareStart

func StepmanShareStart(collection string) error

StepmanShareStart ...

func StepmanStepInfo

func StepmanStepInfo(collection, stepID, stepVersion string) (stepmanModels.StepInfoModel, error)

StepmanStepInfo ...

func StepmanUpdate

func StepmanUpdate(collection string) error

StepmanUpdate ...

func UnameGOARCH

func UnameGOARCH() (string, error)

UnameGOARCH ...

func UnameGOOS

func UnameGOOS() (string, error)

UnameGOOS ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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