Documentation ¶
Index ¶
- func GetPVCProvisioner(host *api.Host, template *api.VolumeClaimTemplate) api.PVCProvisioner
- func GetPVCReclaimPolicy(host *api.Host, template *api.VolumeClaimTemplate) api.PVCReclaimPolicy
- func GetVolumeClaimTemplate(host *api.Host, volumeMount *core.VolumeMount) (*api.VolumeClaimTemplate, bool)
- func OperatorShouldCreatePVC(host *api.Host, volumeClaimTemplate *api.VolumeClaimTemplate) bool
- type PVCDeleter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPVCProvisioner ¶
func GetPVCProvisioner(host *api.Host, template *api.VolumeClaimTemplate) api.PVCProvisioner
func GetPVCReclaimPolicy ¶
func GetPVCReclaimPolicy(host *api.Host, template *api.VolumeClaimTemplate) api.PVCReclaimPolicy
func GetVolumeClaimTemplate ¶
func GetVolumeClaimTemplate(host *api.Host, volumeMount *core.VolumeMount) (*api.VolumeClaimTemplate, bool)
func OperatorShouldCreatePVC ¶
func OperatorShouldCreatePVC(host *api.Host, volumeClaimTemplate *api.VolumeClaimTemplate) bool
OperatorShouldCreatePVC checks whether operator should create PVC for specified volumeCLimaTemplate
Types ¶
type PVCDeleter ¶
type PVCDeleter struct {
// contains filtered or unexported fields
}
func NewPVCDeleter ¶
func NewPVCDeleter(namer iNamer) *PVCDeleter
func (*PVCDeleter) HostCanDeleteAllPVCs ¶
func (d *PVCDeleter) HostCanDeleteAllPVCs(host *api.Host) bool
HostCanDeleteAllPVCs checks whether all PVCs can be deleted
func (*PVCDeleter) HostCanDeletePVC ¶
func (d *PVCDeleter) HostCanDeletePVC(host *api.Host, pvcName string) bool
HostCanDeletePVC checks whether PVC on a host can be deleted
Click to show internal directories.
Click to hide internal directories.