- Companion
- class
Type members
Classlikes
Operator event processor
Operator event processor
This is the type to be implemented when writing operators using the zio-k8s-operator library.
- Type Params
- E
Operator-specific error type
- R
Operator environment
- T
Resource type
Value members
Concrete methods
Creates an operator for a cluster resource
Creates an operator for a cluster resource
- Type Params
- E
Operator-specific error type
- R
Operator environment
- T
Resource type
- Value Params
- buffer
Buffer size for the incoming events
- eventProcessor
Event processor implementation
- Returns
An operator that can be run with Operator.start
Creates an operator for a namespaced resource
Creates an operator for a namespaced resource
- Type Params
- E
Operator-specific error type
- R
Operator environment
- T
Resource type
- Value Params
- buffer
Buffer size for the incoming events
- eventProcessor
Event processor implementation
- namespace
Namespace to run in. If None, it will watch resources from all namespaces.
- Returns
An operator that can be run with Operator.start