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 Details

    • UserGroupWorkerTolerationValuesService

      public UserGroupWorkerTolerationValuesService()
  • Method Details

    • getName

      public String getName()
      Get the name of the toleration values service.
      Specified by:
      getName in interface WorkerTolerationValuesService
      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:
      getTolerationValues in interface WorkerTolerationValuesService
      Parameters:
      worker - The worker for which we are getting the toleration values.
      log - A logger.
      Returns:
      The toleration values for the worker.