chronosos

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2026 License: MIT Imports: 19 Imported by: 0

Documentation

Overview

Package chronosos provides the ChronosOS control plane server.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	Addr            string
	Store           storage.Storage
	Broker          *stream.Broker
	Auth            *auth.Service
	Trace           *trace.Collector
	Approval        *approval.Service
	Metrics         *metrics.Registry
	Scheduler       *scheduler.Scheduler
	ShutdownTimeout time.Duration
	// contains filtered or unexported fields
}

Server is the ChronosOS control plane.

func New

func New(addr string, store storage.Storage) *Server

New creates a new ChronosOS server.

func (*Server) SetReady added in v0.3.0

func (s *Server) SetReady(ready bool)

SetReady marks the server as ready to accept traffic.

func (*Server) Start

func (s *Server) Start(ctx context.Context) error

Start begins serving the control plane with graceful shutdown support. It blocks until either the context is canceled or a SIGTERM/SIGINT is received.

Directories

Path Synopsis
Package approval provides human-in-the-loop approval workflows.
Package approval provides human-in-the-loop approval workflows.
Package auth provides authentication and RBAC for ChronosOS.
Package auth provides authentication and RBAC for ChronosOS.
interfaces
discord
Package discord provides a Discord bot interface for Chronos agents.
Package discord provides a Discord bot interface for Chronos agents.
slack
Package slack provides a Slack bot interface for Chronos agents.
Package slack provides a Slack bot interface for Chronos agents.
telegram
Package telegram provides a Telegram bot interface for Chronos agents.
Package telegram provides a Telegram bot interface for Chronos agents.
Package metrics provides Prometheus-format metrics collection and export.
Package metrics provides Prometheus-format metrics collection and export.
Package middleware provides HTTP middleware for ChronosOS.
Package middleware provides HTTP middleware for ChronosOS.
Package scheduler provides cron-based scheduling for agent runs.
Package scheduler provides cron-based scheduling for agent runs.
Package trace provides execution tracing and audit logging.
Package trace provides execution tracing and audit logging.
Package webhook provides a generic webhook interface for receiving external events.
Package webhook provides a generic webhook interface for receiving external events.

Jump to

Keyboard shortcuts

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