Class UserGroupWorkerTolerationValuesService
java.lang.Object
com.illumon.iris.db.tables.remotequery.process.UserGroupWorkerTolerationValuesService
- All Implemented Interfaces:
WorkerTolerationValuesService
@AutoService(WorkerTolerationValuesService.class)
public class UserGroupWorkerTolerationValuesService
extends Object
implements WorkerTolerationValuesService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()Get the name of the toleration values service.getTolerationValues(@NotNull K8SWorkerImpl worker, IrisGroupProvider irisGroupProvider, @NotNull com.fishlib.io.logger.Logger log) Get the toleration values for a worker.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.illumon.iris.db.tables.remotequery.process.WorkerTolerationValuesService
setArgumentString
-
Constructor Details
-
UserGroupWorkerTolerationValuesService
public UserGroupWorkerTolerationValuesService()
-
-
Method Details
-
getName
Get the name of the toleration values service.- Specified by:
getNamein interfaceWorkerTolerationValuesService- Returns:
- The name of the toleration values service.
-
getTolerationValues
public List<String> getTolerationValues(@NotNull @NotNull K8SWorkerImpl worker, IrisGroupProvider irisGroupProvider, @NotNull @NotNull com.fishlib.io.logger.Logger log) Get the toleration values for a worker.- Specified by:
getTolerationValuesin interfaceWorkerTolerationValuesService- Parameters:
worker- The worker for which we are getting the toleration values.log- A logger.- Returns:
- The toleration values for the worker.
-