Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Supported = func() bool { k8sVersion := os.Getenv("TEST_KUBERNETES_VERSION") if k8sVersion == "" { framework.Logf("No Kubernetes version set! Providing (via TEST_KUBERNETES_VERSION environment) the right Kubernetes version might affect the test suites to be run.") return true } var major, minor int if _, err := fmt.Sscanf(k8sVersion, "%d.%d", &major, &minor); err != nil { framework.Logf("Failed to parse 'TEST_KUBERNETES_VERSION=%s': %s. Enabling ephemeral volume tests.", k8sVersion, err.Error()) return true } if (major <= 0) || (major == 1 && minor <= 14) { framework.Logf("Provided Kubernetes version '%s' does not support ephemeral volumes. Tests involving ephemeral volumes are disabled.", k8sVersion) return false } return true }()
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.