api

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2026 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlertHandler added in v0.0.3

type AlertHandler struct {
	// contains filtered or unexported fields
}

AlertHandler wraps provider wiring for alerts.

type AuditLogEntry

type AuditLogEntry struct {
	RequestID string    `json:"request_id"`
	ActorType string    `json:"actor_type"`
	ActorID   string    `json:"actor_id"`
	Timestamp time.Time `json:"timestamp"`
	Action    string    `json:"action"`
}

AuditLogEntry captures structured details for audit actions. Action is a dot-separated string, e.g. "incident.created", "incident.query".

type DeploymentHandler added in v0.1.0

type DeploymentHandler struct {
	// contains filtered or unexported fields
}

DeploymentHandler wraps provider wiring for deployments.

type IncidentHandler

type IncidentHandler struct {
	// contains filtered or unexported fields
}

IncidentHandler wraps provider wiring for incidents.

type LogHandler

type LogHandler struct {
	// contains filtered or unexported fields
}

LogHandler wraps provider wiring for logs.

type MessagingHandler

type MessagingHandler struct {
	// contains filtered or unexported fields
}

MessagingHandler wraps provider wiring for messaging.

type MetricHandler

type MetricHandler struct {
	// contains filtered or unexported fields
}

MetricHandler wraps provider wiring for metrics.

type OrchestrationHandler added in v0.5.0

type OrchestrationHandler struct {
	// contains filtered or unexported fields
}

OrchestrationHandler wraps provider wiring for orchestration.

type SecretProvider

type SecretProvider = secret.Provider

SecretProvider is a thin alias to the secret.Provider interface for API wiring.

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server routes requests to capability handlers.

func NewServerFromEnv

func NewServerFromEnv(ctx context.Context) (*Server, error)

NewServerFromEnv constructs a Server with providers loaded from environment variables.

func (*Server) ListenAndServe

func (s *Server) ListenAndServe(addr string) error

ListenAndServe starts the HTTP server.

func (*Server) ServeHTTP

func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request)

ServeHTTP implements http.Handler and dispatches to capability handlers.

type ServiceHandler

type ServiceHandler struct {
	// contains filtered or unexported fields
}

ServiceHandler wraps provider wiring for services.

type TeamHandler added in v0.2.0

type TeamHandler struct {
	// contains filtered or unexported fields
}

TeamHandler wraps provider wiring for teams.

type TicketHandler

type TicketHandler struct {
	// contains filtered or unexported fields
}

TicketHandler wraps provider wiring for tickets.

Jump to

Keyboard shortcuts

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