Documentation ¶
Overview ¶
Package handler provides HTTP handlers for the application.
Index ¶
- func DiskUsage(ctx context.Context) http.HandlerFunc
- func DockerBindMounts() http.HandlerFunc
- func DockerContainerList(ctx context.Context, d *docker.Client) http.HandlerFunc
- func DockerDiskUsage(ctx context.Context, d *docker.Client) http.HandlerFunc
- func DockerLogSize(ctx context.Context, d *docker.Client) http.HandlerFunc
- func DockerVersion(ctx context.Context, d *docker.Client) http.HandlerFunc
- func Version(ctx context.Context) http.HandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DiskUsage ¶ added in v0.0.16
func DiskUsage(ctx context.Context) http.HandlerFunc
DiskUsage returns disk usage of the host.
func DockerBindMounts ¶ added in v0.0.16
func DockerBindMounts() http.HandlerFunc
DockerBindMounts returns size of bind mounts.
func DockerContainerList ¶ added in v0.0.16
DockerContainerList returns list of containers.
func DockerDiskUsage ¶ added in v0.0.16
DockerDiskUsage returns disk usage of the docker daemon.
func DockerLogSize ¶ added in v0.0.16
DockerLogSize returns size of the docker container logs.
func DockerVersion ¶ added in v0.0.16
DockerVersion returns version of the docker daemon.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.