Class YaksSettings


  • public class YaksSettings
    extends java.lang.Object
    Author:
    Christoph Deppisch
    • Constructor Summary

      Constructors 
      Constructor Description
      YaksSettings()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static YaksClusterType getClusterType()
      Cluster type that YAKS is running on.
      static java.lang.String getClusterWildcardDomain()
      Cluster wildcard domain or default if non is set.
      static java.lang.String getDefaultNamespace()
      Namespace to work on when performing Kubernetes/Knative client operations on resources.
      static java.lang.String getTestId()
      Current test id that is also set as label on the Pod running the test.
      static boolean isKubernetesCluster()
      True when running on Kubernetes.
      static boolean isOpenshiftCluster()
      True when running on Openshift.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • DEFAULT_DOMAIN_SUFFIX

        public static final java.lang.String DEFAULT_DOMAIN_SUFFIX
        See Also:
        Constant Field Values
    • Constructor Detail

      • YaksSettings

        public YaksSettings()
    • Method Detail

      • getDefaultNamespace

        public static java.lang.String getDefaultNamespace()
        Namespace to work on when performing Kubernetes/Knative client operations on resources.
        Returns:
      • getClusterWildcardDomain

        public static java.lang.String getClusterWildcardDomain()
        Cluster wildcard domain or default if non is set.
        Returns:
      • getClusterType

        public static YaksClusterType getClusterType()
        Cluster type that YAKS is running on.
        Returns:
      • getTestId

        public static java.lang.String getTestId()
        Current test id that is also set as label on the Pod running the test.
        Returns:
      • isOpenshiftCluster

        public static boolean isOpenshiftCluster()
        True when running on Openshift.
        Returns:
      • isKubernetesCluster

        public static boolean isKubernetesCluster()
        True when running on Kubernetes.
        Returns: