Skip to main content

KubeRunnerParameters

@webda/kubernetes


Class: KubeRunnerParameters

Defined in: kubernetes/src/services/kuberunner.service.ts:24

Parameters for the KubeRunner

Extends​

  • RunnerParameters

Implements​

Constructors​

Constructor​

new KubeRunnerParameters(): KubeRunnerParameters

Returns​

KubeRunnerParameters

Inherited from​

RunnerParameters.constructor

Properties​

actions?​

optional actions?: string[]

Defined in: async/lib/services/runner.service.d.ts:12

Actions managed by the runner

Default​

[]

Inherited from​

RunnerParameters.actions


config?​

optional config?: string | K8sConfiguration

Defined in: kubernetes/src/services/kuberunner.service.ts:28

Kubernetes configuration

Implementation of​

KubernetesParameters.config


context?​

optional context?: string

Defined in: kubernetes/src/services/kuberunner.service.ts:32

Default context to use

Implementation of​

KubernetesParameters.context


jobImage?​

optional jobImage?: string

Defined in: kubernetes/src/services/kuberunner.service.ts:40

If default template, use this image


jobResources?​

optional jobResources?: any

Defined in: kubernetes/src/services/kuberunner.service.ts:36

Kubernetes resources to use


type​

type: string

Defined in: core/lib/services/serviceparameters.d.ts:8

Type of the service

Inherited from​

RunnerParameters.type

Methods​

load()​

load(params?): this

Defined in: kubernetes/src/services/kuberunner.service.ts:47

Parameters​

params?​

any = {}

the input parameters

Returns​

this

this

Overrides​

RunnerParameters.load


update()​

update(params, delta): this

Defined in: core/lib/services/serviceparameters.d.ts:25

Update parameters and call watchers if a parameter was changed

Parameters​

params​

any

the service parameters

delta​

any

the delta

Returns​

this

this for chaining

Inherited from​

RunnerParameters.update


with()​

with(callback): this

Defined in: core/lib/services/serviceparameters.d.ts:31

Watch for changes on the parameters and call watchers when a parameter is changed

Parameters​

callback​

(params) => void

the callback function

Returns​

this

this for chaining

Inherited from​

RunnerParameters.with