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:31

Kubernetes configuration

Can be encrypted with webda config encrypt

Secret​

users.token,users.password,users.keyData,users.authProvider

Implementation of​

KubernetesParameters.config


context?​

optional context?: string

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

Default context to use

Implementation of​

KubernetesParameters.context


jobImage?​

optional jobImage?: string

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

If default template, use this image


jobResources?​

optional jobResources?: any

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

Kubernetes resources to use


type​

type: string

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

Type of the service

Inherited from​

RunnerParameters.type

Methods​

load()​

load(params?): this

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

Parameters​

params?​

any = {}

the input parameters

Returns​

this

this

Overrides​

RunnerParameters.load


update()​

update(params, delta): this

Defined in: core/lib/application/parameters.d.ts:21

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/application/parameters.d.ts:27

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