Package net.stickycode.kuuty.model.v18
Class IoK8sApiNodeV1alpha1RuntimeClassSpec
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiNodeV1alpha1RuntimeClassSpec
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiNodeV1alpha1RuntimeClassSpec extends Object
RuntimeClassSpec is a specification of a RuntimeClass. It contains parameters that are required to describe the RuntimeClass to the Container Runtime Interface (CRI) implementation, as well as any other components that need to understand how the pod will be run. The RuntimeClassSpec is immutable.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_OVERHEADstatic StringJSON_PROPERTY_RUNTIME_HANDLERstatic StringJSON_PROPERTY_SCHEDULING
-
Constructor Summary
Constructors Constructor Description IoK8sApiNodeV1alpha1RuntimeClassSpec()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)IoK8sApiNodeV1alpha1OverheadgetOverhead()Get overheadStringgetRuntimeHandler()RuntimeHandler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class.IoK8sApiNodeV1alpha1SchedulinggetScheduling()Get schedulinginthashCode()IoK8sApiNodeV1alpha1RuntimeClassSpecoverhead(IoK8sApiNodeV1alpha1Overhead overhead)IoK8sApiNodeV1alpha1RuntimeClassSpecruntimeHandler(String runtimeHandler)IoK8sApiNodeV1alpha1RuntimeClassSpecscheduling(IoK8sApiNodeV1alpha1Scheduling scheduling)voidsetOverhead(IoK8sApiNodeV1alpha1Overhead overhead)voidsetRuntimeHandler(String runtimeHandler)voidsetScheduling(IoK8sApiNodeV1alpha1Scheduling scheduling)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_OVERHEAD
public static final String JSON_PROPERTY_OVERHEAD
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RUNTIME_HANDLER
public static final String JSON_PROPERTY_RUNTIME_HANDLER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SCHEDULING
public static final String JSON_PROPERTY_SCHEDULING
- See Also:
- Constant Field Values
-
-
Method Detail
-
overhead
public IoK8sApiNodeV1alpha1RuntimeClassSpec overhead(IoK8sApiNodeV1alpha1Overhead overhead)
-
getOverhead
@Nullable public IoK8sApiNodeV1alpha1Overhead getOverhead()
Get overhead- Returns:
- overhead
-
setOverhead
public void setOverhead(IoK8sApiNodeV1alpha1Overhead overhead)
-
runtimeHandler
public IoK8sApiNodeV1alpha1RuntimeClassSpec runtimeHandler(String runtimeHandler)
-
getRuntimeHandler
public String getRuntimeHandler()
RuntimeHandler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called \"runc\" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The RuntimeHandler must conform to the DNS Label (RFC 1123) requirements and is immutable.- Returns:
- runtimeHandler
-
setRuntimeHandler
public void setRuntimeHandler(String runtimeHandler)
-
scheduling
public IoK8sApiNodeV1alpha1RuntimeClassSpec scheduling(IoK8sApiNodeV1alpha1Scheduling scheduling)
-
getScheduling
@Nullable public IoK8sApiNodeV1alpha1Scheduling getScheduling()
Get scheduling- Returns:
- scheduling
-
setScheduling
public void setScheduling(IoK8sApiNodeV1alpha1Scheduling scheduling)
-
-