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

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

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(classOf[java.lang.CloneNotSupportedException]) @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[_ <: AnyRef]
    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. def internalUrl: String

    Returns the Mantik internal URL for the workload

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

    Stop a workload.

  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. def workerState: WorkerState
  29. def workerType: WorkerType

    Figures out the worker type

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 Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped