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 AcceptAgent200JSONResponse struct + Message string + func (response AcceptAgent200JSONResponse) VisitAcceptAgentResponse(w http.ResponseWriter) error + type AcceptAgent400JSONResponse externalRef0.ErrorResponse + func (response AcceptAgent400JSONResponse) VisitAcceptAgentResponse(w http.ResponseWriter) error + type AcceptAgent401JSONResponse externalRef0.ErrorResponse + func (response AcceptAgent401JSONResponse) VisitAcceptAgentResponse(w http.ResponseWriter) error + type AcceptAgent403JSONResponse externalRef0.ErrorResponse + func (response AcceptAgent403JSONResponse) VisitAcceptAgentResponse(w http.ResponseWriter) error + type AcceptAgent404JSONResponse externalRef0.ErrorResponse + func (response AcceptAgent404JSONResponse) VisitAcceptAgentResponse(w http.ResponseWriter) error + type AcceptAgent500JSONResponse externalRef0.ErrorResponse + func (response AcceptAgent500JSONResponse) VisitAcceptAgentResponse(w http.ResponseWriter) error + type AcceptAgentParams struct + Fingerprint *string + type AcceptAgentRequestObject struct + Hostname string + Params AcceptAgentParams + type AcceptAgentResponseObject interface + VisitAcceptAgentResponse func(w http.ResponseWriter) error + type AgentInfo struct + Architecture *string + Conditions *[]NodeCondition + CpuCount *int + Facts *map[string]interface{} + Fingerprint *string + Fqdn *string + Hostname string + Interfaces *[]NetworkInterfaceResponse + KernelVersion *string + KeyStored *bool + Labels *map[string]string + LoadAverage *LoadAverageResponse + MachineId *string + Memory *MemoryResponse + OsInfo *OSInfoResponse + PackageMgr *string + PrimaryInterface *string + RegisteredAt *time.Time + Routes *[]RouteResponse + ServiceMgr *string + StartedAt *time.Time + State *AgentInfoState + Status AgentInfoStatus + Timeline *[]TimelineEvent + Uptime *string + Verified *bool + type AgentInfoState string + const AgentInfoStateCordoned + const AgentInfoStateDraining + const AgentInfoStatePending + const AgentInfoStateReady + func (e AgentInfoState) Valid() bool + type AgentInfoStatus string + const AgentInfoStatusNotReady + const AgentInfoStatusReady + func (e AgentInfoStatus) Valid() bool + type DrainAgent200JSONResponse struct + Message string + func (response DrainAgent200JSONResponse) VisitDrainAgentResponse(w http.ResponseWriter) error + type DrainAgent400JSONResponse externalRef0.ErrorResponse + func (response DrainAgent400JSONResponse) VisitDrainAgentResponse(w http.ResponseWriter) error + type DrainAgent401JSONResponse externalRef0.ErrorResponse + func (response DrainAgent401JSONResponse) VisitDrainAgentResponse(w http.ResponseWriter) error + type DrainAgent403JSONResponse externalRef0.ErrorResponse + func (response DrainAgent403JSONResponse) VisitDrainAgentResponse(w http.ResponseWriter) error + type DrainAgent404JSONResponse externalRef0.ErrorResponse + func (response DrainAgent404JSONResponse) VisitDrainAgentResponse(w http.ResponseWriter) error + type DrainAgent409JSONResponse externalRef0.ErrorResponse + func (response DrainAgent409JSONResponse) VisitDrainAgentResponse(w http.ResponseWriter) error + type DrainAgentRequestObject struct + Hostname string + type DrainAgentResponseObject interface + VisitDrainAgentResponse func(w http.ResponseWriter) error + 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 GetAgentDetails200JSONResponse AgentInfo + func (response GetAgentDetails200JSONResponse) VisitGetAgentDetailsResponse(w http.ResponseWriter) error + type GetAgentDetails400JSONResponse externalRef0.ErrorResponse + func (response GetAgentDetails400JSONResponse) VisitGetAgentDetailsResponse(w http.ResponseWriter) error + type GetAgentDetails401JSONResponse externalRef0.ErrorResponse + func (response GetAgentDetails401JSONResponse) VisitGetAgentDetailsResponse(w http.ResponseWriter) error + type GetAgentDetails403JSONResponse externalRef0.ErrorResponse + func (response GetAgentDetails403JSONResponse) VisitGetAgentDetailsResponse(w http.ResponseWriter) error + type GetAgentDetails404JSONResponse externalRef0.ErrorResponse + func (response GetAgentDetails404JSONResponse) VisitGetAgentDetailsResponse(w http.ResponseWriter) error + type GetAgentDetails500JSONResponse externalRef0.ErrorResponse + func (response GetAgentDetails500JSONResponse) VisitGetAgentDetailsResponse(w http.ResponseWriter) error + type GetAgentDetailsRequestObject struct + Hostname string + type GetAgentDetailsResponseObject interface + VisitGetAgentDetailsResponse func(w http.ResponseWriter) error + type GetAgents200JSONResponse ListAgentsResponse + func (response GetAgents200JSONResponse) VisitGetAgentsResponse(w http.ResponseWriter) error + type GetAgents401JSONResponse externalRef0.ErrorResponse + func (response GetAgents401JSONResponse) VisitGetAgentsResponse(w http.ResponseWriter) error + type GetAgents403JSONResponse externalRef0.ErrorResponse + func (response GetAgents403JSONResponse) VisitGetAgentsResponse(w http.ResponseWriter) error + type GetAgents500JSONResponse externalRef0.ErrorResponse + func (response GetAgents500JSONResponse) VisitGetAgentsResponse(w http.ResponseWriter) error + type GetAgentsPending200JSONResponse ListPendingAgentsResponse + func (response GetAgentsPending200JSONResponse) VisitGetAgentsPendingResponse(w http.ResponseWriter) error + type GetAgentsPending401JSONResponse externalRef0.ErrorResponse + func (response GetAgentsPending401JSONResponse) VisitGetAgentsPendingResponse(w http.ResponseWriter) error + type GetAgentsPending403JSONResponse externalRef0.ErrorResponse + func (response GetAgentsPending403JSONResponse) VisitGetAgentsPendingResponse(w http.ResponseWriter) error + type GetAgentsPending500JSONResponse externalRef0.ErrorResponse + func (response GetAgentsPending500JSONResponse) VisitGetAgentsPendingResponse(w http.ResponseWriter) error + type GetAgentsPendingRequestObject struct + type GetAgentsPendingResponseObject interface + VisitGetAgentsPendingResponse func(w http.ResponseWriter) error + type GetAgentsRequestObject struct + type GetAgentsResponseObject interface + VisitGetAgentsResponse func(w http.ResponseWriter) error + type ListAgentsResponse struct + Agents []AgentInfo + Total int + type ListPendingAgentsResponse struct + Agents []PendingAgentInfo + Total int + type LoadAverageResponse struct + N15min float32 + N1min float32 + N5min float32 + type MemoryResponse struct + Free int + Total int + Used int + type NetworkInterfaceResponse struct + Family *NetworkInterfaceResponseFamily + Ipv4 *string + Ipv6 *string + Mac *string + Name string + type NetworkInterfaceResponseFamily string + const Dual + const Inet + const Inet6 + func (e NetworkInterfaceResponseFamily) Valid() bool + type NodeCondition struct + LastTransitionTime time.Time + Reason *string + Status bool + Type NodeConditionType + type NodeConditionType string + const DiskPressure + const HighLoad + const MemoryPressure + func (e NodeConditionType) Valid() bool + type OSInfoResponse struct + Distribution string + Version string + type PendingAgentInfo struct + Fingerprint string + Hostname string + MachineId string + RequestedAt time.Time + type RegisterHandlersOptions struct + BaseURL string + OperationMiddlewares map[string][]echo.MiddlewareFunc + type RejectAgent200JSONResponse struct + Message string + func (response RejectAgent200JSONResponse) VisitRejectAgentResponse(w http.ResponseWriter) error + type RejectAgent400JSONResponse externalRef0.ErrorResponse + func (response RejectAgent400JSONResponse) VisitRejectAgentResponse(w http.ResponseWriter) error + type RejectAgent401JSONResponse externalRef0.ErrorResponse + func (response RejectAgent401JSONResponse) VisitRejectAgentResponse(w http.ResponseWriter) error + type RejectAgent403JSONResponse externalRef0.ErrorResponse + func (response RejectAgent403JSONResponse) VisitRejectAgentResponse(w http.ResponseWriter) error + type RejectAgent404JSONResponse externalRef0.ErrorResponse + func (response RejectAgent404JSONResponse) VisitRejectAgentResponse(w http.ResponseWriter) error + type RejectAgent500JSONResponse externalRef0.ErrorResponse + func (response RejectAgent500JSONResponse) VisitRejectAgentResponse(w http.ResponseWriter) error + type RejectAgentRequestObject struct + Hostname string + type RejectAgentResponseObject interface + VisitRejectAgentResponse func(w http.ResponseWriter) error + type RouteResponse struct + Destination string + Flags *string + Gateway string + Interface string + Mask *string + Metric *int + type ServerInterface interface + AcceptAgent func(ctx *echo.Context, hostname string, params AcceptAgentParams) error + DrainAgent func(ctx *echo.Context, hostname string) error + GetAgentDetails func(ctx *echo.Context, hostname string) error + GetAgents func(ctx *echo.Context) error + GetAgentsPending func(ctx *echo.Context) error + RejectAgent func(ctx *echo.Context, hostname string) error + UndrainAgent func(ctx *echo.Context, hostname string) error + func NewStrictHandler(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc) ServerInterface + type ServerInterfaceWrapper struct + Handler ServerInterface + func (w *ServerInterfaceWrapper) AcceptAgent(ctx *echo.Context) error + func (w *ServerInterfaceWrapper) DrainAgent(ctx *echo.Context) error + func (w *ServerInterfaceWrapper) GetAgentDetails(ctx *echo.Context) error + func (w *ServerInterfaceWrapper) GetAgents(ctx *echo.Context) error + func (w *ServerInterfaceWrapper) GetAgentsPending(ctx *echo.Context) error + func (w *ServerInterfaceWrapper) RejectAgent(ctx *echo.Context) error + func (w *ServerInterfaceWrapper) UndrainAgent(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 + AcceptAgent func(ctx context.Context, request AcceptAgentRequestObject) (AcceptAgentResponseObject, error) + DrainAgent func(ctx context.Context, request DrainAgentRequestObject) (DrainAgentResponseObject, error) + GetAgentDetails func(ctx context.Context, request GetAgentDetailsRequestObject) (GetAgentDetailsResponseObject, error) + GetAgents func(ctx context.Context, request GetAgentsRequestObject) (GetAgentsResponseObject, error) + GetAgentsPending func(ctx context.Context, request GetAgentsPendingRequestObject) (GetAgentsPendingResponseObject, error) + RejectAgent func(ctx context.Context, request RejectAgentRequestObject) (RejectAgentResponseObject, error) + UndrainAgent func(ctx context.Context, request UndrainAgentRequestObject) (UndrainAgentResponseObject, error) + type TimelineEvent struct + Error *string + Event string + Hostname *string + Message *string + Timestamp time.Time + type UndrainAgent200JSONResponse struct + Message string + func (response UndrainAgent200JSONResponse) VisitUndrainAgentResponse(w http.ResponseWriter) error + type UndrainAgent400JSONResponse externalRef0.ErrorResponse + func (response UndrainAgent400JSONResponse) VisitUndrainAgentResponse(w http.ResponseWriter) error + type UndrainAgent401JSONResponse externalRef0.ErrorResponse + func (response UndrainAgent401JSONResponse) VisitUndrainAgentResponse(w http.ResponseWriter) error + type UndrainAgent403JSONResponse externalRef0.ErrorResponse + func (response UndrainAgent403JSONResponse) VisitUndrainAgentResponse(w http.ResponseWriter) error + type UndrainAgent404JSONResponse externalRef0.ErrorResponse + func (response UndrainAgent404JSONResponse) VisitUndrainAgentResponse(w http.ResponseWriter) error + type UndrainAgent409JSONResponse externalRef0.ErrorResponse + func (response UndrainAgent409JSONResponse) VisitUndrainAgentResponse(w http.ResponseWriter) error + type UndrainAgentRequestObject struct + Hostname string + type UndrainAgentResponseObject interface + VisitUndrainAgentResponse func(w http.ResponseWriter) error