Class ContainerRuntimeConfiguration
- java.lang.Object
-
- io.fabric8.openshift.api.model.machineconfiguration.v1.ContainerRuntimeConfiguration
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ContainerRuntimeConfigurationBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ContainerRuntimeConfiguration extends Object implements io.fabric8.kubernetes.api.builder.Editable<ContainerRuntimeConfigurationBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
ContainerRuntimeConfiguration defines the tuneables of the container runtime- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ContainerRuntimeConfiguration()No args constructor for use in serializationContainerRuntimeConfiguration(String defaultRuntime, String logLevel, io.fabric8.kubernetes.api.model.Quantity logSizeMax, io.fabric8.kubernetes.api.model.Quantity overlaySize, Long pidsLimit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerRuntimeConfigurationBuilderedit()Map<String,Object>getAdditionalProperties()StringgetDefaultRuntime()defaultRuntime is the name of the OCI runtime to be used as the default.StringgetLogLevel()logLevel specifies the verbosity of the logs based on the level it is set to.io.fabric8.kubernetes.api.model.QuantitygetLogSizeMax()ContainerRuntimeConfiguration defines the tuneables of the container runtimeio.fabric8.kubernetes.api.model.QuantitygetOverlaySize()ContainerRuntimeConfiguration defines the tuneables of the container runtimeLonggetPidsLimit()pidsLimit specifies the maximum number of processes allowed in a containervoidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetDefaultRuntime(String defaultRuntime)defaultRuntime is the name of the OCI runtime to be used as the default.voidsetLogLevel(String logLevel)logLevel specifies the verbosity of the logs based on the level it is set to.voidsetLogSizeMax(io.fabric8.kubernetes.api.model.Quantity logSizeMax)ContainerRuntimeConfiguration defines the tuneables of the container runtimevoidsetOverlaySize(io.fabric8.kubernetes.api.model.Quantity overlaySize)ContainerRuntimeConfiguration defines the tuneables of the container runtimevoidsetPidsLimit(Long pidsLimit)pidsLimit specifies the maximum number of processes allowed in a containerContainerRuntimeConfigurationBuildertoBuilder()
-
-
-
Method Detail
-
getDefaultRuntime
public String getDefaultRuntime()
defaultRuntime is the name of the OCI runtime to be used as the default.
-
setDefaultRuntime
public void setDefaultRuntime(String defaultRuntime)
defaultRuntime is the name of the OCI runtime to be used as the default.
-
getLogLevel
public String getLogLevel()
logLevel specifies the verbosity of the logs based on the level it is set to. Options are fatal, panic, error, warn, info, and debug.
-
setLogLevel
public void setLogLevel(String logLevel)
logLevel specifies the verbosity of the logs based on the level it is set to. Options are fatal, panic, error, warn, info, and debug.
-
getLogSizeMax
public io.fabric8.kubernetes.api.model.Quantity getLogSizeMax()
ContainerRuntimeConfiguration defines the tuneables of the container runtime
-
setLogSizeMax
public void setLogSizeMax(io.fabric8.kubernetes.api.model.Quantity logSizeMax)
ContainerRuntimeConfiguration defines the tuneables of the container runtime
-
getOverlaySize
public io.fabric8.kubernetes.api.model.Quantity getOverlaySize()
ContainerRuntimeConfiguration defines the tuneables of the container runtime
-
setOverlaySize
public void setOverlaySize(io.fabric8.kubernetes.api.model.Quantity overlaySize)
ContainerRuntimeConfiguration defines the tuneables of the container runtime
-
getPidsLimit
public Long getPidsLimit()
pidsLimit specifies the maximum number of processes allowed in a container
-
setPidsLimit
public void setPidsLimit(Long pidsLimit)
pidsLimit specifies the maximum number of processes allowed in a container
-
edit
public ContainerRuntimeConfigurationBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ContainerRuntimeConfigurationBuilder>
-
toBuilder
public ContainerRuntimeConfigurationBuilder toBuilder()
-
-