KubernetesConfigurationParameters
Class: KubernetesConfigurationParameters
Defined in: packages/core/src/configurations/kubernetesconfiguration.service.ts:12
Parameters for KubernetesConfigurationService Throw error if default is set
Extends
Constructors
Constructor
new KubernetesConfigurationParameters():
KubernetesConfigurationParameters
Returns
KubernetesConfigurationParameters
Inherited from
ConfigurationServiceParameters.constructor
Properties
checkInterval
checkInterval:
Duration
Defined in: packages/core/src/configurations/configuration.service.ts:37
Check configuration every {checkInterval} seconds
Default
1h
Inherited from
ConfigurationServiceParameters.checkInterval
default?
optionaldefault?:any
Defined in: packages/core/src/configurations/configuration.service.ts:58
Default configuration to use
Default
{ services: {}, parameters: {} }
Inherited from
ConfigurationServiceParameters.default
source
source:
string
Defined in: packages/core/src/configurations/configuration.service.ts:48
Format sourceServiceName:sourceId or sourceId if source is this service
Inherited from
ConfigurationServiceParameters.source
sources
sources:
string[]
Defined in: packages/core/src/configurations/configuration.service.ts:53
List of sources to load and merge ( in order ) Format sourceServiceName:sourceId or sourceId if source is this service
Inherited from
ConfigurationServiceParameters.sources
type
type:
string
Defined in: packages/core/src/services/serviceparameters.ts:10
Type of the service
Inherited from
ConfigurationServiceParameters.type
Accessors
checkIntervalMs
Get Signature
get checkIntervalMs():
number
Defined in: packages/core/src/configurations/configuration.service.ts:42
Check interval in ms
Returns
number
the result
Inherited from
ConfigurationServiceParameters.checkIntervalMs
Methods
load()
load(
params):KubernetesConfigurationParameters
Defined in: packages/core/src/configurations/kubernetesconfiguration.service.ts:18
Load parameters, rejecting any default configuration since Kubernetes sources are required
Parameters
params
any
the service parameters
Returns
KubernetesConfigurationParameters
the result
Overrides
ConfigurationServiceParameters.load
update()
update(
params?,delta):this
Defined in: packages/core/src/services/serviceparameters.ts:35
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
ConfigurationServiceParameters.update
with()
with(
callback):this
Defined in: packages/core/src/services/serviceparameters.ts:65
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