teraslice-cli / helpers/jobs / default
Class: default
Constructors
new default()
new default(
cliConfig
):default
Parameters
Parameter | Type |
---|---|
cliConfig | Record <string , any > |
Returns
Source
teraslice-cli/src/helpers/jobs.ts:61
Properties
activeStatus
activeStatus:
string
[]
Source
teraslice-cli/src/helpers/jobs.ts:56
allJobsStopped
allJobsStopped:
boolean
Source
teraslice-cli/src/helpers/jobs.ts:55
concurrency
concurrency:
number
Source
teraslice-cli/src/helpers/jobs.ts:59
config
config:
Record
<string
,any
>
Param
config object
Source
teraslice-cli/src/helpers/jobs.ts:51
jobs
jobs:
JobMetadata
[]
Source
teraslice-cli/src/helpers/jobs.ts:53
jobsListChecked
jobsListChecked:
string
[]
Source
teraslice-cli/src/helpers/jobs.ts:57
jobsListInitial
jobsListInitial:
string
[]
Source
teraslice-cli/src/helpers/jobs.ts:54
teraslice
teraslice:
default
Source
teraslice-cli/src/helpers/jobs.ts:52
terminalStatuses
terminalStatuses:
AllStatusTypes
[]
Source
teraslice-cli/src/helpers/jobs.ts:58
Accessors
list
get
list():JobMetadata
[]
Returns
Source
teraslice-cli/src/helpers/jobs.ts:80
Methods
adjustWorkers()
adjustWorkers():
Promise
<void
>
Returns
Promise
<void
>
Source
teraslice-cli/src/helpers/jobs.ts:129
awaitStatus()
awaitStatus():
Promise
<void
>
Returns
Promise
<void
>
Source
teraslice-cli/src/helpers/jobs.ts:201
batchJobsBeforeStart()
batchJobsBeforeStart():
JobMetadata
[][]
Returns
JobMetadata
[][]
Source
teraslice-cli/src/helpers/jobs.ts:319
checkForErrors()
checkForErrors():
Promise
<void
>
Returns
Promise
<void
>
Source
teraslice-cli/src/helpers/jobs.ts:173
checkStatus()
checkStatus():
Promise
<void
>
Returns
Promise
<void
>
Source
teraslice-cli/src/helpers/jobs.ts:117
delete()
delete():
Promise
<void
>
Returns
Promise
<void
>
Source
teraslice-cli/src/helpers/jobs.ts:499
deleteOne()
deleteOne(
job
):Promise
<void
>
Parameters
Parameter | Type |
---|---|
job | JobMetadata |
Returns
Promise
<void
>
Source
teraslice-cli/src/helpers/jobs.ts:518
export()
export():
Promise
<void
>
Returns
Promise
<void
>
Source
teraslice-cli/src/helpers/jobs.ts:820
exportOne()
exportOne(
jobConfig
):Promise
<void
>
Parameters
Parameter | Type |
---|---|
jobConfig | JobConfig |
Returns
Promise
<void
>
Source
teraslice-cli/src/helpers/jobs.ts:834
formatJobConfig()
formatJobConfig(
jobConfig
):Partial
<JobConfig
>
Parameters
Parameter | Type |
---|---|
jobConfig | JobConfigFile |
Returns
Partial
<JobConfig
>
Source
teraslice-cli/src/helpers/jobs.ts:730
getClusterControllers()
getClusterControllers():
Promise
<ExecutionList
>
Returns
Promise
<ExecutionList
>
Source
teraslice-cli/src/helpers/jobs.ts:722
getJobDiff()
getJobDiff(
job
):void
Parameters
Parameter | Type |
---|---|
job | JobMetadata |
Returns
void
Source
teraslice-cli/src/helpers/jobs.ts:796
getLocalJSONConfigs()
getLocalJSONConfigs(
srcDir
,files
):Record
<string
,Partial
<JobConfig
>>
Parameters
Parameter | Type |
---|---|
srcDir | string |
files | string [] |
Returns
Record
<string
, Partial
<JobConfig
>>
Source
teraslice-cli/src/helpers/jobs.ts:745
getStatus()
getStatus(
jobApi
):Promise
<AllStatusTypes
>
Parameters
Parameter | Type |
---|---|
jobApi | default |
Returns
Promise
<AllStatusTypes
>
Source
teraslice-cli/src/helpers/jobs.ts:658
initialize()
initialize():
Promise
<void
>
Returns
Promise
<void
>
Source
teraslice-cli/src/helpers/jobs.ts:113
noJobsWithStatus()
noJobsWithStatus():
void
Returns
void
Source
teraslice-cli/src/helpers/jobs.ts:686
pause()
pause():
Promise
<void
>
Returns
Promise
<void
>
Source
teraslice-cli/src/helpers/jobs.ts:440
pauseOrStopOne()
pauseOrStopOne(
job
,action
):Promise
<void
>
Parameters
Parameter | Type |
---|---|
job | JobMetadata |
action | "stop" | "pause" |
Returns
Promise
<void
>
Source
teraslice-cli/src/helpers/jobs.ts:463
printDiff()
printDiff(
diffResult
,showUpdateField
):void
Parameters
Parameter | Type |
---|---|
diffResult | Change [] |
showUpdateField | boolean |
Returns
void
Source
teraslice-cli/src/helpers/jobs.ts:758
recover()
recover():
Promise
<void
>
Returns
Promise
<void
>
Source
teraslice-cli/src/helpers/jobs.ts:151
restart()
restart():
Promise
<void
>
Returns
Promise
<void
>
Source
teraslice-cli/src/helpers/jobs.ts:269
resume()
resume():
Promise
<void
>
Returns
Promise
<void
>
Source
teraslice-cli/src/helpers/jobs.ts:257
run()
run():
Promise
<void
>
Returns
Promise
<void
>
Source
teraslice-cli/src/helpers/jobs.ts:261
save()
save():
Promise
<void
>
Returns
Promise
<void
>
Source
teraslice-cli/src/helpers/jobs.ts:223
start()
start():
Promise
<void
>
Returns
Promise
<void
>
Source
teraslice-cli/src/helpers/jobs.ts:265
startOrResume()
startOrResume(
action
):Promise
<void
>
Parameters
Parameter | Type |
---|---|
action | "start" | "resume" |
Returns
Promise
<void
>
Source
teraslice-cli/src/helpers/jobs.ts:274
startOrResumeOne()
startOrResumeOne(
job
,action
):Promise
<void
>
Parameters
Parameter | Type |
---|---|
job | JobMetadata |
action | "start" | "resume" |
Returns
Promise
<void
>
Source
teraslice-cli/src/helpers/jobs.ts:294
statusCheck()
statusCheck(
statusList
,status
):boolean
Parameters
Parameter | Type |
---|---|
statusList | undefined | AllStatusTypes [] |
status | AllStatusTypes |
Returns
boolean
Source
teraslice-cli/src/helpers/jobs.ts:675
stop()
stop():
Promise
<void
>
Returns
Promise
<void
>
Source
teraslice-cli/src/helpers/jobs.ts:448
submitJobConfig()
submitJobConfig(
jobConfig
):Promise
<undefined
|default
>
Parameters
Parameter | Type |
---|---|
jobConfig | JobConfigParams |
Returns
Promise
<undefined
| default
>
Source
teraslice-cli/src/helpers/jobs.ts:84
verifyK8sImageContinuity()
verifyK8sImageContinuity(
cliConfig
):Promise
<void
>
Parameters
Parameter | Type |
---|---|
cliConfig | default |
Returns
Promise
<void
>
Source
teraslice-cli/src/helpers/jobs.ts:92
view()
view():
Promise
<void
>
Returns
Promise
<void
>