No results for

Powered byAlgolia

The ServiceDisruptor() constructor creates a new instance of a ServiceDisruptor class.

ParameterTypeDescription
servicestringname of the service
namespacestringnamespace on which the service is defined
options (optional)objectoptions for controlling the behavior of the disruptor

Options

The following options control the creation and behavior of the ServiceDisruptor:

AttributeTypeDescription
injectTimeoutstringmaximum time for waiting the disruptor to be ready in the target pods (default 30s)

Example

const disruptor = new ServiceDisruptor('my-service', 'my-namespace');