daemon

package
v0.0.0-...-1d5bf40 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: MIT Imports: 7 Imported by: 0

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

Jump to

Keyboard shortcuts

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