Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerHandler ¶
type ContainerHandler struct {
// contains filtered or unexported fields
}
func NewContainerHandler ¶
func NewContainerHandler(client *client.Client) *ContainerHandler
type DaemonHandler ¶
type DaemonHandler struct {
// contains filtered or unexported fields
}
func NewDaemonHandler ¶
func NewDaemonHandler(client *client.Client, conf *conf.App) *DaemonHandler
func (*DaemonHandler) HealthCheck ¶
func (d *DaemonHandler) HealthCheck(ctx context.Context) (*pb.HealthInfo, error)
HealthCheck returns the cpu usage and memory usage information immediately without sleeping.
func (*DaemonHandler) HostInfo ¶
func (d *DaemonHandler) HostInfo(ctx context.Context) (*pb.SystemInfo, error)
HostInfo returns basic information about local machine
type ImageHandler ¶
type ImageHandler struct {
// contains filtered or unexported fields
}
func NewImageHandler ¶
func NewImageHandler(client *client.Client) *ImageHandler
Click to show internal directories.
Click to hide internal directories.