Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
package org.cdk8s.plus31;
/**
* A workload is an application running on Kubernetes.
*
* Whether your workload is a single
* component or several that work together, on Kubernetes you run it inside a set of pods.
* In Kubernetes, a Pod represents a set of running containers on your cluster.
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.105.0 (build 0a2adcb)", date = "2024-11-15T12:15:24.917Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@software.amazon.jsii.Jsii(module = org.cdk8s.plus31.$Module.class, fqn = "cdk8s-plus-31.Workload")
public abstract class Workload extends org.cdk8s.plus31.AbstractPod {
protected Workload(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
protected Workload(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
super(initializationMode);
}
/**
* @param scope This parameter is required.
* @param id This parameter is required.
* @param props This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
protected Workload(final @org.jetbrains.annotations.NotNull software.constructs.Construct scope, final @org.jetbrains.annotations.NotNull java.lang.String id, final @org.jetbrains.annotations.NotNull org.cdk8s.plus31.WorkloadProps props) {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(scope, "scope is required"), java.util.Objects.requireNonNull(id, "id is required"), java.util.Objects.requireNonNull(props, "props is required") });
}
/**
* Configure selectors for this workload.
*
* @param selectors This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void select(final @org.jetbrains.annotations.NotNull org.cdk8s.plus31.LabelSelector... selectors) {
software.amazon.jsii.Kernel.call(this, "select", software.amazon.jsii.NativeType.VOID, java.util.Arrays.