Versions in this module Expand all Collapse all v0 v0.26.1 Nov 23, 2026 v0.26.0 Nov 23, 2026 Changes in this version + const IdempotencyKeyHeader + type AdminConnector struct + ClientID string + Editable bool + Enabled bool + Groups []string + ID string + Kind string + LastUsedAt *time.Time + Origin string + Picker bool + Scopes []string + SecretFile string + SecretSet bool + SecretUpdatedAt *time.Time + Shadowed bool + StoredHere bool + Transfer string + TransferMethod string + Users int + type AdminConnectorRequest struct + AuthURL string + ClientID string + Enabled *bool + Groups []string + ID string + Kind string + Scopes []string + Secret *string + TokenURL string + Transfer string + type AdminConnectorUser struct + LastUsedAt *time.Time + ObtainedAt time.Time + Subject string type ClientOrigin + const ClientOriginAdmin + const ClientOriginUser type Config + IdempotencyKeyCheck string + IdempotencyKeyHistoryWindow time.Duration + IdempotencyKeyRetention time.Duration + IdempotencyKeyTimeout time.Duration + SandboxCacheDir string + SandboxCacheMB int + SandboxMaxGB int + WebUIPrivacyFile string + WebUIPrivacyURL string + WebUITermsFile string + WebUITermsURL string + WebhookFanoutLimit int + WebhooksDisabled bool + type ConnectorStatus struct + ConnectURL string + Connected bool + ID string + Kind string + LastUsedAt *time.Time + NeedsConsent bool + Transfer string type Handler + func (h *Handler) SetWebUIPrivacyFile(v string) + func (h *Handler) SetWebUIPrivacyURL(v string) + func (h *Handler) SetWebUITermsFile(v string) + func (h *Handler) SetWebUITermsURL(v string) + func (s *Handler) SetConnectorConfig(params *config.Config) type HandlerConfig + IdempotencyKeyCheck string + IdempotencyKeyHistoryWindow time.Duration + IdempotencyKeyRetention time.Duration + IdempotencyKeyTimeout time.Duration + SandboxCacheDir string + SandboxCacheMB int + SandboxMaxGB int + WebUIPrivacyFile string + WebUIPrivacyURL string + WebUITermsFile string + WebUITermsURL string + WebhookFanoutLimit int + WebhooksDisabled bool + type Integration struct + CreatedAt time.Time + GrantTypes []string + HasSecret bool + ID string + LastUsedAt *time.Time + Name string + Public bool + RedirectURIs []string + Scopes []string + type Picker struct + APIKey string + AppID string + Connector string + Method string + Name string + Provider string + Script string + Service string + func (p Picker) FileReference(fileID, name string) string + type PickerOrigins struct + Connect []string + Frame []string + Img []string + Script []string type Session + LastUsed time.Time v0.25.0 Nov 21, 2026 Changes in this version + const AppTypeCodeServer + const DefaultDeliverableWatchWait + const DefaultJupyterReconnectGraceSec + const DefaultJupyterStartGraceSec + const DefaultMCPMaxRequestDuration + const DefaultMaxGrantLifetime + const DefaultTokenRetention + const DefaultUsageStatsFlushInterval + const InteractiveWatchdogFreshnessSec + const InteractiveWatchdogPollSec + const MaxJupyterReconnectGraceSec + const MaxJupyterStartGraceSec + const OracleNone + const OracleScheddACL + const OracleScheddUserRec + const OracleScheddUserRecStrict + var ErrAuthorizationPending = &fosite.RFC6749Error + var ErrExpiredToken = &fosite.RFC6749Error + var ErrSlowDown = &fosite.RFC6749Error + var ErrTokenAmbiguous = errors.New("more than one token matches that fingerprint") + var ErrTokenNotFound = errors.New("no token matches that fingerprint") + func AuthenticatedViaAPIKey(ctx context.Context) bool + func ConfigureSecurityForCollectorPing(token, serverName string) (*security.SecurityConfig, error) + func ConfigureSecurityForToken(token string) (*security.SecurityConfig, error) + func ConfigureSecurityForTokenWithCache(token string, sessionCache *security.SessionCache) (*security.SecurityConfig, error) + func ConfigureSecurityForTokenWithCacheAndFallback(token string, sessionCache *security.SessionCache, allowFSFallback bool) (*security.SecurityConfig, error) + func ContainsScope(ctx context.Context, scope string) bool + func GenerateSigningKey() ([]byte, error) + func GetScheddWithToken(ctx context.Context, schedd *htcondor.Schedd) (*htcondor.Schedd, error) + func GetSecurityConfigFromToken(ctx context.Context) (*security.SecurityConfig, error) + func GetTokenFromContext(ctx context.Context) (string, bool) + func OAuth2CallbackPath(webUIEnabled, mcpOAuth2 bool) string + func ParseGroupSources(raw string) ([]string, error) + func ParseTokenRetention(raw string) (time.Duration, error) + func WithCIMDSource(ctx context.Context, source string) context.Context + func WithRequestedRedirectURI(ctx context.Context, uri string) context.Context + func WithToken(ctx context.Context, token string) context.Context + type APAssignmentInfo struct + Alternates []string + Error string + Reason string + Schedd string + Source string + Stale bool + type APHubReach struct + Active bool + Address string + FreshAPs int + LastError string + LastSuccess string + Name string + Reachable bool + type APHubSwitch struct + At string + From string + Reason string + To string + type APRegistryState struct + LastError string + LastSuccess string + type APsResponse struct + APs []multiap.APInfo + Assignment *APAssignmentInfo + Constraint string + Hub APHubReach + HubSwitch *APHubSwitch + Hubs []APHubReach + Registry *APRegistryState + Sources multiap.Sources + type AdminClient struct + CreatedAt time.Time + GrantTypes []string + ID string + LastUsedAt *time.Time + Name string + Notes string + Origin string + Public bool + RecentUsers []AdminClientUse + RedirectURIs []string + RefreshBlockedBy []string + ResponseTypes []string + Scopes []string + ServiceSubject string + type AdminClientUse struct + At time.Time + Subject string + type AdminCondorConfigEntry struct + IsDefault bool + Key string + Redacted bool + Value string + type AdminCondorConfigResponse struct + Configured bool + Entries []AdminCondorConfigEntry + ModifiedCount int + type AdminLogsResponse struct + Enabled bool + Entries []logging.BufferEntry + type AdminRevokeRequest struct + Subject string + type AdminRevokeResponse struct + IDP int64 + OAuth2 int64 + Revoked int64 + Subject string + type AdminRevokeTokenRequest struct + Fingerprint string + Kind string + type AdminRevokeTokenResponse struct + ClientID string + Revoked int64 + Subject string + type AdminSetTokenScopesRequest struct + Fingerprint string + Kind string + Scopes []string + type AdminSetTokenScopesResponse struct + Added []string + ClientID string + Removed []string + Rows int64 + Scopes []string + Subject string + type AdminSiteApp struct + Attested bool + Description string + Digest string + Groups []string + Home bool + ID string + Icon string + Managed bool + Name string + Origin string + Revision string + SizeBytes int64 + Source *AdminSiteAppSource + URL string + UploadedAt *time.Time + UploadedBy string + Version string + type AdminSiteAppConfigRequest struct + Settings map[string]string + type AdminSiteAppConfigResponse struct + Editable bool + ID string + Origin string + Settings []AdminSiteAppSetting + StoredHere bool + type AdminSiteAppHistoryEntry struct + Attested bool + Digest string + FirstSeen time.Time + Groups []string + Home bool + LastSeen time.Time + Origin string + Revision string + SizeBytes int64 + Version string + type AdminSiteAppHistoryResponse struct + History []AdminSiteAppHistoryEntry + ID string + type AdminSiteAppSetting struct + Editable bool + Effective string + EffectiveFrom string + Key string + Setting string + Value string + type AdminSiteAppSource struct + Asset string + Kind string + Ref string + Repo string + type AdminSiteAppsResponse struct + Apps []AdminSiteApp + Directory string + Enabled bool + GitHubAllowed bool + UploadAllowed bool + type AdminToken struct + Active bool + AuthorizedScopes []string + ClientID string + ClientName string + ExpiresAt time.Time + Kind string + Notes string + RequestedAt time.Time + Scopes []string + SignaturePrefix string + Subject string + type AdminUsageKind struct + Enabled bool + Kind string + Label string + type AdminUsageResponse struct + Enabled bool + Kinds []AdminUsageKind + type AdvertiseRequest struct + Ad *classad.ClassAd + Command string + WithAck bool + type AdvertiseResponse struct + Errors []string + Failed int + Message string + Succeeded int + Success bool + type AdviceDeclined struct + Advice string + Reason string + type AppCreateRequest struct + Cpus int + DiskMB int + Image string + MemoryMB int + SubmitLines string + Type string + Workdir string + type AppListResponse struct + Apps []AppSummary + type AppSummary struct + Detail string + ID string + JobID string + Owner string + Schedd string + State string + Submitted int64 + Type string + URL string + type AuthMeResponse struct + AppOnly bool + Assignment *APAssignmentInfo + Authenticated bool + ExpertActive bool + Groups []string + Interactive []string + IsAdmin bool + MultiAP bool + Placement *PlacementSessionInfo + PlacementOnly bool + PoolIdentityRestricted bool + ProjectLeadOf []string + Reservations bool + SSHToJob bool + SiteApps []SiteAppSummary + SuperuserActive bool + SuperuserAllowed bool + SuperuserExpiresAt *time.Time + SuperuserIdentity string + SuperuserNote string + SuperuserProjects []string + SuperuserScope string + Username string + type BatchDag struct + Attributes map[string]any + Source string + Status *int64 + type BatchFinished struct + BadputHours float64 + CoreHours float64 + Failed int + Jobs int + Limit int + Memory *BatchMemory + Outcomes []BatchOutcome + Removed int + Runtime *BatchRuntime + Succeeded int + Truncated bool + WallHours float64 + type BatchHoldExample struct + ID string + Message string + type BatchHoldReason struct + Codes []issues.CodeCount + Count int + Examples []BatchHoldExample + Kind string + Template string + type BatchJobRow struct + Cluster int64 + CoresUsed *float64 + Dagman bool + ExitCode *int64 + ExitSignal *int64 + Finished *int64 + HoldCode *int64 + HoldReason string + ID string + Node string + Outcome string + PeakMemoryMiB *float64 + Proc int64 + RequestCpus *float64 + RequestMemoryMiB *float64 + RuntimeSeconds *float64 + Source string + Started *int64 + Status batches.Status + Submitted *int64 + type BatchJobsResponse struct + HistoryTruncated bool + ID int64 + Jobs []BatchJobRow + LiveTruncated bool + NextOffset *int + Offset int + Total int + type BatchMemory struct + Count int + PeakMax float64 + PeakP50 float64 + PeakP95 float64 + RequestP50 float64 + type BatchOutcome struct + Code *int64 + Count int + Outcome string + type BatchResponse struct + Clusters []int64 + Constraint string + Dag *BatchDag + DagmanJobID string + FetchedAt int64 + Finished BatchFinished + FirstStart *int64 + HasHistory bool + HoldReasons []BatchHoldReason + ID int64 + Kind batches.Kind + LastCompletion *int64 + Live map[batches.Status]int + LiveJobs int + LiveTruncated bool + Name string + Owner string + Progress batches.Progress + RemoveConstraint string + Submitted *int64 + Workflows []BatchWorkflow + type BatchRuntime struct + Count int + Max float64 + Mean float64 + P10 float64 + P50 float64 + P90 float64 + type BatchWorkflow struct + Executable string + FinishedJobs int + Jobs int + Key string + Name string + type CalendarBucketing struct + Completed string + Removed string + Submitted string + type CalendarDay struct + Completed int + Day int64 + InQueue int + Removed int + Submitted int + type CalendarQueueDepth struct + Anchor int + Derived bool + type CalendarResponse struct + BucketedOn *CalendarBucketing + ComputedAt int64 + Days []CalendarDay + Enabled bool + Note string + Partial bool + QueueDepth *CalendarQueueDepth + Source string + Step int64 + UnusableSubmit int + WindowDays int + type ClientOrigin string + const ClientOriginDynamic + const ClientOriginSeeded + const ClientOriginUnknown + type CollectorAdsResponse struct + Ads []*classad.ClassAd + type Config struct + APIKeyEntitlementTTL time.Duration + Build mcpserver.BuildConfig + CCB *htcondor.CCBDialer + ClientConfig *config.Config + Collector *htcondor.Collector + Credd htcondor.CreddClient + CreddAddress string + DBMirrorAddress string + DBMirrorName string + DBMirrorRequired bool + DBMirrorTokenSubject string + DBPath string + DagmanEnvironment map[string]string + DagmanPath string + DemoCredentialsFile string + EnableIDP bool + EnableMCP bool + EnableMetrics bool + HTCondorConfig *config.Config + HTTPBaseURL string + IDPAccessTokenLifespan time.Duration + IDPDBPath string + IDPIssuer string + IDPRefreshTokenLifespan time.Duration + IdentityGroupSources []string + IdentityMapPasswdFile string + IdentityMapStrategies []idmap.Strategy + IdentityMapStripDomain bool + IdentityMapTTL time.Duration + IdleTimeout time.Duration + InteractiveExtraSubmit string + InteractiveJupyterDisabled bool + InteractiveRequirements string + InteractiveTerminalDisabled bool + InteractiveVSCodeDisabled bool + JobQueueLogPath string + JupyterKernelIdleSec int + JupyterMaxLifetimeSec int + JupyterReconnectGraceSec int + JupyterStartGraceSec int + JupyterWorkDir string + KEKFilePath string + LLMAPIKeyFile string + LLMAPIURL string + LLMAuthScheme string + LLMModel string + LLMOperatorInstructionsFile string + ListenAddr string + Logger *logging.Logger + MCPAccessGroup string + MCPAdminGroup string + MCPAdminUsers []string + MCPBaseURL string + MCPCIMDAllowedHosts []string + MCPCIMDEnabled bool + MCPConfirmRemoveOver int + MCPConfirmSubmitOver int + MCPDCRDisabled bool + MCPDisableSecretRedaction bool + MCPDisabledTools string + MCPInstructions string + MCPListenAddr string + MCPMaxRequestDuration time.Duration + MCPOAuth2Disabled bool + MCPReadGroup string + MCPReadOnly bool + MCPRedactDisabledRules string + MCPSkillsDir string + MCPSkillsReloadInterval time.Duration + MCPSuperuserGroup string + MCPTokenExchangeIssuers string + MCPUseSDKTransport bool + MCPWatchMaxWait time.Duration + MCPWriteGroup string + MetricsCacheTTL time.Duration + MetricsPublic bool + MultiAP MultiAPConfig + OAuth2AccessTokenLifespan time.Duration + OAuth2AuthURL string + OAuth2ClientID string + OAuth2ClientSecret string + OAuth2DBPath string + OAuth2GroupsClaim string + OAuth2Issuer string + OAuth2MaxGrantLifetime time.Duration + OAuth2RedirectURL string + OAuth2RefreshTokenLifespan time.Duration + OAuth2Requirements string + OAuth2RevocationOracles []string + OAuth2Scopes []string + OAuth2TokenURL string + OAuth2UserInfoURL string + OAuth2UsernameClaim string + PingInterval time.Duration + PlacementCollectorHost string + PlacementDeviceClients *string + PlacementDisplayNameClaims []string + PlacementIdentityClaims []string + PlacementPrefillDomains []string + PlacementRequestRetention time.Duration + PlacementScheddHost string + Placementd htcondor.PlacementdClient + PlacementdName string + PoolQueryPolicy *poolpolicy.Policy + ProjectLeadsFile string + ProjectLeadsGroup string + RESTStatsEnabled bool + ReadTimeout time.Duration + RequiredCredentials []string + ReservationClaims bool + ReservationEPConstraint string + ReservationStampBudget int + Reservations bool + RuntimeEstimateBackfill time.Duration + RuntimeEstimateInterval time.Duration + SSHCAKeyFile string + SSHGatewayAddress string + SSHGatewayIssuer string + SSHGatewayLockout SSHGatewayLockoutConfig + SSHGatewayPublicHost string + SSHGatewaySessionCpus int + SSHGatewaySessionDiskMB int + SSHGatewaySessionMemoryMB int + SSHHostKeyFile string + SSHToJobDisabled bool + ScheddAddr string + ScheddAddrDiscovered bool + ScheddHost string + ScheddName string + SeedDemoPlacementUser bool + SeedDemoUser bool + ServiceKeyMaxLifetime time.Duration + SessionTTL time.Duration + SigningKeyPath string + SiteAppsDir string + SiteAppsGitHub bool + SiteAppsReloadInterval time.Duration + SiteAppsUpload bool + SpoolBufferDir string + SpoolMaxUploadBytes int64 + StreamBufferSize int + StreamWriteTimeout time.Duration + SubmitFileDefaults string + SubmitFileOverrides string + SuperuserFallbackIdentity string + SuperuserGroup string + TLSCACertFile string + TLSCertFile string + TLSKeyFile string + TemplateGlobalPath string + TemplateUserStoreDBPath string + Token string + TokenRetention string + TrustDomain string + TrustedProxies []string + UIDDomain string + UpstreamRefresh string + UsageStatsFlushInterval time.Duration + UsageStatsMaxLabelValues int + UsageStatsMaxSeries int + UsageStatsOmitUser bool + UserHeader string + UserHeaderTrustAnyUnsafe bool + UserHeaderTrustedProxies []string + UtilizationMaxJobs int + VSCodeImage string + WebUIAccessGroup string + WebUIAdminGroup string + WebUIAppOnlyGroup string + WebUIBrandingDir string + WebUICustomCSS string + WebUIEnabled bool + WebUIFavicon string + WebUIFooterLogos string + WebUISiteName string + WebUISiteTagline string + WriteTimeout time.Duration + type DagDryRunResponse struct + DagName string + Deferred []string + DryRun bool + Errors []string + Fatal bool + Findings []DagFinding + InputFiles []string + Notes []string + SubmitFile string + type DagFinding struct + Line int + Message string + Severity string + Source string + type DagGraphGroup struct + Count int + Description string + ID string + Label string + ParentIDs []string + Status map[string]int + type DagGraphNode struct + Detail string + ExitCode *int + GroupID string + HoldReason string + JobID string + Name string + Source string + State string + type DagGraphResponse struct + ApproximateLayering bool + Cluster int + DagFile string + DotFile string + EdgeCount int + FetchedAt time.Time + GroupCount int + Groups []DagGraphGroup + NodeCount int + Nodes []DagGraphNode + NodesOmitted bool + NodesOmittedReason string + StateSources []string + StatusFile string + StatusFileTime int64 + TookMS int64 + Warnings []string + type DagSubmitLinks struct + Dag string + Job string + Nodes string + Output string + Watch string + type DagSubmitRequest struct + Append string + BatchName string + Dag string + DagName string + DryRun bool + Files map[string]string + Instrument *bool + MaxIdle int + MaxJobs int + MaxPost int + MaxPre int + type DagSubmitResponse struct + Assignment *apassign.Assignment + ClusterID int + DagName string + DagmanLog string + Deferred []string + DotFile string + Findings []DagFinding + InputFiles []string + JobID string + Links DagSubmitLinks + NodeConstraint string + Notes []string + Schedd string + StatusFile string + type DashboardAP struct + JobsByStatus map[string]int + JobsTotal int + Schedd string + State string + type DashboardAPActivity struct + FinishedPartial bool + FinishedRecently int + Schedd string + State string + type DashboardActivity struct + CompletedAvailable bool + CompletedPartial bool + ComputedAt int64 + HoldReasons []HoldReasonCount + HoldWindowSeconds int64 + RecentlyCompleted []RecentJob + RecentlyHeld []RecentJob + RecentlyStarted []RecentJob + RecentlySubmitted []RecentJob + Source string + type DashboardActivityResponse struct + APs []DashboardAPActivity + Activity DashboardActivity + Goodput *GoodputSummary + Sources *multiap.Sources + type DashboardResponse struct + APs []DashboardAP + Activity DashboardActivity + Goodput *GoodputSummary + JobsByStatus map[string]int + JobsTotal int + Sources *multiap.Sources + Username string + type DeviceAuthorizationResponse struct + DeviceCode string + ExpiresIn int + Interval int + UserCode string + VerificationURI string + VerificationURIComplete string + type DeviceCodeHandler struct + func NewDeviceCodeHandler(storage *OAuth2Storage, config *fosite.Config) *DeviceCodeHandler + func (h *DeviceCodeHandler) HandleDeviceAccessRequest(ctx context.Context, deviceCode string, session fosite.Session) (fosite.Requester, error) + func (h *DeviceCodeHandler) HandleDeviceAuthorizationRequest(ctx context.Context, client fosite.Client, scopes []string, sshSession string) (*DeviceAuthorizationResponse, error) + type ErrorResponse struct + Code int + Error string + Message string + type ExitCodeCount struct + Code int64 + Count int + Seconds int64 + Signal bool + type GoodputSummary struct + BadSeconds int64 + Failed int + GoodSeconds int64 + Since int64 + Succeeded int + TopFailures []ExitCodeCount + Unfinished int + WindowHours int + type GrantRef struct + ClientID string + RequestID string + Signature string + Subject string + type Handler struct + func NewHandler(cfg HandlerConfig) (*Handler, error) + func (h *Handler) AdvertiseAugment() func(*classad.ClassAd) + func (h *Handler) GetOAuth2Provider() *OAuth2Provider + func (h *Handler) GetSchedd() *htcondor.Schedd + func (h *Handler) ReloadAPAssignment() + func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) + func (h *Handler) SetInteractiveJupyter(spec string) + func (h *Handler) SetInteractiveTerminal(spec string) + func (h *Handler) SetInteractiveVSCode(spec string) + func (h *Handler) SetMCPAccessGroups(raw string) + func (h *Handler) SetMCPAdminGroups(raw string) + func (h *Handler) SetMCPConfirmRemoveOver(spec string) + func (h *Handler) SetMCPConfirmSubmitOver(spec string) + func (h *Handler) SetMCPDisabledTools(spec string) + func (h *Handler) SetMCPInstructions(instructions string) + func (h *Handler) SetMCPReadGroups(raw string) + func (h *Handler) SetMCPReadOnly(spec string) + func (h *Handler) SetMCPRedactDisabledRules(spec string) + func (h *Handler) SetMCPRedactSecrets(spec string) + func (h *Handler) SetMCPSkillsDir(dir string) + func (h *Handler) SetMCPSuperuserGroups(raw string) + func (h *Handler) SetMCPWriteGroups(raw string) + func (h *Handler) SetProjectLeadsFile(path string) + func (h *Handler) SetProjectLeadsGroup(pattern string) + func (h *Handler) SetSiteAppPolicy(params *config.Config) + func (h *Handler) SetSuperuserGroups(raw string) + func (h *Handler) SetWebUIAccessGroups(raw string) + func (h *Handler) SetWebUIAdminGroups(raw string) + func (h *Handler) SetWebUIAppOnlyGroups(raw string) + func (h *Handler) SetWebUIBrandingDir(v string) + func (h *Handler) SetWebUICustomCSS(v string) + func (h *Handler) SetWebUIFavicon(v string) + func (h *Handler) SetWebUIFooterLogos(v string) + func (h *Handler) SetWebUISiteName(v string) + func (h *Handler) SetWebUISiteTagline(v string) + func (h *Handler) SetupRoutes(setupFunc func(*http.ServeMux)) + func (h *Handler) Start(ctx context.Context, ln net.Listener, protocol string) error + func (h *Handler) Stop(ctx context.Context) error + func (h *Handler) StopUsageStats() + func (h *Handler) UpdateOAuth2RedirectURL(redirectURL string) + func (h *Handler) UpdateSchedd(newAddress string) + func (s *Handler) SetChatInstructions(path string) + type HandlerConfig struct + APIKeyEntitlementTTL time.Duration + Build mcpserver.BuildConfig + CCB *htcondor.CCBDialer + ClientConfig *config.Config + Collector *htcondor.Collector + Credd htcondor.CreddClient + CreddAddress string + DBMirrorAddress string + DBMirrorName string + DBMirrorRequired bool + DBMirrorTokenSubject string + DBPath string + DagmanEnvironment map[string]string + DagmanPath string + DemoCredentialsFile string + EnableIDP bool + EnableMCP bool + EnableMetrics bool + HTCondorConfig *config.Config + HTTPBaseURL string + IDPAccessTokenLifespan time.Duration + IDPDBPath string + IDPIssuer string + IDPRefreshTokenLifespan time.Duration + IdentityGroupSources []string + IdentityMapPasswdFile string + IdentityMapStrategies []idmap.Strategy + IdentityMapStripDomain bool + IdentityMapTTL time.Duration + InteractiveExtraSubmit string + InteractiveJupyterDisabled bool + InteractiveRequirements string + InteractiveTerminalDisabled bool + InteractiveVSCodeDisabled bool + JobQueueLogPath string + JupyterKernelIdleSec int + JupyterMaxLifetimeSec int + JupyterReconnectGraceSec int + JupyterStartGraceSec int + JupyterWorkDir string + KEKFilePath string + LLMAPIKeyFile string + LLMAPIURL string + LLMAuthScheme string + LLMModel string + LLMOperatorInstructionsFile string + Logger *logging.Logger + MCPAccessGroup string + MCPAdminGroup string + MCPAdminUsers []string + MCPBaseURL string + MCPCIMDAllowedHosts []string + MCPCIMDEnabled bool + MCPConfirmRemoveOver int + MCPConfirmSubmitOver int + MCPDCRDisabled bool + MCPDisableSecretRedaction bool + MCPDisabledTools string + MCPInstructions string + MCPMaxRequestDuration time.Duration + MCPOAuth2Disabled bool + MCPReadGroup string + MCPReadOnly bool + MCPRedactDisabledRules string + MCPSkillsDir string + MCPSkillsReloadInterval time.Duration + MCPSuperuserGroup string + MCPTokenExchangeIssuers string + MCPUseSDKTransport bool + MCPWatchMaxWait time.Duration + MCPWriteGroup string + MetricsCacheTTL time.Duration + MetricsPublic bool + MultiAP MultiAPConfig + OAuth2AccessTokenLifespan time.Duration + OAuth2AuthURL string + OAuth2ClientID string + OAuth2ClientSecret string + OAuth2DBPath string + OAuth2GroupsClaim string + OAuth2Issuer string + OAuth2MaxGrantLifetime time.Duration + OAuth2RedirectURL string + OAuth2RefreshTokenLifespan time.Duration + OAuth2Requirements string + OAuth2RevocationOracles []string + OAuth2Scopes []string + OAuth2TokenURL string + OAuth2UserInfoURL string + OAuth2UsernameClaim string + PingInterval time.Duration + PlacementCollectorHost string + PlacementDeviceClients *string + PlacementDisplayNameClaims []string + PlacementIdentityClaims []string + PlacementPrefillDomains []string + PlacementRequestRetention time.Duration + PlacementScheddHost string + Placementd htcondor.PlacementdClient + PlacementdName string + PoolQueryPolicy *poolpolicy.Policy + ProjectLeadsFile string + ProjectLeadsGroup string + RESTStatsEnabled bool + RequiredCredentials []string + ReservationClaims bool + ReservationEPConstraint string + ReservationStampBudget int + Reservations bool + RuntimeEstimateBackfill time.Duration + RuntimeEstimateInterval time.Duration + SSHCAKeyFile string + SSHGatewayAddress string + SSHGatewayIssuer string + SSHGatewayLockout SSHGatewayLockoutConfig + SSHGatewayPublicHost string + SSHGatewaySessionCpus int + SSHGatewaySessionDiskMB int + SSHGatewaySessionMemoryMB int + SSHHostKeyFile string + SSHToJobDisabled bool + ScheddAddr string + ScheddAddrDiscovered bool + ScheddHost string + ScheddName string + SeedDemoPlacementUser bool + SeedDemoUser bool + ServiceKeyMaxLifetime time.Duration + SessionTTL time.Duration + SigningKeyPath string + SiteAppsDir string + SiteAppsGitHub bool + SiteAppsReloadInterval time.Duration + SiteAppsUpload bool + SpoolBufferDir string + SpoolMaxUploadBytes int64 + StreamBufferSize int + StreamWriteTimeout time.Duration + SubmitFileDefaults string + SubmitFileOverrides string + SuperuserArmTTL time.Duration + SuperuserFallbackIdentity string + SuperuserGroup string + SuperuserRefreshInterval time.Duration + TLSCACertFile string + TemplateGlobalPath string + TemplateUserStoreDBPath string + Token string + TokenRetention string + TrustDomain string + TrustedProxies []string + UIDDomain string + UpstreamRefresh string + UsageStatsFlushInterval time.Duration + UsageStatsMaxLabelValues int + UsageStatsMaxSeries int + UsageStatsOmitUser bool + UserHeader string + UserHeaderTrustAnyUnsafe bool + UserHeaderTrustedProxies []string + UtilizationMaxJobs int + VSCodeImage string + WebUIAccessGroup string + WebUIAdminGroup string + WebUIAppOnlyGroup string + WebUIBrandingDir string + WebUICustomCSS string + WebUIEnabled bool + WebUIFavicon string + WebUIFooterLogos string + WebUISiteName string + WebUISiteTagline string + func (c HandlerConfig) MCPOAuth2Enabled() bool + func (c HandlerConfig) OAuth2Enabled() bool + type HistoryListResponse struct + Ads []*classad.ClassAd + RecordsScanned int + ScanLimitReached bool + Source string + SourceNote string + type HoldReasonCount struct + Code int64 + Count int + Example string + Label string + type IDPProvider struct + func NewIDPProvider(opts IDPProviderOptions) (*IDPProvider, error) + func (p *IDPProvider) Close() error + func (p *IDPProvider) GetProvider() fosite.OAuth2Provider + func (p *IDPProvider) GetStorage() *IDPStorage + func (p *IDPProvider) GetStrategy() *compose.CommonStrategy + func (p *IDPProvider) UpdateIssuer(issuer string) + type IDPProviderOptions struct + AccessTokenLifespan time.Duration + DB *sql.DB + Issuer string + RefreshTokenLifespan time.Duration + Sealer *seal.Sealer + type IDPStorage struct + func NewIDPStorage(db *sql.DB) *IDPStorage + func (s *IDPStorage) AuthenticateUser(ctx context.Context, username, password string) error + func (s *IDPStorage) ClientAssertionJWTValid(ctx context.Context, jti string) error + func (s *IDPStorage) CreateAccessTokenSession(ctx context.Context, signature string, request fosite.Requester) error + func (s *IDPStorage) CreateAuthorizeCodeSession(ctx context.Context, signature string, request fosite.Requester) error + func (s *IDPStorage) CreateClient(ctx context.Context, client *fosite.DefaultClient) error + func (s *IDPStorage) CreateOpenIDConnectSession(ctx context.Context, signature string, requester fosite.Requester) error + func (s *IDPStorage) CreatePKCERequestSession(ctx context.Context, signature string, request fosite.Requester) error + func (s *IDPStorage) CreateRefreshTokenSession(ctx context.Context, signature string, _ string, request fosite.Requester) error + func (s *IDPStorage) CreateSession(ctx context.Context, username string) (string, error) + func (s *IDPStorage) CreateUser(ctx context.Context, username, password, state string) error + func (s *IDPStorage) DeleteAccessTokenSession(ctx context.Context, signature string) error + func (s *IDPStorage) DeleteOpenIDConnectSession(ctx context.Context, signature string) error + func (s *IDPStorage) DeletePKCERequestSession(ctx context.Context, signature string) error + func (s *IDPStorage) DeleteRefreshTokenSession(ctx context.Context, signature string) error + func (s *IDPStorage) DeleteSession(ctx context.Context, sessionID string) error + func (s *IDPStorage) GetAccessTokenSession(ctx context.Context, signature string, session fosite.Session) (fosite.Requester, error) + func (s *IDPStorage) GetAuthorizeCodeSession(ctx context.Context, signature string, session fosite.Session) (fosite.Requester, error) + func (s *IDPStorage) GetClient(ctx context.Context, clientID string) (fosite.Client, error) + func (s *IDPStorage) GetOpenIDConnectSession(ctx context.Context, signature string, requester fosite.Requester) (fosite.Requester, error) + func (s *IDPStorage) GetPKCERequestSession(ctx context.Context, signature string, session fosite.Session) (fosite.Requester, error) + func (s *IDPStorage) GetRefreshTokenSession(ctx context.Context, signature string, session fosite.Session) (fosite.Requester, error) + func (s *IDPStorage) GetSession(ctx context.Context, sessionID string) (string, error) + func (s *IDPStorage) GetUserState(ctx context.Context, username string) (string, error) + func (s *IDPStorage) InvalidateAuthorizeCodeSession(ctx context.Context, signature string) error + func (s *IDPStorage) LoadHMACSecret(ctx context.Context) ([]byte, error) + func (s *IDPStorage) LoadRSAKey(ctx context.Context) (string, error) + func (s *IDPStorage) RevokeAccessToken(ctx context.Context, requestID string) error + func (s *IDPStorage) RevokeAllForSubject(ctx context.Context, subject string) (int64, error) + func (s *IDPStorage) RevokeRefreshToken(ctx context.Context, requestID string) error + func (s *IDPStorage) RevokeRefreshTokenMaybeGracePeriod(ctx context.Context, requestID string, _ string) error + func (s *IDPStorage) RotateRefreshToken(ctx context.Context, requestID string, _ string) error + func (s *IDPStorage) SaveHMACSecret(ctx context.Context, secret []byte) error + func (s *IDPStorage) SaveRSAKey(ctx context.Context, privateKeyPEM string) error + func (s *IDPStorage) SetClientAssertionJWT(ctx context.Context, jti string, exp time.Time) error + func (s *IDPStorage) SetSealer(sealer *seal.Sealer) + func (s *IDPStorage) UpdateClientSecret(ctx context.Context, clientID string, hashedSecret []byte) error + func (s *IDPStorage) UserExists(ctx context.Context, username string) (bool, error) + type Impersonation struct + Actor string + ActorIsSuperUser bool + Identity string + Project string + Target string + func (i Impersonation) Reason(what string) string + type InteractiveCreateTerminalRequest struct + Cpus int + CudaVersion string + DiskMB int + Gpus int + GpusMinimumCapability string + GpusMinimumMemory int + GpusMinimumRuntime string + MemoryMB int + RequireGpus string + SubmitLines string + type InteractiveCreateTerminalResponse struct + BatchName string + ClusterID int + InstanceID string + JobID string + ProcID int + Schedd string + type InteractiveTerminalSummary struct + BatchName string + ClusterID int + HoldReason string + HoldReasonCode int + InstanceID string + JobCurrentStartExecutingDate int64 + JobID string + JobStatus int + Kind string + Name string + ProcID int + SSHCommand string + Schedd string + SubmittedAt string + type IssueSection struct + Clusters []issues.Cluster + Kind string + Title string + Total int + Users int + type IssueTimings struct + AgeSeconds int64 + Cached bool + ClusterMs int64 + Holds int + HoldsMs int64 + RunAttempts int + RunAttemptsMs int64 + type IssuesResponse struct + BucketSeconds int64 + ComputedAt int64 + Constraint string + Granularity float64 + IncludeEnded bool + Notes []string + OwnedByMe bool + Sections []IssueSection + Source string + Sources *multiap.Sources + Timings *IssueTimings + Truncated bool + WindowSeconds int64 + type JobActionFunc func(ctx context.Context, constraint, reason string) (*htcondor.JobActionResults, error) + type JobEditRequest struct + Attributes map[string]interface{} + type JobListResponse struct + Jobs []*classad.ClassAd + type JobLogResponse struct + Events []userlog.Event + Filename string + JobID string + Truncated bool + type JobOutcome struct + Job string + Reason string + type JobSubmitRequest struct + SubmitFile string + type JobSubmitResponse struct + Assignment *apassign.Assignment + ClusterID int + JobIDs []string + Jobs []multiap.JobRef + Schedd string + Warnings []string + type JupyterCreateRequest struct + Cpus int + CudaVersion string + DiskMB int + Gpus int + GpusMinimumCapability string + GpusMinimumMemory int + GpusMinimumRuntime string + Image string + MemoryMB int + RequireGpus string + SubmitLines string + type JupyterCreateResponse struct + ClusterID string + InstanceID string + ProxyPath string + Schedd string + type JupyterInstanceSummary struct + ClusterID string + Connected bool + CreatedAt string + EventsPath string + HoldReason string + HoldReasonCode int + Image string + InstanceID string + JobCurrentStartExecutingDate int64 + JobID string + JobStatus int + Owner string + ProxyPath string + Reconnecting bool + Schedd string + type LoginRateLimiter struct + func NewLoginRateLimiter(r rate.Limit, b int) *LoginRateLimiter + func (l *LoginRateLimiter) Allow(key string) bool + func (l *LoginRateLimiter) Exhausted(key string) bool + type MultiAPBulkResponse struct + Constraint string + Message string + type MultiAPConfig struct + Assignment apassign.Config + BulkFresh time.Duration + HubAddress string + HubFailAfter int + HubName string + HubSettle time.Duration + HubSwitchAfter time.Duration + HubSwitchMargin int + JobIDCodec string + ScheddConstraint string + Stale string + func (c MultiAPConfig) Enabled() bool + type OAuth2Provider struct + func NewOAuth2Provider(opts OAuth2ProviderOptions) (*OAuth2Provider, error) + func (p *OAuth2Provider) AuthenticateClient(ctx context.Context, r *http.Request, form url.Values) (fosite.Client, error) + func (p *OAuth2Provider) Close() error + func (p *OAuth2Provider) GetProvider() fosite.OAuth2Provider + func (p *OAuth2Provider) GetStorage() *OAuth2Storage + func (p *OAuth2Provider) GetStrategy() *compose.CommonStrategy + func (p *OAuth2Provider) IntrospectAccessToken(ctx context.Context, token string) (fosite.AccessRequester, error) + func (p *OAuth2Provider) IntrospectToken(ctx context.Context, token string) (fosite.Session, error) + func (p *OAuth2Provider) UpdateIssuer(issuer string) + type OAuth2ProviderOptions struct + AccessTokenLifespan time.Duration + CIMDAllowedHosts []string + CIMDEnabled bool + DB *sql.DB + Issuer string + RefreshTokenLifespan time.Duration + Sealer *seal.Sealer + TokenPath string + type OAuth2StateEntry struct + AuthorizeRequest fosite.AuthorizeRequester + BrowserBinding string + Groups []string + OriginalURL string + PlacementIdentity string + Timestamp time.Time + Username string + type OAuth2StateStore struct + func NewOAuth2StateStore() *OAuth2StateStore + func (s *OAuth2StateStore) GenerateState() (string, error) + func (s *OAuth2StateStore) Get(state string) (fosite.AuthorizeRequester, bool) + func (s *OAuth2StateStore) GetWithURL(state string) (fosite.AuthorizeRequester, string, bool) + func (s *OAuth2StateStore) GetWithUsername(state string) (fosite.AuthorizeRequester, string, []string, bool) + func (s *OAuth2StateStore) Len() int + func (s *OAuth2StateStore) PlacementIdentity(state string) string + func (s *OAuth2StateStore) Remove(state string) + func (s *OAuth2StateStore) Start(ctx context.Context) + func (s *OAuth2StateStore) Store(state string, ar fosite.AuthorizeRequester) + func (s *OAuth2StateStore) StoreForBrowser(state string, ar fosite.AuthorizeRequester, originalURL, binding string) + func (s *OAuth2StateStore) StoreForConsent(state string, ar fosite.AuthorizeRequester, username string, groups []string, ...) + func (s *OAuth2StateStore) StoreWithURL(state string, ar fosite.AuthorizeRequester, originalURL string) + func (s *OAuth2StateStore) StoreWithUsername(state string, ar fosite.AuthorizeRequester, originalURL, username string, ...) + func (s *OAuth2StateStore) Take(state string) (*OAuth2StateEntry, bool) + func (s *OAuth2StateStore) Wait() + type OAuth2Storage struct + func NewOAuth2Storage(db *sql.DB) *OAuth2Storage + func (s *OAuth2Storage) ApproveDeviceCodeSession(ctx context.Context, userCode string, subject string, session fosite.Session) error + func (s *OAuth2Storage) ApproveDeviceCodeSessionWithScopes(ctx context.Context, userCode string, subject string, session fosite.Session, ...) error + func (s *OAuth2Storage) ClientAssertionJWTValid(ctx context.Context, jti string) error + func (s *OAuth2Storage) CreateAccessTokenSession(ctx context.Context, signature string, request fosite.Requester) error + func (s *OAuth2Storage) CreateAuthorizeCodeSession(ctx context.Context, signature string, request fosite.Requester) error + func (s *OAuth2Storage) CreateClient(ctx context.Context, client *fosite.DefaultClient) error + func (s *OAuth2Storage) CreateDeviceCodeSession(ctx context.Context, deviceCode string, userCode string, ...) error + func (s *OAuth2Storage) CreateOpenIDConnectSession(ctx context.Context, signature string, requester fosite.Requester) error + func (s *OAuth2Storage) CreatePKCERequestSession(ctx context.Context, signature string, request fosite.Requester) error + func (s *OAuth2Storage) CreateRefreshTokenSession(ctx context.Context, signature string, _ string, request fosite.Requester) error + func (s *OAuth2Storage) DeleteAccessTokenSession(ctx context.Context, signature string) error + func (s *OAuth2Storage) DeleteOpenIDConnectSession(ctx context.Context, signature string) error + func (s *OAuth2Storage) DeletePKCERequestSession(ctx context.Context, signature string) error + func (s *OAuth2Storage) DeleteRefreshTokenSession(ctx context.Context, signature string) error + func (s *OAuth2Storage) DenyDeviceCodeSession(ctx context.Context, userCode string) error + func (s *OAuth2Storage) DeviceCodeIsPending(ctx context.Context, userCode string) bool + func (s *OAuth2Storage) EnsureGrantAuthorizedScopes(ctx context.Context, requestID string, scopes []string) error + func (s *OAuth2Storage) FindGrantBySignaturePrefix(ctx context.Context, kind, prefix string) (GrantRef, error) + func (s *OAuth2Storage) GetAccessTokenSession(ctx context.Context, signature string, session fosite.Session) (fosite.Requester, error) + func (s *OAuth2Storage) GetAuthorizeCodeSession(ctx context.Context, signature string, session fosite.Session) (fosite.Requester, error) + func (s *OAuth2Storage) GetClient(ctx context.Context, clientID string) (fosite.Client, error) + func (s *OAuth2Storage) GetDB() *sql.DB + func (s *OAuth2Storage) GetDeviceCodeSession(ctx context.Context, deviceCode string, session fosite.Session) (fosite.Requester, error) + func (s *OAuth2Storage) GetDeviceCodeSessionByUserCode(ctx context.Context, userCode string) (string, fosite.Requester, error) + func (s *OAuth2Storage) GetOpenIDConnectSession(ctx context.Context, signature string, requester fosite.Requester) (fosite.Requester, error) + func (s *OAuth2Storage) GetPKCERequestSession(ctx context.Context, signature string, session fosite.Session) (fosite.Requester, error) + func (s *OAuth2Storage) GetRefreshTokenSession(ctx context.Context, signature string, session fosite.Session) (fosite.Requester, error) + func (s *OAuth2Storage) GrantAuthorizedScopes(ctx context.Context, requestID string) ([]string, error) + func (s *OAuth2Storage) GrantScopes(ctx context.Context, requestID string) ([]string, error) + func (s *OAuth2Storage) InvalidateAuthorizeCodeSession(ctx context.Context, signature string) error + func (s *OAuth2Storage) InvalidateDeviceCodeSession(ctx context.Context, deviceCode string) error + func (s *OAuth2Storage) LoadHMACSecret(ctx context.Context) ([]byte, error) + func (s *OAuth2Storage) LoadRSAKey(ctx context.Context) (string, error) + func (s *OAuth2Storage) MarkDeviceCodePolled(ctx context.Context, deviceCode string, now time.Time, minGap time.Duration) (bool, error) + func (s *OAuth2Storage) RevokeAccessToken(ctx context.Context, requestID string) error + func (s *OAuth2Storage) RevokeAllForSubject(ctx context.Context, subject string) (int64, error) + func (s *OAuth2Storage) RevokeGrant(ctx context.Context, requestID string) (int64, error) + func (s *OAuth2Storage) RevokeRefreshToken(ctx context.Context, requestID string) error + func (s *OAuth2Storage) RevokeRefreshTokenMaybeGracePeriod(ctx context.Context, requestID string, _ string) error + func (s *OAuth2Storage) RotateRefreshToken(ctx context.Context, requestID string, _ string) error + func (s *OAuth2Storage) SaveHMACSecret(ctx context.Context, secret []byte) error + func (s *OAuth2Storage) SaveRSAKey(ctx context.Context, privateKeyPEM string) error + func (s *OAuth2Storage) SetClientAssertionJWT(ctx context.Context, jti string, exp time.Time) error + func (s *OAuth2Storage) SetGrantScopes(ctx context.Context, requestID string, scopes []string) (int64, error) + func (s *OAuth2Storage) SetSealer(sealer *seal.Sealer) + type PeekResponse struct + Stderr *PeekedStreamResponse + Stdout *PeekedStreamResponse + type PeekedStreamResponse struct + Offset int64 + Text string + type PingResponse struct + AuthMethod string + Authentication bool + Authorized bool + Daemon string + Encryption bool + Permission string + SessionID string + User string + ValidCommands string + type PlacementAccountInfo struct + Account string + Authorizations []string + CheckedAt time.Time + MappingExpiresAt time.Time + Project string + Projects []string + func (p *PlacementAccountInfo) Levels() []string + type PlacementSessionInfo struct + Account string + DisplayName string + Identity string + Levels []string + Project string + Projects []string + type ReauthDecision struct + DeniedScopes []string + Reason string + Status UserStatus + type RecentJob struct + Archived bool + At int64 + ClusterID int64 + Detail string + JobID string + Owner string + ProcID int64 + Schedd string + type RevocationOracle interface + Check func(ctx context.Context, username string, scopes []string) (ReauthDecision, error) + Name func() string + type SSHGatewayLockoutConfig struct + BanTime time.Duration + Disabled bool + MaxBanTime time.Duration + NetThreshold int + Threshold int + TrustedNetworks []string + Window time.Duration + type ScheddACLOracle struct + Config *config.Config + Logger *logging.Logger + MintToken func(ctx context.Context, username string, scopes []string) (string, error) + Schedd func() *htcondor.Schedd + Sessions *TokenCache + UIDDomain string + func (o *ScheddACLOracle) Check(ctx context.Context, username string, scopes []string) (ReauthDecision, error) + func (o *ScheddACLOracle) Name() string + type Server struct + func NewServer(cfg Config) (*Server, error) + func (s *Server) GetAddr() string + func (s *Server) ServeAdditionalListener(ln net.Listener, certFile, keyFile string) error + func (s *Server) ServeListener(ln net.Listener, scheme string) error + func (s *Server) ServeListenerWithCert(ln net.Listener, certFile, keyFile string) error + func (s *Server) ServeMCPListener(ln net.Listener, certFile, keyFile string) error + func (s *Server) Shutdown(ctx context.Context) error + func (s *Server) Start() error + func (s *Server) StartTLS(certFile, keyFile string) error + type Session struct + Actor string + AuthTime time.Time + AuthorizedScopes []string + Groups []string + ParentGrant string + PlacementIdentity string + func DefaultIDPSession(username string) *Session + func DefaultOpenIDConnectSession(username string) *Session + func (s *Session) Clone() fosite.Session + func (s *Session) WithAuthorizedScopes(scopes []string) *Session + func (s *Session) WithGroups(groups []string) *Session + type SessionData struct + CreatedAt time.Time + DisplayName string + Email string + ExpiresAt time.Time + Groups []string + IDPSubject string + IdentitySource string + Placement *PlacementAccountInfo + PlacementIdentity string + Scope string + Username string + func (sd *SessionData) IsPlacementOnly() bool + func (sd *SessionData) IsPlacementd() bool + type SessionStore struct + func NewSessionStore(db *sql.DB, ttl time.Duration) (*SessionStore, error) + func (s *SessionStore) Cleanup() + func (s *SessionStore) Create(username string, groups ...[]string) (string, *SessionData, error) + func (s *SessionStore) CreateSession(data SessionData) (string, *SessionData, error) + func (s *SessionStore) Delete(sessionID string) + func (s *SessionStore) Get(sessionID string) *SessionData + func (s *SessionStore) Rotate(oldID string, data SessionData) (string, *SessionData, error) + func (s *SessionStore) Size() int + func (s *SessionStore) UpdatePlacement(sessionID string, info *PlacementAccountInfo, expiresAt time.Time) error + type ShareInputResponse struct + ClusterID int + Count int + ExpiresAt time.Time + Note string + Owner string + ProcsRemaining int + TTLSeconds int + Uploads []ShareInputUpload + type ShareInputUpload struct + ExpectedFiles []string + JobID string + URL string + type ShareOutputRequest struct + TTLSeconds int + type ShareOutputResponse struct + ExpiresAt time.Time + Owner string + TTLSeconds int + URL string + type ShareWatchRequest struct + TTLSeconds int + type ShareWatchResponse struct + DefaultWaitSeconds int + ExpiresAt time.Time + MaxWaitSeconds int + Owner string + TTLSeconds int + URL string + WatchID string + type SharedInputResult struct + ExpectedFiles []string + IgnoredFiles []string + JobID string + Message string + Warning string + type SimilarJob struct + Cluster int64 + Completed int64 + ExitCode int + ID string + PeakMemoryMiB *float64 + Proc int64 + Runtime float64 + Submitted *int64 + type SimilarJobsResponse struct + Description string + EstimateLevel *string + JobID string + Jobs []SimilarJob + Level string + Levels []SimilarLevel + Memory *runtimeest.MemorySummary + NextOffset *int + Offset int + Runtimes *runtimeest.RuntimeSummary + Total int + Window SimilarWindow + type SimilarLevel struct + Applies bool + Count *int + Description string + Level string + type SimilarWindow struct + Days float64 + MaxJobs int + type SiteAppSummary struct + Description string + Home bool + ID string + Icon string + Name string + URL string + type SuperuserModeRequest struct + Enabled bool + type SuperuserModeResponse struct + Active bool + ActorIsQueueSuperUser bool + ExpiresAt *time.Time + Identity string + Note string + Projects []string + Scope string + type TokenCache struct + func NewTokenCache() *TokenCache + func (tc *TokenCache) Add(token string) (*TokenCacheEntry, error) + func (tc *TokenCache) AddValidated(token, username string, expiration time.Time) (*TokenCacheEntry, error) + func (tc *TokenCache) Get(token string) (*TokenCacheEntry, bool) + func (tc *TokenCache) MarkValidated(token, authoritativeUsername string) + func (tc *TokenCache) Remove(token string) + func (tc *TokenCache) SetCondorCredential(token, credential string, scopes []string) + func (tc *TokenCache) Size() int + func (tc *TokenCache) ValidatedUsername(token string) string + type TokenCacheEntry struct + CondorCredential string + Expiration time.Time + Scoped bool + Scopes []string + SessionCache *security.SessionCache + Token string + Username string + Validated bool + type UpstreamRefreshMode string + const UpstreamRefreshAuto + const UpstreamRefreshOff + const UpstreamRefreshOn + func ParseUpstreamRefreshMode(raw string) (UpstreamRefreshMode, error) + type UserInfo struct + Claims map[string]interface{} + Email string + Groups interface{} + Name string + Subject string + type UserRecordLookup interface + GetUserRecord func(ctx context.Context, user string) (*htcondor.UserRecord, error) + type UserRecordOracle struct + Logger *logging.Logger + Lookup func() UserRecordLookup + Strict bool + UIDDomain string + func (o *UserRecordOracle) Check(ctx context.Context, username string, _ []string) (ReauthDecision, error) + func (o *UserRecordOracle) CheckAccount(ctx context.Context, account string, _ ...string) (ReauthDecision, error) + func (o *UserRecordOracle) Name() string + type UserStatus int + const UserStatusActive + const UserStatusRevoked + const UserStatusUnknown + func (s UserStatus) String() string + type UtilizationApplyRequest struct + Advice []string + Constraint string + Days *int + Limit *int + OwnedByMe *bool + Owners string + Schedd string + W string + type UtilizationApplyResponse struct + Declined []AdviceDeclined + Edited int + Failed []JobOutcome + Set map[string]float64 + Skipped []JobOutcome + type UtilizationForJob struct + Executable string + HasHistory *bool + JobID string + Key string + Name string + Owner string + type UtilizationJobsResponse struct + Jobs []utilization.JobRow + Key string + NextOffset *int + Offset int + Order string + Sort string + Total int + Truncated bool + type UtilizationWorkflowDetail struct + Days int + Limit int + Since int64 + Truncated bool + Until int64 + WaitingAdaptive []string + WaitingJobs *int + Workflow json.RawMessage + type VersionResponse struct + Commit string + StartTime string + UptimeSeconds int64 + Version string + type WhoAmIResponse struct + Assignment *APAssignmentInfo + Authenticated bool + User string