pv_controller

package
v0.0.0-...-2af97ec Latest Latest
Warning

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

Go to latest
Published: May 22, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PVCtrl

type PVCtrl struct {
	client.Client
}

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

Jump to

Keyboard shortcuts

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