pv

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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPVService

func NewPVService(client client.Client) services.ServiceInf

Types

type PVService

type PVService struct {
	*services.Resource
}

func (*PVService) Create

func (pv *PVService) Create(ctx context.Context, obj interface{}) (interface{}, error)

func (*PVService) CreateTemplate

func (pv *PVService) CreateTemplate(ctx context.Context, statefulPod *iapetosapiv1.StatefulPod, name string, index int) interface{}

func (*PVService) Delete

func (pv *PVService) Delete(ctx context.Context, obj interface{}) error

func (*PVService) DeleteMandatory

func (pv *PVService) DeleteMandatory(ctx context.Context, obj interface{}, statefulPod *iapetosapiv1.StatefulPod) error

func (*PVService) Get

func (pv *PVService) Get(ctx context.Context, nameSpaceName types.NamespacedName) (interface{}, error)

func (*PVService) GetName

func (pv *PVService) GetName(statefulPod *iapetosapiv1.StatefulPod, index int) *string

func (*PVService) IsExists

func (pv *PVService) IsExists(ctx context.Context, nameSpaceName types.NamespacedName) (interface{}, bool)

func (*PVService) IsResourceVersionSame

func (pv *PVService) IsResourceVersionSame(ctx context.Context, obj interface{}) bool

func (*PVService) Update

func (pv *PVService) Update(ctx context.Context, obj interface{}) (interface{}, error)

Jump to

Keyboard shortcuts

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