Documentation
¶
Index ¶
- func RegisterApiKeys(api huma.API, apiKeyService *services.ApiKeyService)
- func RegisterAppImages(api huma.API, appImagesService *services.ApplicationImagesService)
- func RegisterAuth(api huma.API, userService *services.UserService, ...)
- func RegisterBuildWorkspaces(api huma.API, workspaceService *services.BuildWorkspaceService)
- func RegisterContainerRegistries(api huma.API, registryService *services.ContainerRegistryService, ...)
- func RegisterContainers(api huma.API, containerSvc *services.ContainerService, ...)
- func RegisterCustomize(api huma.API, customizeSearchService *services.CustomizeSearchService)
- func RegisterDashboard(api huma.API, dashboardService *services.DashboardService)
- func RegisterEnvironments(api huma.API, environmentService *services.EnvironmentService, ...)
- func RegisterEvents(api huma.API, eventService *services.EventService, ...)
- func RegisterFonts(api huma.API, fontService *services.FontService)
- func RegisterGitOpsSyncs(api huma.API, syncService *services.GitOpsSyncService)
- func RegisterGitRepositories(api huma.API, repoService *services.GitRepositoryService)
- func RegisterHealth(api huma.API)
- func RegisterImageUpdates(api huma.API, imageUpdateSvc *services.ImageUpdateService, ...)
- func RegisterImages(api huma.API, dockerService *services.DockerClientService, ...)
- func RegisterJobSchedules(api huma.API, jobSvc *services.JobService, envSvc *services.EnvironmentService)
- func RegisterNetworks(api huma.API, networkSvc *services.NetworkService, ...)
- func RegisterNotifications(api huma.API, notificationSvc *services.NotificationService, ...)
- func RegisterOidc(api huma.API, authService *services.AuthService, ...)
- func RegisterPorts(api huma.API, portSvc *services.PortService)
- func RegisterProjects(api huma.API, projectService *services.ProjectService)
- func RegisterSettings(api huma.API, settingsService *services.SettingsService, ...)
- func RegisterSwarm(api huma.API, swarmSvc *services.SwarmService, ...)
- func RegisterSystem(api huma.API, dockerService *services.DockerClientService, ...)
- func RegisterTemplates(api huma.API, templateService *services.TemplateService, ...)
- func RegisterUpdater(api huma.API, updaterService *services.UpdaterService)
- func RegisterUsers(api huma.API, userService *services.UserService, ...)
- func RegisterVersion(api huma.API, versionService *services.VersionService)
- func RegisterVolumes(api huma.API, dockerService *services.DockerClientService, ...)
- func RegisterVulnerability(api huma.API, vulnerabilityService *services.VulnerabilityService)
- func RegisterWebhooks(api huma.API, webhookService *services.WebhookService)
- type ApiKeyHandler
- func (h *ApiKeyHandler) CreateApiKey(ctx context.Context, input *CreateApiKeyInput) (*CreateApiKeyOutput, error)
- func (h *ApiKeyHandler) DeleteApiKey(ctx context.Context, input *DeleteApiKeyInput) (*DeleteApiKeyOutput, error)
- func (h *ApiKeyHandler) GetApiKey(ctx context.Context, input *GetApiKeyInput) (*GetApiKeyOutput, error)
- func (h *ApiKeyHandler) ListApiKeys(ctx context.Context, input *ListApiKeysInput) (*ListApiKeysOutput, error)
- func (h *ApiKeyHandler) UpdateApiKey(ctx context.Context, input *UpdateApiKeyInput) (*UpdateApiKeyOutput, error)
- type ApiKeyPaginatedResponse
- type AppImagesHandler
- func (h *AppImagesHandler) GetDefaultProfile(ctx context.Context, input *struct{}) (*GetAppImageOutput, error)
- func (h *AppImagesHandler) GetFavicon(ctx context.Context, input *struct{}) (*GetAppImageOutput, error)
- func (h *AppImagesHandler) GetLogo(ctx context.Context, input *GetLogoInput) (*GetAppImageOutput, error)
- func (h *AppImagesHandler) GetLogoEmail(ctx context.Context, input *struct{}) (*GetAppImageOutput, error)
- func (h *AppImagesHandler) GetPWAIcon(ctx context.Context, input *GetPWAIconInput) (*GetAppImageOutput, error)
- type ArchiveProjectInput
- type ArchiveProjectOutput
- type AuthHandler
- func (h *AuthHandler) ChangePassword(ctx context.Context, input *ChangePasswordInput) (*ChangePasswordOutput, error)
- func (h *AuthHandler) GetCurrentUser(ctx context.Context, input *struct{}) (*GetCurrentUserOutput, error)
- func (h *AuthHandler) Login(ctx context.Context, input *LoginInput) (*LoginOutput, error)
- func (h *AuthHandler) Logout(ctx context.Context, input *struct{}) (*LogoutOutput, error)
- func (h *AuthHandler) RefreshToken(ctx context.Context, input *RefreshTokenInput) (*RefreshTokenOutput, error)
- type BackupHasPathInput
- type BackupHasPathOutput
- type BackupHasPathResponse
- type BrowseBuildsInput
- type BrowseBuildsOutput
- type BrowseDirectoryInput
- type BrowseDirectoryOutput
- type BrowseFilesInput
- type BrowseFilesOutput
- type BrowseSyncFilesInput
- type BrowseSyncFilesOutput
- type BuildFileContentResponse
- type BuildImageInput
- type BuildProjectInput
- type BuildWorkspaceHandler
- func (h *BuildWorkspaceHandler) BrowseDirectory(ctx context.Context, input *BrowseBuildsInput) (*BrowseBuildsOutput, error)
- func (h *BuildWorkspaceHandler) CreateDirectory(ctx context.Context, input *CreateBuildDirectoryInput) (*base.ApiResponse[base.MessageResponse], error)
- func (h *BuildWorkspaceHandler) DeleteFile(ctx context.Context, input *DeleteBuildFileInput) (*base.ApiResponse[base.MessageResponse], error)
- func (h *BuildWorkspaceHandler) DownloadFile(ctx context.Context, input *DownloadBuildFileInput) (*DownloadBuildFileOutput, error)
- func (h *BuildWorkspaceHandler) GetFileContent(ctx context.Context, input *GetBuildFileContentInput) (*GetBuildFileContentOutput, error)
- func (h *BuildWorkspaceHandler) UploadFile(ctx context.Context, input *UploadBuildFileInput) (*base.ApiResponse[base.MessageResponse], error)
- type ChangePasswordInput
- type ChangePasswordOutput
- type CheckAllImagesInput
- type CheckAllImagesOutput
- type CheckImageUpdateByIDInput
- type CheckImageUpdateByIDOutput
- type CheckImageUpdateInput
- type CheckImageUpdateOutput
- type CheckMultipleImagesInput
- type CheckMultipleImagesOutput
- type CheckUpgradeInput
- type CheckUpgradeOutput
- type ContainerActionInput
- type ContainerActionOutput
- type ContainerActionResponse
- type ContainerCreatedResponse
- type ContainerDetailsResponse
- type ContainerHandler
- func (h *ContainerHandler) CreateContainer(ctx context.Context, input *CreateContainerInput) (*CreateContainerOutput, error)
- func (h *ContainerHandler) DeleteContainer(ctx context.Context, input *DeleteContainerInput) (*DeleteContainerOutput, error)
- func (h *ContainerHandler) GetContainer(ctx context.Context, input *GetContainerInput) (*GetContainerOutput, error)
- func (h *ContainerHandler) GetContainerStatusCounts(ctx context.Context, input *GetContainerStatusCountsInput) (*GetContainerStatusCountsOutput, error)
- func (h *ContainerHandler) ListContainers(ctx context.Context, input *ListContainersInput) (*ListContainersOutput, error)
- func (h *ContainerHandler) RedeployContainer(ctx context.Context, input *ContainerActionInput) (*GetContainerOutput, error)
- func (h *ContainerHandler) RestartContainer(ctx context.Context, input *ContainerActionInput) (*ContainerActionOutput, error)
- func (h *ContainerHandler) SetAutoUpdate(ctx context.Context, input *SetAutoUpdateInput) (*SetAutoUpdateOutput, error)
- func (h *ContainerHandler) StartContainer(ctx context.Context, input *ContainerActionInput) (*ContainerActionOutput, error)
- func (h *ContainerHandler) StopContainer(ctx context.Context, input *ContainerActionInput) (*ContainerActionOutput, error)
- type ContainerPaginatedResponse
- type ContainerRegistryHandler
- func (h *ContainerRegistryHandler) CreateRegistry(ctx context.Context, input *CreateContainerRegistryInput) (*CreateContainerRegistryOutput, error)
- func (h *ContainerRegistryHandler) DeleteRegistry(ctx context.Context, input *DeleteContainerRegistryInput) (*DeleteContainerRegistryOutput, error)
- func (h *ContainerRegistryHandler) GetPullUsage(ctx context.Context, input *struct{}) (*GetContainerRegistryPullUsageOutput, error)
- func (h *ContainerRegistryHandler) GetRegistry(ctx context.Context, input *GetContainerRegistryInput) (*GetContainerRegistryOutput, error)
- func (h *ContainerRegistryHandler) ListRegistries(ctx context.Context, input *ListContainerRegistriesInput) (*ListContainerRegistriesOutput, error)
- func (h *ContainerRegistryHandler) SyncRegistries(ctx context.Context, input *SyncContainerRegistriesInput) (*SyncContainerRegistriesOutput, error)
- func (h *ContainerRegistryHandler) TestRegistry(ctx context.Context, input *TestContainerRegistryInput) (*TestContainerRegistryOutput, error)
- func (h *ContainerRegistryHandler) UpdateRegistry(ctx context.Context, input *UpdateContainerRegistryInput) (*UpdateContainerRegistryOutput, error)
- type ContainerRegistryPaginatedResponse
- type ContainerStatusCountsResponse
- type ConvertDockerRunInput
- type ConvertDockerRunOutput
- type CreateApiKeyInput
- type CreateApiKeyOutput
- type CreateBackupInput
- type CreateBackupOutput
- type CreateBuildDirectoryInput
- type CreateContainerInput
- type CreateContainerOutput
- type CreateContainerRegistryInput
- type CreateContainerRegistryOutput
- type CreateDirectoryInput
- type CreateEnvironmentInput
- type CreateEnvironmentOutput
- type CreateEventInput
- type CreateEventOutput
- type CreateGitOpsSyncInput
- type CreateGitOpsSyncOutput
- type CreateGitRepositoryInput
- type CreateGitRepositoryOutput
- type CreateNetworkInput
- type CreateNetworkOutput
- type CreateOrUpdateAppriseSettingsInput
- type CreateOrUpdateAppriseSettingsOutput
- type CreateOrUpdateNotificationSettingsInput
- type CreateOrUpdateNotificationSettingsOutput
- type CreateProjectInput
- type CreateProjectOutput
- type CreateSwarmConfigInput
- type CreateSwarmConfigOutput
- type CreateSwarmSecretInput
- type CreateSwarmSecretOutput
- type CreateSwarmServiceInput
- type CreateSwarmServiceOutput
- type CreateTemplateInput
- type CreateTemplateOutput
- type CreateTemplateRegistryInput
- type CreateTemplateRegistryOutput
- type CreateUserInput
- type CreateUserOutput
- type CreateVolumeInput
- type CreateVolumeOutput
- type CreateWebhookInput
- type CreateWebhookOutput
- type CustomizeHandler
- type DashboardHandler
- func (h *DashboardHandler) GetActionItems(ctx context.Context, input *GetDashboardActionItemsInput) (*GetDashboardActionItemsOutput, error)
- func (h *DashboardHandler) GetDashboard(ctx context.Context, input *GetDashboardInput) (*GetDashboardOutput, error)
- func (h *DashboardHandler) GetEnvironmentsOverview(ctx context.Context, input *GetDashboardEnvironmentsOverviewInput) (*GetDashboardEnvironmentsOverviewOutput, error)
- type DeleteApiKeyInput
- type DeleteApiKeyOutput
- type DeleteBackupInput
- type DeleteBackupOutput
- type DeleteBuildFileInput
- type DeleteContainerInput
- type DeleteContainerOutput
- type DeleteContainerRegistryInput
- type DeleteContainerRegistryOutput
- type DeleteEnvironmentInput
- type DeleteEnvironmentOutput
- type DeleteEventInput
- type DeleteEventOutput
- type DeleteFileInput
- type DeleteGitOpsSyncInput
- type DeleteGitOpsSyncOutput
- type DeleteGitRepositoryInput
- type DeleteGitRepositoryOutput
- type DeleteNetworkInput
- type DeleteNetworkOutput
- type DeleteNotificationSettingsInput
- type DeleteNotificationSettingsOutput
- type DeleteSwarmConfigInput
- type DeleteSwarmConfigOutput
- type DeleteSwarmNodeInput
- type DeleteSwarmNodeOutput
- type DeleteSwarmSecretInput
- type DeleteSwarmSecretOutput
- type DeleteSwarmServiceInput
- type DeleteSwarmServiceOutput
- type DeleteSwarmStackInput
- type DeleteSwarmStackOutput
- type DeleteTemplateInput
- type DeleteTemplateOutput
- type DeleteTemplateRegistryInput
- type DeleteTemplateRegistryOutput
- type DeleteUserInput
- type DeleteUserOutput
- type DeleteWebhookInput
- type DeleteWebhookOutput
- type DemoteSwarmNodeInput
- type DemoteSwarmNodeOutput
- type DeployProjectInput
- type DeployProjectOutput
- type DeploySwarmStackInput
- type DeploySwarmStackOutput
- type DeploymentSnippet
- type DeploymentSnippetFile
- type DeploymentSnippetMTLS
- type DestroyProjectInput
- type DestroyProjectOutput
- type DispatchNotificationInput
- type DispatchNotificationOutput
- type DownProjectInput
- type DownProjectOutput
- type DownloadBackupInput
- type DownloadBuildFileInput
- type DownloadBuildFileOutput
- type DownloadEdgeMTLSCAInput
- type DownloadEnvironmentMTLSBundleInput
- type DownloadEnvironmentMTLSFileInput
- type DownloadFileInput
- type DownloadTemplateInput
- type DownloadTemplateOutput
- type EnvironmentHandler
- func (h *EnvironmentHandler) CreateEnvironment(ctx context.Context, input *CreateEnvironmentInput) (*CreateEnvironmentOutput, error)
- func (h *EnvironmentHandler) DeleteEnvironment(ctx context.Context, input *DeleteEnvironmentInput) (*DeleteEnvironmentOutput, error)
- func (h *EnvironmentHandler) DownloadEdgeMTLSCA(ctx context.Context, _ *DownloadEdgeMTLSCAInput) (*huma.StreamResponse, error)
- func (h *EnvironmentHandler) DownloadEnvironmentMTLSBundle(ctx context.Context, input *DownloadEnvironmentMTLSBundleInput) (*huma.StreamResponse, error)
- func (h *EnvironmentHandler) DownloadEnvironmentMTLSFile(ctx context.Context, input *DownloadEnvironmentMTLSFileInput) (*huma.StreamResponse, error)
- func (h *EnvironmentHandler) GetDeploymentSnippets(ctx context.Context, input *GetDeploymentSnippetsInput) (*GetDeploymentSnippetsOutput, error)
- func (h *EnvironmentHandler) GetEnvironment(ctx context.Context, input *GetEnvironmentInput) (*GetEnvironmentOutput, error)
- func (h *EnvironmentHandler) GetEnvironmentVersion(ctx context.Context, input *GetEnvironmentVersionInput) (*GetEnvironmentVersionOutput, error)
- func (h *EnvironmentHandler) ListEnvironments(ctx context.Context, input *ListEnvironmentsInput) (*ListEnvironmentsOutput, error)
- func (h *EnvironmentHandler) PairAgent(ctx context.Context, input *PairAgentInput) (*PairAgentOutput, error)
- func (h *EnvironmentHandler) PairEnvironment(ctx context.Context, input *PairEnvironmentInput) (*PairEnvironmentOutput, error)
- func (h *EnvironmentHandler) SyncEnvironment(ctx context.Context, input *SyncEnvironmentInput) (*SyncEnvironmentOutput, error)
- func (h *EnvironmentHandler) TestConnection(ctx context.Context, input *TestConnectionInput) (*TestConnectionOutput, error)
- func (h *EnvironmentHandler) UpdateEnvironment(ctx context.Context, input *UpdateEnvironmentInput) (*UpdateEnvironmentOutput, error)
- func (h *EnvironmentHandler) UpdateHeartbeat(ctx context.Context, input *UpdateHeartbeatInput) (*UpdateHeartbeatOutput, error)
- type EnvironmentPaginatedResponse
- type EnvironmentWithApiKey
- type EventHandler
- func (h *EventHandler) CreateEvent(ctx context.Context, input *CreateEventInput) (*CreateEventOutput, error)
- func (h *EventHandler) DeleteEvent(ctx context.Context, input *DeleteEventInput) (*DeleteEventOutput, error)
- func (h *EventHandler) GetEventsByEnvironment(ctx context.Context, input *GetEventsByEnvironmentInput) (*GetEventsByEnvironmentOutput, error)
- func (h *EventHandler) ListEvents(ctx context.Context, input *ListEventsInput) (*ListEventsOutput, error)
- type EventPaginatedResponse
- type ExchangeDeviceTokenInput
- type ExchangeDeviceTokenOutput
- type FetchTemplateRegistryInput
- type FetchTemplateRegistryOutput
- type FileContentResponse
- type FontsHandler
- type GetAllNotificationSettingsInput
- type GetAllNotificationSettingsOutput
- type GetAllTemplatesInput
- type GetAllTemplatesOutput
- type GetApiKeyInput
- type GetApiKeyOutput
- type GetAppImageOutput
- type GetAppVersionInput
- type GetAppVersionOutput
- type GetAppriseSettingsInput
- type GetAppriseSettingsOutput
- type GetBuildFileContentInput
- type GetBuildFileContentOutput
- type GetCategoriesOutput
- type GetContainerInput
- type GetContainerOutput
- type GetContainerRegistryInput
- type GetContainerRegistryOutput
- type GetContainerRegistryPullUsageOutput
- type GetContainerStatusCountsInput
- type GetContainerStatusCountsOutput
- type GetCurrentUserOutput
- type GetCustomizeCategoriesInput
- type GetCustomizeCategoriesOutput
- type GetDashboardActionItemsInput
- type GetDashboardActionItemsOutput
- type GetDashboardEnvironmentsOverviewInput
- type GetDashboardEnvironmentsOverviewOutput
- type GetDashboardInput
- type GetDashboardOutput
- type GetDefaultTemplatesInput
- type GetDefaultTemplatesOutput
- type GetDeploymentSnippetsInput
- type GetDeploymentSnippetsOutput
- type GetDockerInfoInput
- type GetDockerInfoOutput
- type GetEnvironmentInput
- type GetEnvironmentOutput
- type GetEnvironmentSummaryInput
- type GetEnvironmentSummaryOutput
- type GetEnvironmentVersionInput
- type GetEnvironmentVersionOutput
- type GetEventsByEnvironmentInput
- type GetEventsByEnvironmentOutput
- type GetFileContentInput
- type GetFileContentOutput
- type GetFontOutput
- type GetGitOpsSyncInput
- type GetGitOpsSyncOutput
- type GetGitRepositoryInput
- type GetGitRepositoryOutput
- type GetGlobalVariablesInput
- type GetGlobalVariablesOutput
- type GetImageBuildInput
- type GetImageBuildOutput
- type GetImageInput
- type GetImageOutput
- type GetImageUsageCountsInput
- type GetImageUsageCountsOutput
- type GetJobSchedulesInput
- type GetJobSchedulesOutput
- type GetJobsOutput
- type GetLogoInput
- type GetNetworkCountsInput
- type GetNetworkCountsOutput
- type GetNetworkInput
- type GetNetworkOutput
- type GetNetworkTopologyInput
- type GetNetworkTopologyOutput
- type GetNotificationSettingsInput
- type GetNotificationSettingsOutput
- type GetOidcAuthUrlInput
- type GetOidcAuthUrlOutput
- type GetOidcConfigInput
- type GetOidcConfigOutput
- type GetOidcStatusInput
- type GetOidcStatusOutput
- type GetPWAIconInput
- type GetProjectFileInput
- type GetProjectFileOutput
- type GetProjectInput
- type GetProjectOutput
- type GetProjectStatusCountsInput
- type GetProjectStatusCountsOutput
- type GetPublicSettingsInput
- type GetPublicSettingsOutput
- type GetScanResultInput
- type GetScanResultOutput
- type GetScanSummariesInput
- type GetScanSummariesOutput
- type GetScanSummaryInput
- type GetScanSummaryOutput
- type GetScannerStatusInput
- type GetScannerStatusOutput
- type GetSettingsInput
- type GetSettingsOutput
- type GetSwarmConfigInput
- type GetSwarmConfigOutput
- type GetSwarmInfoInput
- type GetSwarmInfoOutput
- type GetSwarmJoinTokensInput
- type GetSwarmJoinTokensOutput
- type GetSwarmNodeAgentDeploymentInput
- type GetSwarmNodeAgentDeploymentOutput
- type GetSwarmNodeIdentityInput
- type GetSwarmNodeIdentityOutput
- type GetSwarmNodeInput
- type GetSwarmNodeOutput
- type GetSwarmSecretInput
- type GetSwarmSecretOutput
- type GetSwarmServiceInput
- type GetSwarmServiceOutput
- type GetSwarmStackInput
- type GetSwarmStackOutput
- type GetSwarmStackSourceInput
- type GetSwarmStackSourceOutput
- type GetSwarmStatusInput
- type GetSwarmStatusOutput
- type GetSwarmUnlockKeyInput
- type GetSwarmUnlockKeyOutput
- type GetSyncStatusInput
- type GetSyncStatusOutput
- type GetTemplateContentInput
- type GetTemplateContentOutput
- type GetTemplateInput
- type GetTemplateOutput
- type GetTemplateRegistriesInput
- type GetTemplateRegistriesOutput
- type GetUpdateInfoByRefsInput
- type GetUpdateInfoByRefsOutput
- type GetUpdateSummaryInput
- type GetUpdateSummaryOutput
- type GetUpdaterHistoryInput
- type GetUpdaterHistoryOutput
- type GetUpdaterStatusInput
- type GetUpdaterStatusOutput
- type GetUserInput
- type GetUserOutput
- type GetVersionInput
- type GetVersionOutput
- type GetVolumeInput
- type GetVolumeOutput
- type GetVolumeSizesInput
- type GetVolumeSizesOutput
- type GetVolumeUsageCountsInput
- type GetVolumeUsageCountsOutput
- type GetVolumeUsageInput
- type GetVolumeUsageOutput
- type GitOpsSyncHandler
- func (h *GitOpsSyncHandler) BrowseFiles(ctx context.Context, input *BrowseSyncFilesInput) (*BrowseSyncFilesOutput, error)
- func (h *GitOpsSyncHandler) CreateSync(ctx context.Context, input *CreateGitOpsSyncInput) (*CreateGitOpsSyncOutput, error)
- func (h *GitOpsSyncHandler) DeleteSync(ctx context.Context, input *DeleteGitOpsSyncInput) (*DeleteGitOpsSyncOutput, error)
- func (h *GitOpsSyncHandler) GetStatus(ctx context.Context, input *GetSyncStatusInput) (*GetSyncStatusOutput, error)
- func (h *GitOpsSyncHandler) GetSync(ctx context.Context, input *GetGitOpsSyncInput) (*GetGitOpsSyncOutput, error)
- func (h *GitOpsSyncHandler) ImportSyncs(ctx context.Context, input *ImportGitOpsSyncsInput) (*ImportGitOpsSyncsOutput, error)
- func (h *GitOpsSyncHandler) ListSyncs(ctx context.Context, input *ListGitOpsSyncsInput) (*ListGitOpsSyncsOutput, error)
- func (h *GitOpsSyncHandler) PerformSync(ctx context.Context, input *PerformSyncInput) (*PerformSyncOutput, error)
- func (h *GitOpsSyncHandler) UpdateSync(ctx context.Context, input *UpdateGitOpsSyncInput) (*UpdateGitOpsSyncOutput, error)
- type GitOpsSyncPaginatedResponse
- type GitRepositoryHandler
- func (h *GitRepositoryHandler) BrowseFiles(ctx context.Context, input *BrowseFilesInput) (*BrowseFilesOutput, error)
- func (h *GitRepositoryHandler) CreateRepository(ctx context.Context, input *CreateGitRepositoryInput) (*CreateGitRepositoryOutput, error)
- func (h *GitRepositoryHandler) DeleteRepository(ctx context.Context, input *DeleteGitRepositoryInput) (*DeleteGitRepositoryOutput, error)
- func (h *GitRepositoryHandler) GetRepository(ctx context.Context, input *GetGitRepositoryInput) (*GetGitRepositoryOutput, error)
- func (h *GitRepositoryHandler) ListBranches(ctx context.Context, input *ListBranchesInput) (*ListBranchesOutput, error)
- func (h *GitRepositoryHandler) ListRepositories(ctx context.Context, input *ListGitRepositoriesInput) (*ListGitRepositoriesOutput, error)
- func (h *GitRepositoryHandler) SyncRepositories(ctx context.Context, input *SyncGitRepositoriesInput) (*SyncGitRepositoriesOutput, error)
- func (h *GitRepositoryHandler) TestRepository(ctx context.Context, input *TestGitRepositoryInput) (*TestGitRepositoryOutput, error)
- func (h *GitRepositoryHandler) UpdateRepository(ctx context.Context, input *UpdateGitRepositoryInput) (*UpdateGitRepositoryOutput, error)
- type GitRepositoryPaginatedResponse
- type HandleOidcCallbackInput
- type HandleOidcCallbackOutput
- type HealthOutput
- type IgnoreVulnerabilityInput
- type IgnoreVulnerabilityOutput
- type ImageBuildPaginatedResponse
- type ImageHandler
- func (h *ImageHandler) BuildImage(ctx context.Context, input *BuildImageInput) (*huma.StreamResponse, error)
- func (h *ImageHandler) GetImage(ctx context.Context, input *GetImageInput) (*GetImageOutput, error)
- func (h *ImageHandler) GetImageBuild(ctx context.Context, input *GetImageBuildInput) (*GetImageBuildOutput, error)
- func (h *ImageHandler) GetImageUsageCounts(ctx context.Context, input *GetImageUsageCountsInput) (*GetImageUsageCountsOutput, error)
- func (h *ImageHandler) ListImageBuilds(ctx context.Context, input *ListImageBuildsInput) (*ListImageBuildsOutput, error)
- func (h *ImageHandler) ListImages(ctx context.Context, input *ListImagesInput) (*ListImagesOutput, error)
- func (h *ImageHandler) PruneImages(ctx context.Context, input *PruneImagesInput) (*PruneImagesOutput, error)
- func (h *ImageHandler) PullImage(ctx context.Context, input *PullImageInput) (*huma.StreamResponse, error)
- func (h *ImageHandler) RemoveImage(ctx context.Context, input *RemoveImageInput) (*RemoveImageOutput, error)
- func (h *ImageHandler) UploadImage(ctx context.Context, input *UploadImageInput) (*UploadImageOutput, error)
- type ImagePaginatedResponse
- type ImageUpdateHandler
- func (h *ImageUpdateHandler) CheckAllImages(ctx context.Context, input *CheckAllImagesInput) (*CheckAllImagesOutput, error)
- func (h *ImageUpdateHandler) CheckImageUpdate(ctx context.Context, input *CheckImageUpdateInput) (*CheckImageUpdateOutput, error)
- func (h *ImageUpdateHandler) CheckImageUpdateByID(ctx context.Context, input *CheckImageUpdateByIDInput) (*CheckImageUpdateByIDOutput, error)
- func (h *ImageUpdateHandler) CheckMultipleImages(ctx context.Context, input *CheckMultipleImagesInput) (*CheckMultipleImagesOutput, error)
- func (h *ImageUpdateHandler) GetUpdateInfoByRefs(ctx context.Context, input *GetUpdateInfoByRefsInput) (*GetUpdateInfoByRefsOutput, error)
- func (h *ImageUpdateHandler) GetUpdateSummary(ctx context.Context, input *GetUpdateSummaryInput) (*GetUpdateSummaryOutput, error)
- type ImageUsageCountsResponse
- type ImportGitOpsSyncsInput
- type ImportGitOpsSyncsOutput
- type InitSwarmInput
- type InitSwarmOutput
- type InitiateDeviceAuthInput
- type InitiateDeviceAuthOutput
- type JobSchedulesHandler
- func (h *JobSchedulesHandler) Get(ctx context.Context, input *GetJobSchedulesInput) (*GetJobSchedulesOutput, error)
- func (h *JobSchedulesHandler) ListJobs(ctx context.Context, input *ListJobsInput) (*GetJobsOutput, error)
- func (h *JobSchedulesHandler) RunJob(ctx context.Context, input *RunJobInput) (*RunJobOutput, error)
- func (h *JobSchedulesHandler) Update(ctx context.Context, input *UpdateJobSchedulesInput) (*UpdateJobSchedulesOutput, error)
- type JoinSwarmInput
- type JoinSwarmOutput
- type LeaveSwarmInput
- type LeaveSwarmOutput
- type ListAllVulnerabilitiesInput
- type ListAllVulnerabilitiesOutput
- type ListAllVulnerabilityImageOptionsInput
- type ListAllVulnerabilityImageOptionsOutput
- type ListApiKeysInput
- type ListApiKeysOutput
- type ListBackupFilesInput
- type ListBackupFilesOutput
- type ListBackupsInput
- type ListBackupsOutput
- type ListBranchesInput
- type ListBranchesOutput
- type ListContainerRegistriesInput
- type ListContainerRegistriesOutput
- type ListContainersInput
- type ListContainersOutput
- type ListEnvironmentsInput
- type ListEnvironmentsOutput
- type ListEventsInput
- type ListEventsOutput
- type ListGitOpsSyncsInput
- type ListGitOpsSyncsOutput
- type ListGitRepositoriesInput
- type ListGitRepositoriesOutput
- type ListIgnoredVulnerabilitiesInput
- type ListIgnoredVulnerabilitiesOutput
- type ListImageBuildsInput
- type ListImageBuildsOutput
- type ListImageVulnerabilitiesInput
- type ListImageVulnerabilitiesOutput
- type ListImagesInput
- type ListImagesOutput
- type ListJobsInput
- type ListNetworksInput
- type ListNetworksOutput
- type ListPortsInput
- type ListPortsOutput
- type ListProjectsInput
- type ListProjectsOutput
- type ListSwarmConfigsInput
- type ListSwarmConfigsOutput
- type ListSwarmNodeTasksInput
- type ListSwarmNodeTasksOutput
- type ListSwarmNodesInput
- type ListSwarmNodesOutput
- type ListSwarmSecretsInput
- type ListSwarmSecretsOutput
- type ListSwarmServiceTasksInput
- type ListSwarmServiceTasksOutput
- type ListSwarmServicesInput
- type ListSwarmServicesOutput
- type ListSwarmStackServicesInput
- type ListSwarmStackServicesOutput
- type ListSwarmStackTasksInput
- type ListSwarmStackTasksOutput
- type ListSwarmStacksInput
- type ListSwarmStacksOutput
- type ListSwarmTasksInput
- type ListSwarmTasksOutput
- type ListTemplatesInput
- type ListTemplatesOutput
- type ListUsersInput
- type ListUsersOutput
- type ListVolumesInput
- type ListVolumesOutput
- type ListWebhooksInput
- type ListWebhooksOutput
- type LoginInput
- type LoginOutput
- type LogoutOutput
- type NetworkCountsApiResponse
- type NetworkCreatedApiResponse
- type NetworkHandler
- func (h *NetworkHandler) CreateNetwork(ctx context.Context, input *CreateNetworkInput) (*CreateNetworkOutput, error)
- func (h *NetworkHandler) DeleteNetwork(ctx context.Context, input *DeleteNetworkInput) (*DeleteNetworkOutput, error)
- func (h *NetworkHandler) GetNetwork(ctx context.Context, input *GetNetworkInput) (*GetNetworkOutput, error)
- func (h *NetworkHandler) GetNetworkCounts(ctx context.Context, input *GetNetworkCountsInput) (*GetNetworkCountsOutput, error)
- func (h *NetworkHandler) GetNetworkTopology(ctx context.Context, input *GetNetworkTopologyInput) (*GetNetworkTopologyOutput, error)
- func (h *NetworkHandler) ListNetworks(ctx context.Context, input *ListNetworksInput) (*ListNetworksOutput, error)
- func (h *NetworkHandler) PruneNetworks(ctx context.Context, input *PruneNetworksInput) (*PruneNetworksOutput, error)
- type NetworkInspectApiResponse
- type NetworkMessageApiResponse
- type NetworkPaginatedResponse
- type NetworkPruneResponse
- type NetworkTopologyApiResponse
- type NotificationHandler
- func (h *NotificationHandler) CreateOrUpdateAppriseSettings(ctx context.Context, input *CreateOrUpdateAppriseSettingsInput) (*CreateOrUpdateAppriseSettingsOutput, error)
- func (h *NotificationHandler) CreateOrUpdateNotificationSettings(ctx context.Context, input *CreateOrUpdateNotificationSettingsInput) (*CreateOrUpdateNotificationSettingsOutput, error)
- func (h *NotificationHandler) DeleteNotificationSettings(ctx context.Context, input *DeleteNotificationSettingsInput) (*DeleteNotificationSettingsOutput, error)
- func (h *NotificationHandler) DispatchNotification(ctx context.Context, input *DispatchNotificationInput) (*DispatchNotificationOutput, error)
- func (h *NotificationHandler) GetAllNotificationSettings(ctx context.Context, input *GetAllNotificationSettingsInput) (*GetAllNotificationSettingsOutput, error)
- func (h *NotificationHandler) GetAppriseSettings(ctx context.Context, input *GetAppriseSettingsInput) (*GetAppriseSettingsOutput, error)
- func (h *NotificationHandler) GetNotificationSettings(ctx context.Context, input *GetNotificationSettingsInput) (*GetNotificationSettingsOutput, error)
- func (h *NotificationHandler) TestAppriseNotification(ctx context.Context, input *TestAppriseNotificationInput) (*TestAppriseNotificationOutput, error)
- func (h *NotificationHandler) TestNotification(ctx context.Context, input *TestNotificationInput) (*TestNotificationOutput, error)
- type OidcHandler
- func (h *OidcHandler) ExchangeDeviceToken(ctx context.Context, input *ExchangeDeviceTokenInput) (*ExchangeDeviceTokenOutput, error)
- func (h *OidcHandler) GetOidcAuthUrl(ctx context.Context, input *GetOidcAuthUrlInput) (*GetOidcAuthUrlOutput, error)
- func (h *OidcHandler) GetOidcConfig(ctx context.Context, input *GetOidcConfigInput) (*GetOidcConfigOutput, error)
- func (h *OidcHandler) GetOidcStatus(ctx context.Context, _ *GetOidcStatusInput) (*GetOidcStatusOutput, error)
- func (h *OidcHandler) HandleOidcCallback(ctx context.Context, input *HandleOidcCallbackInput) (*HandleOidcCallbackOutput, error)
- func (h *OidcHandler) InitiateDeviceAuth(ctx context.Context, _ *InitiateDeviceAuthInput) (*InitiateDeviceAuthOutput, error)
- type OidcHeaders
- type PairAgentInput
- type PairAgentOutput
- type PairEnvironmentInput
- type PairEnvironmentOutput
- type PerformSyncInput
- type PerformSyncOutput
- type PortHandler
- type PortPaginatedResponse
- type ProjectHandler
- func (h *ProjectHandler) ArchiveProject(ctx context.Context, input *ArchiveProjectInput) (*ArchiveProjectOutput, error)
- func (h *ProjectHandler) BuildProjectImages(ctx context.Context, input *BuildProjectInput) (*huma.StreamResponse, error)
- func (h *ProjectHandler) CreateProject(ctx context.Context, input *CreateProjectInput) (*CreateProjectOutput, error)
- func (h *ProjectHandler) DeployProject(ctx context.Context, input *DeployProjectInput) (*huma.StreamResponse, error)
- func (h *ProjectHandler) DestroyProject(ctx context.Context, input *DestroyProjectInput) (*DestroyProjectOutput, error)
- func (h *ProjectHandler) DownProject(ctx context.Context, input *DownProjectInput) (*DownProjectOutput, error)
- func (h *ProjectHandler) GetProject(ctx context.Context, input *GetProjectInput) (*GetProjectOutput, error)
- func (h *ProjectHandler) GetProjectCompose(ctx context.Context, input *GetProjectInput) (*GetProjectOutput, error)
- func (h *ProjectHandler) GetProjectFile(ctx context.Context, input *GetProjectFileInput) (*GetProjectFileOutput, error)
- func (h *ProjectHandler) GetProjectFiles(ctx context.Context, input *GetProjectInput) (*GetProjectOutput, error)
- func (h *ProjectHandler) GetProjectRuntime(ctx context.Context, input *GetProjectInput) (*GetProjectOutput, error)
- func (h *ProjectHandler) GetProjectStatusCounts(ctx context.Context, input *GetProjectStatusCountsInput) (*GetProjectStatusCountsOutput, error)
- func (h *ProjectHandler) GetProjectUpdates(ctx context.Context, input *GetProjectInput) (*GetProjectOutput, error)
- func (h *ProjectHandler) ListProjects(ctx context.Context, input *ListProjectsInput) (*ListProjectsOutput, error)
- func (h *ProjectHandler) PullProjectImages(ctx context.Context, input *PullProjectImagesInput) (*huma.StreamResponse, error)
- func (h *ProjectHandler) RedeployProject(ctx context.Context, input *RedeployProjectInput) (*RedeployProjectOutput, error)
- func (h *ProjectHandler) RestartProject(ctx context.Context, input *RestartProjectInput) (*RestartProjectOutput, error)
- func (h *ProjectHandler) UnarchiveProject(ctx context.Context, input *UnarchiveProjectInput) (*UnarchiveProjectOutput, error)
- func (h *ProjectHandler) UpdateProject(ctx context.Context, input *UpdateProjectInput) (*UpdateProjectOutput, error)
- func (h *ProjectHandler) UpdateProjectInclude(ctx context.Context, input *UpdateProjectIncludeInput) (*UpdateProjectIncludeOutput, error)
- type ProjectPaginatedResponse
- type PromoteSwarmNodeInput
- type PromoteSwarmNodeOutput
- type PruneAllInput
- type PruneAllOutput
- type PruneImagesInput
- type PruneImagesOutput
- type PruneNetworksInput
- type PruneNetworksOutput
- type PruneVolumesInput
- type PruneVolumesOutput
- type PullImageInput
- type PullProgressEvent
- type PullProjectImagesInput
- type RedeployProjectInput
- type RedeployProjectOutput
- type RefreshTokenInput
- type RefreshTokenOutput
- type RemoveImageInput
- type RemoveImageOutput
- type RemoveVolumeInput
- type RemoveVolumeOutput
- type RenderSwarmStackConfigInput
- type RenderSwarmStackConfigOutput
- type RestartProjectInput
- type RestartProjectOutput
- type RestoreBackupFilesInput
- type RestoreBackupFilesOutput
- type RestoreBackupInput
- type RestoreBackupOutput
- type RollbackSwarmServiceInput
- type RollbackSwarmServiceOutput
- type RotateSwarmJoinTokensInput
- type RotateSwarmJoinTokensOutput
- type RunJobInput
- type RunJobOutput
- type RunUpdaterInput
- type RunUpdaterOutput
- type SaveDefaultTemplatesInput
- type SaveDefaultTemplatesOutput
- type ScaleSwarmServiceInput
- type ScaleSwarmServiceOutput
- type ScanImageInput
- type ScanImageOutput
- type ScannerStatus
- type SearchCustomizeInput
- type SearchCustomizeOutput
- type SearchSettingsInput
- type SearchSettingsOutput
- type SetAutoUpdateInput
- type SetAutoUpdateOutput
- type SettingsHandler
- func (h *SettingsHandler) GetCategories(ctx context.Context, input *struct{}) (*GetCategoriesOutput, error)
- func (h *SettingsHandler) GetPublicSettings(ctx context.Context, input *GetPublicSettingsInput) (*GetPublicSettingsOutput, error)
- func (h *SettingsHandler) GetSettings(ctx context.Context, input *GetSettingsInput) (*GetSettingsOutput, error)
- func (h *SettingsHandler) Search(ctx context.Context, input *SearchSettingsInput) (*SearchSettingsOutput, error)
- func (h *SettingsHandler) UpdateSettings(ctx context.Context, input *UpdateSettingsInput) (*UpdateSettingsOutput, error)
- type StartAllContainersInput
- type StartAllContainersOutput
- type StartAllStoppedContainersInput
- type StartAllStoppedContainersOutput
- type StopAllContainersInput
- type StopAllContainersOutput
- type SwarmHandler
- func (h *SwarmHandler) CreateConfig(ctx context.Context, input *CreateSwarmConfigInput) (*CreateSwarmConfigOutput, error)
- func (h *SwarmHandler) CreateSecret(ctx context.Context, input *CreateSwarmSecretInput) (*CreateSwarmSecretOutput, error)
- func (h *SwarmHandler) CreateService(ctx context.Context, input *CreateSwarmServiceInput) (*CreateSwarmServiceOutput, error)
- func (h *SwarmHandler) DeleteConfig(ctx context.Context, input *DeleteSwarmConfigInput) (*DeleteSwarmConfigOutput, error)
- func (h *SwarmHandler) DeleteNode(ctx context.Context, input *DeleteSwarmNodeInput) (*DeleteSwarmNodeOutput, error)
- func (h *SwarmHandler) DeleteSecret(ctx context.Context, input *DeleteSwarmSecretInput) (*DeleteSwarmSecretOutput, error)
- func (h *SwarmHandler) DeleteService(ctx context.Context, input *DeleteSwarmServiceInput) (*DeleteSwarmServiceOutput, error)
- func (h *SwarmHandler) DeleteStack(ctx context.Context, input *DeleteSwarmStackInput) (*DeleteSwarmStackOutput, error)
- func (h *SwarmHandler) DemoteNode(ctx context.Context, input *DemoteSwarmNodeInput) (*DemoteSwarmNodeOutput, error)
- func (h *SwarmHandler) DeployStack(ctx context.Context, input *DeploySwarmStackInput) (*DeploySwarmStackOutput, error)
- func (h *SwarmHandler) GetConfig(ctx context.Context, input *GetSwarmConfigInput) (*GetSwarmConfigOutput, error)
- func (h *SwarmHandler) GetJoinTokens(ctx context.Context, input *GetSwarmJoinTokensInput) (*GetSwarmJoinTokensOutput, error)
- func (h *SwarmHandler) GetNode(ctx context.Context, input *GetSwarmNodeInput) (*GetSwarmNodeOutput, error)
- func (h *SwarmHandler) GetNodeAgentDeployment(ctx context.Context, input *GetSwarmNodeAgentDeploymentInput) (*GetSwarmNodeAgentDeploymentOutput, error)
- func (h *SwarmHandler) GetNodeIdentity(ctx context.Context, _ *GetSwarmNodeIdentityInput) (*GetSwarmNodeIdentityOutput, error)
- func (h *SwarmHandler) GetSecret(ctx context.Context, input *GetSwarmSecretInput) (*GetSwarmSecretOutput, error)
- func (h *SwarmHandler) GetService(ctx context.Context, input *GetSwarmServiceInput) (*GetSwarmServiceOutput, error)
- func (h *SwarmHandler) GetStack(ctx context.Context, input *GetSwarmStackInput) (*GetSwarmStackOutput, error)
- func (h *SwarmHandler) GetStackSource(ctx context.Context, input *GetSwarmStackSourceInput) (*GetSwarmStackSourceOutput, error)
- func (h *SwarmHandler) GetSwarmInfo(ctx context.Context, input *GetSwarmInfoInput) (*GetSwarmInfoOutput, error)
- func (h *SwarmHandler) GetSwarmStatus(ctx context.Context, input *GetSwarmStatusInput) (*GetSwarmStatusOutput, error)
- func (h *SwarmHandler) GetUnlockKey(ctx context.Context, input *GetSwarmUnlockKeyInput) (*GetSwarmUnlockKeyOutput, error)
- func (h *SwarmHandler) InitSwarm(ctx context.Context, input *InitSwarmInput) (*InitSwarmOutput, error)
- func (h *SwarmHandler) JoinSwarm(ctx context.Context, input *JoinSwarmInput) (*JoinSwarmOutput, error)
- func (h *SwarmHandler) LeaveSwarm(ctx context.Context, input *LeaveSwarmInput) (*LeaveSwarmOutput, error)
- func (h *SwarmHandler) ListConfigs(ctx context.Context, input *ListSwarmConfigsInput) (*ListSwarmConfigsOutput, error)
- func (h *SwarmHandler) ListNodeTasks(ctx context.Context, input *ListSwarmNodeTasksInput) (*ListSwarmNodeTasksOutput, error)
- func (h *SwarmHandler) ListNodes(ctx context.Context, input *ListSwarmNodesInput) (*ListSwarmNodesOutput, error)
- func (h *SwarmHandler) ListSecrets(ctx context.Context, input *ListSwarmSecretsInput) (*ListSwarmSecretsOutput, error)
- func (h *SwarmHandler) ListServiceTasks(ctx context.Context, input *ListSwarmServiceTasksInput) (*ListSwarmServiceTasksOutput, error)
- func (h *SwarmHandler) ListServices(ctx context.Context, input *ListSwarmServicesInput) (*ListSwarmServicesOutput, error)
- func (h *SwarmHandler) ListStackServices(ctx context.Context, input *ListSwarmStackServicesInput) (*ListSwarmStackServicesOutput, error)
- func (h *SwarmHandler) ListStackTasks(ctx context.Context, input *ListSwarmStackTasksInput) (*ListSwarmStackTasksOutput, error)
- func (h *SwarmHandler) ListStacks(ctx context.Context, input *ListSwarmStacksInput) (*ListSwarmStacksOutput, error)
- func (h *SwarmHandler) ListTasks(ctx context.Context, input *ListSwarmTasksInput) (*ListSwarmTasksOutput, error)
- func (h *SwarmHandler) PromoteNode(ctx context.Context, input *PromoteSwarmNodeInput) (*PromoteSwarmNodeOutput, error)
- func (h *SwarmHandler) RenderStackConfig(ctx context.Context, input *RenderSwarmStackConfigInput) (*RenderSwarmStackConfigOutput, error)
- func (h *SwarmHandler) RollbackService(ctx context.Context, input *RollbackSwarmServiceInput) (*RollbackSwarmServiceOutput, error)
- func (h *SwarmHandler) RotateJoinTokens(ctx context.Context, input *RotateSwarmJoinTokensInput) (*RotateSwarmJoinTokensOutput, error)
- func (h *SwarmHandler) ScaleService(ctx context.Context, input *ScaleSwarmServiceInput) (*ScaleSwarmServiceOutput, error)
- func (h *SwarmHandler) UnlockSwarm(ctx context.Context, input *UnlockSwarmInput) (*UnlockSwarmOutput, error)
- func (h *SwarmHandler) UpdateConfig(ctx context.Context, input *UpdateSwarmConfigInput) (*UpdateSwarmConfigOutput, error)
- func (h *SwarmHandler) UpdateNode(ctx context.Context, input *UpdateSwarmNodeInput) (*UpdateSwarmNodeOutput, error)
- func (h *SwarmHandler) UpdateSecret(ctx context.Context, input *UpdateSwarmSecretInput) (*UpdateSwarmSecretOutput, error)
- func (h *SwarmHandler) UpdateService(ctx context.Context, input *UpdateSwarmServiceInput) (*UpdateSwarmServiceOutput, error)
- func (h *SwarmHandler) UpdateStackSource(ctx context.Context, input *UpdateSwarmStackSourceInput) (*UpdateSwarmStackSourceOutput, error)
- func (h *SwarmHandler) UpdateSwarmSpec(ctx context.Context, input *UpdateSwarmSpecInput) (*UpdateSwarmSpecOutput, error)
- type SwarmNodeAgentDeployment
- type SwarmPaginatedResponse
- type SyncContainerRegistriesInput
- type SyncContainerRegistriesOutput
- type SyncEnvironmentInput
- type SyncEnvironmentOutput
- type SyncGitRepositoriesInput
- type SyncGitRepositoriesOutput
- type SystemHandler
- func (h *SystemHandler) CheckUpgradeAvailable(ctx context.Context, input *CheckUpgradeInput) (*CheckUpgradeOutput, error)
- func (h *SystemHandler) ConvertDockerRun(ctx context.Context, input *ConvertDockerRunInput) (*ConvertDockerRunOutput, error)
- func (h *SystemHandler) GetDockerInfo(ctx context.Context, input *GetDockerInfoInput) (*GetDockerInfoOutput, error)
- func (h *SystemHandler) Health(ctx context.Context, input *SystemHealthInput) (*SystemHealthOutput, error)
- func (h *SystemHandler) PruneAll(ctx context.Context, input *PruneAllInput) (*PruneAllOutput, error)
- func (h *SystemHandler) StartAllContainers(ctx context.Context, input *StartAllContainersInput) (*StartAllContainersOutput, error)
- func (h *SystemHandler) StartAllStoppedContainers(ctx context.Context, input *StartAllStoppedContainersInput) (*StartAllStoppedContainersOutput, error)
- func (h *SystemHandler) StopAllContainers(ctx context.Context, input *StopAllContainersInput) (*StopAllContainersOutput, error)
- func (h *SystemHandler) TriggerUpgrade(ctx context.Context, input *TriggerUpgradeInput) (*TriggerUpgradeOutput, error)
- type SystemHealthInput
- type SystemHealthOutput
- type TemplateHandler
- func (h *TemplateHandler) CreateRegistry(ctx context.Context, input *CreateTemplateRegistryInput) (*CreateTemplateRegistryOutput, error)
- func (h *TemplateHandler) CreateTemplate(ctx context.Context, input *CreateTemplateInput) (*CreateTemplateOutput, error)
- func (h *TemplateHandler) DeleteRegistry(ctx context.Context, input *DeleteTemplateRegistryInput) (*DeleteTemplateRegistryOutput, error)
- func (h *TemplateHandler) DeleteTemplate(ctx context.Context, input *DeleteTemplateInput) (*DeleteTemplateOutput, error)
- func (h *TemplateHandler) DownloadTemplate(ctx context.Context, input *DownloadTemplateInput) (*DownloadTemplateOutput, error)
- func (h *TemplateHandler) FetchRegistry(ctx context.Context, input *FetchTemplateRegistryInput) (*FetchTemplateRegistryOutput, error)
- func (h *TemplateHandler) GetAllTemplates(ctx context.Context, _ *GetAllTemplatesInput) (*GetAllTemplatesOutput, error)
- func (h *TemplateHandler) GetDefaultTemplates(ctx context.Context, _ *GetDefaultTemplatesInput) (*GetDefaultTemplatesOutput, error)
- func (h *TemplateHandler) GetGlobalVariables(ctx context.Context, input *GetGlobalVariablesInput) (*GetGlobalVariablesOutput, error)
- func (h *TemplateHandler) GetRegistries(ctx context.Context, _ *GetTemplateRegistriesInput) (*GetTemplateRegistriesOutput, error)
- func (h *TemplateHandler) GetTemplate(ctx context.Context, input *GetTemplateInput) (*GetTemplateOutput, error)
- func (h *TemplateHandler) GetTemplateContent(ctx context.Context, input *GetTemplateContentInput) (*GetTemplateContentOutput, error)
- func (h *TemplateHandler) ListTemplates(ctx context.Context, input *ListTemplatesInput) (*ListTemplatesOutput, error)
- func (h *TemplateHandler) SaveDefaultTemplates(ctx context.Context, input *SaveDefaultTemplatesInput) (*SaveDefaultTemplatesOutput, error)
- func (h *TemplateHandler) UpdateGlobalVariables(ctx context.Context, input *UpdateGlobalVariablesInput) (*UpdateGlobalVariablesOutput, error)
- func (h *TemplateHandler) UpdateRegistry(ctx context.Context, input *UpdateTemplateRegistryInput) (*UpdateTemplateRegistryOutput, error)
- func (h *TemplateHandler) UpdateTemplate(ctx context.Context, input *UpdateTemplateInput) (*UpdateTemplateOutput, error)
- type TemplatePaginatedResponse
- type TestAppriseNotificationInput
- type TestAppriseNotificationOutput
- type TestConnectionInput
- type TestConnectionOutput
- type TestContainerRegistryInput
- type TestContainerRegistryOutput
- type TestGitRepositoryInput
- type TestGitRepositoryOutput
- type TestNotificationInput
- type TestNotificationOutput
- type TriggerUpgradeInput
- type TriggerUpgradeOutput
- type UnarchiveProjectInput
- type UnarchiveProjectOutput
- type UnignoreVulnerabilityInput
- type UnignoreVulnerabilityOutput
- type UnlockSwarmInput
- type UnlockSwarmOutput
- type UpdateApiKeyInput
- type UpdateApiKeyOutput
- type UpdateContainerInput
- type UpdateContainerOutput
- type UpdateContainerRegistryInput
- type UpdateContainerRegistryOutput
- type UpdateEnvironmentInput
- type UpdateEnvironmentOutput
- type UpdateGitOpsSyncInput
- type UpdateGitOpsSyncOutput
- type UpdateGitRepositoryInput
- type UpdateGitRepositoryOutput
- type UpdateGlobalVariablesInput
- type UpdateGlobalVariablesOutput
- type UpdateHeartbeatInput
- type UpdateHeartbeatOutput
- type UpdateJobSchedulesInput
- type UpdateJobSchedulesOutput
- type UpdateProjectIncludeInput
- type UpdateProjectIncludeOutput
- type UpdateProjectInput
- type UpdateProjectOutput
- type UpdateSettingsInput
- type UpdateSettingsOutput
- type UpdateSwarmConfigInput
- type UpdateSwarmConfigOutput
- type UpdateSwarmNodeInput
- type UpdateSwarmNodeOutput
- type UpdateSwarmSecretInput
- type UpdateSwarmSecretOutput
- type UpdateSwarmServiceInput
- type UpdateSwarmServiceOutput
- type UpdateSwarmSpecInput
- type UpdateSwarmSpecOutput
- type UpdateSwarmStackSourceInput
- type UpdateSwarmStackSourceOutput
- type UpdateTemplateInput
- type UpdateTemplateOutput
- type UpdateTemplateRegistryInput
- type UpdateTemplateRegistryOutput
- type UpdateUserInput
- type UpdateUserOutput
- type UpdateWebhookInput
- type UpdateWebhookOutput
- type UpdaterHandler
- func (h *UpdaterHandler) GetUpdaterHistory(ctx context.Context, input *GetUpdaterHistoryInput) (*GetUpdaterHistoryOutput, error)
- func (h *UpdaterHandler) GetUpdaterStatus(ctx context.Context, input *GetUpdaterStatusInput) (*GetUpdaterStatusOutput, error)
- func (h *UpdaterHandler) RunUpdater(ctx context.Context, input *RunUpdaterInput) (*RunUpdaterOutput, error)
- func (h *UpdaterHandler) UpdateContainer(ctx context.Context, input *UpdateContainerInput) (*UpdateContainerOutput, error)
- type UpgradeCheckResultData
- type UploadAndRestoreInput
- type UploadAndRestoreOutput
- type UploadBuildFileInput
- type UploadFileInput
- type UploadImageInput
- type UploadImageOutput
- type UserHandler
- func (h *UserHandler) CreateUser(ctx context.Context, input *CreateUserInput) (*CreateUserOutput, error)
- func (h *UserHandler) DeleteUser(ctx context.Context, input *DeleteUserInput) (*DeleteUserOutput, error)
- func (h *UserHandler) GetUser(ctx context.Context, input *GetUserInput) (*GetUserOutput, error)
- func (h *UserHandler) ListUsers(ctx context.Context, input *ListUsersInput) (*ListUsersOutput, error)
- func (h *UserHandler) UpdateUser(ctx context.Context, input *UpdateUserInput) (*UpdateUserOutput, error)
- type UserPaginatedResponse
- type VersionHandler
- type VolumeBackupPaginatedResponse
- type VolumeHandler
- func (h *VolumeHandler) BackupHasPath(ctx context.Context, input *BackupHasPathInput) (*BackupHasPathOutput, error)
- func (h *VolumeHandler) BrowseDirectory(ctx context.Context, input *BrowseDirectoryInput) (*BrowseDirectoryOutput, error)
- func (h *VolumeHandler) CreateBackup(ctx context.Context, input *CreateBackupInput) (*CreateBackupOutput, error)
- func (h *VolumeHandler) CreateDirectory(ctx context.Context, input *CreateDirectoryInput) (*base.ApiResponse[base.MessageResponse], error)
- func (h *VolumeHandler) CreateVolume(ctx context.Context, input *CreateVolumeInput) (*CreateVolumeOutput, error)
- func (h *VolumeHandler) DeleteBackup(ctx context.Context, input *DeleteBackupInput) (*DeleteBackupOutput, error)
- func (h *VolumeHandler) DeleteFile(ctx context.Context, input *DeleteFileInput) (*base.ApiResponse[base.MessageResponse], error)
- func (h *VolumeHandler) DownloadBackup(ctx context.Context, input *DownloadBackupInput) (*huma.StreamResponse, error)
- func (h *VolumeHandler) DownloadFile(ctx context.Context, input *DownloadFileInput) (*huma.StreamResponse, error)
- func (h *VolumeHandler) GetFileContent(ctx context.Context, input *GetFileContentInput) (*GetFileContentOutput, error)
- func (h *VolumeHandler) GetVolume(ctx context.Context, input *GetVolumeInput) (*GetVolumeOutput, error)
- func (h *VolumeHandler) GetVolumeSizes(ctx context.Context, input *GetVolumeSizesInput) (*GetVolumeSizesOutput, error)
- func (h *VolumeHandler) GetVolumeUsage(ctx context.Context, input *GetVolumeUsageInput) (*GetVolumeUsageOutput, error)
- func (h *VolumeHandler) GetVolumeUsageCounts(ctx context.Context, input *GetVolumeUsageCountsInput) (*GetVolumeUsageCountsOutput, error)
- func (h *VolumeHandler) ListBackupFiles(ctx context.Context, input *ListBackupFilesInput) (*ListBackupFilesOutput, error)
- func (h *VolumeHandler) ListBackups(ctx context.Context, input *ListBackupsInput) (*ListBackupsOutput, error)
- func (h *VolumeHandler) ListVolumes(ctx context.Context, input *ListVolumesInput) (*ListVolumesOutput, error)
- func (h *VolumeHandler) PruneVolumes(ctx context.Context, input *PruneVolumesInput) (*PruneVolumesOutput, error)
- func (h *VolumeHandler) RemoveVolume(ctx context.Context, input *RemoveVolumeInput) (*RemoveVolumeOutput, error)
- func (h *VolumeHandler) RestoreBackup(ctx context.Context, input *RestoreBackupInput) (*RestoreBackupOutput, error)
- func (h *VolumeHandler) RestoreBackupFiles(ctx context.Context, input *RestoreBackupFilesInput) (*RestoreBackupFilesOutput, error)
- func (h *VolumeHandler) UploadAndRestore(ctx context.Context, input *UploadAndRestoreInput) (*UploadAndRestoreOutput, error)
- func (h *VolumeHandler) UploadFile(ctx context.Context, input *UploadFileInput) (*base.ApiResponse[base.MessageResponse], error)
- type VolumePaginatedResponse
- type VolumePruneReportData
- type VolumeSizeInfo
- type VolumeUsageCountsData
- type VolumeUsageResponse
- type VulnerabilityHandler
- func (h *VulnerabilityHandler) GetEnvironmentSummary(ctx context.Context, input *GetEnvironmentSummaryInput) (*GetEnvironmentSummaryOutput, error)
- func (h *VulnerabilityHandler) GetScanResult(ctx context.Context, input *GetScanResultInput) (*GetScanResultOutput, error)
- func (h *VulnerabilityHandler) GetScanSummaries(ctx context.Context, input *GetScanSummariesInput) (*GetScanSummariesOutput, error)
- func (h *VulnerabilityHandler) GetScanSummary(ctx context.Context, input *GetScanSummaryInput) (*GetScanSummaryOutput, error)
- func (h *VulnerabilityHandler) GetScannerStatus(ctx context.Context, input *GetScannerStatusInput) (*GetScannerStatusOutput, error)
- func (h *VulnerabilityHandler) IgnoreVulnerability(ctx context.Context, input *IgnoreVulnerabilityInput) (*IgnoreVulnerabilityOutput, error)
- func (h *VulnerabilityHandler) ListAllVulnerabilities(ctx context.Context, input *ListAllVulnerabilitiesInput) (*ListAllVulnerabilitiesOutput, error)
- func (h *VulnerabilityHandler) ListAllVulnerabilityImageOptions(ctx context.Context, input *ListAllVulnerabilityImageOptionsInput) (*ListAllVulnerabilityImageOptionsOutput, error)
- func (h *VulnerabilityHandler) ListIgnoredVulnerabilities(ctx context.Context, input *ListIgnoredVulnerabilitiesInput) (*ListIgnoredVulnerabilitiesOutput, error)
- func (h *VulnerabilityHandler) ListImageVulnerabilities(ctx context.Context, input *ListImageVulnerabilitiesInput) (*ListImageVulnerabilitiesOutput, error)
- func (h *VulnerabilityHandler) ScanImage(ctx context.Context, input *ScanImageInput) (*ScanImageOutput, error)
- func (h *VulnerabilityHandler) UnignoreVulnerability(ctx context.Context, input *UnignoreVulnerabilityInput) (*UnignoreVulnerabilityOutput, error)
- type WebhookHandler
- func (h *WebhookHandler) CreateWebhook(ctx context.Context, input *CreateWebhookInput) (*CreateWebhookOutput, error)
- func (h *WebhookHandler) DeleteWebhook(ctx context.Context, input *DeleteWebhookInput) (*DeleteWebhookOutput, error)
- func (h *WebhookHandler) ListWebhooks(ctx context.Context, input *ListWebhooksInput) (*ListWebhooksOutput, error)
- func (h *WebhookHandler) UpdateWebhook(ctx context.Context, input *UpdateWebhookInput) (*UpdateWebhookOutput, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterApiKeys ¶
func RegisterApiKeys(api huma.API, apiKeyService *services.ApiKeyService)
RegisterApiKeys registers API key management routes using Huma.
func RegisterAppImages ¶
func RegisterAppImages(api huma.API, appImagesService *services.ApplicationImagesService)
RegisterAppImages registers application image routes using Huma.
func RegisterAuth ¶
func RegisterAuth(api huma.API, userService *services.UserService, authService *services.AuthService, oidcService *services.OidcService)
RegisterAuth registers authentication routes using Huma.
func RegisterBuildWorkspaces ¶
func RegisterBuildWorkspaces(api huma.API, workspaceService *services.BuildWorkspaceService)
RegisterBuildWorkspaces registers build workspace file browser routes.
func RegisterContainerRegistries ¶
func RegisterContainerRegistries(api huma.API, registryService *services.ContainerRegistryService, environmentService *services.EnvironmentService)
RegisterContainerRegistries registers all container registry endpoints.
func RegisterContainers ¶
func RegisterContainers(api huma.API, containerSvc *services.ContainerService, dockerSvc *services.DockerClientService, settingsSvc *services.SettingsService)
func RegisterCustomize ¶
func RegisterCustomize(api huma.API, customizeSearchService *services.CustomizeSearchService)
RegisterCustomize registers customization endpoints using Huma.
func RegisterDashboard ¶
func RegisterDashboard(api huma.API, dashboardService *services.DashboardService)
func RegisterEnvironments ¶
func RegisterEnvironments(api huma.API, environmentService *services.EnvironmentService, settingsService *services.SettingsService, apiKeyService *services.ApiKeyService, eventService *services.EventService, cfg *config.Config)
RegisterEnvironments registers all environment management endpoints.
func RegisterEvents ¶
func RegisterEvents(api huma.API, eventService *services.EventService, apiKeySvc *services.ApiKeyService)
RegisterEvents registers all event management endpoints.
func RegisterFonts ¶
func RegisterFonts(api huma.API, fontService *services.FontService)
RegisterFonts registers font routes using Huma.
func RegisterGitOpsSyncs ¶
func RegisterGitOpsSyncs(api huma.API, syncService *services.GitOpsSyncService)
RegisterGitOpsSyncs registers all GitOps sync endpoints.
func RegisterGitRepositories ¶
func RegisterGitRepositories(api huma.API, repoService *services.GitRepositoryService)
RegisterGitRepositories registers all git repository endpoints.
func RegisterHealth ¶
RegisterHealth registers health check routes using Huma.
func RegisterImageUpdates ¶
func RegisterImageUpdates(api huma.API, imageUpdateSvc *services.ImageUpdateService, imageSvc *services.ImageService)
RegisterImageUpdates registers image update endpoints.
func RegisterImages ¶
func RegisterImages(api huma.API, dockerService *services.DockerClientService, imageService *services.ImageService, imageUpdateService *services.ImageUpdateService, settingsService *services.SettingsService, buildService *services.BuildService)
RegisterImages registers image management routes using Huma.
func RegisterJobSchedules ¶
func RegisterJobSchedules(api huma.API, jobSvc *services.JobService, envSvc *services.EnvironmentService)
func RegisterNetworks ¶
func RegisterNetworks(api huma.API, networkSvc *services.NetworkService, dockerSvc *services.DockerClientService)
RegisterNetworks registers network endpoints.
func RegisterNotifications ¶
func RegisterNotifications(api huma.API, notificationSvc *services.NotificationService, appriseSvc *services.AppriseService, cfg *config.Config)
RegisterNotifications registers notification endpoints.
func RegisterOidc ¶
func RegisterOidc(api huma.API, authService *services.AuthService, oidcService *services.OidcService, cfg *config.Config)
RegisterOidc registers all OIDC authentication endpoints using Huma.
func RegisterPorts ¶
func RegisterPorts(api huma.API, portSvc *services.PortService)
func RegisterProjects ¶
func RegisterProjects(api huma.API, projectService *services.ProjectService)
RegisterProjects registers project management routes using Huma. Note: WebSocket and streaming endpoints remain as Gin handlers.
func RegisterSettings ¶
func RegisterSettings(api huma.API, settingsService *services.SettingsService, settingsSearchService *services.SettingsSearchService, environmentService *services.EnvironmentService, cfg *config.Config)
RegisterSettings registers settings management routes using Huma.
func RegisterSwarm ¶
func RegisterSwarm(api huma.API, swarmSvc *services.SwarmService, environmentSvc *services.EnvironmentService, eventSvc *services.EventService, cfg *config.Config)
RegisterSwarm registers the Docker Swarm HTTP operations on the provided Huma API.
It wires a SwarmHandler with the supplied services and publishes the full swarm route set for services, nodes, tasks, stacks, lifecycle operations, configs, and secrets.
api is the Huma API instance that receives the swarm operations. swarmSvc provides the underlying swarm business logic. environmentSvc provides environment and agent-deployment helpers used by node endpoints. eventSvc records audit events for mutating operations when available. cfg provides application configuration needed by deployment-snippet endpoints.
func RegisterSystem ¶
func RegisterSystem(api huma.API, dockerService *services.DockerClientService, systemService *services.SystemService, upgradeService *services.SystemUpgradeService, cfg *config.Config)
RegisterSystem registers system management endpoints using Huma. Note: WebSocket endpoints (stats) remain in the Gin handler.
func RegisterTemplates ¶
func RegisterTemplates(api huma.API, templateService *services.TemplateService, environmentService *services.EnvironmentService)
RegisterTemplates registers all template management endpoints.
func RegisterUpdater ¶
func RegisterUpdater(api huma.API, updaterService *services.UpdaterService)
RegisterUpdater registers updater management routes using Huma.
func RegisterUsers ¶
func RegisterUsers(api huma.API, userService *services.UserService, authService *services.AuthService)
RegisterUsers registers all user management endpoints.
func RegisterVersion ¶
func RegisterVersion(api huma.API, versionService *services.VersionService)
RegisterVersion registers version endpoints.
func RegisterVolumes ¶
func RegisterVolumes(api huma.API, dockerService *services.DockerClientService, volumeService *services.VolumeService)
RegisterVolumes registers volume management routes using Huma.
func RegisterVulnerability ¶
func RegisterVulnerability(api huma.API, vulnerabilityService *services.VulnerabilityService)
RegisterVulnerability registers vulnerability scanning routes using Huma.
func RegisterWebhooks ¶
func RegisterWebhooks(api huma.API, webhookService *services.WebhookService)
RegisterWebhooks registers the authenticated CRUD routes for webhook management.
Types ¶
type ApiKeyHandler ¶
type ApiKeyHandler struct {
// contains filtered or unexported fields
}
ApiKeyHandler provides Huma-based API key management endpoints.
func (*ApiKeyHandler) CreateApiKey ¶
func (h *ApiKeyHandler) CreateApiKey(ctx context.Context, input *CreateApiKeyInput) (*CreateApiKeyOutput, error)
CreateApiKey creates a new API key.
func (*ApiKeyHandler) DeleteApiKey ¶
func (h *ApiKeyHandler) DeleteApiKey(ctx context.Context, input *DeleteApiKeyInput) (*DeleteApiKeyOutput, error)
DeleteApiKey deletes an API key.
func (*ApiKeyHandler) GetApiKey ¶
func (h *ApiKeyHandler) GetApiKey(ctx context.Context, input *GetApiKeyInput) (*GetApiKeyOutput, error)
GetApiKey returns details of a specific API key.
func (*ApiKeyHandler) ListApiKeys ¶
func (h *ApiKeyHandler) ListApiKeys(ctx context.Context, input *ListApiKeysInput) (*ListApiKeysOutput, error)
ListApiKeys returns a paginated list of API keys.
func (*ApiKeyHandler) UpdateApiKey ¶
func (h *ApiKeyHandler) UpdateApiKey(ctx context.Context, input *UpdateApiKeyInput) (*UpdateApiKeyOutput, error)
UpdateApiKey updates an existing API key.
type ApiKeyPaginatedResponse ¶
type ApiKeyPaginatedResponse struct {
Success bool `json:"success"`
Data []apikey.ApiKey `json:"data"`
Pagination base.PaginationResponse `json:"pagination"`
}
ApiKeyPaginatedResponse is the paginated response for API keys.
type AppImagesHandler ¶
type AppImagesHandler struct {
// contains filtered or unexported fields
}
AppImagesHandler provides Huma-based application image endpoints.
func (*AppImagesHandler) GetDefaultProfile ¶
func (h *AppImagesHandler) GetDefaultProfile(ctx context.Context, input *struct{}) (*GetAppImageOutput, error)
GetDefaultProfile returns the default user profile image.
func (*AppImagesHandler) GetFavicon ¶
func (h *AppImagesHandler) GetFavicon(ctx context.Context, input *struct{}) (*GetAppImageOutput, error)
GetFavicon returns the application favicon image.
func (*AppImagesHandler) GetLogo ¶
func (h *AppImagesHandler) GetLogo(ctx context.Context, input *GetLogoInput) (*GetAppImageOutput, error)
GetLogo returns the application logo image.
func (*AppImagesHandler) GetLogoEmail ¶
func (h *AppImagesHandler) GetLogoEmail(ctx context.Context, input *struct{}) (*GetAppImageOutput, error)
GetLogoEmail returns the application logo image for emails (PNG).
func (*AppImagesHandler) GetPWAIcon ¶
func (h *AppImagesHandler) GetPWAIcon(ctx context.Context, input *GetPWAIconInput) (*GetAppImageOutput, error)
GetPWAIcon returns a PWA icon image.
type ArchiveProjectInput ¶
type ArchiveProjectOutput ¶
type ArchiveProjectOutput struct {
Body base.ApiResponse[base.MessageResponse]
}
type AuthHandler ¶
type AuthHandler struct {
// contains filtered or unexported fields
}
func (*AuthHandler) ChangePassword ¶
func (h *AuthHandler) ChangePassword(ctx context.Context, input *ChangePasswordInput) (*ChangePasswordOutput, error)
ChangePassword changes the current user's password.
func (*AuthHandler) GetCurrentUser ¶
func (h *AuthHandler) GetCurrentUser(ctx context.Context, input *struct{}) (*GetCurrentUserOutput, error)
GetCurrentUser returns the currently authenticated user's information.
func (*AuthHandler) Login ¶
func (h *AuthHandler) Login(ctx context.Context, input *LoginInput) (*LoginOutput, error)
Login authenticates a user and returns tokens.
func (*AuthHandler) Logout ¶
func (h *AuthHandler) Logout(ctx context.Context, input *struct{}) (*LogoutOutput, error)
Logout clears the authentication session.
func (*AuthHandler) RefreshToken ¶
func (h *AuthHandler) RefreshToken(ctx context.Context, input *RefreshTokenInput) (*RefreshTokenOutput, error)
RefreshToken obtains a new access token using a refresh token.
type BackupHasPathInput ¶
type BackupHasPathOutput ¶
type BackupHasPathOutput struct {
Body base.ApiResponse[BackupHasPathResponse]
}
type BackupHasPathResponse ¶
type BackupHasPathResponse struct {
Exists bool `json:"exists"`
}
type BrowseBuildsInput ¶
type BrowseBuildsOutput ¶
type BrowseBuildsOutput struct {
Body base.ApiResponse[[]volumetypes.FileEntry]
}
type BrowseDirectoryInput ¶
type BrowseDirectoryOutput ¶
type BrowseDirectoryOutput struct {
Body base.ApiResponse[[]volumetypes.FileEntry]
}
type BrowseFilesInput ¶
type BrowseFilesOutput ¶
type BrowseFilesOutput struct {
Body base.ApiResponse[gitops.BrowseResponse]
}
type BrowseSyncFilesInput ¶
type BrowseSyncFilesOutput ¶
type BrowseSyncFilesOutput struct {
Body base.ApiResponse[gitops.BrowseResponse]
}
type BuildImageInput ¶
type BuildImageInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
Body image.BuildRequest
}
type BuildProjectInput ¶
type BuildProjectInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
ProjectID string `path:"projectId" doc:"Project ID"`
Body *struct {
Services []string `json:"services,omitempty" doc:"Service names to build"`
Provider string `json:"provider,omitempty" doc:"Build provider override"`
Push *bool `json:"push,omitempty" doc:"Push images"`
Load *bool `json:"load,omitempty" doc:"Load images into Docker"`
}
}
type BuildWorkspaceHandler ¶
type BuildWorkspaceHandler struct {
// contains filtered or unexported fields
}
BuildWorkspaceHandler provides file browsing endpoints for manual build workspaces.
func (*BuildWorkspaceHandler) BrowseDirectory ¶
func (h *BuildWorkspaceHandler) BrowseDirectory(ctx context.Context, input *BrowseBuildsInput) (*BrowseBuildsOutput, error)
func (*BuildWorkspaceHandler) CreateDirectory ¶
func (h *BuildWorkspaceHandler) CreateDirectory(ctx context.Context, input *CreateBuildDirectoryInput) (*base.ApiResponse[base.MessageResponse], error)
func (*BuildWorkspaceHandler) DeleteFile ¶
func (h *BuildWorkspaceHandler) DeleteFile(ctx context.Context, input *DeleteBuildFileInput) (*base.ApiResponse[base.MessageResponse], error)
func (*BuildWorkspaceHandler) DownloadFile ¶
func (h *BuildWorkspaceHandler) DownloadFile(ctx context.Context, input *DownloadBuildFileInput) (*DownloadBuildFileOutput, error)
func (*BuildWorkspaceHandler) GetFileContent ¶
func (h *BuildWorkspaceHandler) GetFileContent(ctx context.Context, input *GetBuildFileContentInput) (*GetBuildFileContentOutput, error)
func (*BuildWorkspaceHandler) UploadFile ¶
func (h *BuildWorkspaceHandler) UploadFile(ctx context.Context, input *UploadBuildFileInput) (*base.ApiResponse[base.MessageResponse], error)
type ChangePasswordInput ¶
type ChangePasswordInput struct {
Body auth.PasswordChange
}
type ChangePasswordOutput ¶
type ChangePasswordOutput struct {
Body base.ApiResponse[base.MessageResponse]
}
type CheckAllImagesInput ¶
type CheckAllImagesInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
Body imageupdate.CheckAllImagesRequest
}
type CheckAllImagesOutput ¶
type CheckAllImagesOutput struct {
Body base.ApiResponse[imageupdate.BatchResponse]
}
type CheckImageUpdateByIDOutput ¶
type CheckImageUpdateByIDOutput struct {
Body base.ApiResponse[imageupdate.Response]
}
type CheckImageUpdateInput ¶
type CheckImageUpdateOutput ¶
type CheckImageUpdateOutput struct {
Body base.ApiResponse[imageupdate.Response]
}
type CheckMultipleImagesInput ¶
type CheckMultipleImagesInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
Body imageupdate.BatchImageUpdateRequest
}
type CheckMultipleImagesOutput ¶
type CheckMultipleImagesOutput struct {
Body base.ApiResponse[imageupdate.BatchResponse]
}
type CheckUpgradeInput ¶
type CheckUpgradeInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
}
type CheckUpgradeOutput ¶
type CheckUpgradeOutput struct {
Body UpgradeCheckResultData
}
type ContainerActionInput ¶
type ContainerActionOutput ¶
type ContainerActionOutput struct {
Body ContainerActionResponse
}
type ContainerActionResponse ¶
type ContainerActionResponse struct {
Success bool `json:"success"`
Data base.MessageResponse `json:"data"`
}
ContainerActionResponse is a dedicated response type
type ContainerCreatedResponse ¶
type ContainerCreatedResponse struct {
Success bool `json:"success"`
Data containertypes.Created `json:"data"`
}
ContainerCreatedResponse is a dedicated response type
type ContainerDetailsResponse ¶
type ContainerDetailsResponse struct {
Success bool `json:"success"`
Data containertypes.Details `json:"data"`
}
ContainerDetailsResponse is a dedicated response type
type ContainerHandler ¶
type ContainerHandler struct {
// contains filtered or unexported fields
}
func (*ContainerHandler) CreateContainer ¶
func (h *ContainerHandler) CreateContainer(ctx context.Context, input *CreateContainerInput) (*CreateContainerOutput, error)
func (*ContainerHandler) DeleteContainer ¶
func (h *ContainerHandler) DeleteContainer(ctx context.Context, input *DeleteContainerInput) (*DeleteContainerOutput, error)
func (*ContainerHandler) GetContainer ¶
func (h *ContainerHandler) GetContainer(ctx context.Context, input *GetContainerInput) (*GetContainerOutput, error)
func (*ContainerHandler) GetContainerStatusCounts ¶
func (h *ContainerHandler) GetContainerStatusCounts(ctx context.Context, input *GetContainerStatusCountsInput) (*GetContainerStatusCountsOutput, error)
func (*ContainerHandler) ListContainers ¶
func (h *ContainerHandler) ListContainers(ctx context.Context, input *ListContainersInput) (*ListContainersOutput, error)
func (*ContainerHandler) RedeployContainer ¶
func (h *ContainerHandler) RedeployContainer(ctx context.Context, input *ContainerActionInput) (*GetContainerOutput, error)
func (*ContainerHandler) RestartContainer ¶
func (h *ContainerHandler) RestartContainer(ctx context.Context, input *ContainerActionInput) (*ContainerActionOutput, error)
func (*ContainerHandler) SetAutoUpdate ¶
func (h *ContainerHandler) SetAutoUpdate(ctx context.Context, input *SetAutoUpdateInput) (*SetAutoUpdateOutput, error)
func (*ContainerHandler) StartContainer ¶
func (h *ContainerHandler) StartContainer(ctx context.Context, input *ContainerActionInput) (*ContainerActionOutput, error)
func (*ContainerHandler) StopContainer ¶
func (h *ContainerHandler) StopContainer(ctx context.Context, input *ContainerActionInput) (*ContainerActionOutput, error)
type ContainerPaginatedResponse ¶
type ContainerPaginatedResponse struct {
Success bool `json:"success"`
Data []containertypes.Summary `json:"data"`
Groups []containertypes.SummaryGroup `json:"groups,omitempty"`
Counts containertypes.StatusCounts `json:"counts"`
Pagination base.PaginationResponse `json:"pagination"`
}
Paginated response
type ContainerRegistryHandler ¶
type ContainerRegistryHandler struct {
// contains filtered or unexported fields
}
ContainerRegistryHandler handles container registry management endpoints.
func (*ContainerRegistryHandler) CreateRegistry ¶
func (h *ContainerRegistryHandler) CreateRegistry(ctx context.Context, input *CreateContainerRegistryInput) (*CreateContainerRegistryOutput, error)
CreateRegistry creates a new container registry.
func (*ContainerRegistryHandler) DeleteRegistry ¶
func (h *ContainerRegistryHandler) DeleteRegistry(ctx context.Context, input *DeleteContainerRegistryInput) (*DeleteContainerRegistryOutput, error)
DeleteRegistry deletes a container registry.
func (*ContainerRegistryHandler) GetPullUsage ¶
func (h *ContainerRegistryHandler) GetPullUsage(ctx context.Context, input *struct{}) (*GetContainerRegistryPullUsageOutput, error)
GetPullUsage returns pull usage visibility for configured registries.
func (*ContainerRegistryHandler) GetRegistry ¶
func (h *ContainerRegistryHandler) GetRegistry(ctx context.Context, input *GetContainerRegistryInput) (*GetContainerRegistryOutput, error)
GetRegistry returns a container registry by ID.
func (*ContainerRegistryHandler) ListRegistries ¶
func (h *ContainerRegistryHandler) ListRegistries(ctx context.Context, input *ListContainerRegistriesInput) (*ListContainerRegistriesOutput, error)
ListRegistries returns a paginated list of container registries.
func (*ContainerRegistryHandler) SyncRegistries ¶
func (h *ContainerRegistryHandler) SyncRegistries(ctx context.Context, input *SyncContainerRegistriesInput) (*SyncContainerRegistriesOutput, error)
SyncRegistries syncs container registries from a remote source.
func (*ContainerRegistryHandler) TestRegistry ¶
func (h *ContainerRegistryHandler) TestRegistry(ctx context.Context, input *TestContainerRegistryInput) (*TestContainerRegistryOutput, error)
TestRegistry tests connectivity to a container registry.
func (*ContainerRegistryHandler) UpdateRegistry ¶
func (h *ContainerRegistryHandler) UpdateRegistry(ctx context.Context, input *UpdateContainerRegistryInput) (*UpdateContainerRegistryOutput, error)
UpdateRegistry updates a container registry.
type ContainerRegistryPaginatedResponse ¶
type ContainerRegistryPaginatedResponse struct {
Success bool `json:"success"`
Data []containerregistry.ContainerRegistry `json:"data"`
Pagination base.PaginationResponse `json:"pagination"`
}
ContainerRegistryPaginatedResponse is the paginated response for container registries.
type ContainerStatusCountsResponse ¶
type ContainerStatusCountsResponse struct {
Success bool `json:"success"`
Data containertypes.StatusCounts `json:"data"`
}
ContainerStatusCountsResponse is a dedicated response type to avoid schema name collision
type ConvertDockerRunInput ¶
type ConvertDockerRunInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
Body system.ConvertDockerRunRequest `doc:"Docker run command"`
}
type ConvertDockerRunOutput ¶
type ConvertDockerRunOutput struct {
Body system.ConvertDockerRunResponse
}
type CreateApiKeyInput ¶
type CreateApiKeyInput struct {
Body apikey.CreateApiKey
}
type CreateApiKeyOutput ¶
type CreateApiKeyOutput struct {
Body base.ApiResponse[apikey.ApiKeyCreatedDto]
}
type CreateBackupInput ¶
type CreateBackupOutput ¶
type CreateBackupOutput struct {
Body base.ApiResponse[*models.VolumeBackup]
}
type CreateContainerInput ¶
type CreateContainerInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
Body containertypes.Create
}
type CreateContainerOutput ¶
type CreateContainerOutput struct {
Body ContainerCreatedResponse
}
type CreateContainerRegistryInput ¶
type CreateContainerRegistryInput struct {
Body models.CreateContainerRegistryRequest
}
type CreateContainerRegistryOutput ¶
type CreateContainerRegistryOutput struct {
Body base.ApiResponse[containerregistry.ContainerRegistry]
}
type CreateDirectoryInput ¶
type CreateEnvironmentInput ¶
type CreateEnvironmentInput struct {
Body environment.Create
}
type CreateEnvironmentOutput ¶
type CreateEnvironmentOutput struct {
Body base.ApiResponse[EnvironmentWithApiKey]
}
type CreateEventInput ¶
type CreateEventInput struct {
XAPIKey string `header:"X-API-Key" doc:"API key for environment-scoped event forwarding"`
Body event.CreateEvent
}
type CreateEventOutput ¶
type CreateEventOutput struct {
Body base.ApiResponse[event.Event]
}
type CreateGitOpsSyncInput ¶
type CreateGitOpsSyncInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
Body gitops.CreateSyncRequest
}
type CreateGitOpsSyncOutput ¶
type CreateGitOpsSyncOutput struct {
Body base.ApiResponse[gitops.GitOpsSync]
}
type CreateGitRepositoryInput ¶
type CreateGitRepositoryInput struct {
Body models.CreateGitRepositoryRequest
}
type CreateGitRepositoryOutput ¶
type CreateGitRepositoryOutput struct {
Body base.ApiResponse[gitops.GitRepository]
}
type CreateNetworkInput ¶
type CreateNetworkInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
Body networktypes.CreateRequest
}
type CreateNetworkOutput ¶
type CreateNetworkOutput struct {
Body NetworkCreatedApiResponse
}
type CreateOrUpdateAppriseSettingsInput ¶
type CreateOrUpdateAppriseSettingsInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
Body notification.AppriseUpdate
}
type CreateOrUpdateAppriseSettingsOutput ¶
type CreateOrUpdateAppriseSettingsOutput struct {
Body notification.AppriseResponse
}
type CreateOrUpdateNotificationSettingsInput ¶
type CreateOrUpdateNotificationSettingsInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
Body notification.Update
}
type CreateOrUpdateNotificationSettingsOutput ¶
type CreateOrUpdateNotificationSettingsOutput struct {
Body notification.Response
}
type CreateProjectInput ¶
type CreateProjectInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
Body project.CreateProject
}
type CreateProjectOutput ¶
type CreateProjectOutput struct {
Body base.ApiResponse[project.CreateReponse]
}
type CreateSwarmConfigInput ¶
type CreateSwarmConfigInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
Body swarmtypes.ConfigCreateRequest
}
type CreateSwarmConfigOutput ¶
type CreateSwarmConfigOutput struct {
Body base.ApiResponse[swarmtypes.ConfigSummary]
}
type CreateSwarmSecretInput ¶
type CreateSwarmSecretInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
Body swarmtypes.SecretCreateRequest
}
type CreateSwarmSecretOutput ¶
type CreateSwarmSecretOutput struct {
Body base.ApiResponse[swarmtypes.SecretSummary]
}
type CreateSwarmServiceInput ¶
type CreateSwarmServiceInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
Body swarmtypes.ServiceCreateRequest `doc:"Service creation request"`
}
type CreateSwarmServiceOutput ¶
type CreateSwarmServiceOutput struct {
Body base.ApiResponse[swarmtypes.ServiceCreateResponse]
}
type CreateTemplateInput ¶
type CreateTemplateInput struct {
Body template.CreateRequest
}
type CreateTemplateOutput ¶
type CreateTemplateOutput struct {
Body base.ApiResponse[template.Template]
}
type CreateTemplateRegistryInput ¶
type CreateTemplateRegistryInput struct {
Body template.CreateRegistryRequest
}
type CreateTemplateRegistryOutput ¶
type CreateTemplateRegistryOutput struct {
Body base.ApiResponse[template.TemplateRegistry]
}
type CreateUserInput ¶
type CreateUserInput struct {
Body user.CreateUser
}
type CreateUserOutput ¶
type CreateUserOutput struct {
Body base.ApiResponse[user.User]
}
type CreateVolumeInput ¶
type CreateVolumeInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
Body volumetypes.Create `doc:"Volume creation data"`
}
type CreateVolumeOutput ¶
type CreateVolumeOutput struct {
Body base.ApiResponse[*volumetypes.Volume]
}
type CreateWebhookInput ¶
type CreateWebhookInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
Body *webhook.CreateInput `required:"true"`
}
type CreateWebhookOutput ¶
type CreateWebhookOutput struct {
Body base.ApiResponse[webhook.Created]
}
type CustomizeHandler ¶
type CustomizeHandler struct {
// contains filtered or unexported fields
}
CustomizeHandler handles customization search endpoints.
func (*CustomizeHandler) GetCategories ¶
func (h *CustomizeHandler) GetCategories(ctx context.Context, input *GetCustomizeCategoriesInput) (*GetCustomizeCategoriesOutput, error)
GetCategories returns all available customization categories.
func (*CustomizeHandler) Search ¶
func (h *CustomizeHandler) Search(ctx context.Context, input *SearchCustomizeInput) (*SearchCustomizeOutput, error)
Search searches customization options by query.
type DashboardHandler ¶
type DashboardHandler struct {
// contains filtered or unexported fields
}
func (*DashboardHandler) GetActionItems ¶
func (h *DashboardHandler) GetActionItems(ctx context.Context, input *GetDashboardActionItemsInput) (*GetDashboardActionItemsOutput, error)
func (*DashboardHandler) GetDashboard ¶
func (h *DashboardHandler) GetDashboard(ctx context.Context, input *GetDashboardInput) (*GetDashboardOutput, error)
func (*DashboardHandler) GetEnvironmentsOverview ¶
func (h *DashboardHandler) GetEnvironmentsOverview( ctx context.Context, input *GetDashboardEnvironmentsOverviewInput, ) (*GetDashboardEnvironmentsOverviewOutput, error)
type DeleteApiKeyInput ¶
type DeleteApiKeyInput struct {
ID string `path:"id" doc:"API key ID"`
}
type DeleteApiKeyOutput ¶
type DeleteApiKeyOutput struct {
Body base.ApiResponse[base.MessageResponse]
}
type DeleteBackupInput ¶
type DeleteBackupOutput ¶
type DeleteBackupOutput struct {
Body base.ApiResponse[base.MessageResponse]
}
type DeleteBuildFileInput ¶
type DeleteContainerInput ¶
type DeleteContainerInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
ContainerID string `path:"containerId" doc:"Container ID"`
Force bool `query:"force" default:"false" doc:"Force delete running container"`
RemoveVolumes bool `query:"volumes" default:"false" doc:"Remove associated volumes"`
}
type DeleteContainerOutput ¶
type DeleteContainerOutput struct {
Body ContainerActionResponse
}
type DeleteContainerRegistryInput ¶
type DeleteContainerRegistryInput struct {
ID string `path:"id" doc:"Registry ID"`
}
type DeleteContainerRegistryOutput ¶
type DeleteContainerRegistryOutput struct {
Body base.ApiResponse[base.MessageResponse]
}
type DeleteEnvironmentInput ¶
type DeleteEnvironmentInput struct {
ID string `path:"id" doc:"Environment ID"`
}
type DeleteEnvironmentOutput ¶
type DeleteEnvironmentOutput struct {
Body base.ApiResponse[base.MessageResponse]
}
type DeleteEventInput ¶
type DeleteEventInput struct {
EventID string `path:"eventId" doc:"Event ID"`
}
type DeleteEventOutput ¶
type DeleteEventOutput struct {
Body base.ApiResponse[base.MessageResponse]
}
type DeleteFileInput ¶
type DeleteGitOpsSyncInput ¶
type DeleteGitOpsSyncOutput ¶
type DeleteGitOpsSyncOutput struct {
Body base.ApiResponse[base.MessageResponse]
}
type DeleteGitRepositoryInput ¶
type DeleteGitRepositoryInput struct {
ID string `path:"id" doc:"Repository ID"`
}
type DeleteGitRepositoryOutput ¶
type DeleteGitRepositoryOutput struct {
Body base.ApiResponse[base.MessageResponse]
}
type DeleteNetworkInput ¶
type DeleteNetworkOutput ¶
type DeleteNetworkOutput struct {
Body NetworkMessageApiResponse
}
type DeleteNotificationSettingsOutput ¶
type DeleteNotificationSettingsOutput struct {
Body base.ApiResponse[base.MessageResponse]
}
type DeleteSwarmConfigInput ¶
type DeleteSwarmConfigOutput ¶
type DeleteSwarmConfigOutput struct {
Body base.ApiResponse[base.MessageResponse]
}
type DeleteSwarmNodeInput ¶
type DeleteSwarmNodeOutput ¶
type DeleteSwarmNodeOutput struct {
Body base.ApiResponse[base.MessageResponse]
}
type DeleteSwarmSecretInput ¶
type DeleteSwarmSecretOutput ¶
type DeleteSwarmSecretOutput struct {
Body base.ApiResponse[base.MessageResponse]
}
type DeleteSwarmServiceInput ¶
type DeleteSwarmServiceOutput ¶
type DeleteSwarmServiceOutput struct {
Body base.ApiResponse[base.MessageResponse]
}
type DeleteSwarmStackInput ¶
type DeleteSwarmStackOutput ¶
type DeleteSwarmStackOutput struct {
Body base.ApiResponse[base.MessageResponse]
}
type DeleteTemplateInput ¶
type DeleteTemplateInput struct {
ID string `path:"id" doc:"Template ID"`
}
type DeleteTemplateOutput ¶
type DeleteTemplateOutput struct {
Body base.ApiResponse[base.MessageResponse]
}
type DeleteTemplateRegistryInput ¶
type DeleteTemplateRegistryInput struct {
ID string `path:"id" doc:"Registry ID"`
}
type DeleteTemplateRegistryOutput ¶
type DeleteTemplateRegistryOutput struct {
Body base.ApiResponse[base.MessageResponse]
}
type DeleteUserInput ¶
type DeleteUserInput struct {
UserID string `path:"userId" doc:"User ID"`
}
type DeleteUserOutput ¶
type DeleteUserOutput struct {
Body base.ApiResponse[base.MessageResponse]
}
type DeleteWebhookInput ¶
type DeleteWebhookOutput ¶
type DeleteWebhookOutput struct {
Body base.ApiResponse[any]
}
type DemoteSwarmNodeInput ¶
type DemoteSwarmNodeOutput ¶
type DemoteSwarmNodeOutput struct {
Body base.ApiResponse[base.MessageResponse]
}
type DeployProjectInput ¶
type DeployProjectInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
ProjectID string `path:"projectId" doc:"Project ID"`
Body *project.DeployOptions
}
type DeployProjectOutput ¶
type DeployProjectOutput struct {
Body base.ApiResponse[base.MessageResponse]
}
type DeploySwarmStackInput ¶
type DeploySwarmStackInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
Body swarmtypes.StackDeployRequest
}
type DeploySwarmStackOutput ¶
type DeploySwarmStackOutput struct {
Body base.ApiResponse[swarmtypes.StackDeployResponse]
}
type DeploymentSnippet ¶
type DeploymentSnippet struct {
DockerRun string `json:"dockerRun" doc:"Docker run command snippet"`
DockerCompose string `json:"dockerCompose" doc:"Docker compose YAML snippet"`
MTLS *DeploymentSnippetMTLS `json:"mtls,omitempty" doc:"Optional Arcane-generated mTLS deployment assets for edge agents"`
}
type DeploymentSnippetFile ¶
type DeploymentSnippetFile struct {
Name string `json:"name" doc:"Suggested filename"`
Content string `json:"content,omitempty" doc:"PEM file contents. Omitted for sensitive files such as private keys; use downloadUrl instead."`
DownloadURL string `json:"downloadUrl,omitempty" doc:"Admin-only endpoint to download this file when content is withheld"`
Sensitive bool `json:"sensitive,omitempty" doc:"True when this file is sensitive and must be fetched via downloadUrl"`
ContainerPath string `json:"containerPath" doc:"Container mount path expected by the mTLS snippet"`
Permissions string `json:"permissions" doc:"Suggested file mode"`
}
type DeploymentSnippetMTLS ¶
type DeploymentSnippetMTLS struct {
DockerRun string `json:"dockerRun" doc:"Docker run snippet using Arcane-generated mTLS assets"`
DockerCompose string `json:"dockerCompose" doc:"Docker compose snippet using Arcane-generated mTLS assets"`
Files []DeploymentSnippetFile `json:"files" doc:"Generated PEM files to place on the edge host"`
HostDirHint string `json:"hostDirHint" doc:"Suggested host directory containing the generated PEM files"`
}
type DestroyProjectInput ¶
type DestroyProjectOutput ¶
type DestroyProjectOutput struct {
Body base.ApiResponse[base.MessageResponse]
}
type DispatchNotificationInput ¶
type DispatchNotificationInput struct {
APIKey string `header:"X-API-Key" doc:"Remote environment access token"`
Body notification.DispatchRequest
}
type DispatchNotificationOutput ¶
type DispatchNotificationOutput struct {
Body base.ApiResponse[base.MessageResponse]
}
type DownProjectInput ¶
type DownProjectOutput ¶
type DownProjectOutput struct {
Body base.ApiResponse[base.MessageResponse]
}
type DownloadBackupInput ¶
type DownloadBuildFileInput ¶
type DownloadBuildFileOutput ¶
type DownloadBuildFileOutput struct {
ContentType string `header:"Content-Type"`
ContentDisposition string `header:"Content-Disposition"`
ContentLength int64 `header:"Content-Length"`
Body io.ReadCloser
}
type DownloadEdgeMTLSCAInput ¶
type DownloadEdgeMTLSCAInput struct{}
type DownloadEnvironmentMTLSBundleInput ¶
type DownloadEnvironmentMTLSBundleInput struct {
ID string `path:"id" doc:"Environment ID"`
}
type DownloadFileInput ¶
type DownloadTemplateInput ¶
type DownloadTemplateInput struct {
ID string `path:"id" doc:"Template ID"`
}
type DownloadTemplateOutput ¶
type DownloadTemplateOutput struct {
Body base.ApiResponse[template.Template]
}
type EnvironmentHandler ¶
type EnvironmentHandler struct {
// contains filtered or unexported fields
}
EnvironmentHandler handles environment management endpoints.
func (*EnvironmentHandler) CreateEnvironment ¶
func (h *EnvironmentHandler) CreateEnvironment(ctx context.Context, input *CreateEnvironmentInput) (*CreateEnvironmentOutput, error)
CreateEnvironment creates a new environment.
func (*EnvironmentHandler) DeleteEnvironment ¶
func (h *EnvironmentHandler) DeleteEnvironment(ctx context.Context, input *DeleteEnvironmentInput) (*DeleteEnvironmentOutput, error)
DeleteEnvironment deletes an environment.
func (*EnvironmentHandler) DownloadEdgeMTLSCA ¶
func (h *EnvironmentHandler) DownloadEdgeMTLSCA(ctx context.Context, _ *DownloadEdgeMTLSCAInput) (*huma.StreamResponse, error)
DownloadEdgeMTLSCA downloads the Arcane-managed edge mTLS CA certificate.
func (*EnvironmentHandler) DownloadEnvironmentMTLSBundle ¶
func (h *EnvironmentHandler) DownloadEnvironmentMTLSBundle(ctx context.Context, input *DownloadEnvironmentMTLSBundleInput) (*huma.StreamResponse, error)
func (*EnvironmentHandler) DownloadEnvironmentMTLSFile ¶
func (h *EnvironmentHandler) DownloadEnvironmentMTLSFile(ctx context.Context, input *DownloadEnvironmentMTLSFileInput) (*huma.StreamResponse, error)
func (*EnvironmentHandler) GetDeploymentSnippets ¶
func (h *EnvironmentHandler) GetDeploymentSnippets(ctx context.Context, input *GetDeploymentSnippetsInput) (*GetDeploymentSnippetsOutput, error)
GetDeploymentSnippets returns deployment snippets for an environment.
func (*EnvironmentHandler) GetEnvironment ¶
func (h *EnvironmentHandler) GetEnvironment(ctx context.Context, input *GetEnvironmentInput) (*GetEnvironmentOutput, error)
GetEnvironment returns an environment by ID.
func (*EnvironmentHandler) GetEnvironmentVersion ¶
func (h *EnvironmentHandler) GetEnvironmentVersion(ctx context.Context, input *GetEnvironmentVersionInput) (*GetEnvironmentVersionOutput, error)
GetEnvironmentVersion returns the version of a remote environment.
func (*EnvironmentHandler) ListEnvironments ¶
func (h *EnvironmentHandler) ListEnvironments(ctx context.Context, input *ListEnvironmentsInput) (*ListEnvironmentsOutput, error)
ListEnvironments returns a paginated list of environments.
func (*EnvironmentHandler) PairAgent ¶
func (h *EnvironmentHandler) PairAgent(ctx context.Context, input *PairAgentInput) (*PairAgentOutput, error)
PairAgent generates or rotates the local agent pairing token.
func (*EnvironmentHandler) PairEnvironment ¶
func (h *EnvironmentHandler) PairEnvironment(ctx context.Context, input *PairEnvironmentInput) (*PairEnvironmentOutput, error)
PairEnvironment handles agent pairing callback with API key.
func (*EnvironmentHandler) SyncEnvironment ¶
func (h *EnvironmentHandler) SyncEnvironment(ctx context.Context, input *SyncEnvironmentInput) (*SyncEnvironmentOutput, error)
SyncEnvironment syncs container registries and git repositories to an environment.
func (*EnvironmentHandler) TestConnection ¶
func (h *EnvironmentHandler) TestConnection(ctx context.Context, input *TestConnectionInput) (*TestConnectionOutput, error)
TestConnection tests connectivity to an environment.
func (*EnvironmentHandler) UpdateEnvironment ¶
func (h *EnvironmentHandler) UpdateEnvironment(ctx context.Context, input *UpdateEnvironmentInput) (*UpdateEnvironmentOutput, error)
UpdateEnvironment updates an environment.
func (*EnvironmentHandler) UpdateHeartbeat ¶
func (h *EnvironmentHandler) UpdateHeartbeat(ctx context.Context, input *UpdateHeartbeatInput) (*UpdateHeartbeatOutput, error)
UpdateHeartbeat updates the heartbeat for an environment.
type EnvironmentPaginatedResponse ¶
type EnvironmentPaginatedResponse struct {
Success bool `json:"success"`
Data []environment.Environment `json:"data"`
Pagination base.PaginationResponse `json:"pagination"`
}
EnvironmentPaginatedResponse is the paginated response for environments.
type EnvironmentWithApiKey ¶
type EnvironmentWithApiKey struct {
environment.Environment
ApiKey *string `json:"apiKey,omitempty" doc:"API key for pairing (only shown once during creation)"` //nolint:gosec // response schema requires apiKey naming
}
type EventHandler ¶
type EventHandler struct {
// contains filtered or unexported fields
}
EventHandler handles event management endpoints.
func (*EventHandler) CreateEvent ¶
func (h *EventHandler) CreateEvent(ctx context.Context, input *CreateEventInput) (*CreateEventOutput, error)
CreateEvent creates a new event.
func (*EventHandler) DeleteEvent ¶
func (h *EventHandler) DeleteEvent(ctx context.Context, input *DeleteEventInput) (*DeleteEventOutput, error)
DeleteEvent deletes an event.
func (*EventHandler) GetEventsByEnvironment ¶
func (h *EventHandler) GetEventsByEnvironment(ctx context.Context, input *GetEventsByEnvironmentInput) (*GetEventsByEnvironmentOutput, error)
GetEventsByEnvironment returns events for a specific environment.
func (*EventHandler) ListEvents ¶
func (h *EventHandler) ListEvents(ctx context.Context, input *ListEventsInput) (*ListEventsOutput, error)
ListEvents returns a paginated list of events.
type EventPaginatedResponse ¶
type EventPaginatedResponse struct {
Success bool `json:"success"`
Data []event.Event `json:"data"`
Pagination base.PaginationResponse `json:"pagination"`
}
EventPaginatedResponse is the paginated response for events.
type ExchangeDeviceTokenInput ¶
type ExchangeDeviceTokenInput struct {
UserAgent string `header:"User-Agent"`
Body auth.OidcDeviceTokenRequest
}
type ExchangeDeviceTokenOutput ¶
type ExchangeDeviceTokenOutput struct {
SetCookie []string `header:"Set-Cookie" doc:"Session token cookie"`
Body auth.OidcDeviceTokenResponse
}
type FetchTemplateRegistryInput ¶
type FetchTemplateRegistryInput struct {
URL string `query:"url" required:"true" doc:"Registry URL"`
}
type FetchTemplateRegistryOutput ¶
type FetchTemplateRegistryOutput struct {
Body base.ApiResponse[template.RemoteRegistry]
}
type FileContentResponse ¶
type FontsHandler ¶
type FontsHandler struct {
// contains filtered or unexported fields
}
FontsHandler provides Huma-based font endpoints.
func (*FontsHandler) GetMonoFont ¶
func (h *FontsHandler) GetMonoFont(ctx context.Context, input *struct{}) (*GetFontOutput, error)
GetMonoFont returns the monospace font.
func (*FontsHandler) GetSansFont ¶
func (h *FontsHandler) GetSansFont(ctx context.Context, input *struct{}) (*GetFontOutput, error)
GetSansFont returns the sans-serif font.
type GetAllNotificationSettingsInput ¶
type GetAllNotificationSettingsInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
}
type GetAllNotificationSettingsOutput ¶
type GetAllNotificationSettingsOutput struct {
Body []notification.Response
}
type GetAllTemplatesInput ¶
type GetAllTemplatesInput struct{}
type GetAllTemplatesOutput ¶
type GetAllTemplatesOutput struct {
Body base.ApiResponse[[]template.Template]
}
type GetApiKeyInput ¶
type GetApiKeyInput struct {
ID string `path:"id" doc:"API key ID"`
}
type GetApiKeyOutput ¶
type GetApiKeyOutput struct {
Body base.ApiResponse[apikey.ApiKey]
}
type GetAppImageOutput ¶
type GetAppVersionInput ¶
type GetAppVersionInput struct{}
type GetAppVersionOutput ¶
type GetAppriseSettingsInput ¶
type GetAppriseSettingsInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
}
type GetAppriseSettingsOutput ¶
type GetAppriseSettingsOutput struct {
Body notification.AppriseResponse
}
type GetBuildFileContentOutput ¶
type GetBuildFileContentOutput struct {
Body base.ApiResponse[BuildFileContentResponse]
}
type GetCategoriesOutput ¶
type GetContainerInput ¶
type GetContainerOutput ¶
type GetContainerOutput struct {
Body ContainerDetailsResponse
}
type GetContainerRegistryInput ¶
type GetContainerRegistryInput struct {
ID string `path:"id" doc:"Registry ID"`
}
type GetContainerRegistryOutput ¶
type GetContainerRegistryOutput struct {
Body base.ApiResponse[containerregistry.ContainerRegistry]
}
type GetContainerRegistryPullUsageOutput ¶
type GetContainerRegistryPullUsageOutput struct {
Body base.ApiResponse[containerregistry.PullUsageResponse]
}
type GetContainerStatusCountsOutput ¶
type GetContainerStatusCountsOutput struct {
Body ContainerStatusCountsResponse
}
type GetCurrentUserOutput ¶
type GetCurrentUserOutput struct {
Body base.ApiResponse[user.User]
}
type GetCustomizeCategoriesInput ¶
type GetCustomizeCategoriesInput struct{}
type GetDashboardActionItemsOutput ¶
type GetDashboardActionItemsOutput struct {
Body base.ApiResponse[dashboardtypes.ActionItems]
}
type GetDashboardEnvironmentsOverviewInput ¶
type GetDashboardEnvironmentsOverviewInput struct {
DebugAllGood bool `query:"debugAllGood" default:"false" doc:"Debug mode: force empty action item lists"`
}
type GetDashboardEnvironmentsOverviewOutput ¶
type GetDashboardEnvironmentsOverviewOutput struct {
Body base.ApiResponse[dashboardtypes.EnvironmentsOverview]
}
type GetDashboardInput ¶
type GetDashboardOutput ¶
type GetDashboardOutput struct {
Body base.ApiResponse[dashboardtypes.Snapshot]
}
type GetDefaultTemplatesInput ¶
type GetDefaultTemplatesInput struct{}
type GetDefaultTemplatesOutput ¶
type GetDefaultTemplatesOutput struct {
Body base.ApiResponse[template.DefaultTemplatesResponse]
}
type GetDeploymentSnippetsInput ¶
type GetDeploymentSnippetsInput struct {
ID string `path:"id" doc:"Environment ID"`
}
type GetDeploymentSnippetsOutput ¶
type GetDeploymentSnippetsOutput struct {
Body base.ApiResponse[DeploymentSnippet]
}
type GetDockerInfoInput ¶
type GetDockerInfoInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
}
type GetDockerInfoOutput ¶
type GetDockerInfoOutput struct {
Body dockerinfo.Info
}
type GetEnvironmentInput ¶
type GetEnvironmentInput struct {
ID string `path:"id" doc:"Environment ID"`
}
type GetEnvironmentOutput ¶
type GetEnvironmentOutput struct {
Body base.ApiResponse[environment.Environment]
}
type GetEnvironmentSummaryInput ¶
type GetEnvironmentSummaryInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
}
type GetEnvironmentSummaryOutput ¶
type GetEnvironmentSummaryOutput struct {
Body base.ApiResponse[vulnerability.EnvironmentVulnerabilitySummary]
}
type GetEnvironmentVersionInput ¶
type GetEnvironmentVersionInput struct {
ID string `path:"id" doc:"Environment ID"`
}
type GetEnvironmentVersionOutput ¶
type GetEnvironmentVersionOutput struct {
Body base.ApiResponse[version.Info]
}
type GetEventsByEnvironmentInput ¶
type GetEventsByEnvironmentInput struct {
EnvironmentID string `path:"environmentId" doc:"Environment ID"`
Search string `query:"search" doc:"Search query"`
Sort string `query:"sort" doc:"Column to sort by"`
Order string `query:"order" default:"asc" doc:"Sort direction"`
Start int `query:"start" default:"0" doc:"Start index"`
Limit int `query:"limit" default:"20" doc:"Limit"`
Severity string `query:"severity" doc:"Filter by severity"`
Type string `query:"type" doc:"Filter by event type"`
}
type GetEventsByEnvironmentOutput ¶
type GetEventsByEnvironmentOutput struct {
Body EventPaginatedResponse
}
type GetFileContentInput ¶
type GetFileContentOutput ¶
type GetFileContentOutput struct {
Body base.ApiResponse[FileContentResponse]
}
type GetFontOutput ¶
type GetGitOpsSyncInput ¶
type GetGitOpsSyncOutput ¶
type GetGitOpsSyncOutput struct {
Body base.ApiResponse[gitops.GitOpsSync]
}
type GetGitRepositoryInput ¶
type GetGitRepositoryInput struct {
ID string `path:"id" doc:"Repository ID"`
}
type GetGitRepositoryOutput ¶
type GetGitRepositoryOutput struct {
Body base.ApiResponse[gitops.GitRepository]
}
type GetGlobalVariablesInput ¶
type GetGlobalVariablesInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
}
type GetGlobalVariablesOutput ¶
type GetGlobalVariablesOutput struct {
Body base.ApiResponse[[]env.Variable]
}
type GetImageBuildInput ¶
type GetImageBuildOutput ¶
type GetImageBuildOutput struct {
Body base.ApiResponse[image.BuildRecord]
}
type GetImageInput ¶
type GetImageOutput ¶
type GetImageOutput struct {
Body base.ApiResponse[image.DetailSummary]
}
type GetImageUsageCountsInput ¶
type GetImageUsageCountsInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
}
type GetImageUsageCountsOutput ¶
type GetImageUsageCountsOutput struct {
Body ImageUsageCountsResponse
}
type GetJobSchedulesInput ¶
type GetJobSchedulesInput struct {
ID string `path:"id" doc:"Environment ID"`
}
type GetJobSchedulesOutput ¶
type GetJobSchedulesOutput struct {
Body jobschedule.Config
}
type GetJobsOutput ¶
type GetJobsOutput struct {
Body jobschedule.JobListResponse
}
type GetLogoInput ¶
type GetNetworkCountsInput ¶
type GetNetworkCountsInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
}
type GetNetworkCountsOutput ¶
type GetNetworkCountsOutput struct {
Body NetworkCountsApiResponse
}
type GetNetworkInput ¶
type GetNetworkOutput ¶
type GetNetworkOutput struct {
Body NetworkInspectApiResponse
}
type GetNetworkTopologyInput ¶
type GetNetworkTopologyInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
}
type GetNetworkTopologyOutput ¶
type GetNetworkTopologyOutput struct {
Body NetworkTopologyApiResponse
}
type GetNotificationSettingsOutput ¶
type GetNotificationSettingsOutput struct {
Body notification.Response
}
type GetOidcAuthUrlInput ¶
type GetOidcAuthUrlInput struct {
OidcHeaders
Body auth.OidcAuthUrlRequest
}
type GetOidcAuthUrlOutput ¶
type GetOidcAuthUrlOutput struct {
SetCookie string `header:"Set-Cookie" doc:"OIDC state cookie"`
Body auth.OidcAuthUrlResponse
}
type GetOidcConfigInput ¶
type GetOidcConfigInput struct {
OidcHeaders
}
type GetOidcConfigOutput ¶
type GetOidcConfigOutput struct {
Body auth.OidcConfigResponse
}
type GetOidcStatusInput ¶
type GetOidcStatusInput struct{}
type GetOidcStatusOutput ¶
type GetOidcStatusOutput struct {
Body auth.OidcStatusInfo
}
type GetPWAIconInput ¶
type GetPWAIconInput struct {
Filename string `path:"filename" example:"icon-192x192.png" doc:"PWA icon filename"`
}
type GetProjectFileInput ¶
type GetProjectFileOutput ¶
type GetProjectFileOutput struct {
Body base.ApiResponse[project.IncludeFile]
}
type GetProjectInput ¶
type GetProjectOutput ¶
type GetProjectOutput struct {
Body base.ApiResponse[project.Details]
}
type GetProjectStatusCountsInput ¶
type GetProjectStatusCountsInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
}
type GetProjectStatusCountsOutput ¶
type GetProjectStatusCountsOutput struct {
Body base.ApiResponse[project.StatusCounts]
}
type GetPublicSettingsInput ¶
type GetPublicSettingsInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
}
type GetPublicSettingsOutput ¶
type GetPublicSettingsOutput struct {
Body []settings.PublicSetting
}
type GetScanResultInput ¶
type GetScanResultOutput ¶
type GetScanResultOutput struct {
Body base.ApiResponse[vulnerability.ScanResult]
}
type GetScanSummariesInput ¶
type GetScanSummariesInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
Body vulnerability.ScanSummariesRequest `doc:"Batch scan summary request"`
}
type GetScanSummariesOutput ¶
type GetScanSummariesOutput struct {
Body base.ApiResponse[vulnerability.ScanSummariesResponse]
}
type GetScanSummaryInput ¶
type GetScanSummaryOutput ¶
type GetScanSummaryOutput struct {
Body base.ApiResponse[vulnerability.ScanSummary]
}
type GetScannerStatusInput ¶
type GetScannerStatusInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
}
type GetScannerStatusOutput ¶
type GetScannerStatusOutput struct {
Body base.ApiResponse[ScannerStatus]
}
type GetSettingsInput ¶
type GetSettingsInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
}
type GetSettingsOutput ¶
type GetSettingsOutput struct {
Body []settings.PublicSetting
}
type GetSwarmConfigInput ¶
type GetSwarmConfigOutput ¶
type GetSwarmConfigOutput struct {
Body base.ApiResponse[swarmtypes.ConfigSummary]
}
type GetSwarmInfoInput ¶
type GetSwarmInfoInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
}
type GetSwarmInfoOutput ¶
type GetSwarmInfoOutput struct {
Body base.ApiResponse[swarmtypes.SwarmInfo]
}
type GetSwarmJoinTokensInput ¶
type GetSwarmJoinTokensInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
}
type GetSwarmJoinTokensOutput ¶
type GetSwarmJoinTokensOutput struct {
Body base.ApiResponse[swarmtypes.SwarmJoinTokensResponse]
}
type GetSwarmNodeAgentDeploymentOutput ¶
type GetSwarmNodeAgentDeploymentOutput struct {
Body base.ApiResponse[SwarmNodeAgentDeployment]
}
type GetSwarmNodeIdentityInput ¶
type GetSwarmNodeIdentityInput struct{}
type GetSwarmNodeIdentityOutput ¶
type GetSwarmNodeIdentityOutput struct {
Body base.ApiResponse[services.SwarmNodeIdentity]
}
type GetSwarmNodeInput ¶
type GetSwarmNodeOutput ¶
type GetSwarmNodeOutput struct {
Body base.ApiResponse[swarmtypes.NodeSummary]
}
type GetSwarmSecretInput ¶
type GetSwarmSecretOutput ¶
type GetSwarmSecretOutput struct {
Body base.ApiResponse[swarmtypes.SecretSummary]
}
type GetSwarmServiceInput ¶
type GetSwarmServiceOutput ¶
type GetSwarmServiceOutput struct {
Body base.ApiResponse[swarmtypes.ServiceInspect]
}
type GetSwarmStackInput ¶
type GetSwarmStackOutput ¶
type GetSwarmStackOutput struct {
Body base.ApiResponse[swarmtypes.StackInspect]
}
type GetSwarmStackSourceOutput ¶
type GetSwarmStackSourceOutput struct {
Body base.ApiResponse[swarmtypes.StackSource]
}
type GetSwarmStatusInput ¶
type GetSwarmStatusInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
}
type GetSwarmStatusOutput ¶
type GetSwarmStatusOutput struct {
Body base.ApiResponse[swarmtypes.RuntimeStatus]
}
type GetSwarmUnlockKeyInput ¶
type GetSwarmUnlockKeyInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
}
type GetSwarmUnlockKeyOutput ¶
type GetSwarmUnlockKeyOutput struct {
Body base.ApiResponse[swarmtypes.SwarmUnlockKeyResponse]
}
type GetSyncStatusInput ¶
type GetSyncStatusOutput ¶
type GetSyncStatusOutput struct {
Body base.ApiResponse[gitops.SyncStatus]
}
type GetTemplateContentInput ¶
type GetTemplateContentInput struct {
ID string `path:"id" doc:"Template ID"`
}
type GetTemplateContentOutput ¶
type GetTemplateContentOutput struct {
Body base.ApiResponse[template.TemplateContent]
}
type GetTemplateInput ¶
type GetTemplateInput struct {
ID string `path:"id" doc:"Template ID"`
}
type GetTemplateOutput ¶
type GetTemplateOutput struct {
Body base.ApiResponse[template.Template]
}
type GetTemplateRegistriesInput ¶
type GetTemplateRegistriesInput struct{}
type GetTemplateRegistriesOutput ¶
type GetTemplateRegistriesOutput struct {
Body base.ApiResponse[[]template.TemplateRegistry]
}
type GetUpdateInfoByRefsOutput ¶
type GetUpdateInfoByRefsOutput struct {
Body base.ApiResponse[map[string]*imagetypes.UpdateInfo]
}
type GetUpdateSummaryInput ¶
type GetUpdateSummaryInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
}
type GetUpdateSummaryOutput ¶
type GetUpdateSummaryOutput struct {
Body base.ApiResponse[imageupdate.Summary]
}
type GetUpdaterHistoryInput ¶
type GetUpdaterHistoryOutput ¶
type GetUpdaterHistoryOutput struct {
Body base.ApiResponse[[]models.AutoUpdateRecord]
}
type GetUpdaterStatusInput ¶
type GetUpdaterStatusInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
}
type GetUpdaterStatusOutput ¶
type GetUpdaterStatusOutput struct {
Body base.ApiResponse[updater.Status]
}
type GetUserInput ¶
type GetUserInput struct {
UserID string `path:"userId" doc:"User ID"`
}
type GetUserOutput ¶
type GetUserOutput struct {
Body base.ApiResponse[user.User]
}
type GetVersionInput ¶
type GetVersionInput struct {
Current string `query:"current" doc:"Current version to compare against"`
}
type GetVersionOutput ¶
type GetVolumeInput ¶
type GetVolumeOutput ¶
type GetVolumeOutput struct {
Body base.ApiResponse[*volumetypes.Volume]
}
type GetVolumeSizesInput ¶
type GetVolumeSizesInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
}
type GetVolumeSizesOutput ¶
type GetVolumeSizesOutput struct {
Body base.ApiResponse[[]VolumeSizeInfo]
}
type GetVolumeUsageCountsOutput ¶
type GetVolumeUsageCountsOutput struct {
Body base.ApiResponse[VolumeUsageCountsData]
}
type GetVolumeUsageInput ¶
type GetVolumeUsageOutput ¶
type GetVolumeUsageOutput struct {
Body base.ApiResponse[VolumeUsageResponse]
}
type GitOpsSyncHandler ¶
type GitOpsSyncHandler struct {
// contains filtered or unexported fields
}
GitOpsSyncHandler handles GitOps sync management endpoints.
func (*GitOpsSyncHandler) BrowseFiles ¶
func (h *GitOpsSyncHandler) BrowseFiles(ctx context.Context, input *BrowseSyncFilesInput) (*BrowseSyncFilesOutput, error)
BrowseFiles returns the file tree at the specified path in the repository.
func (*GitOpsSyncHandler) CreateSync ¶
func (h *GitOpsSyncHandler) CreateSync(ctx context.Context, input *CreateGitOpsSyncInput) (*CreateGitOpsSyncOutput, error)
CreateSync creates a new GitOps sync.
func (*GitOpsSyncHandler) DeleteSync ¶
func (h *GitOpsSyncHandler) DeleteSync(ctx context.Context, input *DeleteGitOpsSyncInput) (*DeleteGitOpsSyncOutput, error)
DeleteSync deletes a GitOps sync by ID.
func (*GitOpsSyncHandler) GetStatus ¶
func (h *GitOpsSyncHandler) GetStatus(ctx context.Context, input *GetSyncStatusInput) (*GetSyncStatusOutput, error)
GetStatus returns the current status of a GitOps sync.
func (*GitOpsSyncHandler) GetSync ¶
func (h *GitOpsSyncHandler) GetSync(ctx context.Context, input *GetGitOpsSyncInput) (*GetGitOpsSyncOutput, error)
GetSync returns a GitOps sync by ID.
func (*GitOpsSyncHandler) ImportSyncs ¶
func (h *GitOpsSyncHandler) ImportSyncs(ctx context.Context, input *ImportGitOpsSyncsInput) (*ImportGitOpsSyncsOutput, error)
ImportSyncs imports multiple GitOps syncs.
func (*GitOpsSyncHandler) ListSyncs ¶
func (h *GitOpsSyncHandler) ListSyncs(ctx context.Context, input *ListGitOpsSyncsInput) (*ListGitOpsSyncsOutput, error)
ListSyncs returns a paginated list of GitOps syncs.
func (*GitOpsSyncHandler) PerformSync ¶
func (h *GitOpsSyncHandler) PerformSync(ctx context.Context, input *PerformSyncInput) (*PerformSyncOutput, error)
PerformSync manually triggers a sync operation.
func (*GitOpsSyncHandler) UpdateSync ¶
func (h *GitOpsSyncHandler) UpdateSync(ctx context.Context, input *UpdateGitOpsSyncInput) (*UpdateGitOpsSyncOutput, error)
UpdateSync updates an existing GitOps sync.
type GitOpsSyncPaginatedResponse ¶
type GitOpsSyncPaginatedResponse struct {
Success bool `json:"success"`
Data []gitops.GitOpsSync `json:"data"`
Counts gitops.SyncCounts `json:"counts"`
Pagination base.PaginationResponse `json:"pagination"`
}
GitOpsSyncPaginatedResponse is the paginated response for GitOps syncs.
type GitRepositoryHandler ¶
type GitRepositoryHandler struct {
// contains filtered or unexported fields
}
GitRepositoryHandler handles git repository management endpoints.
func (*GitRepositoryHandler) BrowseFiles ¶
func (h *GitRepositoryHandler) BrowseFiles(ctx context.Context, input *BrowseFilesInput) (*BrowseFilesOutput, error)
BrowseFiles returns files and directories from a git repository.
func (*GitRepositoryHandler) CreateRepository ¶
func (h *GitRepositoryHandler) CreateRepository(ctx context.Context, input *CreateGitRepositoryInput) (*CreateGitRepositoryOutput, error)
CreateRepository creates a new git repository.
func (*GitRepositoryHandler) DeleteRepository ¶
func (h *GitRepositoryHandler) DeleteRepository(ctx context.Context, input *DeleteGitRepositoryInput) (*DeleteGitRepositoryOutput, error)
DeleteRepository deletes a git repository by ID.
func (*GitRepositoryHandler) GetRepository ¶
func (h *GitRepositoryHandler) GetRepository(ctx context.Context, input *GetGitRepositoryInput) (*GetGitRepositoryOutput, error)
GetRepository returns a git repository by ID.
func (*GitRepositoryHandler) ListBranches ¶
func (h *GitRepositoryHandler) ListBranches(ctx context.Context, input *ListBranchesInput) (*ListBranchesOutput, error)
ListBranches returns all branches from a git repository.
func (*GitRepositoryHandler) ListRepositories ¶
func (h *GitRepositoryHandler) ListRepositories(ctx context.Context, input *ListGitRepositoriesInput) (*ListGitRepositoriesOutput, error)
ListRepositories returns a paginated list of git repositories.
func (*GitRepositoryHandler) SyncRepositories ¶
func (h *GitRepositoryHandler) SyncRepositories(ctx context.Context, input *SyncGitRepositoriesInput) (*SyncGitRepositoriesOutput, error)
SyncRepositories syncs git repositories from a manager to this agent instance.
func (*GitRepositoryHandler) TestRepository ¶
func (h *GitRepositoryHandler) TestRepository(ctx context.Context, input *TestGitRepositoryInput) (*TestGitRepositoryOutput, error)
TestRepository tests connectivity and authentication to a git repository.
func (*GitRepositoryHandler) UpdateRepository ¶
func (h *GitRepositoryHandler) UpdateRepository(ctx context.Context, input *UpdateGitRepositoryInput) (*UpdateGitRepositoryOutput, error)
UpdateRepository updates an existing git repository.
type GitRepositoryPaginatedResponse ¶
type GitRepositoryPaginatedResponse struct {
Success bool `json:"success"`
Data []gitops.GitRepository `json:"data"`
Pagination base.PaginationResponse `json:"pagination"`
}
GitRepositoryPaginatedResponse is the paginated response for git repositories.
type HandleOidcCallbackInput ¶
type HandleOidcCallbackInput struct {
OidcHeaders
OidcStateCookie string `cookie:"oidc_state" doc:"OIDC state cookie from auth URL request"`
Body auth.OidcCallbackRequest
}
type HandleOidcCallbackOutput ¶
type HandleOidcCallbackOutput struct {
SetCookie []string `header:"Set-Cookie" doc:"Session and clear state cookies"`
Body auth.OidcCallbackResponse
}
type HealthOutput ¶
type HealthOutput struct {
Body system.HealthResponse
}
HealthOutput is the response for health check
type IgnoreVulnerabilityInput ¶
type IgnoreVulnerabilityInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
Body vulnerability.IgnorePayload
}
type IgnoreVulnerabilityOutput ¶
type IgnoreVulnerabilityOutput struct {
Body base.ApiResponse[vulnerability.IgnoredVulnerability]
}
type ImageBuildPaginatedResponse ¶
type ImageBuildPaginatedResponse struct {
Success bool `json:"success"`
Data []image.BuildRecord `json:"data"`
Pagination base.PaginationResponse `json:"pagination"`
}
type ImageHandler ¶
type ImageHandler struct {
// contains filtered or unexported fields
}
ImageHandler provides Huma-based image management endpoints.
func (*ImageHandler) BuildImage ¶
func (h *ImageHandler) BuildImage(ctx context.Context, input *BuildImageInput) (*huma.StreamResponse, error)
BuildImage builds a Docker image with streaming progress.
func (*ImageHandler) GetImage ¶
func (h *ImageHandler) GetImage(ctx context.Context, input *GetImageInput) (*GetImageOutput, error)
GetImage returns an image by ID.
func (*ImageHandler) GetImageBuild ¶
func (h *ImageHandler) GetImageBuild(ctx context.Context, input *GetImageBuildInput) (*GetImageBuildOutput, error)
GetImageBuild returns a single build history entry.
func (*ImageHandler) GetImageUsageCounts ¶
func (h *ImageHandler) GetImageUsageCounts(ctx context.Context, input *GetImageUsageCountsInput) (*GetImageUsageCountsOutput, error)
GetImageUsageCounts returns counts of images by usage status.
func (*ImageHandler) ListImageBuilds ¶
func (h *ImageHandler) ListImageBuilds(ctx context.Context, input *ListImageBuildsInput) (*ListImageBuildsOutput, error)
ListImageBuilds returns a paginated list of image build history entries.
func (*ImageHandler) ListImages ¶
func (h *ImageHandler) ListImages(ctx context.Context, input *ListImagesInput) (*ListImagesOutput, error)
ListImages returns a paginated list of images.
func (*ImageHandler) PruneImages ¶
func (h *ImageHandler) PruneImages(ctx context.Context, input *PruneImagesInput) (*PruneImagesOutput, error)
PruneImages removes unused Docker images.
func (*ImageHandler) PullImage ¶
func (h *ImageHandler) PullImage(ctx context.Context, input *PullImageInput) (*huma.StreamResponse, error)
PullImage pulls a Docker image with streaming progress.
func (*ImageHandler) RemoveImage ¶
func (h *ImageHandler) RemoveImage(ctx context.Context, input *RemoveImageInput) (*RemoveImageOutput, error)
RemoveImage removes a Docker image.
func (*ImageHandler) UploadImage ¶
func (h *ImageHandler) UploadImage(ctx context.Context, input *UploadImageInput) (*UploadImageOutput, error)
UploadImage uploads a Docker image from a tar archive.
type ImagePaginatedResponse ¶
type ImagePaginatedResponse struct {
Success bool `json:"success"`
Data []image.Summary `json:"data"`
Pagination base.PaginationResponse `json:"pagination"`
}
ImagePaginatedResponse is the paginated response for images.
type ImageUpdateHandler ¶
type ImageUpdateHandler struct {
// contains filtered or unexported fields
}
func (*ImageUpdateHandler) CheckAllImages ¶
func (h *ImageUpdateHandler) CheckAllImages(ctx context.Context, input *CheckAllImagesInput) (*CheckAllImagesOutput, error)
func (*ImageUpdateHandler) CheckImageUpdate ¶
func (h *ImageUpdateHandler) CheckImageUpdate(ctx context.Context, input *CheckImageUpdateInput) (*CheckImageUpdateOutput, error)
func (*ImageUpdateHandler) CheckImageUpdateByID ¶
func (h *ImageUpdateHandler) CheckImageUpdateByID(ctx context.Context, input *CheckImageUpdateByIDInput) (*CheckImageUpdateByIDOutput, error)
func (*ImageUpdateHandler) CheckMultipleImages ¶
func (h *ImageUpdateHandler) CheckMultipleImages(ctx context.Context, input *CheckMultipleImagesInput) (*CheckMultipleImagesOutput, error)
func (*ImageUpdateHandler) GetUpdateInfoByRefs ¶
func (h *ImageUpdateHandler) GetUpdateInfoByRefs(ctx context.Context, input *GetUpdateInfoByRefsInput) (*GetUpdateInfoByRefsOutput, error)
func (*ImageUpdateHandler) GetUpdateSummary ¶
func (h *ImageUpdateHandler) GetUpdateSummary(ctx context.Context, input *GetUpdateSummaryInput) (*GetUpdateSummaryOutput, error)
type ImageUsageCountsResponse ¶
type ImageUsageCountsResponse struct {
Success bool `json:"success"`
Data image.UsageCounts `json:"data"`
}
type ImportGitOpsSyncsInput ¶
type ImportGitOpsSyncsInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
Body []gitops.ImportGitOpsSyncRequest
}
type ImportGitOpsSyncsOutput ¶
type ImportGitOpsSyncsOutput struct {
Body base.ApiResponse[gitops.ImportGitOpsSyncResponse]
}
type InitSwarmInput ¶
type InitSwarmInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
Body swarmtypes.SwarmInitRequest
}
type InitSwarmOutput ¶
type InitSwarmOutput struct {
Body base.ApiResponse[swarmtypes.SwarmInitResponse]
}
type InitiateDeviceAuthInput ¶
type InitiateDeviceAuthInput struct{}
type InitiateDeviceAuthOutput ¶
type InitiateDeviceAuthOutput struct {
Body auth.OidcDeviceAuthResponse
}
type JobSchedulesHandler ¶
type JobSchedulesHandler struct {
// contains filtered or unexported fields
}
func (*JobSchedulesHandler) Get ¶
func (h *JobSchedulesHandler) Get(ctx context.Context, input *GetJobSchedulesInput) (*GetJobSchedulesOutput, error)
func (*JobSchedulesHandler) ListJobs ¶
func (h *JobSchedulesHandler) ListJobs(ctx context.Context, input *ListJobsInput) (*GetJobsOutput, error)
func (*JobSchedulesHandler) RunJob ¶
func (h *JobSchedulesHandler) RunJob(ctx context.Context, input *RunJobInput) (*RunJobOutput, error)
func (*JobSchedulesHandler) Update ¶
func (h *JobSchedulesHandler) Update(ctx context.Context, input *UpdateJobSchedulesInput) (*UpdateJobSchedulesOutput, error)
type JoinSwarmInput ¶
type JoinSwarmInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
Body swarmtypes.SwarmJoinRequest
}
type JoinSwarmOutput ¶
type JoinSwarmOutput struct {
Body base.ApiResponse[base.MessageResponse]
}
type LeaveSwarmInput ¶
type LeaveSwarmInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
Body swarmtypes.SwarmLeaveRequest
}
type LeaveSwarmOutput ¶
type LeaveSwarmOutput struct {
Body base.ApiResponse[base.MessageResponse]
}
type ListAllVulnerabilitiesInput ¶
type ListAllVulnerabilitiesInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
Search string `query:"search" doc:"Search query"`
Sort string `query:"sort" doc:"Sort field"`
Order string `query:"order" doc:"Sort order"`
Start int `query:"start" doc:"Start offset"`
Limit int `query:"limit" doc:"Limit"`
Page int `query:"page" doc:"Page number"`
Severity string `query:"severity" doc:"Comma-separated severity filter"`
ImageName string `query:"imageName" doc:"Filter by image/repo name (substring)"`
}
type ListAllVulnerabilitiesOutput ¶
type ListAllVulnerabilitiesOutput struct {
Body base.Paginated[vulnerability.VulnerabilityWithImage]
}
type ListAllVulnerabilityImageOptionsOutput ¶
type ListAllVulnerabilityImageOptionsOutput struct {
Body base.ApiResponse[[]string]
}
type ListApiKeysInput ¶
type ListApiKeysInput struct {
Search string `query:"search" doc:"Search query for filtering by name or description"`
Sort string `query:"sort" doc:"Column to sort by"`
Order string `query:"order" default:"asc" doc:"Sort direction (asc or desc)"`
Start int `query:"start" default:"0" doc:"Start index for pagination"`
Limit int `query:"limit" default:"20" doc:"Number of items per page"`
}
type ListApiKeysOutput ¶
type ListApiKeysOutput struct {
Body ApiKeyPaginatedResponse
}
type ListBackupFilesInput ¶
type ListBackupFilesOutput ¶
type ListBackupFilesOutput struct {
Body base.ApiResponse[[]string]
}
type ListBackupsInput ¶
type ListBackupsInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
VolumeName string `path:"volumeName" doc:"Volume name"`
Search string `query:"search" doc:"Search query"`
Sort string `query:"sort" doc:"Column to sort by"`
Order string `query:"order" default:"asc" doc:"Sort direction"`
Start int `query:"start" default:"0" doc:"Start index"`
Limit int `query:"limit" default:"20" doc:"Limit"`
}
type ListBackupsOutput ¶
type ListBackupsOutput struct {
Body VolumeBackupPaginatedResponse
}
type ListBranchesInput ¶
type ListBranchesInput struct {
ID string `path:"id" doc:"Repository ID"`
}
type ListBranchesOutput ¶
type ListBranchesOutput struct {
Body base.ApiResponse[gitops.BranchesResponse]
}
type ListContainerRegistriesInput ¶
type ListContainerRegistriesInput struct {
Search string `query:"search" doc:"Search query"`
Sort string `query:"sort" doc:"Column to sort by"`
Order string `query:"order" default:"asc" doc:"Sort direction"`
Start int `query:"start" default:"0" doc:"Start index"`
Limit int `query:"limit" default:"20" doc:"Items per page"`
}
type ListContainerRegistriesOutput ¶
type ListContainerRegistriesOutput struct {
Body ContainerRegistryPaginatedResponse
}
type ListContainersInput ¶
type ListContainersInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
Search string `query:"search" doc:"Search query"`
Sort string `query:"sort" doc:"Column to sort by"`
Order string `query:"order" default:"asc" doc:"Sort direction"`
Start int `query:"start" default:"0" doc:"Start index"`
Limit int `query:"limit" default:"20" doc:"Limit"`
GroupBy string `query:"groupBy" doc:"Optional grouping mode (for example: project)"`
IncludeInternal bool `query:"includeInternal" default:"false" doc:"Include internal containers"`
Updates string `query:"updates" doc:"Filter by update status (has_update, up_to_date, error, unknown)"`
Standalone string `query:"standalone" doc:"Filter standalone containers only (true/false)"`
}
type ListContainersOutput ¶
type ListContainersOutput struct {
Body ContainerPaginatedResponse
}
type ListEnvironmentsInput ¶
type ListEnvironmentsInput struct {
Search string `query:"search" doc:"Search query for filtering by name or API URL"`
Sort string `query:"sort" doc:"Column to sort by"`
Order string `query:"order" default:"asc" doc:"Sort direction (asc or desc)"`
Start int `query:"start" default:"0" doc:"Start index for pagination"`
Limit int `query:"limit" default:"20" doc:"Items per page"`
Type string `query:"type" doc:"Filter by environment type (comma-separated: http,edge,websocket,grpc,polling)"`
}
type ListEnvironmentsOutput ¶
type ListEnvironmentsOutput struct {
Body EnvironmentPaginatedResponse
}
type ListEventsInput ¶
type ListEventsInput struct {
Search string `query:"search" doc:"Search query"`
Sort string `query:"sort" doc:"Column to sort by"`
Order string `query:"order" default:"asc" doc:"Sort direction"`
Start int `query:"start" default:"0" doc:"Start index"`
Limit int `query:"limit" default:"20" doc:"Limit"`
Severity string `query:"severity" doc:"Filter by severity"`
Type string `query:"type" doc:"Filter by event type"`
}
type ListEventsOutput ¶
type ListEventsOutput struct {
Body EventPaginatedResponse
}
type ListGitOpsSyncsInput ¶
type ListGitOpsSyncsInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
Search string `query:"search" doc:"Search query"`
Sort string `query:"sort" doc:"Column to sort by"`
Order string `query:"order" default:"asc" doc:"Sort direction"`
Start int `query:"start" default:"0" doc:"Start index"`
Limit int `query:"limit" default:"20" doc:"Items per page"`
}
type ListGitOpsSyncsOutput ¶
type ListGitOpsSyncsOutput struct {
Body GitOpsSyncPaginatedResponse
}
type ListGitRepositoriesInput ¶
type ListGitRepositoriesInput struct {
Search string `query:"search" doc:"Search query"`
Sort string `query:"sort" doc:"Column to sort by"`
Order string `query:"order" default:"asc" doc:"Sort direction"`
Start int `query:"start" default:"0" doc:"Start index"`
Limit int `query:"limit" default:"20" doc:"Items per page"`
}
type ListGitRepositoriesOutput ¶
type ListGitRepositoriesOutput struct {
Body GitRepositoryPaginatedResponse
}
type ListIgnoredVulnerabilitiesInput ¶
type ListIgnoredVulnerabilitiesInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
Search string `query:"search" doc:"Search query"`
Sort string `query:"sort" doc:"Sort field"`
Order string `query:"order" doc:"Sort order"`
Start int `query:"start" doc:"Start offset"`
Limit int `query:"limit" doc:"Limit"`
Page int `query:"page" doc:"Page number"`
}
type ListIgnoredVulnerabilitiesOutput ¶
type ListIgnoredVulnerabilitiesOutput struct {
Body base.Paginated[vulnerability.IgnoredVulnerability]
}
type ListImageBuildsInput ¶
type ListImageBuildsInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
Search string `query:"search" doc:"Search query"`
Sort string `query:"sort" doc:"Column to sort by"`
Order string `query:"order" default:"desc" doc:"Sort direction (asc or desc)"`
Start int `query:"start" default:"0" doc:"Start index for pagination"`
Limit int `query:"limit" default:"20" doc:"Number of items per page"`
Status string `query:"status" doc:"Filter by status"`
Provider string `query:"provider" doc:"Filter by provider"`
}
type ListImageBuildsOutput ¶
type ListImageBuildsOutput struct {
Body ImageBuildPaginatedResponse
}
type ListImageVulnerabilitiesInput ¶
type ListImageVulnerabilitiesInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
ImageID string `path:"imageId" doc:"Image ID"`
Search string `query:"search" doc:"Search query"`
Sort string `query:"sort" doc:"Sort field"`
Order string `query:"order" doc:"Sort order"`
Start int `query:"start" doc:"Start offset"`
Limit int `query:"limit" doc:"Limit"`
Page int `query:"page" doc:"Page number"`
Severity string `query:"severity" doc:"Comma-separated severity filter"`
}
type ListImageVulnerabilitiesOutput ¶
type ListImageVulnerabilitiesOutput struct {
Body base.Paginated[vulnerability.Vulnerability]
}
type ListImagesInput ¶
type ListImagesInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
Search string `query:"search" doc:"Search query"`
Sort string `query:"sort" doc:"Column to sort by"`
Order string `query:"order" default:"asc" doc:"Sort direction (asc or desc)"`
Start int `query:"start" default:"0" doc:"Start index for pagination"`
Limit int `query:"limit" default:"20" doc:"Number of items per page"`
InUse string `query:"inUse" doc:"Filter by in-use status (true/false)"`
Updates string `query:"updates" doc:"Filter by update availability (true/false)"`
}
type ListImagesOutput ¶
type ListImagesOutput struct {
Body ImagePaginatedResponse
}
type ListJobsInput ¶
type ListJobsInput struct {
ID string `path:"id" doc:"Environment ID"`
}
type ListNetworksInput ¶
type ListNetworksInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
Search string `query:"search" doc:"Search query"`
Sort string `query:"sort" doc:"Column to sort by"`
Order string `query:"order" default:"asc" doc:"Sort direction (asc or desc)"`
Start int `query:"start" default:"0" doc:"Start index for pagination"`
Limit int `query:"limit" default:"20" doc:"Number of items per page"`
InUse string `query:"inUse" doc:"Filter by in-use status (true/false)"`
}
type ListNetworksOutput ¶
type ListNetworksOutput struct {
Body NetworkPaginatedResponse
}
type ListPortsInput ¶
type ListPortsInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
Search string `query:"search" doc:"Search query"`
Sort string `query:"sort" doc:"Column to sort by"`
Order string `query:"order" default:"asc" doc:"Sort direction (asc or desc)"`
Start int `query:"start" default:"0" doc:"Start index for pagination"`
Limit int `query:"limit" default:"20" doc:"Number of items per page"`
}
type ListPortsOutput ¶
type ListPortsOutput struct {
Body PortPaginatedResponse
}
type ListProjectsInput ¶
type ListProjectsInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
Search string `query:"search" doc:"Search query"`
Sort string `query:"sort" doc:"Column to sort by"`
Order string `query:"order" default:"asc" doc:"Sort direction (asc or desc)"`
Start int `query:"start" default:"0" doc:"Start index for pagination"`
Limit int `query:"limit" default:"20" doc:"Number of items per page"`
Status string `query:"status" doc:"Filter by status (comma-separated: running,stopped,partially running)"`
Updates string `query:"updates" doc:"Filter by update status (has_update, up_to_date, error, unknown)"`
Archived string `query:"archived" doc:"Archived filter: 'true' (only archived), 'all' (include archived). Default excludes archived."`
}
type ListProjectsOutput ¶
type ListProjectsOutput struct {
Body ProjectPaginatedResponse
}
type ListSwarmConfigsInput ¶
type ListSwarmConfigsInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
}
type ListSwarmConfigsOutput ¶
type ListSwarmConfigsOutput struct {
Body base.ApiResponse[[]swarmtypes.ConfigSummary]
}
type ListSwarmNodeTasksInput ¶
type ListSwarmNodeTasksInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
NodeID string `path:"nodeId" doc:"Node ID"`
Search string `query:"search" doc:"Search query"`
Sort string `query:"sort" doc:"Column to sort by"`
Order string `query:"order" default:"asc" doc:"Sort direction (asc or desc)"`
Start int `query:"start" default:"0" doc:"Start index for pagination"`
Limit int `query:"limit" default:"20" doc:"Number of items per page"`
}
type ListSwarmNodeTasksOutput ¶
type ListSwarmNodeTasksOutput struct {
Body SwarmPaginatedResponse[swarmtypes.TaskSummary]
}
type ListSwarmNodesInput ¶
type ListSwarmNodesInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
Search string `query:"search" doc:"Search query"`
Sort string `query:"sort" doc:"Column to sort by"`
Order string `query:"order" default:"asc" doc:"Sort direction (asc or desc)"`
Start int `query:"start" default:"0" doc:"Start index for pagination"`
Limit int `query:"limit" default:"20" doc:"Number of items per page"`
}
type ListSwarmNodesOutput ¶
type ListSwarmNodesOutput struct {
Body SwarmPaginatedResponse[swarmtypes.NodeSummary]
}
type ListSwarmSecretsInput ¶
type ListSwarmSecretsInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
}
type ListSwarmSecretsOutput ¶
type ListSwarmSecretsOutput struct {
Body base.ApiResponse[[]swarmtypes.SecretSummary]
}
type ListSwarmServiceTasksInput ¶
type ListSwarmServiceTasksInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
ServiceID string `path:"serviceId" doc:"Service ID"`
Search string `query:"search" doc:"Search query"`
Sort string `query:"sort" doc:"Column to sort by"`
Order string `query:"order" default:"asc" doc:"Sort direction (asc or desc)"`
Start int `query:"start" default:"0" doc:"Start index for pagination"`
Limit int `query:"limit" default:"20" doc:"Number of items per page"`
}
type ListSwarmServiceTasksOutput ¶
type ListSwarmServiceTasksOutput struct {
Body SwarmPaginatedResponse[swarmtypes.TaskSummary]
}
type ListSwarmServicesInput ¶
type ListSwarmServicesInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
Search string `query:"search" doc:"Search query"`
Sort string `query:"sort" doc:"Column to sort by"`
Order string `query:"order" default:"asc" doc:"Sort direction (asc or desc)"`
Start int `query:"start" default:"0" doc:"Start index for pagination"`
Limit int `query:"limit" default:"20" doc:"Number of items per page"`
}
type ListSwarmServicesOutput ¶
type ListSwarmServicesOutput struct {
Body SwarmPaginatedResponse[swarmtypes.ServiceSummary]
}
type ListSwarmStackServicesInput ¶
type ListSwarmStackServicesInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
Name string `path:"name" doc:"Stack name"`
Search string `query:"search" doc:"Search query"`
Sort string `query:"sort" doc:"Column to sort by"`
Order string `query:"order" default:"asc" doc:"Sort direction (asc or desc)"`
Start int `query:"start" default:"0" doc:"Start index for pagination"`
Limit int `query:"limit" default:"20" doc:"Number of items per page"`
}
type ListSwarmStackServicesOutput ¶
type ListSwarmStackServicesOutput struct {
Body SwarmPaginatedResponse[swarmtypes.ServiceSummary]
}
type ListSwarmStackTasksInput ¶
type ListSwarmStackTasksInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
Name string `path:"name" doc:"Stack name"`
Search string `query:"search" doc:"Search query"`
Sort string `query:"sort" doc:"Column to sort by"`
Order string `query:"order" default:"asc" doc:"Sort direction (asc or desc)"`
Start int `query:"start" default:"0" doc:"Start index for pagination"`
Limit int `query:"limit" default:"20" doc:"Number of items per page"`
}
type ListSwarmStackTasksOutput ¶
type ListSwarmStackTasksOutput struct {
Body SwarmPaginatedResponse[swarmtypes.TaskSummary]
}
type ListSwarmStacksInput ¶
type ListSwarmStacksInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
Search string `query:"search" doc:"Search query"`
Sort string `query:"sort" doc:"Column to sort by"`
Order string `query:"order" default:"asc" doc:"Sort direction (asc or desc)"`
Start int `query:"start" default:"0" doc:"Start index for pagination"`
Limit int `query:"limit" default:"20" doc:"Number of items per page"`
}
type ListSwarmStacksOutput ¶
type ListSwarmStacksOutput struct {
Body SwarmPaginatedResponse[swarmtypes.StackSummary]
}
type ListSwarmTasksInput ¶
type ListSwarmTasksInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
Search string `query:"search" doc:"Search query"`
Sort string `query:"sort" doc:"Column to sort by"`
Order string `query:"order" default:"asc" doc:"Sort direction (asc or desc)"`
Start int `query:"start" default:"0" doc:"Start index for pagination"`
Limit int `query:"limit" default:"20" doc:"Number of items per page"`
}
type ListSwarmTasksOutput ¶
type ListSwarmTasksOutput struct {
Body SwarmPaginatedResponse[swarmtypes.TaskSummary]
}
type ListTemplatesInput ¶
type ListTemplatesInput struct {
Search string `query:"search" doc:"Search query"`
Sort string `query:"sort" doc:"Column to sort by"`
Order string `query:"order" default:"asc" doc:"Sort direction"`
Start int `query:"start" default:"0" doc:"Start index"`
Limit int `query:"limit" default:"20" doc:"Items per page"`
Type string `query:"type" doc:"Filter by template type (comma-separated: false,true)"`
}
type ListTemplatesOutput ¶
type ListTemplatesOutput struct {
Body TemplatePaginatedResponse
}
type ListUsersInput ¶
type ListUsersInput struct {
Search string `query:"search" doc:"Search query"`
Sort string `query:"sort" doc:"Column to sort by"`
Order string `query:"order" default:"asc" doc:"Sort direction"`
Start int `query:"start" default:"0" doc:"Start index"`
Limit int `query:"limit" default:"20" doc:"Items per page"`
}
type ListUsersOutput ¶
type ListUsersOutput struct {
Body UserPaginatedResponse
}
type ListVolumesInput ¶
type ListVolumesInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
Search string `query:"search" doc:"Search query"`
Sort string `query:"sort" doc:"Column to sort by"`
Order string `query:"order" default:"asc" doc:"Sort direction (asc or desc)"`
Start int `query:"start" default:"0" doc:"Start index for pagination"`
Limit int `query:"limit" default:"20" doc:"Number of items per page"`
InUse string `query:"inUse" doc:"Filter by in-use status (true/false)"`
IncludeInternal bool `query:"includeInternal" default:"false" doc:"Include internal volumes"`
}
type ListVolumesOutput ¶
type ListVolumesOutput struct {
Body VolumePaginatedResponse
}
type ListWebhooksInput ¶
type ListWebhooksInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
}
type ListWebhooksOutput ¶
type ListWebhooksOutput struct {
Body base.ApiResponse[[]webhook.Summary]
}
type LoginInput ¶
type LoginOutput ¶
type LoginOutput struct {
SetCookie string `header:"Set-Cookie" doc:"Session cookie"`
Body base.ApiResponse[auth.LoginResponse]
}
type LogoutOutput ¶
type LogoutOutput struct {
SetCookie string `header:"Set-Cookie" doc:"Cleared session cookie"`
Body base.ApiResponse[base.MessageResponse]
}
type NetworkCountsApiResponse ¶
type NetworkCountsApiResponse struct {
Success bool `json:"success"`
Data networktypes.UsageCounts `json:"data"`
}
type NetworkCreatedApiResponse ¶
type NetworkCreatedApiResponse struct {
Success bool `json:"success"`
Data networktypes.CreateResponse `json:"data"`
}
type NetworkHandler ¶
type NetworkHandler struct {
// contains filtered or unexported fields
}
func (*NetworkHandler) CreateNetwork ¶
func (h *NetworkHandler) CreateNetwork(ctx context.Context, input *CreateNetworkInput) (*CreateNetworkOutput, error)
func (*NetworkHandler) DeleteNetwork ¶
func (h *NetworkHandler) DeleteNetwork(ctx context.Context, input *DeleteNetworkInput) (*DeleteNetworkOutput, error)
func (*NetworkHandler) GetNetwork ¶
func (h *NetworkHandler) GetNetwork(ctx context.Context, input *GetNetworkInput) (*GetNetworkOutput, error)
func (*NetworkHandler) GetNetworkCounts ¶
func (h *NetworkHandler) GetNetworkCounts(ctx context.Context, input *GetNetworkCountsInput) (*GetNetworkCountsOutput, error)
func (*NetworkHandler) GetNetworkTopology ¶
func (h *NetworkHandler) GetNetworkTopology(ctx context.Context, input *GetNetworkTopologyInput) (*GetNetworkTopologyOutput, error)
func (*NetworkHandler) ListNetworks ¶
func (h *NetworkHandler) ListNetworks(ctx context.Context, input *ListNetworksInput) (*ListNetworksOutput, error)
func (*NetworkHandler) PruneNetworks ¶
func (h *NetworkHandler) PruneNetworks(ctx context.Context, input *PruneNetworksInput) (*PruneNetworksOutput, error)
type NetworkInspectApiResponse ¶
type NetworkInspectApiResponse struct {
Success bool `json:"success"`
Data networktypes.Inspect `json:"data"`
}
NetworkInspectApiResponse is a dedicated response type
type NetworkMessageApiResponse ¶
type NetworkMessageApiResponse struct {
Success bool `json:"success"`
Data base.MessageResponse `json:"data"`
}
NetworkMessageApiResponse is a dedicated response type
type NetworkPaginatedResponse ¶
type NetworkPaginatedResponse struct {
Success bool `json:"success"`
Data []networktypes.Summary `json:"data"`
Counts networktypes.UsageCounts `json:"counts"`
Pagination base.PaginationResponse `json:"pagination"`
}
type NetworkPruneResponse ¶
type NetworkPruneResponse struct {
Success bool `json:"success"`
Data networktypes.PruneReport `json:"data"`
}
NetworkPruneResponse is a dedicated response type
type NetworkTopologyApiResponse ¶
type NetworkTopologyApiResponse struct {
Success bool `json:"success"`
Data networktypes.Topology `json:"data"`
}
type NotificationHandler ¶
type NotificationHandler struct {
// contains filtered or unexported fields
}
func (*NotificationHandler) CreateOrUpdateAppriseSettings ¶
func (h *NotificationHandler) CreateOrUpdateAppriseSettings(ctx context.Context, input *CreateOrUpdateAppriseSettingsInput) (*CreateOrUpdateAppriseSettingsOutput, error)
func (*NotificationHandler) CreateOrUpdateNotificationSettings ¶
func (h *NotificationHandler) CreateOrUpdateNotificationSettings(ctx context.Context, input *CreateOrUpdateNotificationSettingsInput) (*CreateOrUpdateNotificationSettingsOutput, error)
func (*NotificationHandler) DeleteNotificationSettings ¶
func (h *NotificationHandler) DeleteNotificationSettings(ctx context.Context, input *DeleteNotificationSettingsInput) (*DeleteNotificationSettingsOutput, error)
func (*NotificationHandler) DispatchNotification ¶
func (h *NotificationHandler) DispatchNotification(ctx context.Context, input *DispatchNotificationInput) (*DispatchNotificationOutput, error)
func (*NotificationHandler) GetAllNotificationSettings ¶
func (h *NotificationHandler) GetAllNotificationSettings(ctx context.Context, input *GetAllNotificationSettingsInput) (*GetAllNotificationSettingsOutput, error)
func (*NotificationHandler) GetAppriseSettings ¶
func (h *NotificationHandler) GetAppriseSettings(ctx context.Context, input *GetAppriseSettingsInput) (*GetAppriseSettingsOutput, error)
func (*NotificationHandler) GetNotificationSettings ¶
func (h *NotificationHandler) GetNotificationSettings(ctx context.Context, input *GetNotificationSettingsInput) (*GetNotificationSettingsOutput, error)
func (*NotificationHandler) TestAppriseNotification ¶
func (h *NotificationHandler) TestAppriseNotification(ctx context.Context, input *TestAppriseNotificationInput) (*TestAppriseNotificationOutput, error)
func (*NotificationHandler) TestNotification ¶
func (h *NotificationHandler) TestNotification(ctx context.Context, input *TestNotificationInput) (*TestNotificationOutput, error)
type OidcHandler ¶
type OidcHandler struct {
// contains filtered or unexported fields
}
OidcHandler handles OIDC authentication endpoints.
func (*OidcHandler) ExchangeDeviceToken ¶
func (h *OidcHandler) ExchangeDeviceToken(ctx context.Context, input *ExchangeDeviceTokenInput) (*ExchangeDeviceTokenOutput, error)
ExchangeDeviceToken exchanges a device code for authentication tokens.
func (*OidcHandler) GetOidcAuthUrl ¶
func (h *OidcHandler) GetOidcAuthUrl(ctx context.Context, input *GetOidcAuthUrlInput) (*GetOidcAuthUrlOutput, error)
GetOidcAuthUrl generates an OIDC authorization URL and sets the state cookie.
func (*OidcHandler) GetOidcConfig ¶
func (h *OidcHandler) GetOidcConfig(ctx context.Context, input *GetOidcConfigInput) (*GetOidcConfigOutput, error)
GetOidcConfig returns the OIDC client configuration.
func (*OidcHandler) GetOidcStatus ¶
func (h *OidcHandler) GetOidcStatus(ctx context.Context, _ *GetOidcStatusInput) (*GetOidcStatusOutput, error)
GetOidcStatus returns the OIDC configuration status.
func (*OidcHandler) HandleOidcCallback ¶
func (h *OidcHandler) HandleOidcCallback(ctx context.Context, input *HandleOidcCallbackInput) (*HandleOidcCallbackOutput, error)
HandleOidcCallback processes the OIDC callback and completes authentication.
func (*OidcHandler) InitiateDeviceAuth ¶
func (h *OidcHandler) InitiateDeviceAuth(ctx context.Context, _ *InitiateDeviceAuthInput) (*InitiateDeviceAuthOutput, error)
InitiateDeviceAuth initiates the OIDC device authorization flow.
type OidcHeaders ¶
type PairAgentInput ¶
type PairAgentInput struct {
ID string `path:"id" doc:"Environment ID (must be 0 for local)"`
Body *environment.AgentPairRequest `json:"body,omitempty"`
}
type PairAgentOutput ¶
type PairAgentOutput struct {
Body base.ApiResponse[environment.AgentPairResponse]
}
type PairEnvironmentInput ¶
type PairEnvironmentInput struct {
XAPIKey string `header:"X-API-Key" doc:"API key for environment pairing"`
}
type PairEnvironmentOutput ¶
type PairEnvironmentOutput struct {
Body base.ApiResponse[base.MessageResponse]
}
type PerformSyncInput ¶
type PerformSyncOutput ¶
type PerformSyncOutput struct {
Body base.ApiResponse[gitops.SyncResult]
}
type PortHandler ¶
type PortHandler struct {
// contains filtered or unexported fields
}
func (*PortHandler) ListPorts ¶
func (h *PortHandler) ListPorts(ctx context.Context, input *ListPortsInput) (*ListPortsOutput, error)
type PortPaginatedResponse ¶
type PortPaginatedResponse struct {
Success bool `json:"success"`
Data []porttypes.PortMapping `json:"data"`
Pagination base.PaginationResponse `json:"pagination"`
}
type ProjectHandler ¶
type ProjectHandler struct {
// contains filtered or unexported fields
}
ProjectHandler provides Huma-based project management endpoints.
func (*ProjectHandler) ArchiveProject ¶
func (h *ProjectHandler) ArchiveProject(ctx context.Context, input *ArchiveProjectInput) (*ArchiveProjectOutput, error)
func (*ProjectHandler) BuildProjectImages ¶
func (h *ProjectHandler) BuildProjectImages(ctx context.Context, input *BuildProjectInput) (*huma.StreamResponse, error)
BuildProjectImages builds compose services with build directives.
func (*ProjectHandler) CreateProject ¶
func (h *ProjectHandler) CreateProject(ctx context.Context, input *CreateProjectInput) (*CreateProjectOutput, error)
CreateProject creates a new Docker Compose project.
func (*ProjectHandler) DeployProject ¶
func (h *ProjectHandler) DeployProject(ctx context.Context, input *DeployProjectInput) (*huma.StreamResponse, error)
DeployProject deploys a Docker Compose project.
func (*ProjectHandler) DestroyProject ¶
func (h *ProjectHandler) DestroyProject(ctx context.Context, input *DestroyProjectInput) (*DestroyProjectOutput, error)
DestroyProject destroys a Docker Compose project.
func (*ProjectHandler) DownProject ¶
func (h *ProjectHandler) DownProject(ctx context.Context, input *DownProjectInput) (*DownProjectOutput, error)
DownProject brings down a Docker Compose project.
func (*ProjectHandler) GetProject ¶
func (h *ProjectHandler) GetProject(ctx context.Context, input *GetProjectInput) (*GetProjectOutput, error)
GetProject returns a project by ID.
func (*ProjectHandler) GetProjectCompose ¶ added in v1.19.2
func (h *ProjectHandler) GetProjectCompose(ctx context.Context, input *GetProjectInput) (*GetProjectOutput, error)
func (*ProjectHandler) GetProjectFile ¶
func (h *ProjectHandler) GetProjectFile(ctx context.Context, input *GetProjectFileInput) (*GetProjectFileOutput, error)
func (*ProjectHandler) GetProjectFiles ¶ added in v1.19.2
func (h *ProjectHandler) GetProjectFiles(ctx context.Context, input *GetProjectInput) (*GetProjectOutput, error)
func (*ProjectHandler) GetProjectRuntime ¶ added in v1.19.2
func (h *ProjectHandler) GetProjectRuntime(ctx context.Context, input *GetProjectInput) (*GetProjectOutput, error)
func (*ProjectHandler) GetProjectStatusCounts ¶
func (h *ProjectHandler) GetProjectStatusCounts(ctx context.Context, input *GetProjectStatusCountsInput) (*GetProjectStatusCountsOutput, error)
GetProjectStatusCounts returns counts of projects by status.
func (*ProjectHandler) GetProjectUpdates ¶ added in v1.19.2
func (h *ProjectHandler) GetProjectUpdates(ctx context.Context, input *GetProjectInput) (*GetProjectOutput, error)
func (*ProjectHandler) ListProjects ¶
func (h *ProjectHandler) ListProjects(ctx context.Context, input *ListProjectsInput) (*ListProjectsOutput, error)
ListProjects returns a paginated list of projects.
func (*ProjectHandler) PullProjectImages ¶
func (h *ProjectHandler) PullProjectImages(ctx context.Context, input *PullProjectImagesInput) (*huma.StreamResponse, error)
PullProjectImages pulls all images for a project with streaming progress.
func (*ProjectHandler) RedeployProject ¶
func (h *ProjectHandler) RedeployProject(ctx context.Context, input *RedeployProjectInput) (*RedeployProjectOutput, error)
RedeployProject redeploys a Docker Compose project.
func (*ProjectHandler) RestartProject ¶
func (h *ProjectHandler) RestartProject(ctx context.Context, input *RestartProjectInput) (*RestartProjectOutput, error)
RestartProject restarts all containers in a project.
func (*ProjectHandler) UnarchiveProject ¶
func (h *ProjectHandler) UnarchiveProject(ctx context.Context, input *UnarchiveProjectInput) (*UnarchiveProjectOutput, error)
func (*ProjectHandler) UpdateProject ¶
func (h *ProjectHandler) UpdateProject(ctx context.Context, input *UpdateProjectInput) (*UpdateProjectOutput, error)
UpdateProject updates a Docker Compose project.
func (*ProjectHandler) UpdateProjectInclude ¶
func (h *ProjectHandler) UpdateProjectInclude(ctx context.Context, input *UpdateProjectIncludeInput) (*UpdateProjectIncludeOutput, error)
UpdateProjectInclude updates an include file within a project.
type ProjectPaginatedResponse ¶
type ProjectPaginatedResponse struct {
Success bool `json:"success"`
Data []project.Details `json:"data"`
Pagination base.PaginationResponse `json:"pagination"`
}
ProjectPaginatedResponse is the paginated response for projects.
type PromoteSwarmNodeInput ¶
type PromoteSwarmNodeOutput ¶
type PromoteSwarmNodeOutput struct {
Body base.ApiResponse[base.MessageResponse]
}
type PruneAllInput ¶
type PruneAllInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
Body system.PruneAllRequest `doc:"Prune options"`
}
type PruneAllOutput ¶
type PruneAllOutput struct {
Body base.ApiResponse[system.PruneAllResult]
}
type PruneImagesInput ¶
type PruneImagesInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
Dangling bool `query:"dangling" doc:"Only remove dangling images"`
Body *struct {
Mode *string `json:"mode,omitempty"`
Until *string `json:"until,omitempty"`
Dangling *bool `json:"dangling,omitempty"`
Filters map[string][]string `json:"filters,omitempty"`
}
}
type PruneImagesOutput ¶
type PruneImagesOutput struct {
Body base.ApiResponse[image.PruneReport]
}
type PruneNetworksInput ¶
type PruneNetworksInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
}
type PruneNetworksOutput ¶
type PruneNetworksOutput struct {
Body NetworkPruneResponse
}
type PruneVolumesInput ¶
type PruneVolumesInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
}
type PruneVolumesOutput ¶
type PruneVolumesOutput struct {
Body base.ApiResponse[VolumePruneReportData]
}
type PullImageInput ¶
type PullImageInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
Body image.PullOptions
}
type PullProgressEvent ¶
type PullProgressEvent struct {
Status string `json:"status,omitempty"`
ID string `json:"id,omitempty"`
Progress string `json:"progress,omitempty"`
ProgressDetail struct {
Current int64 `json:"current,omitempty"`
Total int64 `json:"total,omitempty"`
} `json:"progressDetail"`
Error string `json:"error,omitempty"`
}
PullProgressEvent represents a Docker pull progress event
type PullProjectImagesInput ¶
type RedeployProjectInput ¶
type RedeployProjectOutput ¶
type RedeployProjectOutput struct {
Body base.ApiResponse[base.MessageResponse]
}
type RefreshTokenInput ¶
type RefreshTokenOutput ¶
type RefreshTokenOutput struct {
SetCookie string `header:"Set-Cookie" doc:"Updated session cookie"`
Body base.ApiResponse[auth.TokenRefreshResponse]
}
type RemoveImageInput ¶
type RemoveImageOutput ¶
type RemoveImageOutput struct {
Body base.ApiResponse[base.MessageResponse]
}
type RemoveVolumeInput ¶
type RemoveVolumeOutput ¶
type RemoveVolumeOutput struct {
Body base.ApiResponse[base.MessageResponse]
}
type RenderSwarmStackConfigInput ¶
type RenderSwarmStackConfigInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
Body swarmtypes.StackRenderConfigRequest
}
type RenderSwarmStackConfigOutput ¶
type RenderSwarmStackConfigOutput struct {
Body base.ApiResponse[swarmtypes.StackRenderConfigResponse]
}
type RestartProjectInput ¶
type RestartProjectOutput ¶
type RestartProjectOutput struct {
Body base.ApiResponse[base.MessageResponse]
}
type RestoreBackupFilesInput ¶
type RestoreBackupFilesOutput ¶
type RestoreBackupFilesOutput struct {
Body base.ApiResponse[base.MessageResponse]
}
type RestoreBackupInput ¶
type RestoreBackupOutput ¶
type RestoreBackupOutput struct {
Body base.ApiResponse[base.MessageResponse]
}
type RollbackSwarmServiceOutput ¶
type RollbackSwarmServiceOutput struct {
Body base.ApiResponse[swarmtypes.ServiceUpdateResponse]
}
type RotateSwarmJoinTokensInput ¶
type RotateSwarmJoinTokensInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
Body swarmtypes.SwarmRotateJoinTokensRequest
}
type RotateSwarmJoinTokensOutput ¶
type RotateSwarmJoinTokensOutput struct {
Body base.ApiResponse[base.MessageResponse]
}
type RunJobInput ¶
type RunJobOutput ¶
type RunJobOutput struct {
Body jobschedule.JobRunResponse
}
type RunUpdaterInput ¶
type RunUpdaterOutput ¶
type RunUpdaterOutput struct {
Body base.ApiResponse[*updater.Result]
}
type SaveDefaultTemplatesInput ¶
type SaveDefaultTemplatesInput struct {
Body template.SaveDefaultTemplatesRequest
}
type SaveDefaultTemplatesOutput ¶
type SaveDefaultTemplatesOutput struct {
Body base.ApiResponse[base.MessageResponse]
}
type ScaleSwarmServiceInput ¶
type ScaleSwarmServiceInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
ServiceID string `path:"serviceId" doc:"Service ID"`
Body swarmtypes.ServiceScaleRequest
}
type ScaleSwarmServiceOutput ¶
type ScaleSwarmServiceOutput struct {
Body base.ApiResponse[swarmtypes.ServiceUpdateResponse]
}
type ScanImageInput ¶
type ScanImageOutput ¶
type ScanImageOutput struct {
Body base.ApiResponse[vulnerability.ScanResult]
}
type ScannerStatus ¶
type SearchCustomizeInput ¶
type SearchCustomizeOutput ¶
type SearchSettingsInput ¶
type SearchSettingsOutput ¶
type SetAutoUpdateInput ¶
type SetAutoUpdateInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
ContainerID string `path:"containerId" doc:"Container ID"`
Body struct {
Enabled bool `json:"enabled" doc:"Whether auto-update is enabled for this container"`
}
}
RegisterContainers registers container endpoints.
type SetAutoUpdateOutput ¶
type SetAutoUpdateOutput struct {
Body ContainerActionResponse
}
type SettingsHandler ¶
type SettingsHandler struct {
// contains filtered or unexported fields
}
SettingsHandler provides Huma-based settings management endpoints.
func (*SettingsHandler) GetCategories ¶
func (h *SettingsHandler) GetCategories(ctx context.Context, input *struct{}) (*GetCategoriesOutput, error)
GetCategories returns all available settings categories.
func (*SettingsHandler) GetPublicSettings ¶
func (h *SettingsHandler) GetPublicSettings(ctx context.Context, input *GetPublicSettingsInput) (*GetPublicSettingsOutput, error)
GetPublicSettings returns public settings for an environment.
func (*SettingsHandler) GetSettings ¶
func (h *SettingsHandler) GetSettings(ctx context.Context, input *GetSettingsInput) (*GetSettingsOutput, error)
GetSettings returns all settings for an environment.
func (*SettingsHandler) Search ¶
func (h *SettingsHandler) Search(ctx context.Context, input *SearchSettingsInput) (*SearchSettingsOutput, error)
Search searches settings by query.
func (*SettingsHandler) UpdateSettings ¶
func (h *SettingsHandler) UpdateSettings(ctx context.Context, input *UpdateSettingsInput) (*UpdateSettingsOutput, error)
UpdateSettings updates settings for an environment.
type StartAllContainersInput ¶
type StartAllContainersInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
}
type StartAllContainersOutput ¶
type StartAllContainersOutput struct {
Body base.ApiResponse[containertypes.ActionResult]
}
type StartAllStoppedContainersInput ¶
type StartAllStoppedContainersInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
}
type StartAllStoppedContainersOutput ¶
type StartAllStoppedContainersOutput struct {
Body base.ApiResponse[containertypes.ActionResult]
}
type StopAllContainersInput ¶
type StopAllContainersInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
}
type StopAllContainersOutput ¶
type StopAllContainersOutput struct {
Body base.ApiResponse[containertypes.ActionResult]
}
type SwarmHandler ¶
type SwarmHandler struct {
// contains filtered or unexported fields
}
func (*SwarmHandler) CreateConfig ¶
func (h *SwarmHandler) CreateConfig(ctx context.Context, input *CreateSwarmConfigInput) (*CreateSwarmConfigOutput, error)
CreateConfig creates a new swarm config.
It requires admin privileges, delegates the creation request to the swarm service, and records an audit event containing the created config ID and name.
ctx carries request-scoped cancellation, auth, and audit context. input identifies the environment and contains the config specification.
Returns the created config summary. Returns an authorization error for non-admin callers or mapped HTTP errors when validation or creation fails.
func (*SwarmHandler) CreateSecret ¶
func (h *SwarmHandler) CreateSecret(ctx context.Context, input *CreateSwarmSecretInput) (*CreateSwarmSecretOutput, error)
CreateSecret creates a new swarm secret.
It requires admin privileges, delegates the creation request to the swarm service, and records an audit event containing the created secret ID and name.
ctx carries request-scoped cancellation, auth, and audit context. input identifies the environment and contains the secret specification.
Returns the created secret summary. Returns an authorization error for non-admin callers or mapped HTTP errors when validation or creation fails.
func (*SwarmHandler) CreateService ¶
func (h *SwarmHandler) CreateService(ctx context.Context, input *CreateSwarmServiceInput) (*CreateSwarmServiceOutput, error)
CreateService creates a new swarm service in the target environment.
It requires admin privileges, forwards the create request to the swarm service, and records an audit event after a successful mutation.
ctx carries request-scoped cancellation, auth, and audit context. input contains the environment ID and the requested service specification.
Returns a successful response containing the created service ID and any Docker warnings. Returns an authorization error for non-admin callers or mapped HTTP errors when validation or creation fails.
func (*SwarmHandler) DeleteConfig ¶
func (h *SwarmHandler) DeleteConfig(ctx context.Context, input *DeleteSwarmConfigInput) (*DeleteSwarmConfigOutput, error)
DeleteConfig removes a swarm config.
It requires admin privileges, delegates removal to the swarm service, maps missing configs to `404 Not Found`, and records an audit event on success.
ctx carries request-scoped cancellation, auth, and audit context. input identifies the config to remove.
Returns a confirmation response when the config is removed. Returns an authorization error for non-admin callers, `404 Not Found` when the config does not exist, or another mapped HTTP error when removal fails.
func (*SwarmHandler) DeleteNode ¶
func (h *SwarmHandler) DeleteNode(ctx context.Context, input *DeleteSwarmNodeInput) (*DeleteSwarmNodeOutput, error)
DeleteNode removes a swarm node from the cluster.
It requires admin privileges, supports forced removal when requested, and records the deletion parameters in the audit event metadata.
ctx carries request-scoped cancellation, auth, and audit context. input identifies the node to remove and indicates whether removal should be forced.
Returns a confirmation response when the node is removed. Returns an authorization error for non-admin callers or a mapped HTTP error when the node cannot be removed.
func (*SwarmHandler) DeleteSecret ¶
func (h *SwarmHandler) DeleteSecret(ctx context.Context, input *DeleteSwarmSecretInput) (*DeleteSwarmSecretOutput, error)
DeleteSecret removes a swarm secret.
It requires admin privileges, delegates removal to the swarm service, maps missing secrets to `404 Not Found`, and records an audit event on success.
ctx carries request-scoped cancellation, auth, and audit context. input identifies the secret to remove.
Returns a confirmation response when the secret is removed. Returns an authorization error for non-admin callers, `404 Not Found` when the secret does not exist, or another mapped HTTP error when removal fails.
func (*SwarmHandler) DeleteService ¶
func (h *SwarmHandler) DeleteService(ctx context.Context, input *DeleteSwarmServiceInput) (*DeleteSwarmServiceOutput, error)
DeleteService removes a swarm service.
It requires admin privileges, asks the swarm service to remove the service, translates missing-service conditions to `404 Not Found`, and records an audit event after removal.
ctx carries request-scoped cancellation, auth, and audit context. input identifies the environment and service to remove.
Returns a successful response with a confirmation message. Returns an authorization error for non-admin callers, `404 Not Found` when the service does not exist, or another mapped HTTP error when removal fails.
func (*SwarmHandler) DeleteStack ¶
func (h *SwarmHandler) DeleteStack(ctx context.Context, input *DeleteSwarmStackInput) (*DeleteSwarmStackOutput, error)
DeleteStack removes a swarm stack and its managed resources.
It requires admin privileges, delegates the removal to the swarm service, maps missing stacks to `404 Not Found`, and records an audit event after deletion completes.
ctx carries request-scoped cancellation, auth, and audit context. input identifies the environment and stack name to remove.
Returns a confirmation response when the stack is removed. Returns an authorization error for non-admin callers, `404 Not Found` when the stack does not exist, or another mapped HTTP error when removal fails.
func (*SwarmHandler) DemoteNode ¶
func (h *SwarmHandler) DemoteNode(ctx context.Context, input *DemoteSwarmNodeInput) (*DemoteSwarmNodeOutput, error)
DemoteNode demotes a swarm manager to worker.
It requires admin privileges, performs the demotion through the swarm service, and records an audit event after the role change completes.
ctx carries request-scoped cancellation, auth, and audit context. input identifies the node to demote.
Returns a confirmation response when the demotion succeeds. Returns an authorization error for non-admin callers or a mapped HTTP error when the demotion fails.
func (*SwarmHandler) DeployStack ¶
func (h *SwarmHandler) DeployStack(ctx context.Context, input *DeploySwarmStackInput) (*DeploySwarmStackOutput, error)
DeployStack deploys or updates a swarm stack.
It requires admin privileges, submits the stack deployment request to the swarm service, and records an audit event keyed by the stack name after the deployment succeeds.
ctx carries request-scoped cancellation, auth, and audit context. input identifies the target environment and provides the stack deployment request body.
Returns the deployment response reported by the swarm service. Returns an authorization error for non-admin callers or mapped HTTP errors when rendering, validation, or deployment fails.
func (*SwarmHandler) GetConfig ¶
func (h *SwarmHandler) GetConfig(ctx context.Context, input *GetSwarmConfigInput) (*GetSwarmConfigOutput, error)
GetConfig returns details for a single swarm config.
It delegates to the swarm service and maps missing configs to `404 Not Found`.
ctx carries request-scoped cancellation and auth context. input identifies the environment and swarm config to inspect.
Returns the config summary when the config exists. Returns `404 Not Found` when the config does not exist or another mapped HTTP error when inspection fails.
func (*SwarmHandler) GetJoinTokens ¶
func (h *SwarmHandler) GetJoinTokens(ctx context.Context, input *GetSwarmJoinTokensInput) (*GetSwarmJoinTokensOutput, error)
GetJoinTokens returns the current swarm worker and manager join tokens.
It delegates to the swarm service and wraps the returned tokens in the standard API response shape.
ctx carries request-scoped cancellation and auth context. input identifies the environment whose join tokens should be returned.
Returns the current worker and manager join tokens. Returns a mapped HTTP error when token lookup fails.
func (*SwarmHandler) GetNode ¶
func (h *SwarmHandler) GetNode(ctx context.Context, input *GetSwarmNodeInput) (*GetSwarmNodeOutput, error)
GetNode returns detailed information for a single swarm node.
It loads the node through the swarm service and translates not-found conditions into the HTTP error returned by the API.
ctx carries request-scoped cancellation and auth context. input identifies the environment and swarm node to inspect.
Returns a successful response containing the node summary. Returns `404 Not Found` when the node does not exist or another mapped HTTP error when the inspection fails.
func (*SwarmHandler) GetNodeAgentDeployment ¶
func (h *SwarmHandler) GetNodeAgentDeployment(ctx context.Context, input *GetSwarmNodeAgentDeploymentInput) (*GetSwarmNodeAgentDeploymentOutput, error)
GetNodeAgentDeployment returns deployment snippets for attaching an Arcane agent to a swarm node.
It requires admin privileges, ensures a hidden node-agent environment exists for the target node, optionally rotates the environment token, generates edge deployment snippets, and refreshes the node summary so the response includes the latest agent status.
ctx carries request-scoped cancellation, auth, and audit context. input identifies the environment and node and optionally requests token rotation.
Returns deployment snippets, the backing environment ID, and the refreshed agent status. Returns an authorization error for non-admin callers, `401 Unauthorized` when the current user cannot be resolved, `404 Not Found` when the node does not exist, or `500 Internal Server Error` when environment provisioning or snippet generation fails.
func (*SwarmHandler) GetNodeIdentity ¶
func (h *SwarmHandler) GetNodeIdentity(ctx context.Context, _ *GetSwarmNodeIdentityInput) (*GetSwarmNodeIdentityOutput, error)
GetNodeIdentity returns the swarm identity of the node serving the current request.
It is used by edge agents and local nodes to report their swarm node ID, hostname, role, engine version, and swarm participation state.
ctx carries request-scoped cancellation and auth context. The input value is unused because the endpoint has no parameters.
Returns the local swarm node identity when it can be determined. Returns `500 Internal Server Error` when the swarm service is unavailable or identity discovery fails.
func (*SwarmHandler) GetSecret ¶
func (h *SwarmHandler) GetSecret(ctx context.Context, input *GetSwarmSecretInput) (*GetSwarmSecretOutput, error)
GetSecret returns details for a single swarm secret.
It delegates to the swarm service and maps missing secrets to `404 Not Found`.
ctx carries request-scoped cancellation and auth context. input identifies the environment and secret to inspect.
Returns the secret summary when the secret exists. Returns `404 Not Found` when the secret does not exist or another mapped HTTP error when inspection fails.
func (*SwarmHandler) GetService ¶
func (h *SwarmHandler) GetService(ctx context.Context, input *GetSwarmServiceInput) (*GetSwarmServiceOutput, error)
GetService returns detailed information for a single swarm service.
It loads the service by ID through the swarm service and converts lookup failures into the HTTP errors expected by the API.
ctx carries request-scoped cancellation and auth context. input identifies the environment and the swarm service to inspect.
Returns a successful response containing the service inspection payload. Returns `404 Not Found` when the service does not exist and other mapped HTTP errors when the inspection fails.
func (*SwarmHandler) GetStack ¶
func (h *SwarmHandler) GetStack(ctx context.Context, input *GetSwarmStackInput) (*GetSwarmStackOutput, error)
GetStack returns detailed information for a specific swarm stack.
It looks up the stack by name through the swarm service and maps missing stacks to `404 Not Found`.
ctx carries request-scoped cancellation and auth context. input identifies the environment and stack name to inspect.
Returns the stack inspection payload when the stack exists. Returns `404 Not Found` when the stack does not exist or another mapped HTTP error when inspection fails.
func (*SwarmHandler) GetStackSource ¶
func (h *SwarmHandler) GetStackSource(ctx context.Context, input *GetSwarmStackSourceInput) (*GetSwarmStackSourceOutput, error)
GetStackSource returns the stored source content for a swarm stack.
It requires admin privileges because stack source content can include sensitive configuration, and it maps missing stack sources to `404 Not Found`.
ctx carries request-scoped cancellation and auth context. input identifies the environment and stack whose saved source should be loaded.
Returns the stored compose and environment source for the stack. Returns an authorization error for non-admin callers, `404 Not Found` when no saved source exists, or another mapped HTTP error when loading fails.
func (*SwarmHandler) GetSwarmInfo ¶
func (h *SwarmHandler) GetSwarmInfo(ctx context.Context, input *GetSwarmInfoInput) (*GetSwarmInfoOutput, error)
GetSwarmInfo returns the current swarm cluster metadata for an environment.
It delegates to the swarm service to inspect the local swarm state and maps service-layer failures to the API's HTTP error model.
ctx carries request-scoped cancellation and auth context. input identifies the environment whose swarm metadata should be returned.
Returns the current swarm information when swarm mode is available. Returns a mapped HTTP error when swarm inspection fails.
func (*SwarmHandler) GetSwarmStatus ¶
func (h *SwarmHandler) GetSwarmStatus(ctx context.Context, input *GetSwarmStatusInput) (*GetSwarmStatusOutput, error)
GetSwarmInfo returns the current swarm cluster metadata for an environment.
It delegates to the swarm service to inspect the local swarm state and maps service-layer failures to the API's HTTP error model.
ctx carries request-scoped cancellation and auth context. input identifies the environment whose swarm metadata should be returned.
Returns the current swarm information when swarm mode is available. Returns a mapped HTTP error when swarm inspection fails.
func (*SwarmHandler) GetUnlockKey ¶
func (h *SwarmHandler) GetUnlockKey(ctx context.Context, input *GetSwarmUnlockKeyInput) (*GetSwarmUnlockKeyOutput, error)
GetUnlockKey returns the current swarm manager unlock key.
It delegates to the swarm service and exposes the unlock key in the standard API response envelope.
ctx carries request-scoped cancellation and auth context. input identifies the environment whose unlock key should be returned.
Returns the current manager unlock key. Returns a mapped HTTP error when the unlock key cannot be retrieved.
func (*SwarmHandler) InitSwarm ¶
func (h *SwarmHandler) InitSwarm(ctx context.Context, input *InitSwarmInput) (*InitSwarmOutput, error)
InitSwarm initializes swarm mode on the target engine.
It requires admin privileges, delegates the initialization request to the swarm service, and records an audit event that includes the created node ID.
ctx carries request-scoped cancellation, auth, and audit context. input identifies the environment and contains the swarm initialization request body.
Returns the initialized swarm node ID and any other initialization details. Returns an authorization error for non-admin callers or mapped HTTP errors when initialization fails.
func (*SwarmHandler) JoinSwarm ¶
func (h *SwarmHandler) JoinSwarm(ctx context.Context, input *JoinSwarmInput) (*JoinSwarmOutput, error)
JoinSwarm joins the target engine to an existing swarm cluster.
It requires admin privileges, forwards the join request to the swarm service, and records the remote manager addresses in the audit metadata.
ctx carries request-scoped cancellation, auth, and audit context. input identifies the environment and contains the join request body.
Returns a confirmation response when the engine joins successfully. Returns an authorization error for non-admin callers or mapped HTTP errors when the join operation fails.
func (*SwarmHandler) LeaveSwarm ¶
func (h *SwarmHandler) LeaveSwarm(ctx context.Context, input *LeaveSwarmInput) (*LeaveSwarmOutput, error)
LeaveSwarm removes the target engine from its current swarm cluster.
It requires admin privileges, forwards the leave request to the swarm service, and records whether forced removal was requested.
ctx carries request-scoped cancellation, auth, and audit context. input identifies the environment and contains the leave request body.
Returns a confirmation response when the engine leaves successfully. Returns an authorization error for non-admin callers or mapped HTTP errors when the leave operation fails.
func (*SwarmHandler) ListConfigs ¶
func (h *SwarmHandler) ListConfigs(ctx context.Context, input *ListSwarmConfigsInput) (*ListSwarmConfigsOutput, error)
ListConfigs lists swarm configs in the current environment.
It delegates to the swarm service and normalizes nil config slices to empty arrays in the response body.
ctx carries request-scoped cancellation and auth context. input identifies the environment whose configs should be listed.
Returns the current swarm configs. Returns a mapped HTTP error when config enumeration fails.
func (*SwarmHandler) ListNodeTasks ¶
func (h *SwarmHandler) ListNodeTasks(ctx context.Context, input *ListSwarmNodeTasksInput) (*ListSwarmNodeTasksOutput, error)
ListNodeTasks lists tasks currently associated with a swarm node.
It applies search, sort, and pagination inputs and normalizes nil task lists to empty arrays in the API response.
ctx carries request-scoped cancellation and auth context. input identifies the node and provides optional filtering and pagination values.
Returns a paginated list of node task summaries. Returns a mapped HTTP error when the underlying lookup fails.
func (*SwarmHandler) ListNodes ¶
func (h *SwarmHandler) ListNodes(ctx context.Context, input *ListSwarmNodesInput) (*ListSwarmNodesOutput, error)
ListNodes lists swarm nodes for an environment and returns a paginated response.
It applies the requested search, sort, and pagination values and guarantees a non-nil node slice in the response body.
ctx carries request-scoped cancellation and auth context. input supplies the environment ID plus optional filtering and pagination values.
Returns a paginated list of node summaries. Returns a mapped HTTP error when node enumeration fails.
func (*SwarmHandler) ListSecrets ¶
func (h *SwarmHandler) ListSecrets(ctx context.Context, input *ListSwarmSecretsInput) (*ListSwarmSecretsOutput, error)
ListSecrets lists swarm secrets in the current environment.
It delegates to the swarm service and normalizes nil secret slices to empty arrays in the response body.
ctx carries request-scoped cancellation and auth context. input identifies the environment whose secrets should be listed.
Returns the current swarm secrets. Returns a mapped HTTP error when secret enumeration fails.
func (*SwarmHandler) ListServiceTasks ¶
func (h *SwarmHandler) ListServiceTasks(ctx context.Context, input *ListSwarmServiceTasksInput) (*ListSwarmServiceTasksOutput, error)
ListServiceTasks lists tasks belonging to a specific swarm service.
It applies the requested search, sort, and pagination values, delegates the lookup to the swarm service, and normalizes nil task slices to empty arrays.
ctx carries request-scoped cancellation and auth context. input identifies the service and supplies optional filtering and pagination fields.
Returns a paginated list of task summaries for the service. Returns a mapped HTTP error when the swarm task lookup fails.
func (*SwarmHandler) ListServices ¶
func (h *SwarmHandler) ListServices(ctx context.Context, input *ListSwarmServicesInput) (*ListSwarmServicesOutput, error)
ListServices lists swarm services for an environment and returns a paginated response.
It normalizes the search, sort, and pagination fields from input, delegates the lookup to the swarm service, and returns an empty slice instead of nil when no services are found.
ctx carries request-scoped cancellation and auth context. input supplies the environment ID plus optional search, sorting, and pagination values.
Returns a successful response containing service summaries and pagination metadata. Returns an HTTP-shaped error if the swarm service is unavailable or if the underlying swarm lookup fails.
func (*SwarmHandler) ListStackServices ¶
func (h *SwarmHandler) ListStackServices(ctx context.Context, input *ListSwarmStackServicesInput) (*ListSwarmStackServicesOutput, error)
ListStackServices lists services belonging to a swarm stack.
It applies search, sort, and pagination options, ensures the response uses an empty slice instead of nil, and maps missing stacks to `404 Not Found`.
ctx carries request-scoped cancellation and auth context. input identifies the stack and provides optional filtering and pagination fields.
Returns a paginated list of service summaries for the stack. Returns `404 Not Found` when the stack does not exist or another mapped HTTP error when the lookup fails.
func (*SwarmHandler) ListStackTasks ¶
func (h *SwarmHandler) ListStackTasks(ctx context.Context, input *ListSwarmStackTasksInput) (*ListSwarmStackTasksOutput, error)
ListStackTasks lists tasks belonging to a swarm stack.
It applies search, sort, and pagination options, ensures the response uses an empty slice instead of nil, and maps missing stacks to `404 Not Found`.
ctx carries request-scoped cancellation and auth context. input identifies the stack and provides optional filtering and pagination fields.
Returns a paginated list of task summaries for the stack. Returns `404 Not Found` when the stack does not exist or another mapped HTTP error when the lookup fails.
func (*SwarmHandler) ListStacks ¶
func (h *SwarmHandler) ListStacks(ctx context.Context, input *ListSwarmStacksInput) (*ListSwarmStacksOutput, error)
ListStacks lists swarm stacks for the current environment.
It applies search, sort, and pagination values supplied by the caller and returns an empty stack slice instead of nil when no stacks are present.
ctx carries request-scoped cancellation and auth context. input supplies optional filtering and pagination values.
Returns a paginated list of stack summaries. Returns a mapped HTTP error when stack enumeration fails.
func (*SwarmHandler) ListTasks ¶
func (h *SwarmHandler) ListTasks(ctx context.Context, input *ListSwarmTasksInput) (*ListSwarmTasksOutput, error)
ListTasks lists swarm tasks across the current environment.
It applies the requested search, sort, and pagination fields and guarantees an empty task slice when no tasks are returned.
ctx carries request-scoped cancellation and auth context. input supplies optional filtering and pagination values.
Returns a paginated task listing for the environment. Returns a mapped HTTP error when task enumeration fails.
func (*SwarmHandler) PromoteNode ¶
func (h *SwarmHandler) PromoteNode(ctx context.Context, input *PromoteSwarmNodeInput) (*PromoteSwarmNodeOutput, error)
PromoteNode promotes a swarm worker to manager.
It requires admin privileges, performs the promotion through the swarm service, and records an audit event after the role change completes.
ctx carries request-scoped cancellation, auth, and audit context. input identifies the node to promote.
Returns a confirmation response when the promotion succeeds. Returns an authorization error for non-admin callers or a mapped HTTP error when the promotion fails.
func (*SwarmHandler) RenderStackConfig ¶
func (h *SwarmHandler) RenderStackConfig(ctx context.Context, input *RenderSwarmStackConfigInput) (*RenderSwarmStackConfigOutput, error)
RenderStackConfig renders and validates a swarm stack configuration without deploying it.
It delegates to the swarm service to parse the provided compose and environment content and returns the normalized render result.
ctx carries request-scoped cancellation and auth context. input provides the stack render request body.
Returns the rendered compose content together with discovered resource names. Returns a mapped HTTP error when parsing, interpolation, or rendering fails.
func (*SwarmHandler) RollbackService ¶
func (h *SwarmHandler) RollbackService(ctx context.Context, input *RollbackSwarmServiceInput) (*RollbackSwarmServiceOutput, error)
RollbackService requests a server-side rollback for a swarm service.
It requires admin privileges, delegates the rollback to the swarm service, and records an audit event describing the mutation.
ctx carries request-scoped cancellation, auth, and audit context. input identifies the environment and service to roll back.
Returns a successful response containing any warnings reported by Docker. Returns an authorization error for non-admin callers or mapped HTTP errors when the rollback cannot be performed.
func (*SwarmHandler) RotateJoinTokens ¶
func (h *SwarmHandler) RotateJoinTokens(ctx context.Context, input *RotateSwarmJoinTokensInput) (*RotateSwarmJoinTokensOutput, error)
RotateJoinTokens rotates the swarm worker and or manager join tokens.
It requires admin privileges, delegates the rotation request to the swarm service, and records which token classes were rotated.
ctx carries request-scoped cancellation, auth, and audit context. input identifies the environment and contains the requested token-rotation flags.
Returns a confirmation response when rotation succeeds. Returns an authorization error for non-admin callers or mapped HTTP errors when token rotation fails.
func (*SwarmHandler) ScaleService ¶
func (h *SwarmHandler) ScaleService(ctx context.Context, input *ScaleSwarmServiceInput) (*ScaleSwarmServiceOutput, error)
ScaleService changes the replica count of a swarm service.
It requires admin privileges, forwards the requested replica count to the swarm service, and records the new replica target in the audit metadata.
ctx carries request-scoped cancellation, auth, and audit context. input identifies the service and supplies the desired replica count.
Returns a successful response containing any warnings reported by Docker. Returns an authorization error for non-admin callers or mapped HTTP errors when scaling is invalid or the update fails.
func (*SwarmHandler) UnlockSwarm ¶
func (h *SwarmHandler) UnlockSwarm(ctx context.Context, input *UnlockSwarmInput) (*UnlockSwarmOutput, error)
UnlockSwarm unlocks a swarm manager using the supplied unlock key.
It requires admin privileges, delegates the unlock request to the swarm service, and emits an audit event after success.
ctx carries request-scoped cancellation, auth, and audit context. input identifies the environment and contains the unlock request body.
Returns a confirmation response when the manager is unlocked. Returns an authorization error for non-admin callers or mapped HTTP errors when the unlock operation fails.
func (*SwarmHandler) UpdateConfig ¶
func (h *SwarmHandler) UpdateConfig(ctx context.Context, input *UpdateSwarmConfigInput) (*UpdateSwarmConfigOutput, error)
UpdateConfig updates an existing swarm config.
It requires admin privileges, delegates the update to the swarm service, and records an audit event containing the config ID and updated name.
ctx carries request-scoped cancellation, auth, and audit context. input identifies the config to update and contains the replacement specification.
Returns the updated config summary. Returns an authorization error for non-admin callers or mapped HTTP errors when the update fails.
func (*SwarmHandler) UpdateNode ¶
func (h *SwarmHandler) UpdateNode(ctx context.Context, input *UpdateSwarmNodeInput) (*UpdateSwarmNodeOutput, error)
UpdateNode updates mutable settings on a swarm node.
It requires admin privileges, forwards the requested node changes to the swarm service, and records an audit event when the mutation succeeds.
ctx carries request-scoped cancellation, auth, and audit context. input identifies the node to update and contains the requested changes.
Returns a confirmation response when the update succeeds. Returns an authorization error for non-admin callers or a mapped HTTP error when the node update fails.
func (*SwarmHandler) UpdateSecret ¶
func (h *SwarmHandler) UpdateSecret(ctx context.Context, input *UpdateSwarmSecretInput) (*UpdateSwarmSecretOutput, error)
UpdateSecret updates an existing swarm secret.
It requires admin privileges, delegates the update to the swarm service, and records an audit event containing the secret ID and updated name.
ctx carries request-scoped cancellation, auth, and audit context. input identifies the secret to update and contains the replacement specification.
Returns the updated secret summary. Returns an authorization error for non-admin callers or mapped HTTP errors when the update fails.
func (*SwarmHandler) UpdateService ¶
func (h *SwarmHandler) UpdateService(ctx context.Context, input *UpdateSwarmServiceInput) (*UpdateSwarmServiceOutput, error)
UpdateService updates an existing swarm service.
It requires admin privileges, submits the requested versioned update to the swarm service, and emits an audit event when the update succeeds.
ctx carries request-scoped cancellation, auth, and audit context. input identifies the service to update and provides the replacement specification and options.
Returns a successful response containing any Docker warnings. Returns an authorization error for non-admin callers or mapped HTTP errors when the update request is invalid or the underlying update fails.
func (*SwarmHandler) UpdateStackSource ¶
func (h *SwarmHandler) UpdateStackSource(ctx context.Context, input *UpdateSwarmStackSourceInput) (*UpdateSwarmStackSourceOutput, error)
UpdateStackSource persists the saved compose and env source for a swarm stack.
It requires admin privileges because stack source content can include sensitive configuration. The stack name comes from the route, and the body contains the replacement source files to save.
func (*SwarmHandler) UpdateSwarmSpec ¶
func (h *SwarmHandler) UpdateSwarmSpec(ctx context.Context, input *UpdateSwarmSpecInput) (*UpdateSwarmSpecOutput, error)
UpdateSwarmSpec updates the swarm cluster specification.
It requires admin privileges, forwards the request to the swarm service, and records an audit event after the spec change succeeds.
ctx carries request-scoped cancellation, auth, and audit context. input identifies the environment and contains the replacement swarm spec.
Returns a confirmation response when the spec update succeeds. Returns an authorization error for non-admin callers or mapped HTTP errors when the spec update fails.
type SwarmNodeAgentDeployment ¶
type SwarmNodeAgentDeployment struct {
DeploymentSnippet
EnvironmentID string `json:"environmentId"`
Agent swarmtypes.NodeAgentStatus `json:"agent"`
}
type SwarmPaginatedResponse ¶
type SwarmPaginatedResponse[T any] struct { Success bool `json:"success"` Data []T `json:"data"` Pagination base.PaginationResponse `json:"pagination"` }
type SyncContainerRegistriesInput ¶
type SyncContainerRegistriesInput struct {
Body containerregistry.SyncRequest
}
type SyncContainerRegistriesOutput ¶
type SyncContainerRegistriesOutput struct {
Body base.ApiResponse[base.MessageResponse]
}
type SyncEnvironmentInput ¶
type SyncEnvironmentInput struct {
ID string `path:"id" doc:"Environment ID"`
}
type SyncEnvironmentOutput ¶
type SyncEnvironmentOutput struct {
Body base.ApiResponse[base.MessageResponse]
}
type SyncGitRepositoriesInput ¶
type SyncGitRepositoriesInput struct {
Body gitops.RepositorySyncRequest
}
type SyncGitRepositoriesOutput ¶
type SyncGitRepositoriesOutput struct {
Body base.ApiResponse[base.MessageResponse]
}
type SystemHandler ¶
type SystemHandler struct {
// contains filtered or unexported fields
}
SystemHandler handles system management endpoints.
func (*SystemHandler) CheckUpgradeAvailable ¶
func (h *SystemHandler) CheckUpgradeAvailable(ctx context.Context, input *CheckUpgradeInput) (*CheckUpgradeOutput, error)
CheckUpgradeAvailable checks if a system upgrade is available.
func (*SystemHandler) ConvertDockerRun ¶
func (h *SystemHandler) ConvertDockerRun(ctx context.Context, input *ConvertDockerRunInput) (*ConvertDockerRunOutput, error)
ConvertDockerRun converts a docker run command to docker-compose format.
func (*SystemHandler) GetDockerInfo ¶
func (h *SystemHandler) GetDockerInfo(ctx context.Context, input *GetDockerInfoInput) (*GetDockerInfoOutput, error)
GetDockerInfo returns Docker daemon version and system information.
func (*SystemHandler) Health ¶
func (h *SystemHandler) Health(ctx context.Context, input *SystemHealthInput) (*SystemHealthOutput, error)
Health checks if the Docker daemon is responsive.
func (*SystemHandler) PruneAll ¶
func (h *SystemHandler) PruneAll(ctx context.Context, input *PruneAllInput) (*PruneAllOutput, error)
PruneAll removes unused Docker resources.
func (*SystemHandler) StartAllContainers ¶
func (h *SystemHandler) StartAllContainers(ctx context.Context, input *StartAllContainersInput) (*StartAllContainersOutput, error)
StartAllContainers starts all Docker containers.
func (*SystemHandler) StartAllStoppedContainers ¶
func (h *SystemHandler) StartAllStoppedContainers(ctx context.Context, input *StartAllStoppedContainersInput) (*StartAllStoppedContainersOutput, error)
StartAllStoppedContainers starts all stopped Docker containers.
func (*SystemHandler) StopAllContainers ¶
func (h *SystemHandler) StopAllContainers(ctx context.Context, input *StopAllContainersInput) (*StopAllContainersOutput, error)
StopAllContainers stops all running Docker containers.
func (*SystemHandler) TriggerUpgrade ¶
func (h *SystemHandler) TriggerUpgrade(ctx context.Context, input *TriggerUpgradeInput) (*TriggerUpgradeOutput, error)
TriggerUpgrade triggers a system upgrade.
type SystemHealthInput ¶
type SystemHealthInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
}
type SystemHealthOutput ¶
type SystemHealthOutput struct {
Status int `status:"200"`
}
type TemplateHandler ¶
type TemplateHandler struct {
// contains filtered or unexported fields
}
TemplateHandler handles template management endpoints.
func (*TemplateHandler) CreateRegistry ¶
func (h *TemplateHandler) CreateRegistry(ctx context.Context, input *CreateTemplateRegistryInput) (*CreateTemplateRegistryOutput, error)
CreateRegistry creates a new template registry.
func (*TemplateHandler) CreateTemplate ¶
func (h *TemplateHandler) CreateTemplate(ctx context.Context, input *CreateTemplateInput) (*CreateTemplateOutput, error)
CreateTemplate creates a new template.
func (*TemplateHandler) DeleteRegistry ¶
func (h *TemplateHandler) DeleteRegistry(ctx context.Context, input *DeleteTemplateRegistryInput) (*DeleteTemplateRegistryOutput, error)
DeleteRegistry deletes a template registry.
func (*TemplateHandler) DeleteTemplate ¶
func (h *TemplateHandler) DeleteTemplate(ctx context.Context, input *DeleteTemplateInput) (*DeleteTemplateOutput, error)
DeleteTemplate deletes a template.
func (*TemplateHandler) DownloadTemplate ¶
func (h *TemplateHandler) DownloadTemplate(ctx context.Context, input *DownloadTemplateInput) (*DownloadTemplateOutput, error)
DownloadTemplate downloads a remote template to local storage.
func (*TemplateHandler) FetchRegistry ¶
func (h *TemplateHandler) FetchRegistry(ctx context.Context, input *FetchTemplateRegistryInput) (*FetchTemplateRegistryOutput, error)
FetchRegistry fetches templates from a remote registry URL.
func (*TemplateHandler) GetAllTemplates ¶
func (h *TemplateHandler) GetAllTemplates(ctx context.Context, _ *GetAllTemplatesInput) (*GetAllTemplatesOutput, error)
GetAllTemplates returns all templates without pagination.
func (*TemplateHandler) GetDefaultTemplates ¶
func (h *TemplateHandler) GetDefaultTemplates(ctx context.Context, _ *GetDefaultTemplatesInput) (*GetDefaultTemplatesOutput, error)
GetDefaultTemplates returns the default compose and env templates.
func (*TemplateHandler) GetGlobalVariables ¶
func (h *TemplateHandler) GetGlobalVariables(ctx context.Context, input *GetGlobalVariablesInput) (*GetGlobalVariablesOutput, error)
GetGlobalVariables returns global template variables.
func (*TemplateHandler) GetRegistries ¶
func (h *TemplateHandler) GetRegistries(ctx context.Context, _ *GetTemplateRegistriesInput) (*GetTemplateRegistriesOutput, error)
GetRegistries returns all template registries.
func (*TemplateHandler) GetTemplate ¶
func (h *TemplateHandler) GetTemplate(ctx context.Context, input *GetTemplateInput) (*GetTemplateOutput, error)
GetTemplate returns a template by ID.
func (*TemplateHandler) GetTemplateContent ¶
func (h *TemplateHandler) GetTemplateContent(ctx context.Context, input *GetTemplateContentInput) (*GetTemplateContentOutput, error)
GetTemplateContent returns template content with parsed data.
func (*TemplateHandler) ListTemplates ¶
func (h *TemplateHandler) ListTemplates(ctx context.Context, input *ListTemplatesInput) (*ListTemplatesOutput, error)
ListTemplates returns a paginated list of templates.
func (*TemplateHandler) SaveDefaultTemplates ¶
func (h *TemplateHandler) SaveDefaultTemplates(ctx context.Context, input *SaveDefaultTemplatesInput) (*SaveDefaultTemplatesOutput, error)
SaveDefaultTemplates saves the default compose and env templates.
func (*TemplateHandler) UpdateGlobalVariables ¶
func (h *TemplateHandler) UpdateGlobalVariables(ctx context.Context, input *UpdateGlobalVariablesInput) (*UpdateGlobalVariablesOutput, error)
UpdateGlobalVariables updates global template variables.
func (*TemplateHandler) UpdateRegistry ¶
func (h *TemplateHandler) UpdateRegistry(ctx context.Context, input *UpdateTemplateRegistryInput) (*UpdateTemplateRegistryOutput, error)
UpdateRegistry updates a template registry.
func (*TemplateHandler) UpdateTemplate ¶
func (h *TemplateHandler) UpdateTemplate(ctx context.Context, input *UpdateTemplateInput) (*UpdateTemplateOutput, error)
UpdateTemplate updates a template.
type TemplatePaginatedResponse ¶
type TemplatePaginatedResponse struct {
Success bool `json:"success"`
Data []template.Template `json:"data"`
Pagination base.PaginationResponse `json:"pagination"`
}
TemplatePaginatedResponse is the paginated response for templates.
type TestAppriseNotificationOutput ¶
type TestAppriseNotificationOutput struct {
Body base.ApiResponse[base.MessageResponse]
}
type TestConnectionInput ¶
type TestConnectionInput struct {
ID string `path:"id" doc:"Environment ID"`
Body *environment.TestConnectionRequest `json:"body,omitempty"`
}
type TestConnectionOutput ¶
type TestConnectionOutput struct {
Body base.ApiResponse[environment.Test]
}
type TestContainerRegistryInput ¶
type TestContainerRegistryInput struct {
ID string `path:"id" doc:"Registry ID"`
}
type TestContainerRegistryOutput ¶
type TestContainerRegistryOutput struct {
Body base.ApiResponse[base.MessageResponse]
}
type TestGitRepositoryInput ¶
type TestGitRepositoryOutput ¶
type TestGitRepositoryOutput struct {
Body base.ApiResponse[base.MessageResponse]
}
type TestNotificationInput ¶
type TestNotificationOutput ¶
type TestNotificationOutput struct {
Body base.ApiResponse[base.MessageResponse]
}
type TriggerUpgradeInput ¶
type TriggerUpgradeInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
}
type TriggerUpgradeOutput ¶
type TriggerUpgradeOutput struct {
Body base.ApiResponse[base.MessageResponse]
}
type UnarchiveProjectInput ¶
type UnarchiveProjectOutput ¶
type UnarchiveProjectOutput struct {
Body base.ApiResponse[base.MessageResponse]
}
type UnignoreVulnerabilityOutput ¶
type UnignoreVulnerabilityOutput struct {
Body base.ApiResponse[struct{}]
}
type UnlockSwarmInput ¶
type UnlockSwarmInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
Body swarmtypes.SwarmUnlockRequest
}
type UnlockSwarmOutput ¶
type UnlockSwarmOutput struct {
Body base.ApiResponse[base.MessageResponse]
}
type UpdateApiKeyInput ¶
type UpdateApiKeyInput struct {
ID string `path:"id" doc:"API key ID"`
Body apikey.UpdateApiKey
}
type UpdateApiKeyOutput ¶
type UpdateApiKeyOutput struct {
Body base.ApiResponse[apikey.ApiKey]
}
type UpdateContainerInput ¶
type UpdateContainerOutput ¶
type UpdateContainerOutput struct {
Body base.ApiResponse[*updater.Result]
}
type UpdateContainerRegistryInput ¶
type UpdateContainerRegistryInput struct {
ID string `path:"id" doc:"Registry ID"`
Body models.UpdateContainerRegistryRequest
}
type UpdateContainerRegistryOutput ¶
type UpdateContainerRegistryOutput struct {
Body base.ApiResponse[containerregistry.ContainerRegistry]
}
type UpdateEnvironmentInput ¶
type UpdateEnvironmentInput struct {
ID string `path:"id" doc:"Environment ID"`
Body environment.Update
}
type UpdateEnvironmentOutput ¶
type UpdateEnvironmentOutput struct {
Body base.ApiResponse[environment.Environment]
}
type UpdateGitOpsSyncInput ¶
type UpdateGitOpsSyncInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
SyncID string `path:"syncId" doc:"Sync ID"`
Body gitops.UpdateSyncRequest
}
type UpdateGitOpsSyncOutput ¶
type UpdateGitOpsSyncOutput struct {
Body base.ApiResponse[gitops.GitOpsSync]
}
type UpdateGitRepositoryInput ¶
type UpdateGitRepositoryInput struct {
ID string `path:"id" doc:"Repository ID"`
Body models.UpdateGitRepositoryRequest
}
type UpdateGitRepositoryOutput ¶
type UpdateGitRepositoryOutput struct {
Body base.ApiResponse[gitops.GitRepository]
}
type UpdateGlobalVariablesOutput ¶
type UpdateGlobalVariablesOutput struct {
Body base.ApiResponse[base.MessageResponse]
}
type UpdateHeartbeatInput ¶
type UpdateHeartbeatInput struct {
ID string `path:"id" doc:"Environment ID"`
}
type UpdateHeartbeatOutput ¶
type UpdateHeartbeatOutput struct {
Body base.ApiResponse[base.MessageResponse]
}
type UpdateJobSchedulesInput ¶
type UpdateJobSchedulesInput struct {
ID string `path:"id" doc:"Environment ID"`
Body jobschedule.Update `doc:"Job schedule update data"`
}
type UpdateJobSchedulesOutput ¶
type UpdateJobSchedulesOutput struct {
Body base.ApiResponse[jobschedule.Config]
}
type UpdateProjectIncludeInput ¶
type UpdateProjectIncludeInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
ProjectID string `path:"projectId" doc:"Project ID"`
Body project.UpdateIncludeFile
}
type UpdateProjectIncludeOutput ¶
type UpdateProjectIncludeOutput struct {
Body base.ApiResponse[project.Details]
}
type UpdateProjectInput ¶
type UpdateProjectInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
ProjectID string `path:"projectId" doc:"Project ID"`
Body project.UpdateProject
}
type UpdateProjectOutput ¶
type UpdateProjectOutput struct {
Body base.ApiResponse[project.Details]
}
type UpdateSettingsInput ¶
type UpdateSettingsOutput ¶
type UpdateSettingsOutput struct {
Body base.ApiResponse[[]settings.SettingDto]
}
type UpdateSwarmConfigInput ¶
type UpdateSwarmConfigInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
ConfigID string `path:"configId" doc:"Config ID"`
Body swarmtypes.ConfigUpdateRequest
}
type UpdateSwarmConfigOutput ¶
type UpdateSwarmConfigOutput struct {
Body base.ApiResponse[swarmtypes.ConfigSummary]
}
type UpdateSwarmNodeInput ¶
type UpdateSwarmNodeInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
NodeID string `path:"nodeId" doc:"Node ID"`
Body swarmtypes.NodeUpdateRequest
}
type UpdateSwarmNodeOutput ¶
type UpdateSwarmNodeOutput struct {
Body base.ApiResponse[base.MessageResponse]
}
type UpdateSwarmSecretInput ¶
type UpdateSwarmSecretInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
SecretID string `path:"secretId" doc:"Secret ID"`
Body swarmtypes.SecretUpdateRequest
}
type UpdateSwarmSecretOutput ¶
type UpdateSwarmSecretOutput struct {
Body base.ApiResponse[swarmtypes.SecretSummary]
}
type UpdateSwarmServiceInput ¶
type UpdateSwarmServiceInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
ServiceID string `path:"serviceId" doc:"Service ID"`
Body swarmtypes.ServiceUpdateRequest
}
type UpdateSwarmServiceOutput ¶
type UpdateSwarmServiceOutput struct {
Body base.ApiResponse[swarmtypes.ServiceUpdateResponse]
}
type UpdateSwarmSpecInput ¶
type UpdateSwarmSpecInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
Body swarmtypes.SwarmUpdateRequest
}
type UpdateSwarmSpecOutput ¶
type UpdateSwarmSpecOutput struct {
Body base.ApiResponse[base.MessageResponse]
}
type UpdateSwarmStackSourceInput ¶
type UpdateSwarmStackSourceInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
Name string `path:"name" doc:"Stack name"`
Body swarmtypes.StackSourceUpdateRequest
}
type UpdateSwarmStackSourceOutput ¶
type UpdateSwarmStackSourceOutput struct {
Body base.ApiResponse[swarmtypes.StackSource]
}
type UpdateTemplateInput ¶
type UpdateTemplateInput struct {
ID string `path:"id" doc:"Template ID"`
Body template.UpdateRequest
}
type UpdateTemplateOutput ¶
type UpdateTemplateOutput struct {
Body base.ApiResponse[template.Template]
}
type UpdateTemplateRegistryInput ¶
type UpdateTemplateRegistryInput struct {
ID string `path:"id" doc:"Registry ID"`
Body template.UpdateRegistryRequest
}
type UpdateTemplateRegistryOutput ¶
type UpdateTemplateRegistryOutput struct {
Body base.ApiResponse[base.MessageResponse]
}
type UpdateUserInput ¶
type UpdateUserInput struct {
UserID string `path:"userId" doc:"User ID"`
Body user.UpdateUser
}
type UpdateUserOutput ¶
type UpdateUserOutput struct {
Body base.ApiResponse[user.User]
}
type UpdateWebhookInput ¶
type UpdateWebhookInput struct {
EnvironmentID string `path:"id" doc:"Environment ID"`
WebhookID string `path:"webhookId" doc:"Webhook ID"`
Body *webhook.UpdateInput `required:"true"`
}
type UpdateWebhookOutput ¶
type UpdateWebhookOutput struct {
Body base.ApiResponse[any]
}
type UpdaterHandler ¶
type UpdaterHandler struct {
// contains filtered or unexported fields
}
UpdaterHandler provides Huma-based updater management endpoints.
func (*UpdaterHandler) GetUpdaterHistory ¶
func (h *UpdaterHandler) GetUpdaterHistory(ctx context.Context, input *GetUpdaterHistoryInput) (*GetUpdaterHistoryOutput, error)
GetUpdaterHistory returns the history of update operations.
func (*UpdaterHandler) GetUpdaterStatus ¶
func (h *UpdaterHandler) GetUpdaterStatus(ctx context.Context, input *GetUpdaterStatusInput) (*GetUpdaterStatusOutput, error)
GetUpdaterStatus returns the current status of the updater.
func (*UpdaterHandler) RunUpdater ¶
func (h *UpdaterHandler) RunUpdater(ctx context.Context, input *RunUpdaterInput) (*RunUpdaterOutput, error)
RunUpdater applies pending container updates.
func (*UpdaterHandler) UpdateContainer ¶
func (h *UpdaterHandler) UpdateContainer(ctx context.Context, input *UpdateContainerInput) (*UpdateContainerOutput, error)
UpdateContainer updates a single container by pulling the latest image and applying the appropriate update flow.
type UpgradeCheckResultData ¶
type UpgradeCheckResultData struct {
CanUpgrade bool `json:"canUpgrade"`
Error bool `json:"error"`
Message string `json:"message"`
}
UpgradeCheckResultData is the response for upgrade check.
type UploadAndRestoreInput ¶
type UploadAndRestoreOutput ¶
type UploadAndRestoreOutput struct {
Body base.ApiResponse[base.MessageResponse]
}
type UploadBuildFileInput ¶
type UploadFileInput ¶
type UploadImageInput ¶
type UploadImageOutput ¶
type UploadImageOutput struct {
Body base.ApiResponse[image.LoadResult]
}
type UserHandler ¶
type UserHandler struct {
// contains filtered or unexported fields
}
UserHandler handles user management endpoints.
func (*UserHandler) CreateUser ¶
func (h *UserHandler) CreateUser(ctx context.Context, input *CreateUserInput) (*CreateUserOutput, error)
CreateUser creates a new user.
func (*UserHandler) DeleteUser ¶
func (h *UserHandler) DeleteUser(ctx context.Context, input *DeleteUserInput) (*DeleteUserOutput, error)
DeleteUser deletes a user.
func (*UserHandler) GetUser ¶
func (h *UserHandler) GetUser(ctx context.Context, input *GetUserInput) (*GetUserOutput, error)
GetUser returns a user by ID.
func (*UserHandler) ListUsers ¶
func (h *UserHandler) ListUsers(ctx context.Context, input *ListUsersInput) (*ListUsersOutput, error)
ListUsers returns a paginated list of users.
func (*UserHandler) UpdateUser ¶
func (h *UserHandler) UpdateUser(ctx context.Context, input *UpdateUserInput) (*UpdateUserOutput, error)
UpdateUser updates a user.
type UserPaginatedResponse ¶
type UserPaginatedResponse struct {
Success bool `json:"success"`
Data []user.User `json:"data"`
Pagination base.PaginationResponse `json:"pagination"`
}
UserPaginatedResponse is the paginated response for users.
type VersionHandler ¶
type VersionHandler struct {
// contains filtered or unexported fields
}
VersionHandler handles version information endpoints.
func (*VersionHandler) GetAppVersion ¶
func (h *VersionHandler) GetAppVersion(ctx context.Context, _ *GetAppVersionInput) (*GetAppVersionOutput, error)
GetAppVersion returns the current application version.
func (*VersionHandler) GetVersion ¶
func (h *VersionHandler) GetVersion(ctx context.Context, input *GetVersionInput) (*GetVersionOutput, error)
GetVersion returns version information with optional update check.
type VolumeBackupPaginatedResponse ¶
type VolumeBackupPaginatedResponse struct {
Success bool `json:"success"`
Data []models.VolumeBackup `json:"data"`
Pagination base.PaginationResponse `json:"pagination"`
Warnings []string `json:"warnings,omitempty"`
}
type VolumeHandler ¶
type VolumeHandler struct {
// contains filtered or unexported fields
}
VolumeHandler provides Huma-based volume management endpoints.
func (*VolumeHandler) BackupHasPath ¶
func (h *VolumeHandler) BackupHasPath(ctx context.Context, input *BackupHasPathInput) (*BackupHasPathOutput, error)
func (*VolumeHandler) BrowseDirectory ¶
func (h *VolumeHandler) BrowseDirectory(ctx context.Context, input *BrowseDirectoryInput) (*BrowseDirectoryOutput, error)
func (*VolumeHandler) CreateBackup ¶
func (h *VolumeHandler) CreateBackup(ctx context.Context, input *CreateBackupInput) (*CreateBackupOutput, error)
func (*VolumeHandler) CreateDirectory ¶
func (h *VolumeHandler) CreateDirectory(ctx context.Context, input *CreateDirectoryInput) (*base.ApiResponse[base.MessageResponse], error)
func (*VolumeHandler) CreateVolume ¶
func (h *VolumeHandler) CreateVolume(ctx context.Context, input *CreateVolumeInput) (*CreateVolumeOutput, error)
CreateVolume creates a new Docker volume.
func (*VolumeHandler) DeleteBackup ¶
func (h *VolumeHandler) DeleteBackup(ctx context.Context, input *DeleteBackupInput) (*DeleteBackupOutput, error)
func (*VolumeHandler) DeleteFile ¶
func (h *VolumeHandler) DeleteFile(ctx context.Context, input *DeleteFileInput) (*base.ApiResponse[base.MessageResponse], error)
func (*VolumeHandler) DownloadBackup ¶
func (h *VolumeHandler) DownloadBackup(ctx context.Context, input *DownloadBackupInput) (*huma.StreamResponse, error)
func (*VolumeHandler) DownloadFile ¶
func (h *VolumeHandler) DownloadFile(ctx context.Context, input *DownloadFileInput) (*huma.StreamResponse, error)
func (*VolumeHandler) GetFileContent ¶
func (h *VolumeHandler) GetFileContent(ctx context.Context, input *GetFileContentInput) (*GetFileContentOutput, error)
func (*VolumeHandler) GetVolume ¶
func (h *VolumeHandler) GetVolume(ctx context.Context, input *GetVolumeInput) (*GetVolumeOutput, error)
GetVolume returns a volume by name.
func (*VolumeHandler) GetVolumeSizes ¶
func (h *VolumeHandler) GetVolumeSizes(ctx context.Context, input *GetVolumeSizesInput) (*GetVolumeSizesOutput, error)
GetVolumeSizes returns disk usage sizes for all volumes. This is a slow operation as it requires calculating disk usage.
func (*VolumeHandler) GetVolumeUsage ¶
func (h *VolumeHandler) GetVolumeUsage(ctx context.Context, input *GetVolumeUsageInput) (*GetVolumeUsageOutput, error)
GetVolumeUsage returns containers using a specific volume.
func (*VolumeHandler) GetVolumeUsageCounts ¶
func (h *VolumeHandler) GetVolumeUsageCounts(ctx context.Context, input *GetVolumeUsageCountsInput) (*GetVolumeUsageCountsOutput, error)
GetVolumeUsageCounts returns counts of volumes by usage status.
func (*VolumeHandler) ListBackupFiles ¶
func (h *VolumeHandler) ListBackupFiles(ctx context.Context, input *ListBackupFilesInput) (*ListBackupFilesOutput, error)
func (*VolumeHandler) ListBackups ¶
func (h *VolumeHandler) ListBackups(ctx context.Context, input *ListBackupsInput) (*ListBackupsOutput, error)
func (*VolumeHandler) ListVolumes ¶
func (h *VolumeHandler) ListVolumes(ctx context.Context, input *ListVolumesInput) (*ListVolumesOutput, error)
ListVolumes returns a paginated list of volumes.
func (*VolumeHandler) PruneVolumes ¶
func (h *VolumeHandler) PruneVolumes(ctx context.Context, input *PruneVolumesInput) (*PruneVolumesOutput, error)
PruneVolumes removes all unused Docker volumes.
func (*VolumeHandler) RemoveVolume ¶
func (h *VolumeHandler) RemoveVolume(ctx context.Context, input *RemoveVolumeInput) (*RemoveVolumeOutput, error)
RemoveVolume removes a Docker volume.
func (*VolumeHandler) RestoreBackup ¶
func (h *VolumeHandler) RestoreBackup(ctx context.Context, input *RestoreBackupInput) (*RestoreBackupOutput, error)
func (*VolumeHandler) RestoreBackupFiles ¶
func (h *VolumeHandler) RestoreBackupFiles(ctx context.Context, input *RestoreBackupFilesInput) (*RestoreBackupFilesOutput, error)
func (*VolumeHandler) UploadAndRestore ¶
func (h *VolumeHandler) UploadAndRestore(ctx context.Context, input *UploadAndRestoreInput) (*UploadAndRestoreOutput, error)
func (*VolumeHandler) UploadFile ¶
func (h *VolumeHandler) UploadFile(ctx context.Context, input *UploadFileInput) (*base.ApiResponse[base.MessageResponse], error)
type VolumePaginatedResponse ¶
type VolumePaginatedResponse struct {
Success bool `json:"success"`
Data []volumetypes.Volume `json:"data"`
Counts VolumeUsageCountsData `json:"counts"`
Pagination base.PaginationResponse `json:"pagination"`
}
VolumePaginatedResponse is the paginated response for volumes.
type VolumePruneReportData ¶
type VolumePruneReportData struct {
VolumesDeleted []string `json:"volumesDeleted,omitempty"`
SpaceReclaimed uint64 `json:"spaceReclaimed"`
}
VolumePruneReportData represents the result of a volume prune operation. This is a local type to avoid schema naming conflicts with image.PruneReport.
type VolumeSizeInfo ¶
type VolumeSizeInfo struct {
Name string `json:"name"`
Size int64 `json:"size"`
RefCount int64 `json:"refCount"`
}
VolumeSizeInfo represents size information for a single volume.
type VolumeUsageCountsData ¶
type VolumeUsageCountsData struct {
Inuse int `json:"inuse"`
Unused int `json:"unused"`
Total int `json:"total"`
}
VolumeUsageCountsData represents the counts of volumes by usage status. This is a local type to avoid schema naming conflicts with image.UsageCounts.
type VolumeUsageResponse ¶
type VolumeUsageResponse struct {
InUse bool `json:"inUse"`
Containers []string `json:"containers"`
}
VolumeUsageResponse represents volume usage information.
type VulnerabilityHandler ¶
type VulnerabilityHandler struct {
// contains filtered or unexported fields
}
VulnerabilityHandler provides Huma-based vulnerability scanning endpoints.
func (*VulnerabilityHandler) GetEnvironmentSummary ¶
func (h *VulnerabilityHandler) GetEnvironmentSummary(ctx context.Context, input *GetEnvironmentSummaryInput) (*GetEnvironmentSummaryOutput, error)
GetEnvironmentSummary returns aggregated vulnerability info for the current environment.
func (*VulnerabilityHandler) GetScanResult ¶
func (h *VulnerabilityHandler) GetScanResult(ctx context.Context, input *GetScanResultInput) (*GetScanResultOutput, error)
GetScanResult retrieves the vulnerability scan result for an image.
func (*VulnerabilityHandler) GetScanSummaries ¶
func (h *VulnerabilityHandler) GetScanSummaries(ctx context.Context, input *GetScanSummariesInput) (*GetScanSummariesOutput, error)
GetScanSummaries retrieves scan summaries for a list of image IDs.
func (*VulnerabilityHandler) GetScanSummary ¶
func (h *VulnerabilityHandler) GetScanSummary(ctx context.Context, input *GetScanSummaryInput) (*GetScanSummaryOutput, error)
GetScanSummary retrieves just the vulnerability summary for an image.
func (*VulnerabilityHandler) GetScannerStatus ¶
func (h *VulnerabilityHandler) GetScannerStatus(ctx context.Context, input *GetScannerStatusInput) (*GetScannerStatusOutput, error)
GetScannerStatus checks if the vulnerability scanner is available.
func (*VulnerabilityHandler) IgnoreVulnerability ¶
func (h *VulnerabilityHandler) IgnoreVulnerability(ctx context.Context, input *IgnoreVulnerabilityInput) (*IgnoreVulnerabilityOutput, error)
IgnoreVulnerability creates an ignore record for a vulnerability.
func (*VulnerabilityHandler) ListAllVulnerabilities ¶
func (h *VulnerabilityHandler) ListAllVulnerabilities(ctx context.Context, input *ListAllVulnerabilitiesInput) (*ListAllVulnerabilitiesOutput, error)
ListAllVulnerabilities returns a paginated list of vulnerabilities across all images.
func (*VulnerabilityHandler) ListAllVulnerabilityImageOptions ¶
func (h *VulnerabilityHandler) ListAllVulnerabilityImageOptions(ctx context.Context, input *ListAllVulnerabilityImageOptionsInput) (*ListAllVulnerabilityImageOptionsOutput, error)
ListAllVulnerabilityImageOptions returns available image options for vulnerability filtering.
func (*VulnerabilityHandler) ListIgnoredVulnerabilities ¶
func (h *VulnerabilityHandler) ListIgnoredVulnerabilities(ctx context.Context, input *ListIgnoredVulnerabilitiesInput) (*ListIgnoredVulnerabilitiesOutput, error)
ListIgnoredVulnerabilities returns a list of ignored vulnerabilities.
func (*VulnerabilityHandler) ListImageVulnerabilities ¶
func (h *VulnerabilityHandler) ListImageVulnerabilities(ctx context.Context, input *ListImageVulnerabilitiesInput) (*ListImageVulnerabilitiesOutput, error)
ListImageVulnerabilities returns a paginated list of vulnerabilities for an image.
func (*VulnerabilityHandler) ScanImage ¶
func (h *VulnerabilityHandler) ScanImage(ctx context.Context, input *ScanImageInput) (*ScanImageOutput, error)
ScanImage initiates a vulnerability scan for an image.
func (*VulnerabilityHandler) UnignoreVulnerability ¶
func (h *VulnerabilityHandler) UnignoreVulnerability(ctx context.Context, input *UnignoreVulnerabilityInput) (*UnignoreVulnerabilityOutput, error)
UnignoreVulnerability removes an ignore record for a vulnerability.
type WebhookHandler ¶
type WebhookHandler struct {
// contains filtered or unexported fields
}
func (*WebhookHandler) CreateWebhook ¶
func (h *WebhookHandler) CreateWebhook(ctx context.Context, input *CreateWebhookInput) (*CreateWebhookOutput, error)
CreateWebhook creates a new webhook and returns the raw token (shown once only).
func (*WebhookHandler) DeleteWebhook ¶
func (h *WebhookHandler) DeleteWebhook(ctx context.Context, input *DeleteWebhookInput) (*DeleteWebhookOutput, error)
DeleteWebhook removes a webhook.
func (*WebhookHandler) ListWebhooks ¶
func (h *WebhookHandler) ListWebhooks(ctx context.Context, input *ListWebhooksInput) (*ListWebhooksOutput, error)
ListWebhooks returns all webhooks for an environment (tokens are masked).
func (*WebhookHandler) UpdateWebhook ¶
func (h *WebhookHandler) UpdateWebhook(ctx context.Context, input *UpdateWebhookInput) (*UpdateWebhookOutput, error)
UpdateWebhook updates a webhook's enabled state.
Source Files
¶
- apikeys.go
- appimages.go
- auth.go
- build_workspaces.go
- container_registries.go
- containers.go
- customize.go
- dashboard.go
- edge_mtls_ca.go
- environments.go
- events.go
- fonts.go
- git_repositories.go
- gitops_syncs.go
- health.go
- helpers.go
- image_updates.go
- images.go
- job_schedules.go
- networks.go
- notifications.go
- oidc.go
- ports.go
- projects.go
- settings.go
- swarm.go
- system.go
- templates.go
- updater.go
- users.go
- version.go
- volumes.go
- vulnerabilities.go
- webhooks.go