Versions in this module Expand all Collapse all v1 v1.16.3 Nov 9, 2022 Changes in this version + const Gb + const GiB + const Kb + const KiB + const Mb + const MiB + const PodCleanupTimeout + const Tb + const TiB + const VolumeServerPodStartupTimeout + func CleanUpVolumeServer(f *framework.Framework, serverPod *v1.Pod) + func CleanUpVolumeServerWithSecret(f *framework.Framework, serverPod *v1.Pod, secret *v1.Secret) + func CreateGCEVolume() (*v1.PersistentVolumeSource, string) + func CreateStorageServer(cs clientset.Interface, config TestConfig) (pod *v1.Pod, ip string) + func GeneratePodSecurityContext(fsGroup *int64, seLinuxOptions *v1.SELinuxOptions) *v1.PodSecurityContext + func GenerateReadBlockCmd(fullPath string, numberOfCharacters int) []string + func GenerateReadFileCmd(fullPath string) []string + func GenerateScriptCmd(command string) []string + func GenerateSecurityContext(privileged bool) *v1.SecurityContext + func GenerateWriteBlockCmd(content, fullPath string) []string + func GenerateWriteFileCmd(content, fullPath string) []string + func GenerateWriteandExecuteScriptFileCmd(content, fileName, filePath string) []string + func GetTestImage(image string) string + func InjectContent(client clientset.Interface, config TestConfig, fsGroup *int64, fsType string, ...) + func StartVolumeServer(client clientset.Interface, config TestConfig) *v1.Pod + func TestCleanup(f *framework.Framework, config TestConfig) + func TestVolumeClient(client clientset.Interface, config TestConfig, fsGroup *int64, fsType string, ...) + type Test struct + ExpectedContent string + File string + Mode v1.PersistentVolumeMode + Volume v1.VolumeSource + type TestConfig struct + ClientNodeName string + Namespace string + NodeSelector map[string]string + Prefix string + ServerArgs []string + ServerCmds []string + ServerHostNetwork bool + ServerImage string + ServerNodeName string + ServerPorts []int + ServerReadyMessage string + ServerVolumes map[string]string + WaitForCompletion bool + func NewGlusterfsServer(cs clientset.Interface, namespace string) (config TestConfig, pod *v1.Pod, ip string) + func NewISCSIServer(cs clientset.Interface, namespace string) (config TestConfig, pod *v1.Pod, ip, iqn string) + func NewNFSServer(cs clientset.Interface, namespace string, args []string) (config TestConfig, pod *v1.Pod, ip string) + func NewRBDServer(cs clientset.Interface, namespace string) (config TestConfig, pod *v1.Pod, secret *v1.Secret, ip string)