Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

This API deploys an item from the catalog using soajs recipe of type cronjob.

...

Input

Code Block
Type: application/json

Param

Source

Type

Required

Description

configuration

body

object

Yes

 

recipe

body

object

Yes

 

body.recipe

Param

Source

Type

Required

Description

catalog

body.recipe

object

Yes

item

body.recipe

object

Yes

 

src

body.recipe

object

no

 

mode

body.recipe

enum

yes

only ["CronJob"]

labels

body.recipe

object

no

image

body.recipe

object

yes

ports

body.recipe

array

no

workingDir

body.recipe

string

no

command

body.recipe

array

no

args

body.recipe

array

no

readinessProbe

body.recipe

object

yes

livenessProbe

body.recipe

object

no

env

body.recipe

array

no

volume

body.recipe

object

no

replicas

body.recipe

integer

no

revisionHistoryLimit

body.recipe

integer

no

restartPolicy

body.recipe

string

no

service

body.recipe

object

no

body.recipe.catalog

Param

Source

Type

Required

Description

id

body.recipe.catalog

string

Yes

 

version

body.recipe.catalog

string

Yes

shell

body.recipe.catalog

string

Yes

 

concurrencyPolicy

body.recipe.catalog

string

yes

body.recipe.item

Param

Source

Type

Required

Description

env

body.recipe.item

string

Yes

 

name

body.recipe.item

string

Yes

group

body.recipe.item

string

Yes

 

type

body.recipe.item

string

Yes

subtype

body.recipe.item

string

no

version

body.recipe.item

string

Yes