Documentation ¶
Index ¶
- Constants
- func CreateHostPathPVs(k8shelper *utils.K8sHelper, count int, readOnly bool, pvcSize string) error
- func DeleteHostPathPVs(k8shelper *utils.K8sHelper) error
- func GetPVC(claimName, namespace, storageClassName, accessModes, size string) string
- func GetPVCClone(...) string
- func GetPVCRestore(claimName, snapshotName, namespace, storageClassName, accessModes, size string) string
- func GetPodWithVolume(podName, claimName, namespace, mountPath string, readOnly bool) string
- func GetSnapshot(snapshotName, claimName, snapshotClassName, namespace string) string
- func IsAdditionalDeviceAvailableOnCluster() bool
- func SkipTestSuite(name string) bool
- func StorageClassName() string
- func SystemNamespace(namespace string) string
- func TestIsOfficialBuild() bool
- func TestLogCollectionLevel() string
- func TestScratchDevice() string
- func UsePVC() bool
- type NFSInstaller
- func (h *NFSInstaller) CreateNFSServer(namespace string, count int, storageClassName string) error
- func (h *NFSInstaller) CreateNFSServerOperator(namespace string) error
- func (h *NFSInstaller) CreateNFSServerVolume(namespace string) error
- func (h *NFSInstaller) GatherAllNFSServerLogs(systemNamespace, namespace, testName string)
- func (h *NFSInstaller) InstallNFSServer(systemNamespace, namespace string, count int) error
- func (h *NFSInstaller) UninstallNFSServer(systemNamespace, namespace string)
- type NFSManifests
- func (n *NFSManifests) GetNFSServer(namespace string, count int, storageClassName string) string
- func (n *NFSManifests) GetNFSServerCRDs() string
- func (n *NFSManifests) GetNFSServerOperator(namespace string) string
- func (n *NFSManifests) GetNFSServerPV(namespace string, clusterIP string) string
- func (n *NFSManifests) GetNFSServerPVC(namespace string) string
Constants ¶
const ( // VersionMaster tag for the latest manifests VersionMaster = "master" // test suite names CassandraTestSuite = "cassandra" CephTestSuite = "ceph" NFSTestSuite = "nfs" )
Variables ¶
This section is empty.
Functions ¶
func CreateHostPathPVs ¶ added in v1.7.3
************************************************************************************************ HostPath provisioner functions ************************************************************************************************
func DeleteHostPathPVs ¶ added in v1.7.3
func GetPVCClone ¶ added in v1.7.3
func GetPVCRestore ¶ added in v1.7.3
func GetPodWithVolume ¶ added in v1.7.3
func GetSnapshot ¶ added in v1.7.3
func IsAdditionalDeviceAvailableOnCluster ¶ added in v0.6.0
func IsAdditionalDeviceAvailableOnCluster() bool
IsAdditionalDeviceAvailableOnCluster checks whether a given device is available to become an OSD
func SkipTestSuite ¶ added in v1.1.0
func StorageClassName ¶ added in v1.7.3
func StorageClassName() string
func SystemNamespace ¶ added in v0.6.0
func TestIsOfficialBuild ¶ added in v1.7.3
func TestIsOfficialBuild() bool
TestIsOfficialBuild gets the storage provider for which tests should be run
func TestLogCollectionLevel ¶ added in v1.7.3
func TestLogCollectionLevel() string
TestLogCollectionLevel gets whether to collect all logs
func TestScratchDevice ¶ added in v1.7.3
func TestScratchDevice() string
TestScratchDevice get the scratch device to be used for OSD
Types ¶
type NFSInstaller ¶ added in v0.9.0
func NewNFSInstaller ¶ added in v0.9.0
func NewNFSInstaller(k8shelper *utils.K8sHelper, t func() *testing.T) *NFSInstaller
func (*NFSInstaller) CreateNFSServer ¶ added in v0.9.0
func (h *NFSInstaller) CreateNFSServer(namespace string, count int, storageClassName string) error
CreateNFSServer creates the NFS Server CRD instance
func (*NFSInstaller) CreateNFSServerOperator ¶ added in v0.9.0
func (h *NFSInstaller) CreateNFSServerOperator(namespace string) error
CreateNFSServerOperator creates nfs server in the provided namespace
func (*NFSInstaller) CreateNFSServerVolume ¶ added in v0.9.0
func (h *NFSInstaller) CreateNFSServerVolume(namespace string) error
CreateNFSServerVolume creates NFS export PV and PVC
func (*NFSInstaller) GatherAllNFSServerLogs ¶ added in v0.9.0
func (h *NFSInstaller) GatherAllNFSServerLogs(systemNamespace, namespace, testName string)
GatherAllNFSServerLogs gathers all NFS Server logs
func (*NFSInstaller) InstallNFSServer ¶ added in v0.9.0
func (h *NFSInstaller) InstallNFSServer(systemNamespace, namespace string, count int) error
InstallNFSServer installs NFS operator, NFS CRD instance and NFS volume
func (*NFSInstaller) UninstallNFSServer ¶ added in v0.9.0
func (h *NFSInstaller) UninstallNFSServer(systemNamespace, namespace string)
UninstallNFSServer uninstalls the NFS Server from the given namespace
type NFSManifests ¶ added in v0.9.0
type NFSManifests struct { }
func (*NFSManifests) GetNFSServer ¶ added in v0.9.0
func (n *NFSManifests) GetNFSServer(namespace string, count int, storageClassName string) string
GetNFSServer returns NFSServer CRD instance definition
func (*NFSManifests) GetNFSServerCRDs ¶ added in v0.9.0
func (n *NFSManifests) GetNFSServerCRDs() string
GetNFSServerCRDs returns NFSServer CRD definition
func (*NFSManifests) GetNFSServerOperator ¶ added in v0.9.0
func (n *NFSManifests) GetNFSServerOperator(namespace string) string
GetNFSServerOperator returns the NFSServer operator definition
func (*NFSManifests) GetNFSServerPV ¶ added in v0.9.0
func (n *NFSManifests) GetNFSServerPV(namespace string, clusterIP string) string
GetNFSServerPV returns NFSServer PV definition
func (*NFSManifests) GetNFSServerPVC ¶ added in v0.9.0
func (n *NFSManifests) GetNFSServerPVC(namespace string) string
GetNFSServerPVC returns NFSServer PVC definition