object Operator
- Alphabetic
- By Inheritance
- Operator
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
trait
Aspect[-R, +E, T] extends AnyRef
Event processor aspect
-
trait
EventProcessor[-R, +E, T] extends AnyRef
Operator event processor
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
-
case class
OperatorContext(resourceType: K8sResourceType, namespace: Option[K8sNamespace]) extends Product with Serializable
Static contextual information for the event processors, usable for implementing generic loggers/metrics etc.
- final class ProvideSomeLayer[R0, R, E, T] extends AnyVal
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
cluster[R, E, T](eventProcessor: EventProcessor[R, E, T])(buffer: Int)(implicit arg0: zio.EnvironmentTag[R], arg1: zio.EnvironmentTag[T], arg2: ResourceMetadata[T]): ZIO[ClusterResource[T], Nothing, Operator[R, E, T]]
Creates an operator for a cluster resource
Creates an operator for a cluster resource
- R
Operator environment
- E
Operator-specific error type
- T
Resource type
- eventProcessor
Event processor implementation
- buffer
Buffer size for the incoming events
- returns
An operator that can be run with Operator.start()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
namespaced[R, E, T](eventProcessor: EventProcessor[R, E, T])(namespace: Option[K8sNamespace], buffer: Int)(implicit arg0: zio.EnvironmentTag[R], arg1: zio.EnvironmentTag[T], arg2: ResourceMetadata[T]): ZIO[NamespacedResource[T], Nothing, Operator[R, E, T]]
Creates an operator for a namespaced resource
Creates an operator for a namespaced resource
- R
Operator environment
- E
Operator-specific error type
- T
Resource type
- eventProcessor
Event processor implementation
- namespace
Namespace to run in. If None, it will watch resources from all namespaces.
- buffer
Buffer size for the incoming events
- returns
An operator that can be run with Operator.start()
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated