trait Runner[T <: ObjectResource] extends AnyRef
A Runner translates into a Runner Kubernetes resource, and a ConfigMap that configures the runner.
- Source
- Runner.scala
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- Runner
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
- abstract def appActions(app: CR, labels: CloudflowLabels, ownerReferences: List[OwnerReference]): Seq[Action]
- abstract def configEditor: ObjectEditor[ConfigMap]
- abstract def defaultReplicas: Int
- abstract def editor: ObjectEditor[T]
- abstract def expectedPodCount(deployment: StreamletDeployment): Int
- abstract def format: Format[T]
- abstract def prometheusConfig: PrometheusConfig
-
abstract
def
resource(deployment: StreamletDeployment, app: CR, configSecret: Secret, updateLabels: Map[String, String] = Map()): T
Creates the runner resource.
- abstract def resourceDefinition: ResourceDefinition[T]
- abstract def resourceName(deployment: StreamletDeployment): String
- abstract def runtime: String
- abstract def streamletChangeAction(app: CR, runners: Map[String, Runner[_]], streamletDeployment: StreamletDeployment, secret: Secret): ResourceAction[ObjectResource]
Concrete 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
- val BasicUserRole: String
- final val JavaOptsEnvVarName: String("JAVA_OPTS")
- final val RunnerJarName: String("cloudflow-runner.jar")
- final val RuntimeMainClass: String("cloudflow.runner.Runner")
- def actions(newApp: CR, currentApp: Option[CR], runners: Map[String, Runner[_]]): Seq[ResourceAction[ObjectResource]]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
configResource(deployment: StreamletDeployment, app: CR): ConfigMap
Creates the configmap for the runner.
- def configResourceName(deployment: StreamletDeployment): String
- val createEventPolicyRule: PolicyRule
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def getAnnotations(podsConfig: PodsConfig, podName: String): Map[String, String]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def getContainerPorts(podsConfig: PodsConfig, podName: String): List[Port]
- def getEnvironmentVariables(podsConfig: PodsConfig, podName: String): Option[List[EnvVar]]
- def getJavaOptions(podsConfig: PodsConfig, podName: String): Option[String]
- def getLabels(podsConfig: PodsConfig, podName: String): Map[String, String]
- def getPodsConfig(secret: Secret): PodsConfig
- def getRuntimeConfig(secret: Secret): Config
- def getVolumeMounts(podsConfig: PodsConfig, podName: String): List[Mount]
- def getVolumes(podsConfig: PodsConfig, podName: String): List[Volume]
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val log: Logger
-
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()
- def prepareNamespaceActions(app: CR, labels: CloudflowLabels, ownerReferences: List[OwnerReference]): Seq[Action]
- def roleBinding(namespace: String, labels: CloudflowLabels, ownerReferences: List[OwnerReference]): RoleBinding
- def roleBindingEditor: ObjectEditor[RoleBinding]
- def roleEditor: ObjectEditor[Role]
- def serviceAccountAction(app: CR, labels: CloudflowLabels, ownerReferences: List[OwnerReference]): Seq[Action]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def updateActions(newApp: CR, runners: Map[String, Runner[_]], deployment: StreamletDeployment): Seq[ResourceAction[ObjectResource]]
-
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( ... )