Versions in this module Expand all Collapse all v0 v0.2.0 Oct 3, 2026 v0.1.0 Oct 1, 2026 Changes in this version + const BearerAuthScopes + func RegisterHandlers(router EchoRouter, si ServerInterface) + func RegisterHandlersWithBaseURL(router EchoRouter, si ServerInterface, baseURL string) + func RegisterHandlersWithOptions(router EchoRouter, si ServerInterface, options RegisterHandlersOptions) + type DiskCollectionResponse struct + JobId *openapi_types.UUID + Results []DiskResultItem + type DiskResponse struct + Free int + Name string + Total int + Used int + type DiskResultItem struct + Changed *bool + Disks *DisksResponse + Error *string + Hostname string + Status DiskResultItemStatus + type DiskResultItemStatus string + const DiskResultItemStatusFailed + const DiskResultItemStatusOk + const DiskResultItemStatusSkipped + const DiskResultItemStatusTimeout + func (e DiskResultItemStatus) Valid() bool + type DisksResponse = []DiskResponse + type EchoRouter interface + CONNECT func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) echo.RouteInfo + DELETE func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) echo.RouteInfo + GET func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) echo.RouteInfo + HEAD func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) echo.RouteInfo + OPTIONS func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) echo.RouteInfo + PATCH func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) echo.RouteInfo + POST func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) echo.RouteInfo + PUT func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) echo.RouteInfo + TRACE func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) echo.RouteInfo + type ErrorResponse = externalRef0.ErrorResponse + type GetNodeDisk200JSONResponse DiskCollectionResponse + func (response GetNodeDisk200JSONResponse) VisitGetNodeDiskResponse(w http.ResponseWriter) error + type GetNodeDisk400JSONResponse externalRef0.ErrorResponse + func (response GetNodeDisk400JSONResponse) VisitGetNodeDiskResponse(w http.ResponseWriter) error + type GetNodeDisk401JSONResponse externalRef0.ErrorResponse + func (response GetNodeDisk401JSONResponse) VisitGetNodeDiskResponse(w http.ResponseWriter) error + type GetNodeDisk403JSONResponse externalRef0.ErrorResponse + func (response GetNodeDisk403JSONResponse) VisitGetNodeDiskResponse(w http.ResponseWriter) error + type GetNodeDisk500JSONResponse externalRef0.ErrorResponse + func (response GetNodeDisk500JSONResponse) VisitGetNodeDiskResponse(w http.ResponseWriter) error + type GetNodeDiskRequestObject struct + Hostname Hostname + type GetNodeDiskResponseObject interface + VisitGetNodeDiskResponse func(w http.ResponseWriter) error + type GetNodeLoad200JSONResponse LoadCollectionResponse + func (response GetNodeLoad200JSONResponse) VisitGetNodeLoadResponse(w http.ResponseWriter) error + type GetNodeLoad400JSONResponse externalRef0.ErrorResponse + func (response GetNodeLoad400JSONResponse) VisitGetNodeLoadResponse(w http.ResponseWriter) error + type GetNodeLoad401JSONResponse externalRef0.ErrorResponse + func (response GetNodeLoad401JSONResponse) VisitGetNodeLoadResponse(w http.ResponseWriter) error + type GetNodeLoad403JSONResponse externalRef0.ErrorResponse + func (response GetNodeLoad403JSONResponse) VisitGetNodeLoadResponse(w http.ResponseWriter) error + type GetNodeLoad500JSONResponse externalRef0.ErrorResponse + func (response GetNodeLoad500JSONResponse) VisitGetNodeLoadResponse(w http.ResponseWriter) error + type GetNodeLoadRequestObject struct + Hostname Hostname + type GetNodeLoadResponseObject interface + VisitGetNodeLoadResponse func(w http.ResponseWriter) error + type GetNodeMemory200JSONResponse MemoryCollectionResponse + func (response GetNodeMemory200JSONResponse) VisitGetNodeMemoryResponse(w http.ResponseWriter) error + type GetNodeMemory400JSONResponse externalRef0.ErrorResponse + func (response GetNodeMemory400JSONResponse) VisitGetNodeMemoryResponse(w http.ResponseWriter) error + type GetNodeMemory401JSONResponse externalRef0.ErrorResponse + func (response GetNodeMemory401JSONResponse) VisitGetNodeMemoryResponse(w http.ResponseWriter) error + type GetNodeMemory403JSONResponse externalRef0.ErrorResponse + func (response GetNodeMemory403JSONResponse) VisitGetNodeMemoryResponse(w http.ResponseWriter) error + type GetNodeMemory500JSONResponse externalRef0.ErrorResponse + func (response GetNodeMemory500JSONResponse) VisitGetNodeMemoryResponse(w http.ResponseWriter) error + type GetNodeMemoryRequestObject struct + Hostname Hostname + type GetNodeMemoryResponseObject interface + VisitGetNodeMemoryResponse func(w http.ResponseWriter) error + type GetNodeOS200JSONResponse OSInfoCollectionResponse + func (response GetNodeOS200JSONResponse) VisitGetNodeOSResponse(w http.ResponseWriter) error + type GetNodeOS400JSONResponse externalRef0.ErrorResponse + func (response GetNodeOS400JSONResponse) VisitGetNodeOSResponse(w http.ResponseWriter) error + type GetNodeOS401JSONResponse externalRef0.ErrorResponse + func (response GetNodeOS401JSONResponse) VisitGetNodeOSResponse(w http.ResponseWriter) error + type GetNodeOS403JSONResponse externalRef0.ErrorResponse + func (response GetNodeOS403JSONResponse) VisitGetNodeOSResponse(w http.ResponseWriter) error + type GetNodeOS500JSONResponse externalRef0.ErrorResponse + func (response GetNodeOS500JSONResponse) VisitGetNodeOSResponse(w http.ResponseWriter) error + type GetNodeOSRequestObject struct + Hostname Hostname + type GetNodeOSResponseObject interface + VisitGetNodeOSResponse func(w http.ResponseWriter) error + type GetNodeStatus200JSONResponse NodeStatusCollectionResponse + func (response GetNodeStatus200JSONResponse) VisitGetNodeStatusResponse(w http.ResponseWriter) error + type GetNodeStatus400JSONResponse externalRef0.ErrorResponse + func (response GetNodeStatus400JSONResponse) VisitGetNodeStatusResponse(w http.ResponseWriter) error + type GetNodeStatus401JSONResponse externalRef0.ErrorResponse + func (response GetNodeStatus401JSONResponse) VisitGetNodeStatusResponse(w http.ResponseWriter) error + type GetNodeStatus403JSONResponse externalRef0.ErrorResponse + func (response GetNodeStatus403JSONResponse) VisitGetNodeStatusResponse(w http.ResponseWriter) error + type GetNodeStatus500JSONResponse externalRef0.ErrorResponse + func (response GetNodeStatus500JSONResponse) VisitGetNodeStatusResponse(w http.ResponseWriter) error + type GetNodeStatusRequestObject struct + Hostname Hostname + type GetNodeStatusResponseObject interface + VisitGetNodeStatusResponse func(w http.ResponseWriter) error + type GetNodeUptime200JSONResponse UptimeCollectionResponse + func (response GetNodeUptime200JSONResponse) VisitGetNodeUptimeResponse(w http.ResponseWriter) error + type GetNodeUptime400JSONResponse externalRef0.ErrorResponse + func (response GetNodeUptime400JSONResponse) VisitGetNodeUptimeResponse(w http.ResponseWriter) error + type GetNodeUptime401JSONResponse externalRef0.ErrorResponse + func (response GetNodeUptime401JSONResponse) VisitGetNodeUptimeResponse(w http.ResponseWriter) error + type GetNodeUptime403JSONResponse externalRef0.ErrorResponse + func (response GetNodeUptime403JSONResponse) VisitGetNodeUptimeResponse(w http.ResponseWriter) error + type GetNodeUptime500JSONResponse externalRef0.ErrorResponse + func (response GetNodeUptime500JSONResponse) VisitGetNodeUptimeResponse(w http.ResponseWriter) error + type GetNodeUptimeRequestObject struct + Hostname Hostname + type GetNodeUptimeResponseObject interface + VisitGetNodeUptimeResponse func(w http.ResponseWriter) error + type Hostname = string + type LoadAverageResponse struct + N15min float32 + N1min float32 + N5min float32 + type LoadCollectionResponse struct + JobId *openapi_types.UUID + Results []LoadResultItem + type LoadResultItem struct + Changed *bool + Error *string + Hostname string + LoadAverage *LoadAverageResponse + Status LoadResultItemStatus + type LoadResultItemStatus string + const LoadResultItemStatusFailed + const LoadResultItemStatusOk + const LoadResultItemStatusSkipped + const LoadResultItemStatusTimeout + func (e LoadResultItemStatus) Valid() bool + type MemoryCollectionResponse struct + JobId *openapi_types.UUID + Results []MemoryResultItem + type MemoryResponse struct + Free int + Total int + Used int + type MemoryResultItem struct + Changed *bool + Error *string + Hostname string + Memory *MemoryResponse + Status MemoryResultItemStatus + type MemoryResultItemStatus string + const MemoryResultItemStatusFailed + const MemoryResultItemStatusOk + const MemoryResultItemStatusSkipped + const MemoryResultItemStatusTimeout + func (e MemoryResultItemStatus) Valid() bool + type NodeStatusCollectionResponse struct + JobId *openapi_types.UUID + Results []NodeStatusResponse + type NodeStatusResponse struct + Changed *bool + Disks *DisksResponse + Error *string + FieldErrors *map[string]string + Hostname string + LoadAverage *LoadAverageResponse + Memory *MemoryResponse + OsInfo *OSInfoResponse + Partial *bool + Status NodeStatusResponseStatus + Uptime *string + type NodeStatusResponseStatus string + const NodeStatusResponseStatusFailed + const NodeStatusResponseStatusOk + const NodeStatusResponseStatusSkipped + const NodeStatusResponseStatusTimeout + func (e NodeStatusResponseStatus) Valid() bool + type OSInfoCollectionResponse struct + JobId *openapi_types.UUID + Results []OSInfoResultItem + type OSInfoResponse struct + Distribution string + Version string + type OSInfoResultItem struct + Changed *bool + Error *string + Hostname string + OsInfo *OSInfoResponse + Status OSInfoResultItemStatus + type OSInfoResultItemStatus string + const OSInfoResultItemStatusFailed + const OSInfoResultItemStatusOk + const OSInfoResultItemStatusSkipped + const OSInfoResultItemStatusTimeout + func (e OSInfoResultItemStatus) Valid() bool + type RegisterHandlersOptions struct + BaseURL string + OperationMiddlewares map[string][]echo.MiddlewareFunc + type ServerInterface interface + GetNodeDisk func(ctx *echo.Context, hostname Hostname) error + GetNodeLoad func(ctx *echo.Context, hostname Hostname) error + GetNodeMemory func(ctx *echo.Context, hostname Hostname) error + GetNodeOS func(ctx *echo.Context, hostname Hostname) error + GetNodeStatus func(ctx *echo.Context, hostname Hostname) error + GetNodeUptime func(ctx *echo.Context, hostname Hostname) error + func NewStrictHandler(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc) ServerInterface + type ServerInterfaceWrapper struct + Handler ServerInterface + func (w *ServerInterfaceWrapper) GetNodeDisk(ctx *echo.Context) error + func (w *ServerInterfaceWrapper) GetNodeLoad(ctx *echo.Context) error + func (w *ServerInterfaceWrapper) GetNodeMemory(ctx *echo.Context) error + func (w *ServerInterfaceWrapper) GetNodeOS(ctx *echo.Context) error + func (w *ServerInterfaceWrapper) GetNodeStatus(ctx *echo.Context) error + func (w *ServerInterfaceWrapper) GetNodeUptime(ctx *echo.Context) error + type StrictHandlerFunc func(ctx *echo.Context, request any) (any, error) + type StrictMiddlewareFunc func(f StrictHandlerFunc, operationID string) StrictHandlerFunc + type StrictServerInterface interface + GetNodeDisk func(ctx context.Context, request GetNodeDiskRequestObject) (GetNodeDiskResponseObject, error) + GetNodeLoad func(ctx context.Context, request GetNodeLoadRequestObject) (GetNodeLoadResponseObject, error) + GetNodeMemory func(ctx context.Context, request GetNodeMemoryRequestObject) (GetNodeMemoryResponseObject, error) + GetNodeOS func(ctx context.Context, request GetNodeOSRequestObject) (GetNodeOSResponseObject, error) + GetNodeStatus func(ctx context.Context, request GetNodeStatusRequestObject) (GetNodeStatusResponseObject, error) + GetNodeUptime func(ctx context.Context, request GetNodeUptimeRequestObject) (GetNodeUptimeResponseObject, error) + type UptimeCollectionResponse struct + JobId *openapi_types.UUID + Results []UptimeResponse + type UptimeResponse struct + Changed *bool + Error *string + Hostname string + Status UptimeResponseStatus + Uptime *string + type UptimeResponseStatus string + const UptimeResponseStatusFailed + const UptimeResponseStatusOk + const UptimeResponseStatusSkipped + const UptimeResponseStatusTimeout + func (e UptimeResponseStatus) Valid() bool