cli

package
v1.8.16 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2024 License: MIT Imports: 33 Imported by: 0

Documentation

Index

Constants

View Source
const DBPrefix = "PROD_"
View Source
const DefaultCount = 20
View Source
const DefaultDBHost = "localhost"
View Source
const DefaultDBPort = 5432
View Source
const DefaultServerHost = "localhost"
View Source
const KEYCHAIN_PATH = ".colonies"
View Source
const MaxArgInfoLength = 50
View Source
const MaxArgLength = 20
View Source
const MaxAttributeLength = 30
View Source
const TimeLayout = "2006-01-02 15:04:05"

Variables

View Source
var ASCII bool
View Source
var AllowExecutorReregister bool
View Source
var Approve bool
View Source
var Args []string
View Source
var AttributeID string
View Source
var BindAddr string
View Source
var CleanPlans bool
View Source
var ColonyName string
View Source
var ColonyPrvKey string
View Source
var Count int
View Source
var CronCheckerPeriod int
View Source
var CronExpr string
View Source
var CronID string
View Source
var CronInterval int
View Source
var CronName string
View Source
var CronRandom bool
View Source
var DBHost string
View Source
var DBName = "postgres"
View Source
var DBPassword string
View Source
var DBPort int
View Source
var DBUser string
View Source
var Days int
View Source
var DownloadDir string
View Source
var Dry bool
View Source
var Email string
View Source
var Env []string
View Source
var Errors []string
View Source
var EtcdClientPort int
View Source
var EtcdCluster []string
View Source
var EtcdDataDir string
View Source
var EtcdHost string
View Source
var EtcdName string
View Source
var EtcdPeerPort int
View Source
var ExclusiveAssign bool
View Source
var ExecutorID string
View Source
var ExecutorName string
View Source
var ExecutorType string
View Source
var Failed bool
View Source
var FileID string
View Source
var Filename string
View Source
var Follow bool
View Source
var Full bool
View Source
var FuncName string
View Source
var FunctionID string
View Source
var GeneratorCheckerPeriod int
View Source
var GeneratorID string
View Source
var GeneratorName string
View Source
var GeneratorTimeout int
View Source
var GeneratorTrigger int
View Source
var InitDB bool
View Source
var Initiator string
View Source
var Insecure bool
View Source
var JSON bool
View Source
var KeepLocal bool
View Source
var KwArgs []string
View Source
var Label string
View Source
var LogMsg string
View Source
var Long float64
View Source
var MaxExecTime int
View Source
var MaxRetries int
View Source
var MaxWaitTime int
View Source
var MonitorInterval int
View Source
var MonitorPort int
View Source
var NewColonyName string
View Source
var Output []string
View Source
var Phone string
View Source
var Print bool
View Source
var PrintOutput bool
View Source
var ProcessID string
View Source
var PrvKey string
View Source
var Quite bool
View Source
var RelayPort int
View Source
var Retention bool
View Source
var RetentionPolicy int64
View Source
var SecondsBack int
View Source
var ServerHost string
View Source
var ServerID string
View Source
var ServerPort int
View Source
var ServerPrvKey string
View Source
var ShowIDs bool
View Source
var Since int64
View Source
var SkipTLSVerify bool
View Source
var Snapshot bool
View Source
var SnapshotID string
View Source
var SnapshotName string
View Source
var Snapshots []string
View Source
var SpecFile string
View Source
var StorageDriver string
View Source
var Successful bool
View Source
var SyncDir string
View Source
var SyncPlans bool
View Source
var TLSCert string
View Source
var TLSKey string
View Source
var TargetColonyID string
View Source
var TargetColonyName string
View Source
var TargetExecutorID string
View Source
var TargetExecutorName string
View Source
var TargetExecutorType string
View Source
var TargetServerID string
View Source
var Text string
View Source
var Timeout int
View Source
var TimescaleDB bool
View Source
var UseTLS bool
View Source
var UserID string
View Source
var UserPrvKey string
View Source
var Username string
View Source
var Value string
View Source
var Verbose bool
View Source
var Wait bool
View Source
var WaitForPrevProcessGraph bool
View Source
var Waiting bool
View Source
var WorkflowID string
View Source
var Yes bool

Functions

func CheckError

func CheckError(err error)

func CheckJSONParseErr added in v1.7.0

func CheckJSONParseErr(err error, jsonStr string)

func Execute

func Execute()

func IfArr2StringArr added in v1.0.1

func IfArr2StringArr(ifarr []interface{}) []string

func IfMap2StringMap added in v1.2.1

func IfMap2StringMap(ifarr map[string]interface{}) map[string]string

func State2String

func State2String(state int) string

func StrArr2Str

func StrArr2Str(args []string) string

func StrArr2StrWithCommas added in v1.0.1

func StrArr2StrWithCommas(args []string) string

func StrMap2Str added in v1.2.1

func StrMap2Str(args map[string]string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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