ClusterOperator

final class ClusterOperator[R, E, T](client: ClusterResource[T], eventProcessor: EventProcessor[R, E, T], val context: OperatorContext, val bufferSize: Int) extends Operator[R, E, T]
trait Operator[R, E, T]
class Object
trait Matchable
class Any

Value members

Concrete methods

override def mapEventProcessor[R1, E1](f: ZIO[R, OperatorFailure[E], Unit] => ZIO[R1, OperatorFailure[E1], Unit]): Operator[R1, E1, T]
Definition Classes
override def processEvent(event: TypedWatchEvent[T]): ZIO[R, OperatorFailure[E], Unit]
Definition Classes
override protected def watchStream(): ZStream[Clock, K8sFailure, TypedWatchEvent[T]]
Definition Classes

Inherited methods

final def provide(r: R)(implicit ev: NeedsEnv[R]): Operator[Any, E, T]

Provide the required environment for the operator

Provide the required environment for the operator

Inherited from
Operator
final def provideCustomLayer[E1 >: E, R1 <: Has[_]](layer: ZLayer[ZEnv, OperatorFailure[E1], R1])(implicit ev: ZEnv & R1 <:< R, tagged: Tag[R1]): Operator[ZEnv, E1, T]

Provide the required environment for the operator with a layer on top of the standard ones

Provide the required environment for the operator with a layer on top of the standard ones

Inherited from
Operator
final def provideLayer[E1 >: E, R0, R1](layer: ZLayer[R0, OperatorFailure[E1], R1])(implicit ev1: R1 <:< R, ev2: NeedsEnv[R]): Operator[R0, E1, T]

Provide the required environment for the operator with a layer

Provide the required environment for the operator with a layer

Inherited from
Operator
final def provideSome[R0](f: R0 => R)(implicit ev: NeedsEnv[R]): Operator[R0, E, T]

Provide a part of the required environment for the operator

Provide a part of the required environment for the operator

Inherited from
Operator
final def provideSomeLayer[R0 <: Has[_]]: ProvideSomeLayer[R0, R, E, T]

Provide parts of the required environment for the operator with a layer

Provide parts of the required environment for the operator with a layer

Inherited from
Operator
def start(): URIO[R & Clock & Logging, Runtime[Nothing, Unit]]

Starts the operator on a forked fiber

Starts the operator on a forked fiber

Inherited from
Operator

Concrete fields

override val bufferSize: Int
override val context: OperatorContext

Implicits

Inherited implicits

Inherited from
Operator