Documentation ¶
Index ¶
- type CachePVCService
- func (s *CachePVCService) ListAllPVCs(ctx context.Context, pvs []corev1.PersistentVolume) ([]corev1.PersistentVolumeClaim, error)
- func (s *CachePVCService) ListPVCs(c *gin.Context) (*ListPVCResult, error)
- func (s *CachePVCService) Reconcile(ctx context.Context, req reconcile.Request) (reconcile.Result, error)
- func (s *CachePVCService) SetupWithManager(mgr manager.Manager) error
- type ListPVCResult
- type PVCService
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 (s *CachePVCService) ListAllPVCs(ctx context.Context, pvs []corev1.PersistentVolume) ([]corev1.PersistentVolumeClaim, error)
func (*CachePVCService) ListPVCs ¶
func (s *CachePVCService) ListPVCs(c *gin.Context) (*ListPVCResult, error)
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
Click to show internal directories.
Click to hide internal directories.