Documentation ¶
Index ¶
- func NewPVService(client client.Client) services.ServiceInf
- type PVService
- func (pv *PVService) Create(ctx context.Context, obj interface{}) (interface{}, error)
- func (pv *PVService) CreateTemplate(ctx context.Context, statefulPod *iapetosapiv1.StatefulPod, name string, ...) interface{}
- func (pv *PVService) Delete(ctx context.Context, obj interface{}) error
- func (pv *PVService) DeleteMandatory(ctx context.Context, obj interface{}, statefulPod *iapetosapiv1.StatefulPod) error
- func (pv *PVService) Get(ctx context.Context, nameSpaceName types.NamespacedName) (interface{}, error)
- func (pv *PVService) GetName(statefulPod *iapetosapiv1.StatefulPod, index int) *string
- func (pv *PVService) IsExists(ctx context.Context, nameSpaceName types.NamespacedName) (interface{}, bool)
- func (pv *PVService) IsResourceVersionSame(ctx context.Context, obj interface{}) bool
- func (pv *PVService) Update(ctx context.Context, obj interface{}) (interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPVService ¶
func NewPVService(client client.Client) services.ServiceInf
Types ¶
type PVService ¶
func (*PVService) CreateTemplate ¶
func (pv *PVService) CreateTemplate(ctx context.Context, statefulPod *iapetosapiv1.StatefulPod, name string, index int) interface{}
func (*PVService) DeleteMandatory ¶
func (pv *PVService) DeleteMandatory(ctx context.Context, obj interface{}, statefulPod *iapetosapiv1.StatefulPod) error
func (*PVService) GetName ¶
func (pv *PVService) GetName(statefulPod *iapetosapiv1.StatefulPod, index int) *string
func (*PVService) IsResourceVersionSame ¶
Click to show internal directories.
Click to hide internal directories.