NamespacedOperator

com.coralogix.zio.k8s.operator.NamespacedOperator
final class NamespacedOperator[R, E, T](client: NamespacedResource[T], namespace: Option[K8sNamespace], eventProcessor: EventProcessor[R, E, T], val context: OperatorContext, val bufferSize: Int) extends Operator[R, E, T]

Attributes

Graph
Supertypes
trait Operator[R, E, T]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def mapEventProcessor[R1, E1](f: ZIO[R, OperatorFailure[E], Unit] => ZIO[R1, OperatorFailure[E1], Unit]): Operator[R1, E1, T]

Modify the operator's event processor with the given function

Modify the operator's event processor with the given function

Attributes

Definition Classes
override def processEvent(event: TypedWatchEvent[T]): ZIO[R, OperatorFailure[E], Unit]

Attributes

Definition Classes
override protected def watchStream(): ZStream[Any, K8sFailure, TypedWatchEvent[T]]

Attributes

Definition Classes

Inherited methods

final def provideCustomLayer[E1 >: E, R1 <: ZEnvironment[_]](layer: => ZLayer[Any, OperatorFailure[E1], R1])(implicit ev: R1 <:< R, tagged: Tag[R1]): Operator[Any, 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

Attributes

Inherited from:
Operator
final def provideLayer[E1 >: E, R0, R1](layer: => ZLayer[R0, OperatorFailure[E1], 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

Attributes

Inherited from:
Operator
final def provideSomeLayer[R0 <: ZEnvironment[_]]: 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

Attributes

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

Starts the operator on a forked fiber

Starts the operator on a forked fiber

Attributes

Inherited from:
Operator

Exposes stream

Exposes stream

Attributes

Inherited from:
Operator

Concrete fields

override val bufferSize: Int
override val context: OperatorContext

Implicits

Inherited implicits

Attributes

Inherited from:
Operator