com.coralogix.zio.k8s.operator

Members list

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]

Attributes

Supertypes
trait Operator[R, E, T]
class Object
trait Matchable
class Any
case class KubernetesFailure(failure: K8sFailure) extends OperatorFailure[Nothing]

Operator failed with a Kubernetes error

Operator failed with a Kubernetes error

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait OperatorFailure[Nothing]
class Object
trait Matchable
class Any
Show all
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

Supertypes
trait Operator[R, E, T]
class Object
trait Matchable
class Any
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

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class ClusterOperator[R, E, T]
class NamespacedOperator[R, E, T]
Self type
Operator[R, E, T]
object Operator

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Operator.type
case class OperatorError[E](error: E) extends OperatorFailure[E]

Operator failed with an application-specific error

Operator failed with an application-specific error

Type parameters

E

Operator-specific error type

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait OperatorFailure[E]
class Object
trait Matchable
class Any
Show all
sealed trait OperatorFailure[+E]

Operator failure type

Operator failure type

Type parameters

E

Operator-specific error type

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object Registration

Registers CRD objects

Registers CRD objects

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type