Documentation ¶
Index ¶
- type Active
- type Cleaner
- func (Cleaner *Cleaner) BuildCachePrune() (uint64, error)
- func (Cleaner *Cleaner) ContainersPrune() (uint64, error)
- func (Cleaner *Cleaner) DeviceSpaceUsage(device string) (*SystemDiskUsage, error)
- func (Cleaner *Cleaner) DockerDiskUsage() (*DockerDiskUsage, error)
- func (Cleaner *Cleaner) GetDiskUtilization(path string) (uint64, float64, error)
- func (Cleaner *Cleaner) GetUsageInfo() (*DiskUsage, error)
- func (Cleaner *Cleaner) ImagesPrune(args filters.Args) (uint64, error)
- func (Cleaner *Cleaner) NetworksPrune() (int, error)
- func (Cleaner *Cleaner) VolumesPrune() (uint64, error)
- type DiskUsage
- type DiskUsageSummary
- type DockerDiskUsage
- type SystemDiskUsage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cleaner ¶
type Cleaner struct { Docker *client.Client Ctx context.Context Log *logrus.Entry Dir string TTL time.Duration }
func (*Cleaner) BuildCachePrune ¶
func (*Cleaner) ContainersPrune ¶
func (*Cleaner) DeviceSpaceUsage ¶
func (Cleaner *Cleaner) DeviceSpaceUsage(device string) (*SystemDiskUsage, error)
GB, Percent, Error
func (*Cleaner) DockerDiskUsage ¶
func (Cleaner *Cleaner) DockerDiskUsage() (*DockerDiskUsage, error)
func (*Cleaner) GetDiskUtilization ¶
func (*Cleaner) GetUsageInfo ¶
func (*Cleaner) ImagesPrune ¶
func (*Cleaner) NetworksPrune ¶ added in v0.1.3
func (*Cleaner) VolumesPrune ¶
type DiskUsage ¶
type DiskUsage struct { System *SystemDiskUsage Docker *DockerDiskUsage }
type DiskUsageSummary ¶
type DockerDiskUsage ¶
type DockerDiskUsage struct { BuildCache DiskUsageSummary Containers DiskUsageSummary Volumes DiskUsageSummary Images DiskUsageSummary }
type SystemDiskUsage ¶
Click to show internal directories.
Click to hide internal directories.