Versions in this module Expand all Collapse all v0 v0.0.5 Aug 4, 2025 Changes in this version type GenerationJob + NpmPackages StringSlice v0.0.4 Aug 3, 2025 Changes in this version type GenerationRequest + Packages []string + type NpmPackageInstallResult struct + Duration int64 + Error string + ExitCode int + Installed bool + Logs []string + Package string + Pipes *InstallPipes + Success bool v0.0.3 Jul 22, 2025 Changes in this version + type InstallPipes struct + Stderr io.ReadCloser + Stdin io.WriteCloser + Stdout io.ReadCloser type ThemeInstallResult + Pipes *InstallPipes v0.0.2 Jul 22, 2025 Changes in this version + type ArchiveFormat string + const FormatTAR + const FormatZIP + type ArchiveRequest struct + Compress bool + Exclude []string + Format ArchiveFormat + Include []string v0.0.1 Jul 18, 2025 Changes in this version + type ArchiveInfo struct + Compressed bool + CreationTime string + Filename string + FilesCount int + Format string + SizeBytes int64 + SizeMB float64 + type ArchiveResponse struct + Archive ArchiveInfo + CreatedAt time.Time + DownloadURL string + Message string + type BuildArtifacts struct + AssetCount int + BuildSuccess bool + DistCreatedAt time.Time + HasDist bool + IndexHtmlSize int64 + type CleanupSummary struct + EligibleForCleanup int + FailedToClean int + MaxAgeHours int + PerformanceGain string + SuccessfullyCleaned int + TotalWorkspaces int + type DatabaseMetrics struct + CompletedJobs int64 + Connected bool + ConnectionsMax int + ConnectionsUsed int + FailedJobs int64 + JobsToday int64 + PendingJobs int + ProcessingJobs int + QueryTimeMs float64 + TotalJobs int64 + type ErrorResponse struct + Error string + Message string + Path string + RequestID string + Timestamp time.Time + ValidationErrors []ValidationError + type FileDistribution struct + AssetFiles int + ConfigFiles int + DistFiles int + SourceFiles int + TotalFiles int + type FileListResponse struct + Count int + CourseID string + Files []string + JobID string + type FileUploadResponse struct + Count int + Files []string + JobID string + Message string + type GenerationJob struct + CallbackURL string + CompletedAt *time.Time + CourseID uuid.UUID + CreatedAt time.Time + Error string + ID uuid.UUID + Logs StringSlice + Metadata JSON + Progress int + ResultPath string + SourcePath string + StartedAt *time.Time + Status JobStatus + UpdatedAt time.Time + func (GenerationJob) TableName() string + func (j *GenerationJob) AddLog(message string) + func (j *GenerationJob) BeforeCreate(tx *gorm.DB) error + func (j *GenerationJob) BeforeUpdate(tx *gorm.DB) error + func (j *GenerationJob) IsActive() bool + func (j *GenerationJob) IsTerminal() bool + func (j *GenerationJob) SetStatus(status JobStatus) + func (j *GenerationJob) ToResponse() *JobResponse + type GenerationRequest struct + CallbackURL string + CourseID uuid.UUID + JobID uuid.UUID + Metadata map[string]interface{} + SourcePath string + type HealthResponse struct + Environment string + Service string + Status string + Timestamp time.Time + Uptime string + Version string + type JSON map[string]interface + func (j *JSON) Scan(value interface{}) error + func (j JSON) Value() (driver.Value, error) + type JobListResponse struct + Count int + Jobs []JobResponse + Page int + PageSize int + TotalCount int + type JobResponse struct + CallbackURL string + CompletedAt *time.Time + CourseID uuid.UUID + CreatedAt time.Time + Error string + ID uuid.UUID + Logs []string + Metadata map[string]interface{} + Progress int + ResultPath string + SourcePath string + StartedAt *time.Time + Status JobStatus + UpdatedAt time.Time + type JobStatus string + const StatusCompleted + const StatusFailed + const StatusPending + const StatusProcessing + const StatusTimeout + type PaginationInfo struct + HasNext bool + HasPrevious bool + NextPage int + Page int + PageSize int + PreviousPage int + TotalItems int + TotalPages int + type StorageCapacity struct + Available int64 + Total int64 + Usage float64 + Used int64 + type StorageInfo struct + Capacity *StorageCapacity + Endpoints map[string]string + Status string + StorageType string + type StorageMetrics struct + Healthy bool + ResultFiles int64 + SourceFiles int64 + TotalFiles int64 + TotalSizeBytes int64 + TotalSizeMB int64 + Type string + type StorageUsage struct + DistBytes int64 + DistMB float64 + OtherBytes int64 + OtherMB float64 + SourceBytes int64 + SourceMB float64 + TotalBytes int64 + TotalMB float64 + type StringSlice []string + func (ss *StringSlice) Scan(value interface{}) error + func (ss StringSlice) Value() (driver.Value, error) + type SuccessResponse struct + Data interface{} + Message string + Timestamp time.Time + type SystemMetrics struct + Database DatabaseMetrics + Environment string + Storage StorageMetrics + Timestamp time.Time + Uptime string + Version string + Worker WorkerMetrics + type ThemeAutoInstallResponse struct + Duration string + Failed int + JobID string + Results []ThemeInstallResult + Successful int + TotalThemes int + type ThemeDetectionResponse struct + DetectedCount int + InstalledThemes []ThemeInfo + JobID string + MissingThemes []string + type ThemeInfo struct + Description string + Homepage string + Installed bool + Name string + Version string + type ThemeInstallRequest struct + Theme string + type ThemeInstallResponse struct + Error string + Installed bool + Message string + Success bool + Theme string + type ThemeInstallResult struct + Duration string + Error string + ExitCode int + Installed bool + Logs []string + Success bool + Theme string + type ThemeListResponse struct + Count int + Summary ThemeSummary + Themes []ThemeInfo + type ThemeSummary struct + Available int + Installed int + Total int + type ValidationError struct + Code string + Field string + Message string + Value string + type WorkerHealthResponse struct + Issues []string + Status string + Timestamp time.Time + Uptime string + WorkerPool WorkerPoolHealth + type WorkerInfo struct + CurrentJobID string + ID int + JobsFailed int64 + JobsSuccess int64 + JobsTotal int64 + Status string + type WorkerMetrics struct + ActiveWorkers int + AverageJobTime string + JobsPerHour float64 + JobsProcessedToday int64 + QueueSize int + SuccessRate24h float64 + TotalWorkers int + WorkspaceCount int + type WorkerPerformance struct + AverageJobDuration string + JobsPerMinute float64 + SuccessRate float64 + TotalJobsFailed int64 + TotalJobsProcessed int64 + TotalJobsSuccessful int64 + type WorkerPoolHealth struct + ActiveWorkers int + IdleWorkers int + OverloadRisk bool + QueueSize int + QueueUsage float64 + Running bool + WorkerCount int + type WorkerPoolStats struct + Performance WorkerPerformance + QueueCapacity int + QueueSize int + QueueUsage float64 + Running bool + WorkerCount int + Workers []WorkerInfo + type WorkerStats struct + QueueCapacity int + QueueSize int + Running bool + WorkerCount int + Workers []WorkerInfo + type WorkerStatsResponse struct + Timestamp time.Time + WorkerPool WorkerPoolStats + type WorkspaceActivity struct + AgeDuration string + BuildDuration string + CreatedAt time.Time + JobStatus string + LastActivity time.Time + Status string + type WorkspaceCleanupBatchResponse struct + CleanedCount int + CleanupDuration string + Details []WorkspaceCleanupResponse + Errors []string + Summary CleanupSummary + TotalFilesRemoved int + TotalSizeFreed int64 + TotalSizeFreedMB float64 + type WorkspaceCleanupResponse struct + Cleaned bool + CleanupTime string + Error string + FilesRemoved int + JobID string + SizeFreed int64 + SizeFreedMB float64 + type WorkspaceInfo struct + DistExists bool + DistFileCount int + DistFiles []string + DistPath string + Exists bool + FileCount int + Files []string + JobID string + Path string + SizeBytes int64 + type WorkspaceInfoResponse struct + Activity WorkspaceActivity + Usage WorkspaceUsage + Workspace WorkspaceInfo + type WorkspaceListResponse struct + Count int + Page int + PageSize int + Summary WorkspacesSummary + TotalCount int + Workspaces []WorkspaceInfo + type WorkspaceUsage struct + BuildArtifacts BuildArtifacts + DiskUsage StorageUsage + FileDistribution FileDistribution + type WorkspacesSummary struct + ActiveWorkspaces int + AverageFilesPerWS int + IdleWorkspaces int + TotalSizeBytes int64 + TotalSizeMB int + TotalWorkspaces int