Class EnvVarValidator

java.lang.Object
io.quarkus.kubernetes.deployment.EnvVarValidator

public class EnvVarValidator extends Object
Validates that the set of provided environment variables is valid.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (package private) Collection<io.quarkus.kubernetes.spi.KubernetesEnvBuildItem>
    Retrieves a collection of validated KubernetesEnvBuildItem once all of them have been processed.
    (package private) void
    process(io.quarkus.kubernetes.spi.KubernetesEnvBuildItem item)
    Processes the specified KubernetesEnvBuildItem to check whether it's valid with respect to the set of already known configuration, accumulating errors or outputting warnings if needed.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • EnvVarValidator

      public EnvVarValidator()
  • Method Details

    • process

      void process(io.quarkus.kubernetes.spi.KubernetesEnvBuildItem item)
      Processes the specified KubernetesEnvBuildItem to check whether it's valid with respect to the set of already known configuration, accumulating errors or outputting warnings if needed.
      Parameters:
      item - the KubernetesEnvBuildItem to validate
    • getBuildItems

      Collection<io.quarkus.kubernetes.spi.KubernetesEnvBuildItem> getBuildItems()
      Retrieves a collection of validated KubernetesEnvBuildItem once all of them have been processed.
      Returns:
      a collection of validated KubernetesEnvBuildItem
      Throws:
      IllegalArgumentException - if the processed items result in an invalid configuration