Documentation ¶
Index ¶
- type GarbageCollector
- func (g *GarbageCollector) DelKubernetesObjects(serviceGCReq model.ServiceGCTaskBody)
- func (g *GarbageCollector) DelLogFile(serviceGCReq model.ServiceGCTaskBody)
- func (g *GarbageCollector) DelPvPvcByServiceID(serviceGCReq model.ServiceGCTaskBody)
- func (g *GarbageCollector) DelVolumeData(serviceGCReq model.ServiceGCTaskBody)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GarbageCollector ¶
type GarbageCollector struct {
// contains filtered or unexported fields
}
GarbageCollector -
func NewGarbageCollector ¶
func NewGarbageCollector(clientset kubernetes.Interface) *GarbageCollector
NewGarbageCollector -
func (*GarbageCollector) DelKubernetesObjects ¶
func (g *GarbageCollector) DelKubernetesObjects(serviceGCReq model.ServiceGCTaskBody)
DelKubernetesObjects deletes all kubernetes objects.
func (*GarbageCollector) DelLogFile ¶
func (g *GarbageCollector) DelLogFile(serviceGCReq model.ServiceGCTaskBody)
DelLogFile deletes persistent data related to the service based on serviceID.
func (*GarbageCollector) DelPvPvcByServiceID ¶
func (g *GarbageCollector) DelPvPvcByServiceID(serviceGCReq model.ServiceGCTaskBody)
DelPvPvcByServiceID -
func (*GarbageCollector) DelVolumeData ¶
func (g *GarbageCollector) DelVolumeData(serviceGCReq model.ServiceGCTaskBody)
DelVolumeData -
Click to show internal directories.
Click to hide internal directories.