Class K8SWorkerValidator.AllowCpu
java.lang.Object
com.illumon.iris.db.tables.remotequery.process.K8SWorkerValidator.DenyAll
com.illumon.iris.db.tables.remotequery.process.K8SWorkerValidator.AllowCpu
- All Implemented Interfaces:
K8SWorkerValidator
- Enclosing interface:
- K8SWorkerValidator
Simple validator to allow CPU shares to be overridden.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.illumon.iris.db.tables.remotequery.process.K8SWorkerValidator
K8SWorkerValidator.AllowAll, K8SWorkerValidator.AllowCpu, K8SWorkerValidator.DenyAll, K8SWorkerValidator.K8SWorkerValidationException -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckCpuShares(String userName, double cpuShares) Validate whether the user may select the alternative pod template.Methods inherited from class com.illumon.iris.db.tables.remotequery.process.K8SWorkerValidator.DenyAll
checkContainerImage, checkCreateNewPersistentVolumeClaim, checkPodFileOverride
-
Constructor Details
-
AllowCpu
public AllowCpu()
-
-
Method Details