Documentation
¶
Overview ¶
Package platform assembles the trusted platform service: the runtime API, connection manager with ingress loops, outbox dispatcher and background scheduler (§3, §13).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct {
Store *store.Store
Auth auth.Authenticator
Factories connections.Factories
Secrets connectors.Secrets
Registry *prometheus.Registry
Log *slog.Logger
// Interval is the period of the scheduler and outbox loops.
Interval time.Duration
// RetryBackoff is the first delay before retrying a retryable connector call.
RetryBackoff time.Duration
// Console serves the read-only console API; Auth must accept the console
// identity.
Console bool
}
Options configure a Platform.
type Platform ¶
type Platform struct {
Handler http.Handler
Connections *connections.Manager
// contains filtered or unexported fields
}
Platform is a running platform service.
func New ¶
New wires the platform. Background work starts with Start and stops when ctx is cancelled.
Click to show internal directories.
Click to hide internal directories.