com.coralogix.zio.k8s.operator

Type members

Classlikes

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]
case
class KubernetesFailure(failure: K8sFailure) extends OperatorFailure[Nothing]

Operator failed with a Kubernetes error

Operator failed with a Kubernetes error

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]
trait Operator[R, E, T]

Core implementation of the operator logic. Watches a stream and calls an event processor.

Core implementation of the operator logic. Watches a stream and calls an event processor.

An instance of this is tied to one particular resource type in one namespace.

Create an instance using either Operator.namespaced or Operator.cluster

Companion
object
object Operator
Companion
class
case
class OperatorError[E](error: E) extends OperatorFailure[E]

Operator failed with an application-specific error

Operator failed with an application-specific error

Type Params
E

Operator-specific error type

sealed
trait OperatorFailure[+E]

Operator failure type

Operator failure type

Type Params
E

Operator-specific error type

Companion
object
Companion
class

Registers CRD objects

Registers CRD objects