# Functions
AddInstallHook registers a callback which is invoked after a successful driver installation.
AddUninstallHook registers a callback which is invoked before a driver removal.
CheckPMEM ensures that a test does not permanently use more than half of the available PMEM in each region.
CheckPMEMDriver does some sanity checks for a running deployment.
No description provided by the author
DefineTests must be called to register all tests defined so far via Describe.
No description provided by the author
No description provided by the author
No description provided by the author
Describe remembers a certain test.
DescribeForAll registers tests like gomega.Describe does, except that each test will then be invoked for each supported PMEM-CSI deployment which has a functional PMEM-CSI driver.
DescribeForSome registers tests like gomega.Describe does, except that each test will then be invoked for those PMEM-CSI deployments which pass the filter function.
EnsureDeployment registers a BeforeEach function which will ensure that when a test runs, the desired deployment exists.
No description provided by the author
EnsureDeploymentNow checks the currently running driver and replaces it if necessary.
FindDeployment checks whether there is a PMEM-CSI driver and/or operator deployment in the cluster.
No description provided by the author
GetHostVolumes list all volumes (LVM and namespaces) on all nodes.
GetMetricsPortForward retrieves metrics from given metricsURL by Pod's container port forwarding.
GetMetricsURLs retrieves the metrics URLs provided by all pods that match with the label set passed in podLabelSet.
No description provided by the author
No description provided by the author
HasDriver is a filter function for DescribeForSome.
HasOperator is a filter function for DescribeForSome.
LogError will log the message only if err is non-nil.
LookupCSIAddresses returns controller and node addresses for pod/dial.go (<namespace>.<pod>:<port>).
MustParse calls Parse and panics when the name is not valid.
No description provided by the author
Parse the deployment name and sets fields accordingly.
No description provided by the author
RemoveObjects deletes everything that might have been created for a PMEM-CSI driver or operator installation (pods, daemonsets, statefulsets, driver info, storage classes, etc.).
No description provided by the author
RunAllTests is a filter function for DescribeForSome which decides against what we run the full Kubernetes storage test suite.
No description provided by the author
No description provided by the author
WaitForOperator ensures that the PMEM-CSI operator is ready for use, which is currently defined as the operator pod in Running phase.
WaitForPMEMDriver ensures that the PMEM-CSI driver is ready for use, which is defined as: - controller service is up and running - all nodes have registered - for testing deployments: TCP CSI endpoints are ready.
# Constants
No description provided by the author
# Structs
No description provided by the author
Deployment contains some information about a some deployed PMEM-CSI component(s).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
InstallHook is the callback function for AddInstallHook.
UninstallHook is the callback function for AddUninstallHook.