shared

package
v1.5.0-alpha3 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateHealthData

func GenerateHealthData() types.HealthInfo

func MountUsage

func MountUsage(path string) (disk types.MountStatus)

Function to get disk usage of path/disk

Types

type Endpoint

type Endpoint struct {
	// contains filtered or unexported fields
}

func NewEndpoint

func NewEndpoint(params EndpointParams) *Endpoint

type EndpointParams

type EndpointParams struct {
	Router            *echo.Echo
	NodeID            string
	NodeStateProvider models.NodeStateProvider
}

type VersionRequest added in v1.5.0

type VersionRequest struct {
	ClientID string `json:"client_id" example:"ac13188e93c97a9c2e7cf8e86c7313156a73436036f30da1ececc2ce79f9ea51"`
}

type VersionResponse added in v1.5.0

type VersionResponse struct {
	VersionInfo *models.BuildVersionInfo `json:"build_version_info"`
}

Jump to

Keyboard shortcuts

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