Documentation ¶
Index ¶
- type CachePVService
- func (s *CachePVService) GetPVByUniqueId(c *gin.Context, uniqueId string) (*corev1.PersistentVolume, error)
- func (s *CachePVService) ListAllPVs(ctx context.Context) ([]corev1.PersistentVolume, error)
- func (s *CachePVService) ListPVs(c *gin.Context) (*ListPVPodResult, error)
- func (c *CachePVService) Reconcile(ctx context.Context, req reconcile.Request) (reconcile.Result, error)
- func (c *CachePVService) SetupWithManager(mgr manager.Manager) error
- type ListPVPodResult
- type PVService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CachePVService ¶
type CachePVService struct {
// contains filtered or unexported fields
}
func (*CachePVService) GetPVByUniqueId ¶
func (s *CachePVService) GetPVByUniqueId(c *gin.Context, uniqueId string) (*corev1.PersistentVolume, error)
func (*CachePVService) ListAllPVs ¶
func (s *CachePVService) ListAllPVs(ctx context.Context) ([]corev1.PersistentVolume, error)
func (*CachePVService) ListPVs ¶
func (s *CachePVService) ListPVs(c *gin.Context) (*ListPVPodResult, error)
ListPVs implements PVService.
func (*CachePVService) SetupWithManager ¶
func (c *CachePVService) SetupWithManager(mgr manager.Manager) error
type ListPVPodResult ¶
type ListPVPodResult struct { Total int `json:"total,omitempty"` Continue string `json:"continue,omitempty"` PVs []corev1.PersistentVolume `json:"pvs"` }
Click to show internal directories.
Click to hide internal directories.