Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
ActionsAllowlist map[string]sets.Set[string] // map of allowed bundle IDs to a set of allowed action names
Allowlist []string
AllowIMDSEndpoint bool
DDHost string
DDApiHost string
Modes []modes.Mode
OrgId int64
PrivateKey *ecdsa.PrivateKey
RunnerId string
Urn string
Tags []observability.Tag
// RemoteConfig related fields
DatadogSite string
// the following are constants with default values. They are part of the config struct to allow for the ability to be overwritten in the YAML config file if needed
MaxBackoff time.Duration
MinBackoff time.Duration
MaxAttempts int32
WaitBeforeRetry time.Duration
LoopInterval time.Duration
OpmsRequestTimeout int32
RunnerPoolSize int32
HealthCheckInterval int32
HttpServerReadTimeout int32
HttpServerWriteTimeout int32
HTTPTimeout time.Duration
TaskTimeoutSeconds *int32
RunnerAccessTokenHeader string
RunnerAccessTokenIdHeader string
Port int32
JWTRefreshInterval time.Duration
HealthCheckEndpoint string
HeartbeatInterval time.Duration
EnableProfiling bool
DisableCredentialTemplates bool
Version string
MetricsClient statsd.ClientInterface
}
func (*Config) IdentityIsIncomplete ¶
func (*Config) IsActionAllowed ¶
func (*Config) IsURLInAllowlist ¶
Click to show internal directories.
Click to hide internal directories.