pvcs

package
v0.26.4 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2025 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CachePVCService

type CachePVCService struct {
	// contains filtered or unexported fields
}

func (*CachePVCService) ListAllPVCs

func (*CachePVCService) ListPVCs

func (s *CachePVCService) ListPVCs(c *gin.Context) (*ListPVCResult, error)

func (*CachePVCService) Reconcile

func (*CachePVCService) SetupWithManager

func (s *CachePVCService) SetupWithManager(mgr manager.Manager) error

type ListPVCResult

type ListPVCResult struct {
	Total    int                            `json:"total,omitempty"`
	Continue string                         `json:"continue,omitempty"`
	PVCs     []corev1.PersistentVolumeClaim `json:"pvcs"`
}

type PVCService

type PVCService interface {
	ListPVCs(c *gin.Context) (*ListPVCResult, error)
	ListAllPVCs(ctx context.Context, pvs []corev1.PersistentVolume) ([]corev1.PersistentVolumeClaim, error)
}

func NewPVCService

func NewPVCService(client client.Client, enableManager bool) PVCService

Jump to

Keyboard shortcuts

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