Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // KeepMax is the maximum age of resources, older resources are deleted. KeepMax time.Duration // Backend is the kubedock backend object. Backend backend.Backend }
Config is the configuration to be used for the Reaper proces.
type Reaper ¶
type Reaper struct {
// contains filtered or unexported fields
}
Reaper is the object handles reaping of resources.
func (*Reaper) CleanContainers ¶
CleanContainers will clean all lingering containers that are older than the configured keepMax duration, and stored locally in the in memory database.
func (*Reaper) CleanContainersKubernetes ¶
CleanContainersKubernetes will clean all lingering containers that are older than the configured keepMax duration, and stored not stored in the local in memory database.
func (*Reaper) CleanExecs ¶
CleanExecs will clean all lingering execs that are older than 5 minutes.
Click to show internal directories.
Click to hide internal directories.