Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Params ¶
type Params struct {
fx.In
Cfg *runnerconfig.Config
APIClient nuonrunner.Client
LC fx.Lifecycle
}
type Settings ¶
type Settings struct {
// configuration for job polling and management
HeartBeatTimeout time.Duration `validate:"required"`
// control jobs
JobLoopMinPollPeriod time.Duration `validate:"required"`
SandboxMode bool
// LongPollJobs mirrors the org's `runner-job-long-poll` feature flag,
// surfaced through the runner-settings response. When true the
// jobloop calls the `/jobs/tail` long-poll endpoint instead of the
// legacy 5s idle-poll loop.
LongPollJobs bool
// visibility settings
EnableLogging bool
LoggingLevel slog.Level `validate:"required"`
OtelSchemaURL string
EnableMetrics bool
EnableSentry bool
Groups []string `validate:"required"`
// Metadata is added to sentry, metrics and loggers
Metadata map[string]string
// otel configuration - not really being used yet, but will be coming from the API to enable fetching things
// like cloudwatch metrics and more.
OTELConfiguration string `validate:"required"`
// container
ContainerImageTag string
ContainerImageURL string
// platform
Platform string
Cfg *runnerconfig.Config
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.