Documentation ¶
Index ¶
Constants ¶
View Source
const (
MsgTypeSuborbitalResult = "suborbital.result"
)
Variables ¶
View Source
var SatDotVersion = "v0.1.4"
Functions ¶
func NewAuthToken ¶
func NewAuthToken(token string) system.Credential
func SetupTracing ¶
func SetupTracing(config options.TracerConfig, logger *vlog.Logger) (*trace.TracerProvider, error)
SetupTracing configure open telemetry to be used with otel exporter. Returns a tracer closer func and an error.
Types ¶
type Config ¶
type Config struct { RunnableArg string JobType string PrettyName string Module *tenant.Module Tenant string CapConfig capabilities.CapabilityConfig Connections []tenant.Connection Port int ControlPlaneUrl string EnvToken string Logger *vlog.Logger ProcUUID string TracerConfig satOptions.TracerConfig MetricsConfig satOptions.MetricsConfig }
func ConfigFromArgs ¶
func ConfigFromRunnableArg ¶
type Sat ¶
type Sat struct {
// contains filtered or unexported fields
}
Sat is a sat server with annoyingly terse field names (because it's smol)
func New ¶
New initializes Reactr, Vektor, and Grav in a Sat instance if config.UseStdin is true, only Reactr will be created if traceProvider is nil, the default NoopTraceProvider will be used
type WorkerMetricsResponse ¶
type WorkerMetricsResponse struct {
Scheduler scheduler.ScalerMetrics `json:"scheduler"`
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.