Packages

final class SparkRunner extends Runner[CR] with PatchProvider[SpecPatch]

Creates the ConfigMap and the Runner resource (a SparkResource.CR) that define a Spark Runner.

Source
SparkRunner.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SparkRunner
  2. PatchProvider
  3. Runner
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SparkRunner(sparkRunnerDefaults: SparkRunnerDefaults)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val BasicUserRole: String
    Definition Classes
    Runner
  5. val DriverPod: String
  6. val ExecutorPod: String
  7. final val JavaOptsEnvVarName: String("JAVA_OPTS")
    Definition Classes
    Runner
  8. final val RunnerJarName: String("cloudflow-runner.jar")
    Definition Classes
    Runner
  9. final val RuntimeMainClass: String("cloudflow.runner.Runner")
    Definition Classes
    Runner
  10. def actions(newApp: CR, currentApp: Option[CR], runners: Map[String, Runner[_]]): Seq[ResourceAction[ObjectResource]]
    Definition Classes
    Runner
  11. def appActions(app: CR, labels: CloudflowLabels, ownerReferences: List[OwnerReference]): Seq[Action]
    Definition Classes
    SparkRunnerRunner
  12. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  14. def configEditor: ObjectEditor[ConfigMap]
    Definition Classes
    SparkRunnerRunner
  15. def configResource(deployment: StreamletDeployment, app: CR): ConfigMap

    Creates the configmap for the runner.

    Creates the configmap for the runner.

    Definition Classes
    Runner
  16. def configResourceName(deployment: StreamletDeployment): String
    Definition Classes
    Runner
  17. val createEventPolicyRule: PolicyRule
    Definition Classes
    Runner
  18. def defaultReplicas: Int
    Definition Classes
    SparkRunnerRunner
  19. def editor: ObjectEditor[CR]
    Definition Classes
    SparkRunnerRunner
  20. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  22. def expectedPodCount(deployment: StreamletDeployment): Int
    Definition Classes
    SparkRunnerRunner
  23. def format: Format[CR]
    Definition Classes
    SparkRunnerRunner
  24. def getAnnotations(podsConfig: PodsConfig, podName: String): Map[String, String]
    Definition Classes
    Runner
  25. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. def getContainerPorts(podsConfig: PodsConfig, podName: String): List[Port]
    Definition Classes
    Runner
  27. def getEnvironmentVariables(podsConfig: PodsConfig, podName: String): Option[List[EnvVar]]
    Definition Classes
    Runner
  28. def getJavaOptions(podsConfig: PodsConfig, podName: String): Option[String]
    Definition Classes
    Runner
  29. def getLabels(podsConfig: PodsConfig, podName: String): Map[String, String]
    Definition Classes
    Runner
  30. def getPodsConfig(secret: Secret): PodsConfig
    Definition Classes
    Runner
  31. def getRuntimeConfig(secret: Secret): Config
    Definition Classes
    Runner
  32. def getVolumeMounts(podsConfig: PodsConfig, podName: String): List[Mount]
    Definition Classes
    Runner
  33. def getVolumes(podsConfig: PodsConfig, podName: String): List[Volume]
    Definition Classes
    Runner
  34. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  35. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  36. val log: Logger
    Definition Classes
    Runner
  37. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  38. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  39. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  40. def patch(deployment: StreamletDeployment, app: CR, configSecret: Secret, updateLabels: Map[String, String] = Map()): SpecPatch
    Definition Classes
    SparkRunnerPatchProvider
  41. def patchFormat: Format[SpecPatch]
    Definition Classes
    SparkRunnerPatchProvider
  42. def prepareNamespaceActions(app: CR, labels: CloudflowLabels, ownerReferences: List[OwnerReference]): Seq[Action]
    Definition Classes
    Runner
  43. def prometheusConfig: PrometheusConfig
    Definition Classes
    SparkRunnerRunner
  44. def resource(deployment: StreamletDeployment, app: CR, configSecret: Secret, updateLabels: Map[String, String] = Map()): CR

    Creates the runner resource.

    Creates the runner resource.

    Definition Classes
    SparkRunnerRunner
  45. def resourceDefinition: ResourceDefinition[CR]
    Definition Classes
    SparkRunnerRunner
  46. def resourceName(deployment: StreamletDeployment): String
    Definition Classes
    SparkRunnerRunner
  47. def roleBinding(namespace: String, labels: CloudflowLabels, ownerReferences: List[OwnerReference]): RoleBinding
    Definition Classes
    Runner
  48. def roleBindingEditor: ObjectEditor[RoleBinding]
    Definition Classes
    Runner
  49. def roleEditor: ObjectEditor[Role]
    Definition Classes
    Runner
  50. val runtime: String
    Definition Classes
    SparkRunnerRunner
  51. def serviceAccountAction(app: CR, labels: CloudflowLabels, ownerReferences: List[OwnerReference]): Seq[Action]
    Definition Classes
    Runner
  52. def streamletChangeAction(app: CR, runners: Map[String, Runner[_]], streamletDeployment: StreamletDeployment, secret: Secret): CreateOrPatchAction[CR, SpecPatch]
    Definition Classes
    SparkRunnerRunner
  53. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  54. def toString(): String
    Definition Classes
    AnyRef → Any
  55. def updateActions(newApp: CR, runners: Map[String, Runner[_]], deployment: StreamletDeployment): Seq[ResourceAction[ObjectResource]]
    Definition Classes
    SparkRunnerRunner
  56. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  57. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  58. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from PatchProvider[SpecPatch]

Inherited from Runner[CR]

Inherited from AnyRef

Inherited from Any

Ungrouped