Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PVCtrl ¶
func (*PVCtrl) SetPVAvailable ¶
func (pvctrl *PVCtrl) SetPVAvailable(ctx context.Context, statefulPod *iapetosapiv1.StatefulPod) bool
func (*PVCtrl) SetPVRetain ¶
func (pvctrl *PVCtrl) SetPVRetain(ctx context.Context, statefulPod *iapetosapiv1.StatefulPod) bool
type PVCtrlFunc ¶
type PVCtrlFunc interface { SetPVRetain(ctx context.Context, statefulPod *iapetosapiv1.StatefulPod) bool SetPVAvailable(ctx context.Context, statefulPod *iapetosapiv1.StatefulPod) bool }
func NewPodCtrl ¶
func NewPodCtrl(client client.Client) PVCtrlFunc
Click to show internal directories.
Click to hide internal directories.