Documentation
¶
Index ¶
- Constants
- func ByFileAndBlockEncryption(text string, ...)
- type CephFSDeployment
- type CephFSDeploymentMethod
- type DeploymentMethod
- type DriverInfo
- type NFSDeployment
- type NFSDeploymentMethod
- type OperatorDeployment
- type RBDDeployment
- type RBDDeploymentMethod
- type ResourceDeployer
- type VolumeGroupSnapshotter
Constants ¶
View Source
const ( CephMajorSquid = 19 CephMajorTentacle = 20 CephMajorUmbrella = 21 )
View Source
const (
OperatorConfigName = "ceph-csi-operator-config"
)
Variables ¶
This section is empty.
Functions ¶
func ByFileAndBlockEncryption ¶
func ByFileAndBlockEncryption( text string, callback func(validator encryptionValidateFunc, pvcValidator validateFunc, encryptionType crypto.EncryptionType), )
ByFileAndBlockEncryption wraps ginkgo's By to run the test body using file and block encryption specific validators.
Types ¶
type CephFSDeployment ¶
type CephFSDeployment struct {
DriverInfo
}
type CephFSDeploymentMethod ¶
type CephFSDeploymentMethod interface {
DeploymentMethod
}
func NewCephFSDeployment ¶
func NewCephFSDeployment(c clientset.Interface) CephFSDeploymentMethod
func NewCephFSOperatorDeployment ¶
func NewCephFSOperatorDeployment(c clientset.Interface) CephFSDeploymentMethod
type DeploymentMethod ¶
type DeploymentMethod interface {
// contains filtered or unexported methods
}
type DriverInfo ¶
type DriverInfo struct {
// contains filtered or unexported fields
}
type NFSDeployment ¶
type NFSDeployment struct {
DriverInfo
}
type NFSDeploymentMethod ¶
type NFSDeploymentMethod interface {
DeploymentMethod
}
type OperatorDeployment ¶
type OperatorDeployment struct {
DriverInfo
}
type RBDDeployment ¶
type RBDDeployment struct {
DriverInfo
}
type RBDDeploymentMethod ¶
type RBDDeploymentMethod interface {
DeploymentMethod
// contains filtered or unexported methods
}
func NewRBDDeployment ¶
func NewRBDDeployment(c clientset.Interface) RBDDeploymentMethod
func NewRBDOperatorDeployment ¶
func NewRBDOperatorDeployment(c clientset.Interface) RBDDeploymentMethod
type ResourceDeployer ¶
type ResourceDeployer interface {
// Do is used to create/delete a resource with kubectl.
Do(action kubectlAction) error
}
ResourceDeployer provides a generic interface for deploying different resources.
type VolumeGroupSnapshotter ¶
type VolumeGroupSnapshotter interface {
// TestVolumeGroupSnapshot tests the volume group snapshot operations.
TestVolumeGroupSnapshot() error
// GetVolumeGroupSnapshotClass returns the volume group snapshot class.
GetVolumeGroupSnapshotClass() (*groupsnapapi.VolumeGroupSnapshotClass, error)
// ValidateResourcesForCreate validates the resources in the backend after
// creating clones.
ValidateResourcesForCreate(vgs *groupsnapapi.VolumeGroupSnapshot) error
// ValidateSnapshotsDeleted checks if all resources are deleted in the
// backend after all the resources are deleted.
ValidateResourcesForDelete() error
}
VolumeGroupSnapshotter defines validation operations specific to each driver.
Source Files
¶
- ceph.go
- ceph_user.go
- cephfs.go
- cephfs_helper.go
- clone.go
- configmap.go
- deploy-vault.go
- deployment.go
- errors.go
- kms.go
- log.go
- migration.go
- namespace.go
- nfs.go
- node.go
- nvmeof-deploy.go
- nvmeof-gateway.go
- nvmeof.go
- openshift.go
- operator.go
- pod.go
- pvc.go
- rbd.go
- rbd_helper.go
- resize.go
- snapshot.go
- staticpvc.go
- upgrade-cephfs.go
- upgrade-rbd.go
- upgrade.go
- utils.go
- volumegroupsnapshot.go
- volumegroupsnapshot_base.go
Click to show internal directories.
Click to hide internal directories.