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 CassandraInstaller
- func (ci *CassandraInstaller) CreateCassandraCluster(namespace string, count int, mode cassandrav1alpha1.ClusterMode) error
- func (ci *CassandraInstaller) CreateCassandraOperator(namespace string) error
- func (ci *CassandraInstaller) DeleteCassandraCluster(namespace string)
- func (ci *CassandraInstaller) GatherAllCassandraLogs(systemNamespace, namespace, testName string)
- func (ci *CassandraInstaller) InstallCassandra(systemNamespace, namespace string, count int, ...) error
- func (ci *CassandraInstaller) UninstallCassandra(systemNamespace string, namespace string)
- type CassandraManifests
Constants ¶
View Source
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 CassandraInstaller ¶ added in v0.9.0
func NewCassandraInstaller ¶ added in v0.9.0
func NewCassandraInstaller(k8sHelper *utils.K8sHelper, t func() *testing.T) *CassandraInstaller
func (*CassandraInstaller) CreateCassandraCluster ¶ added in v0.9.0
func (ci *CassandraInstaller) CreateCassandraCluster(namespace string, count int, mode cassandrav1alpha1.ClusterMode) error
func (*CassandraInstaller) CreateCassandraOperator ¶ added in v0.9.0
func (ci *CassandraInstaller) CreateCassandraOperator(namespace string) error
func (*CassandraInstaller) DeleteCassandraCluster ¶ added in v0.9.0
func (ci *CassandraInstaller) DeleteCassandraCluster(namespace string)
func (*CassandraInstaller) GatherAllCassandraLogs ¶ added in v0.9.0
func (ci *CassandraInstaller) GatherAllCassandraLogs(systemNamespace, namespace, testName string)
func (*CassandraInstaller) InstallCassandra ¶ added in v0.9.0
func (ci *CassandraInstaller) InstallCassandra(systemNamespace, namespace string, count int, mode cassandrav1alpha1.ClusterMode) error
func (*CassandraInstaller) UninstallCassandra ¶ added in v0.9.0
func (ci *CassandraInstaller) UninstallCassandra(systemNamespace string, namespace string)
type CassandraManifests ¶ added in v0.9.0
type CassandraManifests struct{}
func (*CassandraManifests) GetCassandraCRDs ¶ added in v0.9.0
func (i *CassandraManifests) GetCassandraCRDs() string
func (*CassandraManifests) GetCassandraCluster ¶ added in v0.9.0
func (i *CassandraManifests) GetCassandraCluster(namespace string, count int, mode cassandrav1alpha1.ClusterMode) string
func (*CassandraManifests) GetCassandraOperator ¶ added in v0.9.0
func (i *CassandraManifests) GetCassandraOperator(namespace string) string
Click to show internal directories.
Click to hide internal directories.