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
- Alphabetic
- By Inheritance
Inherited
- Workload
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
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
create(namespace: Option[String], ops: K8sOperations)(implicit ec: ExecutionContext): Future[Workload]
Create items within kubernetes.
- val deployment: Option[Deployment]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hasBrokenImage(config: Config, currentTime: Instant): Option[String]
Check if this workload has a broken image.
- val ingress: Option[Ingress]
-
def
ingressUrl(config: Config, kubernetesHost: String): Option[String]
Returns the URL of the ingress.
- val internalId: String
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val loaded: Boolean
-
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()
- val pod: Option[Pod]
- val service: Service
-
def
stop(remove: Boolean, ops: K8sOperations, killReason: Option[String] = None)(implicit ec: ExecutionContext): Future[Unit]
Stop a workload.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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( ... )
- def workerState: WorkerState