pvccontrol

package
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsPodPvcTmpChanged

func IsPodPvcTmpChanged(cls *appsv1alpha1.CollaSet, pod *corev1.Pod, existingPvcs []*corev1.PersistentVolumeClaim) (bool, error)

Types

type RealPvcControl

type RealPvcControl struct {
	// contains filtered or unexported fields
}

func (*RealPvcControl) AdoptOrphanedPvcs

func (pc *RealPvcControl) AdoptOrphanedPvcs(ctx context.Context, cls *appsv1alpha1.CollaSet) ([]*corev1.PersistentVolumeClaim, error)

func (*RealPvcControl) CreatePodPvcs

func (pc *RealPvcControl) CreatePodPvcs(ctx context.Context, cls *appsv1alpha1.CollaSet, pod *corev1.Pod, existingPvcs []*corev1.PersistentVolumeClaim) error

func (*RealPvcControl) DeletePodPvcs

func (pc *RealPvcControl) DeletePodPvcs(ctx context.Context, cls *appsv1alpha1.CollaSet, pod *corev1.Pod, pvcs []*corev1.PersistentVolumeClaim) error

func (*RealPvcControl) DeletePodUnusedPvcs

func (pc *RealPvcControl) DeletePodUnusedPvcs(ctx context.Context, cls *appsv1alpha1.CollaSet, pod *corev1.Pod, existingPvcs []*corev1.PersistentVolumeClaim) error

func (*RealPvcControl) GetFilteredPvcs

func (*RealPvcControl) ReleasePvcsOwnerRef

func (*RealPvcControl) SetPvcsOwnerRef

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL