Packages

trait EventProcessor[-R, +E, T] extends AnyRef

Operator event processor

This is the type to be implemented when writing operators using the zio-k8s-operator library.

R

Operator environment

E

Operator-specific error type

T

Resource type

Self Type
EventProcessor[R, E, T]
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EventProcessor
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def apply(context: OperatorContext, event: TypedWatchEvent[T]): ZIO[R, OperatorFailure[E], Unit]

    Process an incoming event

    Process an incoming event

    context

    Information about the operator

    event

    Event to be processed

Concrete Value Members

  1. def @@[R1 <: R, E1 >: E](aspect: Aspect[R1, E1, T]): EventProcessor[R1, E1, T]

    Applies an aspect to the event processor