Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Pvc ¶
type Pvc struct {
// contains filtered or unexported fields
}
Pvc -
func NewPvc ¶
func NewPvc( pvc *corev1.PersistentVolumeClaim, timeout time.Duration, ) *Pvc
NewPvc returns an initialized Pvc.
func (*Pvc) CreateOrPatch ¶
CreateOrPatch - creates or patches a pvc, reconciles after Xs if object won't exist.
func (*Pvc) GetPvc ¶
func (p *Pvc) GetPvc() corev1.PersistentVolumeClaim
GetPvc - get the pvc object.
Click to show internal directories.
Click to hide internal directories.