Versions in this module Expand all Collapse all v0 v0.9.1 Feb 5, 2021 Changes in this version + const Bin + const Blade + const BladeLog + var Debug bool + var LogLevel string + var Token string + func AddDebugFlag() + func AddLogLevelFlag() + func AddModels(parent *spec.Models, child *spec.Models) + func AddTokenFlag() + func CheckPortInUse(port string) bool + func ConvertSpecToModels(commandSpec spec.ExpModelCommandSpec, prepare spec.ExpPrepareModel, ...) *spec.Models + func CreateYamlFile(models *spec.Models, specFile string) error + func Curl(url string) (string, error, int) + func GenerateUid() (string, error) + func GetBinPath() string + func GetLibHome() string + func GetLogFile(programType int) (string, error) + func GetLogPath(programType int) (string, error) + func GetNohupOutput(programType int, logFileName string) string + func GetProgramParentPath() string + func GetProgramPath() string + func GetSpecifyingUserHome(username string) string + func GetUnusedPort() (int, error) + func GetUserHome() string + func GetYamlHome() string + func Hold(hooks ...ShutdownHook) + func InitLog(programType int) + func IsDir(path string) bool + func IsExist(fileName string) bool + func IsNil(i interface{}) bool + func MarshalModelSpec(models *spec.Models, writer io.Writer) error + func MergeModels(models ...*spec.Models) *spec.Models + func ParseIntegerListToStringSlice(flagValue string) ([]string, error) + func ParseSpecsToModel(file string, executor spec.Executor) (*spec.Models, error) + func PostCurl(url string, body []byte, contentType string) (string, error, int) + func Remove(items []string, idx int) []string + func RemoveDuplicates(items []string) []string + type ShutdownHook interface + Shutdown func() error v0.9.1-1 Feb 5, 2021