Versions in this module Expand all Collapse all v1 v1.3.0 Feb 23, 2026 v1.2.1 Feb 20, 2026 v1.2.0 Feb 17, 2026 Changes in this version + type GetPodsPIDsResponse struct + NodeID string + NodeName string + Pods []PodInfo + Timestamp string type Handler + func (h *Handler) GetIntentMerkleRoot(w http.ResponseWriter, r *http.Request) + func (h *Handler) GetPodsPIDs(w http.ResponseWriter, r *http.Request) + type MerkleRootResponse struct + RootHash string + type PodInfo struct + PodID string + PodUID string + Processes []PodProcess + type PodProcess struct + Command string + ContainerID string + PID int + PPID int v1.1.0 Jan 20, 2026 Changes in this version + type DeleteIntentRequest struct + All bool + PID *int + PodID string type Handler + func (h *Handler) DeleteIntent(w http.ResponseWriter, r *http.Request) v1.0.1 Jan 12, 2026 v1.0.0 Dec 29, 2025 Changes in this version + func GetJwtAuthMiddleware(tokenConfig config.TokenConfig) (func(next http.Handler) http.Handler, error) + type Claims struct + ClientID string + type EmptyResponse struct + type ErrorResponse struct + Error string + Success bool + type HandleIntentsRequest struct + Intents []Intent + type Handler struct + Service service.Service + TokenConfig config.TokenConfig + func NewHandler(params Params) (*Handler, error) + func (h *Handler) ErrorResponse(ctx context.Context, w http.ResponseWriter, status int, errMsg string, ...) + func (h *Handler) HandleError(ctx context.Context, w http.ResponseWriter, err error) + func (h *Handler) HandleIntents(w http.ResponseWriter, r *http.Request) + func (h *Handler) HealthCheck(w http.ResponseWriter, r *http.Request) + func (h *Handler) JSONBind(r *http.Request, dst any) error + func (h *Handler) JSONResponse(ctx context.Context, w http.ResponseWriter, status int, data any) + func (h *Handler) ListIntents(w http.ResponseWriter, r *http.Request) + func (h *Handler) SetupRoutes(engine *echo.Echo) error + func (h *Handler) UpdateMetrics(w http.ResponseWriter, r *http.Request) + func (h *Handler) Version(w http.ResponseWriter, r *http.Request) + func (h Handler) GenTokenHandler(w http.ResponseWriter, r *http.Request) + type HealthResponse struct + Service string + Status string + Timestamp string + type Intent struct + CommandRegex string + ExecutionTime int64 + K8sNamespace string + NodeID string + PodID string + PodLabels map[string]string + PodName string + Priority int + type LabelSelector struct + Key string + Value string + type ListIntentsResponse struct + Message string + Scheduling []*SchedulingIntents + Success bool + Timestamp string + type Params struct + Service service.Service + TokenConfig config.TokenConfig + type SchedulingIntents struct + CommandRegex string + ExecutionTime uint64 + PID int + Priority bool + Selectors []LabelSelector + type SuccessResponse struct + Data *T + Success bool + Timestamp string + func NewSuccessResponse[T any](data *T) SuccessResponse[T] + type TokenRequest struct + ClientID string + ExpiredAt int64 + PublicKey string + type TokenResponse struct + ExpiredAt int64 + Token string + type UpdateMetricsRequest struct + Nr_bounce_dispatches uint64 + Nr_cancel_dispatches uint64 + Nr_failed_dispatches uint64 + Nr_kernel_dispatches uint64 + Nr_online_cpus uint64 + Nr_queued uint64 + Nr_running uint64 + Nr_sched_congested uint64 + Nr_scheduled uint64 + Nr_user_dispatches uint64 + Usersched_last_run_at uint64 + type VersionResponse struct + Endpoints string + Message string + Version string