tools

package
v0.0.0-...-199e96c Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2021 License: MIT Imports: 19 Imported by: 0

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 bool) error

EnvmanAdd ...

func EnvmanClear

func EnvmanClear(envstorePth string) error

EnvmanClear ...

func EnvmanInit

func EnvmanInit() error

EnvmanInit ...

func EnvmanInitAtPath

func EnvmanInitAtPath(envstorePth string) error

EnvmanInitAtPath ...

func EnvmanJSONPrint

func EnvmanJSONPrint(envstorePth string) (string, error)

EnvmanJSONPrint ...

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 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 StepmanJSONLocalStepInfo

func StepmanJSONLocalStepInfo(pth string) (string, error)

StepmanJSONLocalStepInfo ...

func StepmanJSONStepLibStepInfo

func StepmanJSONStepLibStepInfo(collection, stepID, stepVersion string) (string, error)

StepmanJSONStepLibStepInfo ...

func StepmanJSONStepList

func StepmanJSONStepList(collection string) (string, error)

StepmanJSONStepList ...

func StepmanRawLocalStepInfo

func StepmanRawLocalStepInfo(pth string) (string, error)

StepmanRawLocalStepInfo ...

func StepmanRawStepLibStepInfo

func StepmanRawStepLibStepInfo(collection, stepID, stepVersion string) (string, error)

StepmanRawStepLibStepInfo ...

func StepmanRawStepList

func StepmanRawStepList(collection string) (string, error)

StepmanRawStepList ...

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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