Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentCertificateSigner ¶
type AgentCertificateSigner interface {
Sign(string, []byte, time.Time) (controlagent.IssuedCertificate, error)
}
AgentCertificateSigner issues the short-lived identity used by a paired cluster Agent.
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
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 Dependencies ¶
type Dependencies struct {
Store *store.Store
Logger *slog.Logger
Tracer trace.Tracer
GitHub githubapp.Service
GitHubWebhookSecret []byte
ParameterSecrets parameters.SecretValueStore
SecretFingerprintKey []byte
PasswordResetKey []byte
AuthenticationSecrets parameters.SecretValueStore
HistoricalLogs observability.HistoricalLogReader
HistoricalMetrics observability.HistoricalMetricReader
HistoricalMetricBindings *historicalmetrics.Service
HistoricalEvents observability.HistoricalEventReader
CurrentLogs observability.CurrentLogReader
CurrentMetrics observability.CurrentMetricReader
CurrentEvents observability.CurrentEventReader
ProviderInventory providerbinding.Inventory
AgentSigner AgentCertificateSigner
AgentServerCAPEM []byte
AgentTrustBundleID string
}
Dependencies declares every external collaborator used by the HTTP API.
Source Files
¶
- account_handler.go
- app_environment_handler.go
- application_experience_handler.go
- authorization.go
- automation_auth.go
- build_handler.go
- cluster_agent_handler.go
- config.go
- delivery_handler.go
- effective_capabilities_handler.go
- feature_availability_handler.go
- github_handler.go
- hierarchy_handler.go
- historical_metric_binding_handler.go
- idempotency.go
- identity_error.go
- installation_user_handler.go
- kubernetes_binding_handler.go
- metric_snapshot_cache.go
- mfa_handler.go
- observability_handler.go
- openapi_router.go
- operation_handler.go
- parameter_handler.go
- release_handler.go
- resource_lookup.go
- server.go
- service_account_handler.go
- service_account_token_handler.go
- session_handler.go
- tracing.go
- user_management_handler.go
- volume_handler.go
- workspace_access_handler.go
- workspace_handler.go
Click to show internal directories.
Click to hide internal directories.