Class RuncContainerExecutorConfig.OCIRuntimeConfig.OCIProcessConfig
java.lang.Object
org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.runtime.runc.RuncContainerExecutorConfig.OCIRuntimeConfig.OCIProcessConfig
- Enclosing class:
- RuncContainerExecutorConfig.OCIRuntimeConfig
This class is a Java representation of the oci process section
of the OCI Runtime Specification.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThis class is a Java representation of the capabilities section of the OCI Runtime Specification.static classThis class is a Java representation of the console size section of the OCI Runtime Specification.static classThis class is a Java representation of the rlimits section of the OCI Runtime Specification.static classThis class is a Java representation of the user section of the OCI Runtime Specification. -
Constructor Summary
ConstructorsConstructorDescriptionOCIProcessConfig(boolean terminal, RuncContainerExecutorConfig.OCIRuntimeConfig.OCIProcessConfig.ConsoleSize consoleSize, String cwd, List<String> env, List<String> args, RuncContainerExecutorConfig.OCIRuntimeConfig.OCIProcessConfig.RLimits rlimits, String apparmorProfile, RuncContainerExecutorConfig.OCIRuntimeConfig.OCIProcessConfig.Capabilities capabilities, boolean noNewPrivileges, int oomScoreAdj, String selinuxLabel, RuncContainerExecutorConfig.OCIRuntimeConfig.OCIProcessConfig.User user) -
Method Summary
-
Constructor Details
-
OCIProcessConfig
public OCIProcessConfig(boolean terminal, RuncContainerExecutorConfig.OCIRuntimeConfig.OCIProcessConfig.ConsoleSize consoleSize, String cwd, List<String> env, List<String> args, RuncContainerExecutorConfig.OCIRuntimeConfig.OCIProcessConfig.RLimits rlimits, String apparmorProfile, RuncContainerExecutorConfig.OCIRuntimeConfig.OCIProcessConfig.Capabilities capabilities, boolean noNewPrivileges, int oomScoreAdj, String selinuxLabel, RuncContainerExecutorConfig.OCIRuntimeConfig.OCIProcessConfig.User user) -
OCIProcessConfig
public OCIProcessConfig()
-
-
Method Details
-
isTerminal
public boolean isTerminal() -
getConsoleSize
-
getCwd
-
getEnv
-
getArgs
-
getRlimits
-
getApparmorProfile
-
getCapabilities
-
isNoNewPrivileges
public boolean isNoNewPrivileges() -
getOomScoreAdj
public int getOomScoreAdj() -
getSelinuxLabel
-
getUser
-