Documentation
¶
Index ¶
- type Config
- type Server
- func (s *Server) Handler() http.Handler
- func (s *Server) RunOnce(ctx context.Context, workerID string) (bool, error)
- func (s *Server) RunParameterMaintenanceOnce(ctx context.Context) (bool, error)
- func (s *Server) RunParameterMaintenanceWorker(ctx context.Context)
- func (s *Server) RunWorker(ctx context.Context, workerID string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Mode string
PublicURL string
CookieName string
CookieSecure bool
AllowedOrigin string
AllowedHosts []string
AllowedRegistries []string
TrustedProxyCIDRs []string
MaxReplicas int32
MaxCPU int64
MaxMemory int64
SessionTTL time.Duration
SessionIdleTTL time.Duration
OperationLease time.Duration
ParameterRetention time.Duration
ParameterMutationTimeout time.Duration
WorkspaceNamespace string
GitHubStateTTL time.Duration
GitHubCookieName string
ObservabilityLogMaxWindow time.Duration
ObservabilityMetricMaxWindow time.Duration
ObservabilityEventMaxWindow time.Duration
ObservabilityLiveTTL time.Duration
ObservabilityLivePoll time.Duration
ObservabilityLivePerUser int
ObservabilityMetricsLivePoll time.Duration
ObservabilityMetricsLivePerUser int
TOTPEnabled bool
PublicDomain string
PublicStatefulDomain string
PublicTCPEnabled bool
PublicTCPAddress string
PublicTCPMinimumPort int32
PublicTCPMaximumPort int32
}
func DefaultConfig ¶
func DefaultConfig() Config
func (Config) RegistryAllowed ¶
type Server ¶
type Server struct {
Store *store.Store
Runtime runtime.Client
Config Config
Logger *slog.Logger
Tracer trace.Tracer
GitHub githubapp.Service
GitHubWebhookSecret []byte
ParameterSecrets parameters.SecretValueStore
SecretFingerprintKey []byte
PasswordResetKey []byte
AuthenticationSecrets parameters.SecretValueStore
Observability observability.Reader
AgentSigner interface {
Sign(string, []byte, time.Time) (controlagent.IssuedCertificate, error)
}
// contains filtered or unexported fields
}
func (*Server) RunParameterMaintenanceOnce ¶
func (*Server) RunParameterMaintenanceWorker ¶
Source Files
¶
- app_environment_handler.go
- build_handler.go
- cluster_agent_handler.go
- config.go
- delivery_handler.go
- generated_handler.go
- github_handler.go
- hierarchy_handler.go
- identity_handler.go
- metric_snapshot_cache.go
- mfa_handler.go
- observability_handler.go
- parameter_handler.go
- parameter_worker.go
- server.go
- tracing.go
- volume_handler.go
Click to show internal directories.
Click to hide internal directories.