handler

package
v0.0.16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package handler provides HTTP handlers for the application.

Index

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

func DockerContainerList(ctx context.Context, d *docker.Client) http.HandlerFunc

DockerContainerList returns list of containers.

func DockerDiskUsage added in v0.0.16

func DockerDiskUsage(ctx context.Context, d *docker.Client) http.HandlerFunc

DockerDiskUsage returns disk usage of the docker daemon.

func DockerLogSize added in v0.0.16

func DockerLogSize(ctx context.Context, d *docker.Client) http.HandlerFunc

DockerLogSize returns size of the docker container logs.

func DockerVersion added in v0.0.16

func DockerVersion(ctx context.Context, d *docker.Client) http.HandlerFunc

DockerVersion returns version of the docker daemon.

func Version added in v0.0.16

func Version(ctx context.Context) http.HandlerFunc

Version returns version of the application.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL