Versions in this module Expand all Collapse all v0 v0.1.9 Mar 19, 2026 v0.1.8 Mar 15, 2026 Changes in this version + type Handler struct + func NewHandler(service *Service) *Handler + func (h *Handler) Commands(c *gin.Context) + func (h *Handler) Drain(c *gin.Context) + func (h *Handler) GetMeta(c *gin.Context) + func (h *Handler) List(c *gin.Context) + func (h *Handler) ListCommands(c *gin.Context) + func (h *Handler) Restart(c *gin.Context) + func (h *Handler) Undrain(c *gin.Context) + func (h *Handler) UpdateMeta(c *gin.Context) + type Node struct + ID string + IP string + Name string + Port int + Resources interface{} + Status string + Type string + UpdatedAt string + type NodeActionRequest struct + ID string + type NodeCommand struct + Description string + Name string + type NodeCommandsRequest struct + type NodeCommandsResponse struct + Items []NodeCommand + type NodeDrainRequest struct + ID string + Timeout int + type NodeMetaRequest struct + ID string + type NodeMetaResponse struct + Meta interface{} + type NodeMetaUpdateRequest struct + ID string + Meta interface{} + type NodesListRequest struct + Status string + Type string + type NodesListResponse struct + Items []Node + type ObjectInfo struct + ETag string + Key string + LastModified string + Size int64 + StorageClass string + type ObjectsData struct + IsTruncated bool + NextMarker string + Objects []ObjectInfo + Prefixes []string + type Service struct + func NewService(svcCtx *svc.ServiceContext) *Service + func (s *Service) Drain(ctx context.Context, req *NodeDrainRequest) error + func (s *Service) GetMeta(ctx context.Context, req *NodeMetaRequest) (*NodeMetaResponse, error) + func (s *Service) List(ctx context.Context, req *NodesListRequest) (*NodesListResponse, error) + func (s *Service) ListCommands(ctx context.Context, req *NodeCommandsRequest) (*NodeCommandsResponse, error) + func (s *Service) Restart(ctx context.Context, req *NodeActionRequest) error + func (s *Service) Undrain(ctx context.Context, req *NodeActionRequest) error + func (s *Service) UpdateMeta(ctx context.Context, req *NodeMetaUpdateRequest) (*NodeMetaResponse, error)