Package org.citrusframework.yaks
Class YaksSettings
- java.lang.Object
-
- org.citrusframework.yaks.YaksSettings
-
public class YaksSettings extends java.lang.Object- Author:
- Christoph Deppisch
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDEFAULT_DOMAIN_SUFFIX
-
Constructor Summary
Constructors Constructor Description YaksSettings()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static YaksClusterTypegetClusterType()Cluster type that YAKS is running on.static java.lang.StringgetClusterWildcardDomain()Cluster wildcard domain or default if non is set.static java.lang.StringgetDefaultNamespace()Namespace to work on when performing Kubernetes/Knative client operations on resources.static java.lang.StringgetTestId()Current test id that is also set as label on the Pod running the test.static booleanisKubernetesCluster()True when running on Kubernetes.static booleanisOpenshiftCluster()True when running on Openshift.
-
-
-
Field Detail
-
DEFAULT_DOMAIN_SUFFIX
public static final java.lang.String DEFAULT_DOMAIN_SUFFIX
- See Also:
- Constant Field Values
-
-
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:
-
-