case class Workload(internalId: String, pod: Option[Pod], deployment: Option[Deployment], service: Service, ingress: Option[Ingress] = None, loaded: Boolean = false) extends Product with Serializable

A Workload as being used by the Executor which can be sent to Kubernetes consisting of different Kubernetes Items.

Can also be retrieved by Kubernetes.

loaded

if true, the information is fetched from kubernetes

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Workload
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Workload(internalId: String, pod: Option[Pod], deployment: Option[Deployment], service: Service, ingress: Option[Ingress] = None, loaded: Boolean = false)

    loaded

    if true, the information is fetched from kubernetes

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  6. def create(namespace: Option[String], ops: K8sOperations)(implicit ec: ExecutionContext): Future[Workload]

    Create items within kubernetes.

  7. val deployment: Option[Deployment]
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. def hasBrokenImage(config: Config, currentTime: Instant): Option[String]

    Check if this workload has a broken image.

  11. val ingress: Option[Ingress]
  12. def ingressUrl(config: Config, kubernetesHost: String): Option[String]

    Returns the URL of the ingress.

  13. val internalId: String
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. val loaded: Boolean
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. val pod: Option[Pod]
  20. val service: Service
  21. def stop(remove: Boolean, ops: K8sOperations, killReason: Option[String] = None)(implicit ec: ExecutionContext): Future[Unit]

    Stop a workload.

  22. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. def workerState: WorkerState

Deprecated Value Members

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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped