Documentation
¶
Overview ¶
Package openapi provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.7.1 DO NOT EDIT.
Index ¶
- func Handler(si ServerInterface) http.Handler
- func HandlerFromMux(si ServerInterface, m ServeMux) http.Handler
- func HandlerFromMuxWithBaseURL(si ServerInterface, m ServeMux, baseURL string) http.Handler
- func HandlerWithOptions(si ServerInterface, options StdHTTPServerOptions) http.Handler
- type AddDistributionFeedbackJSONRequestBody
- type ApplyOriginPluginPlanJSONRequestBody
- type ApplyPlanJSONRequestBody
- type AssessmentDecisionRequest
- type AssessmentDecisionResponse
- type AssessmentDecisionView
- type AssessmentDecisionsResponse
- type AssessmentEntryResult
- type AssessmentLabelView
- type AssessmentReplaceConsent
- type AssessmentRepositoryResult
- type AssessmentResultsResponse
- type AuthMePasswordChangeRequest
- type AuthMeProfileUpdateRequest
- type AuthMeResponse
- type AuthStatusResponse
- type BooleanMessageResponse
- type BootstrapManagedAuthJSONRequestBody
- type ChangeAuthMePasswordJSONRequestBody
- type CheckOriginPluginUpdatesParams
- type CheckOriginRepositoryJSONRequestBody
- type CopyDistributionFeedbackJSONRequestBody
- type CreateAssessmentDecisionJSONRequestBody
- type CreateDistributePlanJSONRequestBody
- type CreateDistributionJSONRequestBody
- type CreateDistributionRequest
- type CreateDistributionShareJSONRequestBody
- type CreateFeedbackPlanJSONRequestBody
- type CreateManagedUserJSONRequestBody
- type CreateNamesPlanJSONRequestBody
- type CreateOriginPluginPlanJSONRequestBody
- type CreateOriginRepositoryJSONRequestBody
- type CreateOriginScriptJSONRequestBody
- type CreateOriginShareJSONRequestBody
- type CreateOverridePlanJSONRequestBody
- type CreatePatchPlanJSONRequestBody
- type CreatePluginSourceJSONRequestBody
- type CreatePurgePlanJSONRequestBody
- type CreateSettingsHostJSONRequestBody
- type CreateSystemScriptJSONRequestBody
- type CreateTeamJSONRequestBody
- type CreateTeamMemberJSONRequestBody
- type CreateWorkspaceJSONRequestBody
- type CreateWorkspaceMemberJSONRequestBody
- type DeclaredAssessmentView
- type DeleteDistributionFeedbackParams
- type DeleteOriginResponse
- type DeleteScriptResponse
- type DirectorySelectionResponse
- type DiscoverOriginPluginsParams
- type DistributeActionPayload
- type DistributionAccessUpdateRequest
- type DistributionAccessView
- type DistributionAssessmentsResponse
- type DistributionCapabilities
- type DistributionConfigItem
- type DistributionDetailItem
- type DistributionGroupPath
- type DistributionGroupPathsResponse
- type DistributionId
- type DistributionIndividualItem
- type DistributionIndividualsResponse
- type DistributionOverridesResponse
- type DistributionPasscheckResponse
- type DistributionPasscheckTotals
- type DistributionPipelineItem
- type DistributionRepositoriesResponse
- type DistributionRepositoryActivityResponse
- type DistributionRepositoryItem
- type DistributionRepositorySummary
- type DistributionRepositoryTarget
- type DistributionSeriesResponse
- type DistributionSummaryItem
- type DoctorCheckResponse
- type DoctorDetailResponse
- type DoctorRequest
- type DoctorResponse
- type DoctorSummaryResponse
- type EditorAvailability
- type EditorListResponse
- type EditorOpenRequest
- type EmptyActionPayload
- type Error
- type ErrorBody
- type ErrorResponse
- type EvalPipelineRestart
- type ExcludeDistributionMembersJSONRequestBody
- type FeedbackAddRequest
- type FeedbackCopyRequest
- type FeedbackDocument
- type FeedbackItem
- type FeedbackMember
- type FeedbackOverview
- type FeedbackPlanRequest
- type FeedbackUpdateRequest
- type FetchActionPayload
- type GenericObject
- type GetDistributionRenderFileParams
- type GetDistributionRenderFileParamsView
- type GetDistributionRepositorySummaryParams
- type GetOriginPluginWizardParams
- type GetPluginsOverviewParams
- type GetRepositoryEvalPipelineParams
- type GlobalDistributionsResponse
- type HealthResponse
- type HostDeleteResponse
- type HostEntryItem
- type HostName
- type HostPingResponse
- type HostTokenUpdateRequest
- type HostUpsertRequest
- type HostsListResponse
- type ImportDistributionMembersJSONRequestBody
- type IncludeDistributionMembersJSONRequestBody
- type IndexRefreshFailureItem
- type IndexRefreshResponse
- type IndividualRenderRequest
- type IndividualRenderResponse
- type IndividualSelectionEntry
- type InjectActionPayload
- type InvalidParamFormatError
- type JSONResponse
- type LegacyPluginItem
- type ListAssessmentResultsParams
- type ListDistributionMembersParams
- type ListDistributionRepositoriesParams
- type ListDistributionRepositoryActivityParams
- type ListDistributionTemplateFilesParams
- type ListDistributionTemplateFilesParamsTarget
- type ListGlobalDistributionsParams
- type ListKnownAssessmentResultsParams
- type ListOriginPluginsParams
- type ListRunsParams
- type LoginJSONRequestBody
- type LoginRequest
- type ManagedAuthBootstrapResponse
- type ManagedUserCreateRequest
- type ManagedUserCreateResponse
- type ManagedUserDeleteResponse
- type ManagedUserItem
- type ManagedUserListResponse
- type ManagedUserPasswordResetRequest
- type ManagedUserUpdateRequest
- type MemberAlias
- type MemberAliasRequest
- type MemberAliases
- type MembersExcludeRequest
- type MembersExcludeResult
- type MembersExcluded
- type MembersGroup
- type MembersImportRequest
- type MembersImportResult
- type MembersIncludeRequest
- type MembersIncludeResult
- type MembersMember
- type MembersOverview
- type MembersRevocation
- type MembersRevocationFailure
- type MembersStatus
- type MembersSyncGroup
- type MembersUpdateRequest
- type MembersUpdateResult
- type MembersValidation
- type MiddlewareFunc
- type NamesPlanRequest
- type OpenOriginFileJSONRequestBody
- type OpenOriginRepositoryJSONRequestBody
- type OpenOriginResponse
- type OpenOriginScriptsDirectoryJSONRequestBody
- type OpenPathResponse
- type OpenScriptResponse
- type OpenSystemScriptJSONRequestBody
- type OpenSystemScriptsDirectoryJSONRequestBody
- type OriginAccessView
- type OriginCapabilities
- type OriginCheckBrokenFragment
- type OriginCheckConfigurationWarning
- type OriginCheckDelimiters
- type OriginCheckInvalidToken
- type OriginCheckRequest
- type OriginCheckResidue
- type OriginCheckResponse
- type OriginCheckSuggestion
- type OriginCheckSummary
- type OriginCheckTokenMatch
- type OriginCheckUnresolvedFinding
- type OriginDistributionListResponse
- type OriginDistributionSummary
- type OriginFileOpenRequest
- type OriginFileOpenResponse
- type OriginId
- type OriginPluginDiscoveryView
- type OriginPluginUpdatesView
- type OriginPluginsView
- type OriginRepositoriesResponse
- type OriginRepositoryCreateRequest
- type OriginRepositoryItem
- type OriginScriptItem
- type OriginSummaryResponse
- type OriginTemplateCheckState
- type OriginWorkspaceUpdateRequest
- type OverridePlanRequest
- type OverviewActionPayload
- type PasscheckActionPayload
- type PasscheckCategory
- type PasscheckNotice
- type PasscheckPart
- type PasscheckRepository
- type PasscheckRepositoryCategory
- type PasscheckRepositoryPart
- type PasscheckTestResult
- type PasscheckTotals
- type PasswordChangeResponse
- type PatchActionPayload
- type PlanApplyRequest
- type PlanChangeView
- type PlanLayoutTargetView
- type PlanLayoutView
- type PlanResourceView
- type PlanRevision
- type PlanSnapshotView
- type PlanView
- type PlanWarningView
- type PluginChangeView
- type PluginConfigurationRequest
- type PluginConfigurationView
- type PluginDistribution
- type PluginEditFileView
- type PluginEditView
- type PluginHookConsentView
- type PluginId
- type PluginMigrationFileChange
- type PluginMigrationManual
- type PluginMigrationOverride
- type PluginMigrationRewrite
- type PluginMigrationStateChange
- type PluginMigrationView
- type PluginOverviewOrigin
- type PluginOverviewSuite
- type PluginPinChangeView
- type PluginPlanApplyRequest
- type PluginPlanApplyResult
- type PluginPlanId
- type PluginPlanRequest
- type PluginPlanView
- type PluginSourceDeleteResponse
- type PluginSourceItem
- type PluginSourceName
- type PluginSourceRequest
- type PluginSourcesResponse
- type PluginSuiteUpdateView
- type PluginSuiteView
- type PluginUsageUpdate
- type PluginUsageView
- type PluginView
- type PluginWizardField
- type PluginWizardOption
- type PluginWizardSection
- type PluginWizardStep
- type PluginWizardView
- type PluginsOverviewView
- type PurgeActionPayload
- type QueueDistributeActionJSONRequestBody
- type QueueFetchActionJSONRequestBody
- type QueueInjectActionJSONRequestBody
- type QueueMembersSyncActionJSONRequestBody
- type QueueOverviewActionJSONRequestBody
- type QueuePasscheckActionJSONRequestBody
- type QueuePatchActionJSONRequestBody
- type QueuePreviewActionJSONRequestBody
- type QueuePurgeActionJSONRequestBody
- type QueueRoleActionJSONRequestBody
- type QueueRunScriptActionJSONRequestBody
- type QueueSnapshotActionJSONRequestBody
- type RenderDistributionIndividualJSONRequestBody
- type RenderFileItem
- type RenderFileResponse
- type RenderLeftoverItem
- type RenderOpenTokenItem
- type RenderSelection
- type RenderValueItem
- type ReportOverride
- type ReportOverrideTarget
- type RepositoryActivityItem
- type RepositoryEvalPipeline
- type RepositoryFailedJob
- type RepositoryOverrides
- type RepositoryPipeline
- type RepositoryPipelineStage
- type RepositoryTargetActivity
- type RepositoryUuid
- type RequiredHeaderError
- type RequiredParamError
- type ResetManagedUserPasswordJSONRequestBody
- type ResourceShareListResponse
- type ResourceShareView
- type RoleActionPayload
- type RunActionAccepted
- type RunEventItem
- type RunEventItemEventType
- type RunId
- type RunItem
- type RunItemState
- type RunListResponse
- type RunScriptActionPayload
- type RunSystemDoctorJSONRequestBody
- type RunSystemUpdateJSONRequestBody
- type ScriptCreateRequest
- type ScriptCreateResponse
- type ScriptListResponse
- type ScriptRef
- type SeriesBalanceView
- type SeriesCellView
- type SeriesMilestoneView
- type SeriesRuleView
- type SeriesStandingView
- type SeriesStudentView
- type ServeMux
- type ServerInterface
- type ServerInterfaceWrapper
- func (siw *ServerInterfaceWrapper) AddDistributionFeedback(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ApplyOriginPluginPlan(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ApplyPlan(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) BootstrapManagedAuth(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CancelRun(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ChangeAuthMePassword(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CheckOriginPluginUpdates(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CheckOriginRepository(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CopyDistributionFeedback(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateAssessmentDecision(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateDistributePlan(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateDistribution(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateDistributionShare(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateFeedbackPlan(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateManagedUser(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateNamesPlan(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateOriginPluginPlan(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateOriginRepository(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateOriginScript(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateOriginShare(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateOverridePlan(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreatePatchPlan(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreatePluginSource(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreatePurgePlan(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateSettingsHost(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateSystemScript(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateTeam(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateTeamMember(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateWorkspace(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateWorkspaceMember(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteDistributionFeedback(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteDistributionShare(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteManagedUser(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteOriginRepository(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteOriginScript(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteOriginShare(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeletePluginSource(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteSettingsHost(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteSettingsHostToken(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteSystemScript(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteTeam(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteTeamMember(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteWorkspaceMember(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DiscoverOriginPlugins(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ExcludeDistributionMembers(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetAuthMe(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetAuthStatus(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetDistribution(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetDistributionFeedback(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetDistributionGroupPaths(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetDistributionMembersStatus(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetDistributionPasscheck(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetDistributionRenderFile(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetDistributionRepositorySummary(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetDistributionSeriesStanding(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetHealth(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetHealthz(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetOriginPluginWizard(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetOriginSummary(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetPluginsOverview(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetRepositoryEvalPipeline(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetRun(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetSessionWorkspace(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetSettingsDefaults(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetSetupStatus(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ImportDistributionMembers(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) IncludeDistributionMembers(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListAssessmentDecisions(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListAssessmentResults(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListDistributionAssessments(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListDistributionIndividuals(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListDistributionMemberAliases(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListDistributionMembers(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListDistributionOverrides(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListDistributionRepositories(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListDistributionRepositoryActivity(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListDistributionShares(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListDistributionTemplateFiles(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListGlobalDistributions(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListKnownAssessmentResults(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListManagedUsers(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListOriginDistributions(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListOriginPlugins(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListOriginRepositories(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListOriginScripts(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListOriginShares(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListPluginSources(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListRuns(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListSettingsHosts(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListSystemEditors(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListSystemScripts(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListTeamMembers(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListTeams(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListWorkspaceMembers(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListWorkspaces(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) Login(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) Logout(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) OpenOriginFile(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) OpenOriginRepository(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) OpenOriginScriptsDirectory(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) OpenSystemScript(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) OpenSystemScriptsDirectory(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PingSettingsHost(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) QueueDistributeAction(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) QueueFetchAction(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) QueueInjectAction(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) QueueMembersSyncAction(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) QueueOverviewAction(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) QueuePasscheckAction(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) QueuePatchAction(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) QueuePreviewAction(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) QueuePurgeAction(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) QueueRoleAction(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) QueueRunScriptAction(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) QueueSnapshotAction(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RefreshOriginRepositories(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RenderDistributionIndividual(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ResetManagedUserPassword(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RestartRepositoryEvalPipeline(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RunSystemDoctor(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RunSystemUpdate(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SelectSystemDirectory(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SetDistributionMemberAlias(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) StreamRunEvents(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SwitchSessionWorkspace(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UnsetDistributionMemberAlias(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateAuthMeProfile(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateDistribution(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateDistributionAccess(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateDistributionFeedback(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateDistributionMembers(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateDistributionSettlement(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateManagedUser(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateOriginPluginConfiguration(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateOriginSettlement(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateOriginWorkspace(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateSettingsHost(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateSettingsHostToken(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateTeam(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateTeamMember(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateWorkspaceMember(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ValidateDistributionMembers(w http.ResponseWriter, r *http.Request)
- type SetDistributionMemberAliasJSONRequestBody
- type SettingsConfigFileItem
- type SettingsDefaultsResponse
- type SettingsDefaultsSummary
- type SettlementUpdateRequest
- type SetupManagedAuthRequest
- type SetupStatusResponse
- type ShareCreateRequest
- type ShareId
- type SnapshotActionPayload
- type StdHTTPServerOptions
- type StreamRunEventsParams
- type Subject
- type SuiteId
- type SwitchSessionWorkspaceJSONRequestBody
- type SystemUpdateRequest
- type TeamDeleteResponse
- type TeamId
- type TeamItem
- type TeamListResponse
- type TeamMemberDeleteResponse
- type TeamMemberItem
- type TeamMemberListResponse
- type TeamMemberRoleUpdateRequest
- type TeamMemberUpsertRequest
- type TeamUpsertRequest
- type TemplateFileItem
- type TemplateFilesResponse
- type TooManyValuesForParamError
- type UnescapedCookieParamError
- type UnmarshalingParamError
- type UpdateAuthMeProfileJSONRequestBody
- type UpdateDistributionAccessJSONRequestBody
- type UpdateDistributionFeedbackJSONRequestBody
- type UpdateDistributionJSONRequestBody
- type UpdateDistributionMembersJSONRequestBody
- type UpdateDistributionRequest
- type UpdateDistributionSettlementJSONRequestBody
- type UpdateManagedUserJSONRequestBody
- type UpdateOriginPluginConfigurationJSONRequestBody
- type UpdateOriginPluginConfigurationParams
- type UpdateOriginSettlementJSONRequestBody
- type UpdateOriginWorkspaceJSONRequestBody
- type UpdateSettingsHostJSONRequestBody
- type UpdateSettingsHostTokenJSONRequestBody
- type UpdateTeamJSONRequestBody
- type UpdateTeamMemberJSONRequestBody
- type UpdateWorkspaceMemberJSONRequestBody
- type Username
- type WorkspaceCreateRequest
- type WorkspaceItem
- type WorkspaceListResponse
- type WorkspaceMemberDeleteResponse
- type WorkspaceMemberItem
- type WorkspaceMemberListResponse
- type WorkspaceMemberRoleUpdateRequest
- type WorkspaceMemberUpsertRequest
- type WorkspaceMembershipItem
- type WorkspaceSessionResponse
- type WorkspaceSessionUpdateRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Handler ¶
func Handler(si ServerInterface) http.Handler
Handler creates http.Handler with routing matching OpenAPI spec.
func HandlerFromMux ¶
func HandlerFromMux(si ServerInterface, m ServeMux) http.Handler
HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.
func HandlerFromMuxWithBaseURL ¶
func HandlerFromMuxWithBaseURL(si ServerInterface, m ServeMux, baseURL string) http.Handler
func HandlerWithOptions ¶
func HandlerWithOptions(si ServerInterface, options StdHTTPServerOptions) http.Handler
HandlerWithOptions creates http.Handler with additional options
Types ¶
type AddDistributionFeedbackJSONRequestBody ¶
type AddDistributionFeedbackJSONRequestBody = FeedbackAddRequest
AddDistributionFeedbackJSONRequestBody defines body for AddDistributionFeedback for application/json ContentType.
type ApplyOriginPluginPlanJSONRequestBody ¶
type ApplyOriginPluginPlanJSONRequestBody = PluginPlanApplyRequest
ApplyOriginPluginPlanJSONRequestBody defines body for ApplyOriginPluginPlan for application/json ContentType.
type ApplyPlanJSONRequestBody ¶
type ApplyPlanJSONRequestBody = PlanApplyRequest
ApplyPlanJSONRequestBody defines body for ApplyPlan for application/json ContentType.
type AssessmentDecisionRequest ¶
type AssessmentDecisionRequest struct {
// UUID Repository group of the student.
UUID string `json:"uuid"`
AssessmentID string `json:"assessment_id"`
// Status success or failure. Required for an entry without labels; for an entry with labels it is the outcome the assessor saw for the label and has to agree with the declaration. The server stores the outcome it resolved, and the run refuses to write when the declaration has given the label another meaning since.
Status string `json:"status"`
// Label One of the declared labels, for an entry with labels.
Label string `json:"label"`
Reason string `json:"reason"`
// ExpectedVersion Version of the entry the sender saw; empty when the sender saw no decision. The run writes only over this version.
ExpectedVersion string `json:"expected_version"`
// After Run ids of earlier decisions on the same entry that the sender saw waiting. What one of them wrote counts as expected too.
After []string `json:"after"`
// AcceptWarnings Plan warning codes the sender reviewed. A plan with other warnings goes back to review.
AcceptWarnings []string `json:"accept_warnings"`
// ClientToken Token the sender chose for this send. The listing returns it to the sender, so a send whose answer was lost can be matched to the decision the server accepted. The same person sending the same token again gets the decision already queued or written instead of a second one.
ClientToken string `json:"client_token"`
// Supersedes Tokens of earlier sends of the same decision by the same person, whose answers were lost. What their runs wrote counts as expected, like after.
Supersedes []string `json:"supersedes"`
// Replace The assessor's explicit consent to replace decisions of another person, given by ticking the replace box in the dialog. Without it the server refuses with ASSESSMENT_REPLACE_UNCONFIRMED.
Replace *AssessmentReplaceConsent `json:"replace,omitempty"`
}
AssessmentDecisionRequest defines model for AssessmentDecisionRequest.
type AssessmentDecisionResponse ¶
type AssessmentDecisionResponse struct {
// Outcome queued, or review when the plan has to be reviewed before the decision is queued.
Outcome string `json:"outcome"`
Decision *AssessmentDecisionView `json:"decision,omitempty"`
Plan *PlanView `json:"plan,omitempty"`
}
AssessmentDecisionResponse defines model for AssessmentDecisionResponse.
type AssessmentDecisionView ¶
type AssessmentDecisionView struct {
RunID string `json:"run_id"`
// State Run state. queued while the decision waits, running while it is written, then succeeded, failed or cancelled.
State string `json:"state"`
// Position For a queued decision, how many runs of the distribution start before it.
Position int `json:"position,omitempty"`
// WaitingFor For a queued decision, what it waits for. decisions when earlier decisions of the distribution come first, action when another action holds the distribution, other_distribution when an action on another distribution runs, because the server runs one action at a time. Empty when it is about to start.
WaitingFor string `json:"waiting_for,omitempty"`
// WaitingAction Run action it waits for, for action and other_distribution.
WaitingAction string `json:"waiting_action,omitempty"`
// WaitingDistribution Name of the other distribution, for other_distribution.
WaitingDistribution string `json:"waiting_distribution,omitempty"`
UUID string `json:"uuid"`
AssessmentID string `json:"assessment_id"`
Status string `json:"status,omitempty"`
Label string `json:"label,omitempty"`
Reason string `json:"reason,omitempty"`
Assessor string `json:"assessor,omitempty"`
AcceptedAt string `json:"accepted_at"`
FinishedAt string `json:"finished_at,omitempty"`
// ExpectedVersion Version of the entry the decision was based on. A retry that would replace a decision made since has to be confirmed.
ExpectedVersion string `json:"expected_version,omitempty"`
// Mine True when the signed-in person sent the decision, by session subject. Always present, so a missing value is never taken for the reader's own.
Mine bool `json:"mine"`
// ClientToken The sender's token, for the sender's own decisions only.
ClientToken string `json:"client_token,omitempty"`
// WrittenVersion For a written decision, the version of the entry its run read back and recognised as its own write.
WrittenVersion string `json:"written_version,omitempty"`
// ErrorCode For a failed decision. ASSESSMENT_CONFLICT when another decision was written meanwhile, ASSESSMENT_CHANGED when the declaration gives the decision another meaning than the assessor saw or no longer has the entry or label, ASSESSMENT_NEEDS_REVIEW when the plan changed shape, ASSESSMENT_UNREADABLE when the current state could not be read, ASSESSMENT_INTERRUPTED when the server stopped during the write so that whether it was written is unknown, ASSESSMENT_ACCESS when the assessor lost the right to decide, otherwise ASSESSMENT_WRITE_FAILED.
ErrorCode string `json:"error_code,omitempty"`
Error string `json:"error,omitempty"`
}
AssessmentDecisionView defines model for AssessmentDecisionView.
type AssessmentDecisionsResponse ¶
type AssessmentDecisionsResponse struct {
// PerPerson True when the server tells people apart by their session subject, which only a password login does. In local mode and with bearer tokens, also in a session signed in with a token, every decision has the same subject, so mine is true for everyone's decisions and the view has to ask before replacing any decided entry.
PerPerson bool `json:"per_person"`
Items []AssessmentDecisionView `json:"items"`
}
AssessmentDecisionsResponse defines model for AssessmentDecisionsResponse.
type AssessmentEntryResult ¶
type AssessmentEntryResult struct {
AssessmentID string `json:"assessment_id"`
// State waiting, passed or failed, as the student's report shows the entry.
State string `json:"state"`
Label string `json:"label,omitempty"`
Reason string `json:"reason,omitempty"`
Assessor string `json:"assessor,omitempty"`
CreatedAt string `json:"created_at,omitempty"`
// OverrideID Id of the override that decides the entry, divekit-assessment-<id>. Only the decision file at its canonical path, .divekit/overrides/divekit-assessment-<id>.json, decides a declared entry; a copy in the legacy directory or under another name decides nothing.
OverrideID string `json:"override_id,omitempty"`
// Version A digest of the decision file that decides the entry, by the same rule; empty when none does. A decision sends it back as expected_version.
Version string `json:"version"`
}
AssessmentEntryResult defines model for AssessmentEntryResult.
type AssessmentLabelView ¶
type AssessmentLabelView struct {
// Label Display text an assessor picks, such as a grade.
Label string `json:"label"`
// Passed Whether the label means passed. The status of a decision follows from it.
Passed bool `json:"passed"`
}
AssessmentLabelView defines model for AssessmentLabelView.
type AssessmentReplaceConsent ¶
type AssessmentReplaceConsent struct {
// Version The decided version the assessor agreed to replace. Required when expected_version names a decision that no decision of the same person wrote, and must then equal expected_version.
Version string `json:"version"`
// Runs Queued or running decisions of other people on the entry that the assessor agreed to replace. Every such decision has to be named; what they write counts as expected.
Runs []string `json:"runs"`
}
AssessmentReplaceConsent The assessor's explicit consent to replace decisions of another person, given by ticking the replace box in the dialog. Without it the server refuses with ASSESSMENT_REPLACE_UNCONFIRMED.
type AssessmentRepositoryResult ¶
type AssessmentRepositoryResult struct {
UUID string `json:"uuid"`
// Complete False when the repository or one of its override files could not be read. Its entries are then empty, because the result is unknown.
Complete bool `json:"complete"`
// Problem Why the read is incomplete. not_found, timeout, provider_unavailable, failed, file_too_large or file_invalid.
Problem string `json:"problem,omitempty"`
// ProblemPath Repository path of the file that could not be used, for file_too_large and file_invalid.
ProblemPath string `json:"problem_path,omitempty"`
// ReadAt When the server started the read of this repository from GitLab, RFC 3339 with fractions of a second, so it can be ordered against the finished_at of a decision. A known result keeps the time of the read it was remembered from.
ReadAt string `json:"read_at,omitempty"`
Entries []AssessmentEntryResult `json:"entries"`
}
AssessmentRepositoryResult defines model for AssessmentRepositoryResult.
type AssessmentResultsResponse ¶
type AssessmentResultsResponse struct {
GeneratedAt string `json:"generated_at"`
Items []AssessmentRepositoryResult `json:"items"`
}
AssessmentResultsResponse defines model for AssessmentResultsResponse.
type AuthMePasswordChangeRequest ¶
type AuthMePasswordChangeRequest struct {
CurrentPassword string `json:"current_password"`
NewPassword string `json:"new_password"`
}
AuthMePasswordChangeRequest defines model for AuthMePasswordChangeRequest.
type AuthMeProfileUpdateRequest ¶
type AuthMeProfileUpdateRequest struct {
DisplayName string `json:"display_name"`
}
AuthMeProfileUpdateRequest defines model for AuthMeProfileUpdateRequest.
type AuthMeResponse ¶
type AuthMeResponse struct {
Authenticated bool `json:"authenticated"`
Mode string `json:"mode"`
Subject string `json:"subject,omitempty"`
Username string `json:"username,omitempty"`
DisplayName string `json:"display_name,omitempty"`
Role string `json:"role,omitempty"`
WorkspaceRole string `json:"workspace_role,omitempty"`
AuthMode string `json:"auth_mode,omitempty"`
WorkspaceID string `json:"workspace_id,omitempty"`
WorkspaceName string `json:"workspace_name,omitempty"`
Memberships []WorkspaceMembershipItem `json:"memberships,omitempty"`
}
AuthMeResponse defines model for AuthMeResponse.
type AuthStatusResponse ¶
type AuthStatusResponse struct {
Authenticated bool `json:"authenticated"`
Mode string `json:"mode"`
Subject string `json:"subject,omitempty"`
Username string `json:"username,omitempty"`
DisplayName string `json:"display_name,omitempty"`
Role string `json:"role,omitempty"`
WorkspaceRole string `json:"workspace_role,omitempty"`
AuthMode string `json:"auth_mode,omitempty"`
LoginRequired bool `json:"login_required"`
WorkspaceID string `json:"workspace_id,omitempty"`
WorkspaceName string `json:"workspace_name,omitempty"`
}
AuthStatusResponse defines model for AuthStatusResponse.
type BooleanMessageResponse ¶
BooleanMessageResponse defines model for BooleanMessageResponse.
type BootstrapManagedAuthJSONRequestBody ¶
type BootstrapManagedAuthJSONRequestBody = SetupManagedAuthRequest
BootstrapManagedAuthJSONRequestBody defines body for BootstrapManagedAuth for application/json ContentType.
type ChangeAuthMePasswordJSONRequestBody ¶
type ChangeAuthMePasswordJSONRequestBody = AuthMePasswordChangeRequest
ChangeAuthMePasswordJSONRequestBody defines body for ChangeAuthMePassword for application/json ContentType.
type CheckOriginPluginUpdatesParams ¶
type CheckOriginPluginUpdatesParams struct {
// Distribution Distribution whose own plugin state is read or changed. Omit it for the project-level state.
Distribution *PluginDistribution `form:"distribution,omitempty" json:"distribution,omitempty"`
}
CheckOriginPluginUpdatesParams defines parameters for CheckOriginPluginUpdates.
type CheckOriginRepositoryJSONRequestBody ¶
type CheckOriginRepositoryJSONRequestBody = OriginCheckRequest
CheckOriginRepositoryJSONRequestBody defines body for CheckOriginRepository for application/json ContentType.
type CopyDistributionFeedbackJSONRequestBody ¶
type CopyDistributionFeedbackJSONRequestBody = FeedbackCopyRequest
CopyDistributionFeedbackJSONRequestBody defines body for CopyDistributionFeedback for application/json ContentType.
type CreateAssessmentDecisionJSONRequestBody ¶
type CreateAssessmentDecisionJSONRequestBody = AssessmentDecisionRequest
CreateAssessmentDecisionJSONRequestBody defines body for CreateAssessmentDecision for application/json ContentType.
type CreateDistributePlanJSONRequestBody ¶
type CreateDistributePlanJSONRequestBody = DistributeActionPayload
CreateDistributePlanJSONRequestBody defines body for CreateDistributePlan for application/json ContentType.
type CreateDistributionJSONRequestBody ¶
type CreateDistributionJSONRequestBody = CreateDistributionRequest
CreateDistributionJSONRequestBody defines body for CreateDistribution for application/json ContentType.
type CreateDistributionRequest ¶
type CreateDistributionRequest struct {
Name string `json:"name"`
RepoNamePattern string `json:"repo_name_pattern"`
MainGroupID *int `json:"main_group_id,omitempty"`
MemberPermissions string `json:"member_permissions"`
RemoteKey string `json:"remote_key"`
EvaluationPipeline *DistributionPipelineItem `json:"evaluation_pipeline,omitempty"`
LegacyEvaluationPipeline *DistributionPipelineItem `json:"secure_pipeline,omitempty"`
}
CreateDistributionRequest defines model for CreateDistributionRequest.
type CreateDistributionShareJSONRequestBody ¶
type CreateDistributionShareJSONRequestBody = ShareCreateRequest
CreateDistributionShareJSONRequestBody defines body for CreateDistributionShare for application/json ContentType.
type CreateFeedbackPlanJSONRequestBody ¶
type CreateFeedbackPlanJSONRequestBody = FeedbackPlanRequest
CreateFeedbackPlanJSONRequestBody defines body for CreateFeedbackPlan for application/json ContentType.
type CreateManagedUserJSONRequestBody ¶
type CreateManagedUserJSONRequestBody = ManagedUserCreateRequest
CreateManagedUserJSONRequestBody defines body for CreateManagedUser for application/json ContentType.
type CreateNamesPlanJSONRequestBody ¶
type CreateNamesPlanJSONRequestBody = NamesPlanRequest
CreateNamesPlanJSONRequestBody defines body for CreateNamesPlan for application/json ContentType.
type CreateOriginPluginPlanJSONRequestBody ¶
type CreateOriginPluginPlanJSONRequestBody = PluginPlanRequest
CreateOriginPluginPlanJSONRequestBody defines body for CreateOriginPluginPlan for application/json ContentType.
type CreateOriginRepositoryJSONRequestBody ¶
type CreateOriginRepositoryJSONRequestBody = OriginRepositoryCreateRequest
CreateOriginRepositoryJSONRequestBody defines body for CreateOriginRepository for application/json ContentType.
type CreateOriginScriptJSONRequestBody ¶
type CreateOriginScriptJSONRequestBody = ScriptCreateRequest
CreateOriginScriptJSONRequestBody defines body for CreateOriginScript for application/json ContentType.
type CreateOriginShareJSONRequestBody ¶
type CreateOriginShareJSONRequestBody = ShareCreateRequest
CreateOriginShareJSONRequestBody defines body for CreateOriginShare for application/json ContentType.
type CreateOverridePlanJSONRequestBody ¶
type CreateOverridePlanJSONRequestBody = OverridePlanRequest
CreateOverridePlanJSONRequestBody defines body for CreateOverridePlan for application/json ContentType.
type CreatePatchPlanJSONRequestBody ¶
type CreatePatchPlanJSONRequestBody = PatchActionPayload
CreatePatchPlanJSONRequestBody defines body for CreatePatchPlan for application/json ContentType.
type CreatePluginSourceJSONRequestBody ¶
type CreatePluginSourceJSONRequestBody = PluginSourceRequest
CreatePluginSourceJSONRequestBody defines body for CreatePluginSource for application/json ContentType.
type CreatePurgePlanJSONRequestBody ¶
type CreatePurgePlanJSONRequestBody = PurgeActionPayload
CreatePurgePlanJSONRequestBody defines body for CreatePurgePlan for application/json ContentType.
type CreateSettingsHostJSONRequestBody ¶
type CreateSettingsHostJSONRequestBody = HostUpsertRequest
CreateSettingsHostJSONRequestBody defines body for CreateSettingsHost for application/json ContentType.
type CreateSystemScriptJSONRequestBody ¶
type CreateSystemScriptJSONRequestBody = ScriptCreateRequest
CreateSystemScriptJSONRequestBody defines body for CreateSystemScript for application/json ContentType.
type CreateTeamJSONRequestBody ¶
type CreateTeamJSONRequestBody = TeamUpsertRequest
CreateTeamJSONRequestBody defines body for CreateTeam for application/json ContentType.
type CreateTeamMemberJSONRequestBody ¶
type CreateTeamMemberJSONRequestBody = TeamMemberUpsertRequest
CreateTeamMemberJSONRequestBody defines body for CreateTeamMember for application/json ContentType.
type CreateWorkspaceJSONRequestBody ¶
type CreateWorkspaceJSONRequestBody = WorkspaceCreateRequest
CreateWorkspaceJSONRequestBody defines body for CreateWorkspace for application/json ContentType.
type CreateWorkspaceMemberJSONRequestBody ¶
type CreateWorkspaceMemberJSONRequestBody = WorkspaceMemberUpsertRequest
CreateWorkspaceMemberJSONRequestBody defines body for CreateWorkspaceMember for application/json ContentType.
type DeclaredAssessmentView ¶
type DeclaredAssessmentView struct {
// ID Id of the entry. A decision is an override of divekit/assessment with this id as test_id.
ID string `json:"id"`
Name string `json:"name"`
Category string `json:"category"`
// Kind assessment or live-task.
Kind string `json:"kind"`
// Labels Labels the assessor picks from. Empty for an entry decided as passed or failed.
Labels []AssessmentLabelView `json:"labels"`
}
DeclaredAssessmentView defines model for DeclaredAssessmentView.
type DeleteDistributionFeedbackParams ¶
type DeleteDistributionFeedbackParams struct {
// Members Member identifiers or aliases whose item is removed, comma-separated.
Members *[]string `form:"members,omitempty" json:"members,omitempty"`
// All Remove the item from the broadcast document instead of from members.
All *bool `form:"all,omitempty" json:"all,omitempty"`
}
DeleteDistributionFeedbackParams defines parameters for DeleteDistributionFeedback.
type DeleteOriginResponse ¶
type DeleteOriginResponse struct {
Deleted bool `json:"deleted"`
OriginId string `json:"origin_id"`
Path string `json:"path"`
}
DeleteOriginResponse defines model for DeleteOriginResponse.
type DeleteScriptResponse ¶
type DeleteScriptResponse struct {
Deleted bool `json:"deleted"`
ScriptRef string `json:"script_ref"`
}
DeleteScriptResponse defines model for DeleteScriptResponse.
type DirectorySelectionResponse ¶
type DirectorySelectionResponse struct {
Path string `json:"path"`
}
DirectorySelectionResponse defines model for DirectorySelectionResponse.
type DiscoverOriginPluginsParams ¶
type DiscoverOriginPluginsParams struct {
// Source Only discover from one source name.
Source *string `form:"source,omitempty" json:"source,omitempty"`
// Distribution Distribution whose own plugin state is read or changed. Omit it for the project-level state.
Distribution *PluginDistribution `form:"distribution,omitempty" json:"distribution,omitempty"`
}
DiscoverOriginPluginsParams defines parameters for DiscoverOriginPlugins.
type DistributeActionPayload ¶
type DistributeActionPayload struct {
MembersFile string `json:"members_file,omitempty"`
MembersText string `json:"members_text,omitempty"`
Add bool `json:"add,omitempty"`
Fresh bool `json:"fresh,omitempty"`
Message string `json:"message,omitempty"`
Workers *int `json:"workers,omitempty"`
RateLimit *float64 `json:"rate_limit,omitempty"`
TaskTimeoutMS *int `json:"task_timeout_ms,omitempty"`
Languages []string `json:"languages,omitempty"`
WarnUnresolvedTokens string `json:"warn_unresolved_tokens,omitempty"`
DangerouslyDeleteGroupProjects bool `json:"dangerously_delete_group_projects,omitempty"`
}
DistributeActionPayload defines model for DistributeActionPayload.
type DistributionAccessUpdateRequest ¶
type DistributionAccessUpdateRequest struct {
Visibility string `json:"visibility"`
TeamIDs []string `json:"team_ids"`
}
DistributionAccessUpdateRequest defines model for DistributionAccessUpdateRequest.
type DistributionAccessView ¶
type DistributionAccessView struct {
WorkspaceID string `json:"workspace_id,omitempty"`
Visibility string `json:"visibility"`
TeamIDs []string `json:"team_ids,omitempty"`
TeamNames []string `json:"team_names,omitempty"`
}
DistributionAccessView defines model for DistributionAccessView.
type DistributionAssessmentsResponse ¶
type DistributionAssessmentsResponse struct {
Items []DeclaredAssessmentView `json:"items"`
}
DistributionAssessmentsResponse defines model for DistributionAssessmentsResponse.
type DistributionCapabilities ¶
type DistributionCapabilities struct {
// CanEdit Change authored files such as feedback, the members file and the configuration.
CanEdit bool `json:"can_edit"`
// CanOperate Start runs, apply plans and read GitLab on behalf of the server.
CanOperate bool `json:"can_operate"`
// CanAdmin Settle the distribution and manage its access.
CanAdmin bool `json:"can_admin"`
}
DistributionCapabilities What the current session may do with the distribution. The server checks every request again; the GUI uses this to hide actions it would refuse. Local mode grants everything.
type DistributionConfigItem ¶
type DistributionConfigItem struct {
RemoteKey string `json:"remote_key"`
RepoNamePattern string `json:"repo_name_pattern"`
MainGroupID *int `json:"main_group_id,omitempty"`
MemberPermissions string `json:"member_permissions,omitempty"`
EvaluationPipeline DistributionPipelineItem `json:"evaluation_pipeline"`
}
DistributionConfigItem defines model for DistributionConfigItem.
type DistributionDetailItem ¶
type DistributionDetailItem struct {
DistributionID string `json:"distribution_id"`
Name string `json:"name"`
Status string `json:"status"`
Config DistributionConfigItem `json:"config"`
RepoCount int `json:"repo_count"`
OriginID string `json:"origin_id,omitempty"`
// OriginSlug Readable slug derived from the indexed origin repository folder name for GUI routes.
OriginSlug string `json:"origin_slug,omitempty"`
// OriginKey Short SHA-256 based key derived from the indexed origin repository path for route disambiguation.
OriginKey string `json:"origin_key,omitempty"`
OriginPath string `json:"origin_path,omitempty"`
Access DistributionAccessView `json:"access"`
// Capabilities What the current session may do with the distribution. The server checks every request again; the GUI uses this to hide actions it would refuse. Local mode grants everything.
Capabilities DistributionCapabilities `json:"capabilities"`
// SettledAt Set when an operator marked this item as settled; settled items stay readable but leave active lists.
SettledAt *string `json:"settled_at,omitempty"`
}
DistributionDetailItem defines model for DistributionDetailItem.
type DistributionGroupPath ¶
type DistributionGroupPath struct {
GroupID int `json:"group_id"`
// Path Full GitLab path of the group. Absent when the lookup failed.
Path string `json:"path,omitempty"`
// Error Why the path is missing: not_found, timeout, provider_unavailable or failed.
Error string `json:"error,omitempty"`
}
DistributionGroupPath A configured group. Absent from the response when the configuration names none.
type DistributionGroupPathsResponse ¶
type DistributionGroupPathsResponse struct {
// Main A configured group. Absent from the response when the configuration names none.
Main *DistributionGroupPath `json:"main,omitempty"`
// Eval A configured group. Absent from the response when the configuration names none.
Eval *DistributionGroupPath `json:"eval,omitempty"`
}
DistributionGroupPathsResponse defines model for DistributionGroupPathsResponse.
type DistributionIndividualItem ¶
type DistributionIndividualItem struct {
UUID string `json:"uuid"`
Label string `json:"label,omitempty"`
Members []string `json:"members"`
MemberDisplayNames map[string]string `json:"member_display_names,omitempty"`
Objects []IndividualSelectionEntry `json:"objects"`
RelationCount int `json:"relation_count"`
LogicCount int `json:"logic_count"`
}
DistributionIndividualItem defines model for DistributionIndividualItem.
type DistributionIndividualsResponse ¶
type DistributionIndividualsResponse struct {
Items []DistributionIndividualItem `json:"items"`
}
DistributionIndividualsResponse defines model for DistributionIndividualsResponse.
type DistributionOverridesResponse ¶
type DistributionOverridesResponse struct {
GeneratedAt string `json:"generated_at"`
// Partial True when at least one repository could not be read completely.
Partial bool `json:"partial"`
// Checked Number of evaluation repositories that were read.
Checked int `json:"checked"`
// Items Repositories with overrides, skipped files or a read error.
Items []RepositoryOverrides `json:"items"`
}
DistributionOverridesResponse defines model for DistributionOverridesResponse.
type DistributionPasscheckResponse ¶
type DistributionPasscheckResponse struct {
// GeneratedAt Completion time of the stored passcheck run. null when the distribution has no stored result.
GeneratedAt *string `json:"generated_at"`
Totals PasscheckTotals `json:"totals"`
Categories []PasscheckCategory `json:"categories"`
// Parts Declared course parts of the stored run, in declaration order. Absent when the course declares no parts.
Parts []PasscheckPart `json:"parts,omitempty"`
Repositories []PasscheckRepository `json:"repositories"`
Notices []PasscheckNotice `json:"notices"`
}
DistributionPasscheckResponse defines model for DistributionPasscheckResponse.
type DistributionPasscheckTotals ¶
type DistributionPasscheckTotals struct {
GeneratedAt string `json:"generated_at"`
Totals PasscheckTotals `json:"totals"`
}
DistributionPasscheckTotals Totals of the stored passcheck result. Absent when no run stored a result.
type DistributionPipelineItem ¶
type DistributionPipelineItem struct {
Enabled bool `json:"enabled"`
GroupID *int `json:"group_id,omitempty"`
}
DistributionPipelineItem defines model for DistributionPipelineItem.
type DistributionRepositoriesResponse ¶
type DistributionRepositoriesResponse struct {
Items []DistributionRepositoryItem `json:"items"`
// LinksPending With refresh_links, the number of targets whose links this call did not check because its time budget ended or a distribution run holds the lock. Call again to continue; 0 when every target was checked or recently refreshed.
LinksPending int `json:"links_pending"`
}
DistributionRepositoriesResponse defines model for DistributionRepositoriesResponse.
type DistributionRepositoryActivityResponse ¶
type DistributionRepositoryActivityResponse struct {
GeneratedAt string `json:"generated_at"`
// Partial True when at least one target could not be read completely.
Partial bool `json:"partial"`
Items []RepositoryActivityItem `json:"items"`
}
DistributionRepositoryActivityResponse defines model for DistributionRepositoryActivityResponse.
type DistributionRepositoryItem ¶
type DistributionRepositoryItem struct {
UUID string `json:"uuid"`
Label string `json:"label,omitempty"`
Metadata map[string]string `json:"metadata,omitempty"`
Members []string `json:"members"`
// MemberDisplayNames Display names by member identifier, present when the members file provides them.
MemberDisplayNames map[string]string `json:"member_display_names,omitempty"`
Targets map[string]DistributionRepositoryTarget `json:"targets"`
// LastState One of passed, failed, not_started or unknown. Taken from the latest stored passcheck result; unknown when no result was stored or the repository is not part of it.
LastState string `json:"last_state"`
// TestsPassed Passed tests in the latest stored passcheck result. Omitted without a stored result for this repository.
TestsPassed *int `json:"tests_passed,omitempty"`
// TestsTotal Total tests in the latest stored passcheck result. Omitted without a stored result for this repository.
TestsTotal *int `json:"tests_total,omitempty"`
}
DistributionRepositoryItem defines model for DistributionRepositoryItem.
type DistributionRepositorySummary ¶
type DistributionRepositorySummary struct {
// GeneratedAt When the underlying GitLab read ran.
GeneratedAt string `json:"generated_at"`
// Cached True when the answer reuses a read that is at most 30 seconds old.
Cached bool `json:"cached"`
// Partial True when at least one target could not be read completely.
Partial bool `json:"partial"`
// Repositories Repositories that have an eval repository.
Repositories int `json:"repositories"`
// EvalFailed Repositories whose latest eval pipeline failed.
EvalFailed int `json:"eval_failed"`
// EvalRunning Repositories whose latest eval pipeline has not finished.
EvalRunning int `json:"eval_running"`
// Unreadable Eval repositories that could not be read.
Unreadable int `json:"unreadable"`
}
DistributionRepositorySummary defines model for DistributionRepositorySummary.
type DistributionRepositoryTarget ¶
type DistributionRepositoryTarget struct {
ProjectID int `json:"project_id"`
ProjectPath string `json:"project_path,omitempty"`
WebURL string `json:"web_url,omitempty"`
PagesURL string `json:"pages_url,omitempty"`
}
DistributionRepositoryTarget defines model for DistributionRepositoryTarget.
type DistributionSeriesResponse ¶
type DistributionSeriesResponse struct {
Distribution string `json:"distribution"`
Series []SeriesStandingView `json:"series"`
// Hidden Series that count the distribution but also a milestone the caller may not view. They are not evaluated.
Hidden []string `json:"hidden"`
}
DistributionSeriesResponse defines model for DistributionSeriesResponse.
type DistributionSummaryItem ¶
type DistributionSummaryItem struct {
DistributionID string `json:"distribution_id"`
Name string `json:"name"`
Status string `json:"status"`
Config DistributionConfigItem `json:"config"`
RepoCount int `json:"repo_count"`
// SettledAt Set when an operator marked this item as settled; settled items stay readable but leave active lists.
SettledAt *string `json:"settled_at,omitempty"`
}
DistributionSummaryItem defines model for DistributionSummaryItem.
type DoctorCheckResponse ¶
type DoctorCheckResponse struct {
Name string `json:"name"`
Status string `json:"status"`
Message string `json:"message"`
Details []DoctorDetailResponse `json:"details,omitempty"`
Error string `json:"error,omitempty"`
}
DoctorCheckResponse defines model for DoctorCheckResponse.
type DoctorDetailResponse ¶
DoctorDetailResponse defines model for DoctorDetailResponse.
type DoctorRequest ¶
DoctorRequest defines model for DoctorRequest.
type DoctorResponse ¶
type DoctorResponse struct {
OK bool `json:"ok"`
Status string `json:"status"`
Message string `json:"message"`
Summary DoctorSummaryResponse `json:"summary"`
Checks []DoctorCheckResponse `json:"checks"`
}
DoctorResponse defines model for DoctorResponse.
type DoctorSummaryResponse ¶
type DoctorSummaryResponse struct {
Total int `json:"total"`
Passed int `json:"passed"`
Warnings int `json:"warnings"`
Failed int `json:"failed"`
}
DoctorSummaryResponse defines model for DoctorSummaryResponse.
type EditorAvailability ¶
EditorAvailability defines model for EditorAvailability.
type EditorListResponse ¶
type EditorListResponse struct {
Items []EditorAvailability `json:"items"`
}
EditorListResponse defines model for EditorListResponse.
type EditorOpenRequest ¶
type EditorOpenRequest struct {
Editor string `json:"editor"`
}
EditorOpenRequest defines model for EditorOpenRequest.
type EmptyActionPayload ¶
type EmptyActionPayload = struct{}
EmptyActionPayload defines model for EmptyActionPayload.
type ErrorBody ¶
type ErrorBody struct {
Code string `json:"code"`
Type string `json:"type"`
Message string `json:"message"`
Details map[string]interface{} `json:"details,omitempty"`
}
ErrorBody defines model for ErrorBody.
type ErrorResponse ¶
type ErrorResponse struct {
Error ErrorBody `json:"error"`
}
ErrorResponse defines model for ErrorResponse.
type EvalPipelineRestart ¶
type EvalPipelineRestart struct {
Action string `json:"action"`
Pipeline RepositoryPipeline `json:"pipeline"`
}
EvalPipelineRestart defines model for EvalPipelineRestart.
type ExcludeDistributionMembersJSONRequestBody ¶
type ExcludeDistributionMembersJSONRequestBody = MembersExcludeRequest
ExcludeDistributionMembersJSONRequestBody defines body for ExcludeDistributionMembers for application/json ContentType.
type FeedbackAddRequest ¶
type FeedbackAddRequest struct {
Members []string `json:"members"`
All bool `json:"all"`
ID string `json:"id"`
// Test Shows the message under one report entry, as <plugin>/<test name or id>, for example maven/pit/Coverage. Empty keeps it a general message.
Test string `json:"test"`
Message string `json:"message"`
}
FeedbackAddRequest defines model for FeedbackAddRequest.
type FeedbackCopyRequest ¶
type FeedbackCopyRequest struct {
SourceMember string `json:"source_member"`
Targets []string `json:"targets"`
ID string `json:"id"`
}
FeedbackCopyRequest defines model for FeedbackCopyRequest.
type FeedbackDocument ¶
type FeedbackDocument struct {
// UUID Member identifier, or _all for the broadcast document.
UUID string `json:"uuid"`
// Scope One of all or member.
Scope string `json:"scope"`
Member *FeedbackMember `json:"member,omitempty"`
Items []FeedbackItem `json:"items"`
LastSentAt *string `json:"last_sent_at,omitempty"`
}
FeedbackDocument defines model for FeedbackDocument.
type FeedbackItem ¶
type FeedbackItem struct {
ID string `json:"id"`
Message string `json:"message"`
CreatedAt string `json:"created_at,omitempty"`
// Test The report entry the message is shown under, as <plugin>/<test name or id>. Absent for a general message in the teaching-team thread.
Test string `json:"test,omitempty"`
// State sent when this exact item was part of the last successful send of its document. One of draft or sent.
State string `json:"state"`
SentAt *string `json:"sent_at,omitempty"`
}
FeedbackItem defines model for FeedbackItem.
type FeedbackMember ¶
type FeedbackMember struct {
// UUID Repository group identifier; empty for members without a group.
UUID string `json:"uuid,omitempty"`
Member string `json:"member"`
DisplayName string `json:"display_name,omitempty"`
Aliases []string `json:"aliases"`
DisplayNames []string `json:"display_names"`
}
FeedbackMember defines model for FeedbackMember.
type FeedbackOverview ¶
type FeedbackOverview struct {
Broadcast FeedbackDocument `json:"broadcast"`
// Documents Member documents that hold at least one item.
Documents []FeedbackDocument `json:"documents"`
// Members Members that can receive feedback.
Members []FeedbackMember `json:"members"`
}
FeedbackOverview defines model for FeedbackOverview.
type FeedbackPlanRequest ¶
type FeedbackPlanRequest struct {
// All Send every authored document.
All bool `json:"all"`
// Members Send these members' documents together with the broadcast.
Members []string `json:"members"`
// Message Commit message for the patches.
Message string `json:"message"`
}
FeedbackPlanRequest defines model for FeedbackPlanRequest.
type FeedbackUpdateRequest ¶
type FeedbackUpdateRequest struct {
// Member One member uuid or alias. Mutually exclusive with all.
Member string `json:"member,omitempty"`
// All Update the broadcast document instead of a member document.
All bool `json:"all,omitempty"`
Message string `json:"message"`
// Test Omit to retain the current test target. Empty clears it; otherwise use <plugin>/<test name or id>.
Test *string `json:"test,omitempty"`
}
FeedbackUpdateRequest defines model for FeedbackUpdateRequest.
type FetchActionPayload ¶
type FetchActionPayload struct {
OutputDir string `json:"output_dir,omitempty"`
Files []string `json:"files,omitempty"`
Workers *int `json:"workers,omitempty"`
RateLimit *float64 `json:"rate_limit,omitempty"`
TaskTimeoutMS *int `json:"task_timeout_ms,omitempty"`
DryRun bool `json:"dry_run,omitempty"`
UUIDFilter []string `json:"uuid_filter,omitempty"`
UserFilter []string `json:"user_filter,omitempty"`
}
FetchActionPayload defines model for FetchActionPayload.
type GenericObject ¶
type GenericObject map[string]interface{}
GenericObject defines model for GenericObject.
type GetDistributionRenderFileParams ¶
type GetDistributionRenderFileParams struct {
Path string `form:"path" json:"path"`
View *GetDistributionRenderFileParamsView `form:"view,omitempty" json:"view,omitempty"`
}
GetDistributionRenderFileParams defines parameters for GetDistributionRenderFile.
type GetDistributionRenderFileParamsView ¶
type GetDistributionRenderFileParamsView string
GetDistributionRenderFileParamsView defines parameters for GetDistributionRenderFile.
const ( Rendered GetDistributionRenderFileParamsView = "rendered" Template GetDistributionRenderFileParamsView = "template" )
Defines values for GetDistributionRenderFileParamsView.
func (GetDistributionRenderFileParamsView) Valid ¶
func (e GetDistributionRenderFileParamsView) Valid() bool
Valid indicates whether the value is a known member of the GetDistributionRenderFileParamsView enum.
type GetDistributionRepositorySummaryParams ¶
type GetDistributionRepositorySummaryParams struct {
// Refresh Skips the cache.
Refresh *bool `form:"refresh,omitempty" json:"refresh,omitempty"`
}
GetDistributionRepositorySummaryParams defines parameters for GetDistributionRepositorySummary.
type GetOriginPluginWizardParams ¶
type GetOriginPluginWizardParams struct {
// Distribution Distribution whose own plugin state is read or changed. Omit it for the project-level state.
Distribution *PluginDistribution `form:"distribution,omitempty" json:"distribution,omitempty"`
}
GetOriginPluginWizardParams defines parameters for GetOriginPluginWizard.
type GetPluginsOverviewParams ¶
type GetPluginsOverviewParams struct {
// CheckUpdates Also look for newer suite and plugin releases at the configured sources.
CheckUpdates *bool `form:"check_updates,omitempty" json:"check_updates,omitempty"`
}
GetPluginsOverviewParams defines parameters for GetPluginsOverview.
type GetRepositoryEvalPipelineParams ¶
type GetRepositoryEvalPipelineParams struct {
// Lines Number of log lines to return.
Lines *int `form:"lines,omitempty" json:"lines,omitempty"`
}
GetRepositoryEvalPipelineParams defines parameters for GetRepositoryEvalPipeline.
type GlobalDistributionsResponse ¶
type GlobalDistributionsResponse struct {
Items []DistributionDetailItem `json:"items"`
Total int `json:"total"`
Limit int `json:"limit"`
Offset int `json:"offset"`
}
GlobalDistributionsResponse defines model for GlobalDistributionsResponse.
type HealthResponse ¶
HealthResponse defines model for HealthResponse.
type HostDeleteResponse ¶
HostDeleteResponse defines model for HostDeleteResponse.
type HostEntryItem ¶
type HostEntryItem struct {
Name string `json:"name"`
URL string `json:"url"`
TokenKey string `json:"token_key"`
MaxWorkers int `json:"max_workers"`
RateLimitDelayMs int `json:"rate_limit_delay_ms"`
EnableConcurrency *bool `json:"enable_concurrency,omitempty"`
}
HostEntryItem defines model for HostEntryItem.
type HostPingResponse ¶
type HostPingResponse struct {
Status string `json:"status"`
IsValid *bool `json:"is_valid,omitempty"`
TokenName *string `json:"token_name,omitempty"`
ExpiresSoon *bool `json:"expires_soon,omitempty"`
ExpiresInDays *int `json:"expires_in_days,omitempty"`
ErrorMessage *string `json:"error_message,omitempty"`
}
HostPingResponse defines model for HostPingResponse.
type HostTokenUpdateRequest ¶
type HostTokenUpdateRequest struct {
Token string `json:"token"`
}
HostTokenUpdateRequest defines model for HostTokenUpdateRequest.
type HostUpsertRequest ¶
type HostUpsertRequest struct {
Name string `json:"name"`
URL string `json:"url"`
Token string `json:"token,omitempty"`
MaxWorkers *int `json:"max_workers,omitempty"`
RateLimitDelayMs *int `json:"rate_limit_delay_ms,omitempty"`
EnableConcurrency *bool `json:"enable_concurrency,omitempty"`
}
HostUpsertRequest defines model for HostUpsertRequest.
type HostsListResponse ¶
type HostsListResponse struct {
Items []HostEntryItem `json:"items"`
}
HostsListResponse defines model for HostsListResponse.
type ImportDistributionMembersJSONRequestBody ¶
type ImportDistributionMembersJSONRequestBody = MembersImportRequest
ImportDistributionMembersJSONRequestBody defines body for ImportDistributionMembers for application/json ContentType.
type IncludeDistributionMembersJSONRequestBody ¶
type IncludeDistributionMembersJSONRequestBody = MembersIncludeRequest
IncludeDistributionMembersJSONRequestBody defines body for IncludeDistributionMembers for application/json ContentType.
type IndexRefreshFailureItem ¶
type IndexRefreshFailureItem struct {
Path string `json:"path"`
Operation string `json:"operation"`
Error string `json:"error"`
}
IndexRefreshFailureItem defines model for IndexRefreshFailureItem.
type IndexRefreshResponse ¶
type IndexRefreshResponse struct {
Updated int `json:"updated"`
Removed int `json:"removed"`
Failed int `json:"failed"`
Total int `json:"total"`
DurationMS int `json:"duration_ms"`
Failures []IndexRefreshFailureItem `json:"failures,omitempty"`
}
IndexRefreshResponse defines model for IndexRefreshResponse.
type IndividualRenderRequest ¶
type IndividualRenderRequest struct {
Target string `json:"target"`
}
IndividualRenderRequest defines model for IndividualRenderRequest.
type IndividualRenderResponse ¶
type IndividualRenderResponse struct {
RenderID string `json:"render_id"`
ExpiresAt time.Time `json:"expires_at"`
DistributionID string `json:"distribution_id"`
UUID string `json:"uuid"`
Sample bool `json:"sample"`
Target string `json:"target"`
Delimiters OriginCheckDelimiters `json:"delimiters"`
Selection RenderSelection `json:"selection"`
Files []RenderFileItem `json:"files"`
Values []RenderValueItem `json:"values"`
OpenTokens []RenderOpenTokenItem `json:"open_tokens"`
VariationLeftovers []RenderLeftoverItem `json:"variation_leftovers"`
Warnings []string `json:"warnings"`
}
IndividualRenderResponse defines model for IndividualRenderResponse.
type IndividualSelectionEntry ¶
IndividualSelectionEntry defines model for IndividualSelectionEntry.
type InjectActionPayload ¶
type InjectActionPayload struct {
Scopes []string `json:"scopes,omitempty"`
Force bool `json:"force,omitempty"`
// Target Where to inject. The origin repository receives project-level files. Default distribution.
Target string `json:"target,omitempty"`
}
InjectActionPayload defines model for InjectActionPayload.
type InvalidParamFormatError ¶
func (*InvalidParamFormatError) Error ¶
func (e *InvalidParamFormatError) Error() string
func (*InvalidParamFormatError) Unwrap ¶
func (e *InvalidParamFormatError) Unwrap() error
type JSONResponse ¶
type JSONResponse interface {
// contains filtered or unexported methods
}
JSONResponse admits only declared GUI response objects at the JSON writer. Its private method prevents handlers from adding an untyped response escape.
type LegacyPluginItem ¶
type LegacyPluginItem struct {
PluginID string `json:"plugin_id"`
Enabled bool `json:"enabled"`
// Mapped True when the migration places the plugin in a suite.
Mapped bool `json:"mapped"`
}
LegacyPluginItem defines model for LegacyPluginItem.
type ListAssessmentResultsParams ¶
type ListAssessmentResultsParams struct {
// Uuid Repository groups to read, 1 to 50. Repeat the parameter. Without it the request is a 400.
Uuid *[]string `form:"uuid,omitempty" json:"uuid,omitempty"`
}
ListAssessmentResultsParams defines parameters for ListAssessmentResults.
type ListDistributionMembersParams ¶
type ListDistributionMembersParams struct {
// Roles Look up the current GitLab role of every member. Needs operate access, is bounded by a timeout, and falls back to the local list with a warning.
Roles *bool `form:"roles,omitempty" json:"roles,omitempty"`
}
ListDistributionMembersParams defines parameters for ListDistributionMembers.
type ListDistributionRepositoriesParams ¶
type ListDistributionRepositoriesParams struct {
// RefreshLinks Refresh GitLab-derived repository links before returning. Disabled by default so stale or inaccessible remote projects cannot block the GUI. Targets are read in parallel within a time budget and each is checked at most once a minute; links_pending in the response counts the targets left for a following call.
RefreshLinks *bool `form:"refresh_links,omitempty" json:"refresh_links,omitempty"`
}
ListDistributionRepositoriesParams defines parameters for ListDistributionRepositories.
type ListDistributionRepositoryActivityParams ¶
type ListDistributionRepositoryActivityParams struct {
// Uuid Restrict the read to one repository.
Uuid *string `form:"uuid,omitempty" json:"uuid,omitempty"`
// Limit Number of newest pipelines per target.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Refresh Skips the short-lived server cache that serves reads without uuid and with limit 1.
Refresh *bool `form:"refresh,omitempty" json:"refresh,omitempty"`
}
ListDistributionRepositoryActivityParams defines parameters for ListDistributionRepositoryActivity.
type ListDistributionTemplateFilesParams ¶
type ListDistributionTemplateFilesParams struct {
Target *ListDistributionTemplateFilesParamsTarget `form:"target,omitempty" json:"target,omitempty"`
}
ListDistributionTemplateFilesParams defines parameters for ListDistributionTemplateFiles.
type ListDistributionTemplateFilesParamsTarget ¶
type ListDistributionTemplateFilesParamsTarget string
ListDistributionTemplateFilesParamsTarget defines parameters for ListDistributionTemplateFiles.
const ( Eval ListDistributionTemplateFilesParamsTarget = "eval" Work ListDistributionTemplateFilesParamsTarget = "work" )
Defines values for ListDistributionTemplateFilesParamsTarget.
func (ListDistributionTemplateFilesParamsTarget) Valid ¶
func (e ListDistributionTemplateFilesParamsTarget) Valid() bool
Valid indicates whether the value is a known member of the ListDistributionTemplateFilesParamsTarget enum.
type ListGlobalDistributionsParams ¶
type ListGlobalDistributionsParams struct {
// Q Case-insensitive filter over distribution names and repository metadata.
Q *string `form:"q,omitempty" json:"q,omitempty"`
// OriginId Restrict results to one origin repository.
OriginId *string `form:"origin_id,omitempty" json:"origin_id,omitempty"`
// Limit Maximum number of distributions to return. Zero keeps the server default.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Offset Number of matching distributions to skip.
Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
}
ListGlobalDistributionsParams defines parameters for ListGlobalDistributions.
type ListKnownAssessmentResultsParams ¶
type ListKnownAssessmentResultsParams struct {
// Uuid Repository groups to answer for. Repeat the parameter. Without it every group of the distribution the server knows is listed. An unknown uuid is a 404.
Uuid *[]string `form:"uuid,omitempty" json:"uuid,omitempty"`
}
ListKnownAssessmentResultsParams defines parameters for ListKnownAssessmentResults.
type ListOriginPluginsParams ¶
type ListOriginPluginsParams struct {
// Distribution Distribution whose own plugin state is read or changed. Omit it for the project-level state.
Distribution *PluginDistribution `form:"distribution,omitempty" json:"distribution,omitempty"`
}
ListOriginPluginsParams defines parameters for ListOriginPlugins.
type ListRunsParams ¶
type ListRunsParams struct {
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Cursor Opaque exclusive cursor from the previous response. Restart without a cursor when changing filters.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
OriginId *string `form:"origin_id,omitempty" json:"origin_id,omitempty"`
DistributionId *string `form:"distribution_id,omitempty" json:"distribution_id,omitempty"`
// Action Match any selected action. Repeat the parameter for multiple actions; one value remains compatible with existing clients.
Action *[]string `form:"action,omitempty" json:"action,omitempty"`
// State Exact run state, or active for queued, running and cancelling runs.
State *string `form:"state,omitempty" json:"state,omitempty"`
// IncludeResources Include active runs and the latest run per visible distribution, independently of history filters and cursor. Size follows resource count.
IncludeResources *bool `form:"include_resources,omitempty" json:"include_resources,omitempty"`
}
ListRunsParams defines parameters for ListRuns.
type LoginJSONRequestBody ¶
type LoginJSONRequestBody = LoginRequest
LoginJSONRequestBody defines body for Login for application/json ContentType.
type LoginRequest ¶
type LoginRequest struct {
Username string `json:"username"`
Password string `json:"password"`
Token string `json:"token"`
}
LoginRequest Supply either `username` and `password` together, or `token`.
type ManagedAuthBootstrapResponse ¶
type ManagedAuthBootstrapResponse struct {
ConfigPath string `json:"config_path"`
Subject string `json:"subject"`
Username string `json:"username,omitempty"`
DisplayName string `json:"display_name,omitempty"`
Role string `json:"role"`
Password string `json:"password,omitempty"`
PasswordGenerated bool `json:"password_generated,omitempty"`
Token string `json:"token,omitempty"`
RestartMode string `json:"restart_mode"`
RestartHint string `json:"restart_hint"`
RestartNeeded bool `json:"restart_needed"`
}
ManagedAuthBootstrapResponse defines model for ManagedAuthBootstrapResponse.
type ManagedUserCreateRequest ¶
type ManagedUserCreateRequest struct {
Username string `json:"username"`
DisplayName string `json:"display_name"`
Role string `json:"role"`
Password string `json:"password"`
}
ManagedUserCreateRequest defines model for ManagedUserCreateRequest.
type ManagedUserCreateResponse ¶
type ManagedUserCreateResponse struct {
User ManagedUserItem `json:"user"`
GeneratedPassword bool `json:"generated_password"`
Password string `json:"password"`
}
ManagedUserCreateResponse defines model for ManagedUserCreateResponse.
type ManagedUserDeleteResponse ¶
type ManagedUserDeleteResponse struct {
Deleted bool `json:"deleted"`
Username string `json:"username"`
}
ManagedUserDeleteResponse defines model for ManagedUserDeleteResponse.
type ManagedUserItem ¶
type ManagedUserItem struct {
Username string `json:"username"`
DisplayName string `json:"display_name"`
Subject string `json:"subject"`
Role string `json:"role"`
Current bool `json:"current"`
AuthProvider string `json:"auth_provider,omitempty"`
}
ManagedUserItem defines model for ManagedUserItem.
type ManagedUserListResponse ¶
type ManagedUserListResponse struct {
Items []ManagedUserItem `json:"items"`
}
ManagedUserListResponse defines model for ManagedUserListResponse.
type ManagedUserPasswordResetRequest ¶
type ManagedUserPasswordResetRequest struct {
Password string `json:"password"`
}
ManagedUserPasswordResetRequest defines model for ManagedUserPasswordResetRequest.
type ManagedUserUpdateRequest ¶
type ManagedUserUpdateRequest struct {
DisplayName string `json:"display_name"`
Role string `json:"role"`
}
ManagedUserUpdateRequest defines model for ManagedUserUpdateRequest.
type MemberAlias ¶
type MemberAlias struct {
ProviderUsername string `json:"provider_username"`
DisplayName string `json:"display_name"`
}
MemberAlias defines model for MemberAlias.
type MemberAliasRequest ¶
type MemberAliasRequest struct {
DisplayName string `json:"display_name"`
ProviderUsername string `json:"provider_username"`
}
MemberAliasRequest defines model for MemberAliasRequest.
type MemberAliases ¶
type MemberAliases struct {
Aliases []MemberAlias `json:"aliases"`
// Changed True when the request altered the members file.
Changed bool `json:"changed"`
}
MemberAliases defines model for MemberAliases.
type MembersExcludeRequest ¶
type MembersExcludeRequest struct {
Members []string `json:"members"`
DryRun bool `json:"dry_run"`
}
MembersExcludeRequest defines model for MembersExcludeRequest.
type MembersExcludeResult ¶
type MembersExcludeResult struct {
RemovedMembers []string `json:"removed_members"`
NotFoundMembers []string `json:"not_found_members"`
RemainingMembers int `json:"remaining_members"`
RemovedGroups int `json:"removed_groups"`
RemoteRevocations []MembersRevocation `json:"remote_revocations"`
RemoteFailures []MembersRevocationFailure `json:"remote_failures"`
Warnings []string `json:"warnings"`
DryRun bool `json:"dry_run"`
Applied bool `json:"applied"`
}
MembersExcludeResult defines model for MembersExcludeResult.
type MembersExcluded ¶
type MembersExcluded struct {
Username string `json:"username"`
// DisplayName Alias the member had when excluded.
DisplayName string `json:"display_name,omitempty"`
// UUID Repository group the member left.
UUID string `json:"uuid,omitempty"`
ExcludedAt string `json:"excluded_at,omitempty"`
}
MembersExcluded A member removed by an exclusion. The record is generated state and lets the GUI include the member again.
type MembersGroup ¶
type MembersGroup struct {
UUID string `json:"uuid"`
Label string `json:"label,omitempty"`
Members []MembersMember `json:"members"`
UnassignedMembers []string `json:"unassigned_members"`
Metadata map[string]string `json:"metadata,omitempty"`
}
MembersGroup defines model for MembersGroup.
type MembersImportRequest ¶
type MembersImportRequest struct {
Text string `json:"text"`
// Delimiter Parse the text as a table with this delimiter. Without it, every line is one group and names are separated by commas. One of comma, semicolon, tab or pipe.
Delimiter string `json:"delimiter"`
// Replace Replace the configured members instead of merging.
Replace bool `json:"replace"`
DryRun bool `json:"dry_run"`
}
MembersImportRequest defines model for MembersImportRequest.
type MembersImportResult ¶
type MembersImportResult struct {
Replace bool `json:"replace"`
DryRun bool `json:"dry_run"`
Written bool `json:"written"`
GroupsBefore int `json:"groups_before"`
GroupsAfter int `json:"groups_after"`
AddedMembers []string `json:"added_members"`
RemovedMembers []string `json:"removed_members"`
AddedCount int `json:"added_count"`
RemovedCount int `json:"removed_count"`
UnchangedCount int `json:"unchanged_count"`
}
MembersImportResult defines model for MembersImportResult.
type MembersIncludeRequest ¶
type MembersIncludeRequest struct {
Members []string `json:"members"`
DryRun bool `json:"dry_run"`
}
MembersIncludeRequest defines model for MembersIncludeRequest.
type MembersIncludeResult ¶
type MembersIncludeResult struct {
IncludedMembers []string `json:"included_members"`
// NotExcludedMembers Requested names that are not in the excluded record.
NotExcludedMembers []string `json:"not_excluded_members"`
MembersBefore int `json:"members_before"`
MembersAfter int `json:"members_after"`
DryRun bool `json:"dry_run"`
Applied bool `json:"applied"`
}
MembersIncludeResult defines model for MembersIncludeResult.
type MembersMember ¶
type MembersMember struct {
Username string `json:"username"`
DisplayName string `json:"display_name,omitempty"`
// Role Current GitLab role; only set when roles were requested.
Role string `json:"role,omitempty"`
}
MembersMember defines model for MembersMember.
type MembersOverview ¶
type MembersOverview struct {
Configured bool `json:"configured"`
// ConfiguredPath Members path as written in the distribution config, for example `$DIVEKIT_MEMBERS/members.json`. Empty when none is configured. Local directories are replaced by `<local>`.
ConfiguredPath string `json:"configured_path"`
// FileInMembersDirectory Describes the configured name: true when it names a file below the members directory, so copying a missing file there under that name makes the path resolve. The server decides it lexically from the resolved path and the base directory, not from the spelling, so `$DIVEKIT_MEMBERS/../members/x.json` counts when the directory is named members. Symlinks are not followed: a link inside the directory counts as inside. False for absolute and working-directory paths, for Windows drive and share paths, for a path that climbs out of the directory, and without a configured path.
FileInMembersDirectory bool `json:"file_in_members_directory"`
// FileState `ok` when the members file was read or none is configured. `missing` when the configured path does not exist on this machine, usually because the origin was copied from another machine. `unreadable` when the file exists but cannot be read or parsed. Both problems answer with 200, empty groups and the configured path, so a client can explain the state; the cause is logged by the server.
FileState string `json:"file_state"`
// UpdatedAt Modification time of the members file.
UpdatedAt *string `json:"updated_at,omitempty"`
GroupCount int `json:"group_count"`
MemberCount int `json:"member_count"`
Groups []MembersGroup `json:"groups"`
// Excluded Excluded members that are not configured again; empty without an exclusion.
Excluded []MembersExcluded `json:"excluded"`
RolesChecked bool `json:"roles_checked"`
Warnings []string `json:"warnings"`
}
MembersOverview defines model for MembersOverview.
type MembersRevocation ¶
type MembersRevocation struct {
UUID string `json:"uuid"`
ProjectID int `json:"project_id"`
Username string `json:"username"`
}
MembersRevocation defines model for MembersRevocation.
type MembersRevocationFailure ¶
type MembersRevocationFailure struct {
UUID string `json:"uuid"`
ProjectID int `json:"project_id"`
Username string `json:"username"`
Error string `json:"error,omitempty"`
}
MembersRevocationFailure defines model for MembersRevocationFailure.
type MembersStatus ¶
type MembersStatus struct {
CheckedGroups int `json:"checked_groups"`
GroupsWithUnassigned int `json:"groups_with_unassigned"`
GroupsWithAssigned int `json:"groups_with_assigned"`
Groups []MembersSyncGroup `json:"groups"`
Warnings []string `json:"warnings"`
}
MembersStatus defines model for MembersStatus.
type MembersSyncGroup ¶
type MembersSyncGroup struct {
UUID string `json:"uuid"`
MissingMembers []string `json:"missing_members"`
AssignableMembers []string `json:"assignable_members"`
AssignedMembers []string `json:"assigned_members"`
FailedMembers []string `json:"failed_members"`
}
MembersSyncGroup defines model for MembersSyncGroup.
type MembersUpdateRequest ¶
type MembersUpdateRequest struct {
// Operation One of add, remove or filter.
Operation string `json:"operation"`
// FilterMode Required for the filter operation. One of include or exclude.
FilterMode string `json:"filter_mode"`
Members []string `json:"members"`
DryRun bool `json:"dry_run"`
}
MembersUpdateRequest defines model for MembersUpdateRequest.
type MembersUpdateResult ¶
type MembersUpdateResult struct {
Operation string `json:"operation"`
FilterMode string `json:"filter_mode,omitempty"`
MembersBefore int `json:"members_before"`
MembersAfter int `json:"members_after"`
AddedMembers []string `json:"added_members"`
RemovedMembers []string `json:"removed_members"`
UnknownMembers []string `json:"unknown_members"`
DuplicateInput []string `json:"duplicate_input_members"`
// ExistingWorkRemotes Repositories that already exist; new members only get one through a members sync.
ExistingWorkRemotes int `json:"existing_work_remotes"`
RemoteRevocations []MembersRevocation `json:"remote_revocations"`
RemoteFailures []MembersRevocationFailure `json:"remote_failures"`
Warnings []string `json:"warnings"`
DryRun bool `json:"dry_run"`
Applied bool `json:"applied"`
}
MembersUpdateResult defines model for MembersUpdateResult.
type MembersValidation ¶
type MembersValidation struct {
Configured bool `json:"configured"`
Valid bool `json:"valid"`
Issues []string `json:"issues"`
}
MembersValidation defines model for MembersValidation.
type NamesPlanRequest ¶
type NamesPlanRequest struct {
// Scope Which GitLab project metadata to reconcile.
Scope string `json:"scope"`
}
NamesPlanRequest defines model for NamesPlanRequest.
type OpenOriginFileJSONRequestBody ¶
type OpenOriginFileJSONRequestBody = OriginFileOpenRequest
OpenOriginFileJSONRequestBody defines body for OpenOriginFile for application/json ContentType.
type OpenOriginRepositoryJSONRequestBody ¶
type OpenOriginRepositoryJSONRequestBody = EditorOpenRequest
OpenOriginRepositoryJSONRequestBody defines body for OpenOriginRepository for application/json ContentType.
type OpenOriginResponse ¶
type OpenOriginResponse struct {
Opened bool `json:"opened"`
OriginId string `json:"origin_id"`
Path string `json:"path"`
Editor string `json:"editor"`
}
OpenOriginResponse defines model for OpenOriginResponse.
type OpenOriginScriptsDirectoryJSONRequestBody ¶
type OpenOriginScriptsDirectoryJSONRequestBody = EditorOpenRequest
OpenOriginScriptsDirectoryJSONRequestBody defines body for OpenOriginScriptsDirectory for application/json ContentType.
type OpenPathResponse ¶
type OpenPathResponse struct {
Opened bool `json:"opened"`
Path string `json:"path"`
Editor string `json:"editor"`
}
OpenPathResponse defines model for OpenPathResponse.
type OpenScriptResponse ¶
type OpenScriptResponse struct {
Opened bool `json:"opened"`
ScriptRef string `json:"script_ref"`
Path string `json:"path"`
Editor string `json:"editor"`
}
OpenScriptResponse defines model for OpenScriptResponse.
type OpenSystemScriptJSONRequestBody ¶
type OpenSystemScriptJSONRequestBody = EditorOpenRequest
OpenSystemScriptJSONRequestBody defines body for OpenSystemScript for application/json ContentType.
type OpenSystemScriptsDirectoryJSONRequestBody ¶
type OpenSystemScriptsDirectoryJSONRequestBody = EditorOpenRequest
OpenSystemScriptsDirectoryJSONRequestBody defines body for OpenSystemScriptsDirectory for application/json ContentType.
type OriginAccessView ¶
type OriginAccessView struct {
WorkspaceID string `json:"workspace_id,omitempty"`
WorkspaceName string `json:"workspace_name,omitempty"`
}
OriginAccessView defines model for OriginAccessView.
type OriginCapabilities ¶
type OriginCapabilities struct {
CanEdit bool `json:"can_edit"`
// CanAdmin Settle the origin and manage its access.
CanAdmin bool `json:"can_admin"`
}
OriginCapabilities What the current session may do with the origin repository.
type OriginCheckBrokenFragment ¶
type OriginCheckBrokenFragment struct {
Path string `json:"path"`
Line int `json:"line"`
Fragment string `json:"fragment"`
Kind string `json:"kind"`
Preview string `json:"preview"`
}
OriginCheckBrokenFragment defines model for OriginCheckBrokenFragment.
type OriginCheckConfigurationWarning ¶
type OriginCheckConfigurationWarning struct {
Code string `json:"code"`
Message string `json:"message"`
Remediation string `json:"remediation,omitempty"`
Documentation string `json:"documentation,omitempty"`
}
OriginCheckConfigurationWarning defines model for OriginCheckConfigurationWarning.
type OriginCheckDelimiters ¶
OriginCheckDelimiters defines model for OriginCheckDelimiters.
type OriginCheckInvalidToken ¶
type OriginCheckInvalidToken struct {
Path string `json:"path"`
Line int `json:"line"`
Token string `json:"token"`
Reason string `json:"reason"`
Preview string `json:"preview"`
}
OriginCheckInvalidToken defines model for OriginCheckInvalidToken.
type OriginCheckRequest ¶
type OriginCheckRequest struct {
// Distribution Distribution whose configuration drives the check. Empty selects the first distribution.
Distribution string `json:"distribution"`
// CheckSyntax Also report broken token syntax and fragments.
CheckSyntax bool `json:"check_syntax"`
// IgnorePaths Extra path globs to leave out of the scan.
IgnorePaths []string `json:"ignore_paths"`
}
OriginCheckRequest defines model for OriginCheckRequest.
type OriginCheckResidue ¶
type OriginCheckResidue struct {
Path string `json:"path"`
Line int `json:"line"`
Value string `json:"value"`
Preview string `json:"preview"`
}
OriginCheckResidue defines model for OriginCheckResidue.
type OriginCheckResponse ¶
type OriginCheckResponse struct {
Distribution string `json:"distribution"`
GeneratedAt string `json:"generated_at"`
Delimiters OriginCheckDelimiters `json:"delimiters"`
Summary OriginCheckSummary `json:"summary"`
UnresolvedTokens []OriginCheckUnresolvedFinding `json:"unresolved_tokens"`
InvalidTemplateTokens []OriginCheckInvalidToken `json:"invalid_template_tokens"`
VariableResidues []OriginCheckResidue `json:"variable_residues"`
BrokenTemplateFragments []OriginCheckBrokenFragment `json:"broken_template_fragments"`
Suggestions []OriginCheckSuggestion `json:"suggestions"`
ConfigurationWarnings []OriginCheckConfigurationWarning `json:"configuration_warnings"`
Warnings []string `json:"warnings"`
// Truncated True when a finding list was cut to its size limit. The summary counts stay exact.
Truncated bool `json:"truncated"`
}
OriginCheckResponse defines model for OriginCheckResponse.
type OriginCheckSuggestion ¶
type OriginCheckSuggestion struct {
Path string `json:"path"`
Value string `json:"value"`
Preview string `json:"preview"`
Candidates []string `json:"candidates"`
Replacement string `json:"replacement"`
Source string `json:"source"`
}
OriginCheckSuggestion defines model for OriginCheckSuggestion.
type OriginCheckSummary ¶
type OriginCheckSummary struct {
FilesScanned int `json:"files_scanned"`
UnresolvedTokenCount int `json:"unresolved_token_count"`
InvalidTemplateTokenCount int `json:"invalid_template_token_count"`
VariableResidueCount int `json:"variable_residue_count"`
BrokenTemplateFragmentCount int `json:"broken_template_fragment_count"`
SuggestionCount int `json:"suggestion_count"`
ConfigurationWarningCount int `json:"configuration_warning_count"`
MissingEvaluationMaterialization bool `json:"missing_evaluation_materialization,omitempty"`
HasFindings bool `json:"has_findings"`
}
OriginCheckSummary defines model for OriginCheckSummary.
type OriginCheckTokenMatch ¶
OriginCheckTokenMatch defines model for OriginCheckTokenMatch.
type OriginCheckUnresolvedFinding ¶
type OriginCheckUnresolvedFinding struct {
Path string `json:"path"`
Matches []OriginCheckTokenMatch `json:"matches"`
}
OriginCheckUnresolvedFinding defines model for OriginCheckUnresolvedFinding.
type OriginDistributionListResponse ¶
type OriginDistributionListResponse struct {
Items []DistributionSummaryItem `json:"items"`
}
OriginDistributionListResponse defines model for OriginDistributionListResponse.
type OriginDistributionSummary ¶
type OriginDistributionSummary struct {
DistributionID string `json:"distribution_id"`
Name string `json:"name"`
// Passcheck Totals of the stored passcheck result. Absent when no run stored a result.
Passcheck *DistributionPasscheckTotals `json:"passcheck,omitempty"`
}
OriginDistributionSummary defines model for OriginDistributionSummary.
type OriginFileOpenRequest ¶
type OriginFileOpenRequest struct {
// Path File path relative to the origin repository.
Path string `json:"path"`
Editor string `json:"editor"`
}
OriginFileOpenRequest defines model for OriginFileOpenRequest.
type OriginFileOpenResponse ¶
type OriginFileOpenResponse struct {
Opened bool `json:"opened"`
OriginId string `json:"origin_id"`
// Path Cleaned path relative to the origin repository.
Path string `json:"path"`
Editor string `json:"editor"`
}
OriginFileOpenResponse defines model for OriginFileOpenResponse.
type OriginPluginDiscoveryView ¶
type OriginPluginDiscoveryView struct {
SchemaVersion int `json:"schema_version"`
OriginID string `json:"origin_id"`
Suites []PluginSuiteView `json:"suites"`
Warnings []string `json:"warnings,omitempty"`
}
OriginPluginDiscoveryView defines model for OriginPluginDiscoveryView.
type OriginPluginUpdatesView ¶
type OriginPluginUpdatesView struct {
SchemaVersion int `json:"schema_version"`
OriginID string `json:"origin_id"`
Available bool `json:"available"`
Suites []PluginSuiteUpdateView `json:"suites"`
Warnings []string `json:"warnings,omitempty"`
}
OriginPluginUpdatesView defines model for OriginPluginUpdatesView.
type OriginPluginsView ¶
type OriginPluginsView struct {
SchemaVersion int `json:"schema_version"`
OriginID string `json:"origin_id"`
Distribution string `json:"distribution,omitempty"`
State string `json:"state"`
StateError string `json:"state_error,omitempty"`
EvaluationCIInstalled bool `json:"evaluation_ci_installed"`
Suites []PluginSuiteView `json:"suites"`
LegacyPlugins []LegacyPluginItem `json:"legacy_plugins,omitempty"`
}
OriginPluginsView defines model for OriginPluginsView.
type OriginRepositoriesResponse ¶
type OriginRepositoriesResponse struct {
Items []OriginRepositoryItem `json:"items"`
}
OriginRepositoriesResponse defines model for OriginRepositoriesResponse.
type OriginRepositoryCreateRequest ¶
type OriginRepositoryCreateRequest struct {
Path string `json:"path"`
Recursive bool `json:"recursive,omitempty"`
Siblings bool `json:"siblings,omitempty"`
}
OriginRepositoryCreateRequest defines model for OriginRepositoryCreateRequest.
type OriginRepositoryItem ¶
type OriginRepositoryItem struct {
OriginID string `json:"origin_id"`
// OriginSlug Readable slug derived from the indexed origin repository folder name for GUI routes.
OriginSlug string `json:"origin_slug"`
// OriginKey Short SHA-256 based key derived from the indexed origin repository path for route disambiguation.
OriginKey string `json:"origin_key"`
Path string `json:"path"`
Distributions []string `json:"distributions"`
IsValid bool `json:"is_valid"`
Access OriginAccessView `json:"access"`
// Capabilities What the current session may do with the origin repository.
Capabilities OriginCapabilities `json:"capabilities"`
RemoteURL string `json:"remote_url,omitempty"`
// SettledAt Set when an operator marked this item as settled; settled items stay readable but leave active lists.
SettledAt *string `json:"settled_at,omitempty"`
}
OriginRepositoryItem defines model for OriginRepositoryItem.
type OriginScriptItem ¶
type OriginScriptItem struct {
Ref string `json:"ref"`
Label string `json:"label"`
Engine string `json:"engine,omitempty"`
}
OriginScriptItem defines model for OriginScriptItem.
type OriginSummaryResponse ¶
type OriginSummaryResponse struct {
// IndexRefreshedAt Time of the last index refresh this server ran. Absent after a restart until the next refresh.
IndexRefreshedAt *string `json:"index_refreshed_at,omitempty"`
// TemplateCheck Outcome of the latest template check this server ran for the origin. Absent until one ran.
TemplateCheck *OriginTemplateCheckState `json:"template_check,omitempty"`
Distributions []OriginDistributionSummary `json:"distributions"`
}
OriginSummaryResponse defines model for OriginSummaryResponse.
type OriginTemplateCheckState ¶
type OriginTemplateCheckState struct {
CheckedAt string `json:"checked_at"`
// Distribution Distribution the check ran for. Empty when it ran for the project.
Distribution string `json:"distribution,omitempty"`
FilesScanned int `json:"files_scanned"`
// OpenHints Sum of all findings the check page lists, suggestions included.
OpenHints int `json:"open_hints"`
}
OriginTemplateCheckState Outcome of the latest template check this server ran for the origin. Absent until one ran.
type OriginWorkspaceUpdateRequest ¶
type OriginWorkspaceUpdateRequest struct {
WorkspaceID string `json:"workspace_id"`
}
OriginWorkspaceUpdateRequest defines model for OriginWorkspaceUpdateRequest.
type OverridePlanRequest ¶
type OverridePlanRequest struct {
// Operation Defaults to add. One of add or remove.
Operation string `json:"operation"`
// Plugin Plugin whose result is overridden (add). A flat plugin id such as pmd, the runtime id <suite>/<plugin> such as maven/pmd for a suite plugin, or divekit/assessment for a declared manual assessment, which is named by its id in test_id. The flat id assessment is rejected, because it would read as a suite plugin of that name.
Plugin string `json:"plugin"`
// ID Override id. Optional for add (derived from plugin, selection and time), required for remove. A decision on a declared assessment always has the id divekit-assessment-<test_id>; another id is rejected, and an override of any other plugin may not use an id that starts with divekit-assessment-.
ID string `json:"id"`
Reason string `json:"reason"`
// Status The result the test page shows instead (add). One of success, warning, failure or fatal. For a declared assessment with labels it may be left empty, since the label decides it.
Status string `json:"status"`
// Label Label of a decision on a declared assessment (add), one of the labels it declares. The status follows from it. Rejected for other plugins.
Label string `json:"label"`
AllTests bool `json:"all_tests"`
TestID string `json:"test_id"`
Category string `json:"category"`
// Name Narrows a category selection to one entry.
Name string `json:"name"`
// All Target every evaluation repository.
All bool `json:"all"`
// GroupIDs Repository group identifiers of the targets.
GroupIDs []string `json:"group_ids"`
Members []string `json:"members"`
}
OverridePlanRequest defines model for OverridePlanRequest.
type OverviewActionPayload ¶
type OverviewActionPayload struct {
Fresh bool `json:"fresh,omitempty"`
WorkerCount *int `json:"worker_count,omitempty"`
RateLimitDelayMS *int `json:"rate_limit_delay_ms,omitempty"`
}
OverviewActionPayload defines model for OverviewActionPayload.
type PasscheckActionPayload ¶
type PasscheckActionPayload struct {
DetailMode bool `json:"detail_mode,omitempty"`
GenerateReport bool `json:"generate_report,omitempty"`
ReportFormats []string `json:"report_formats,omitempty"`
OutputPath string `json:"output_path,omitempty"`
}
PasscheckActionPayload defines model for PasscheckActionPayload.
type PasscheckCategory ¶
type PasscheckCategory struct {
Name string `json:"name"`
TotalTests int `json:"total_tests"`
PassedTests int `json:"passed_tests"`
FailedTests int `json:"failed_tests"`
RepositoriesWithTests int `json:"repositories_with_tests"`
RepositoriesPassed int `json:"repositories_passed"`
}
PasscheckCategory defines model for PasscheckCategory.
type PasscheckNotice ¶
type PasscheckNotice struct {
// Level One of info or warning.
Level string `json:"level"`
Message string `json:"message"`
}
PasscheckNotice defines model for PasscheckNotice.
type PasscheckPart ¶
type PasscheckPart struct {
Name string `json:"name"`
// Title Display title of the part; the name when the declaration sets no title.
Title string `json:"title"`
Passed int `json:"passed"`
Failed int `json:"failed"`
// NotStarted Repositories without a result in this part.
NotStarted int `json:"not_started"`
}
PasscheckPart One declared course part, with the number of repositories per outcome of that part.
type PasscheckRepository ¶
type PasscheckRepository struct {
UUID string `json:"uuid"`
Students []string `json:"students"`
TestRepository string `json:"test_repository,omitempty"`
// State One of passed, failed or not_started.
State string `json:"state"`
PassedCount int `json:"passed_count"`
FailedCount int `json:"failed_count"`
TotalCount int `json:"total_count"`
Categories []PasscheckRepositoryCategory `json:"categories"`
// Parts Outcome per declared course part, in declaration order. Absent when the course declares no parts.
Parts []PasscheckRepositoryPart `json:"parts,omitempty"`
Results []PasscheckTestResult `json:"results"`
}
PasscheckRepository defines model for PasscheckRepository.
type PasscheckRepositoryCategory ¶
type PasscheckRepositoryCategory struct {
Name string `json:"name"`
Passed int `json:"passed"`
Failed int `json:"failed"`
Total int `json:"total"`
}
PasscheckRepositoryCategory defines model for PasscheckRepositoryCategory.
type PasscheckRepositoryPart ¶
type PasscheckRepositoryPart struct {
Name string `json:"name"`
Title string `json:"title"`
// State One of passed, failed or not_started. not_started means the repository has no result in this part.
State string `json:"state"`
Passed int `json:"passed"`
Failed int `json:"failed"`
Total int `json:"total"`
}
PasscheckRepositoryPart The outcome of one declared course part in one repository.
type PasscheckTestResult ¶
type PasscheckTestResult struct {
Name string `json:"name"`
Category string `json:"category"`
// Status Status reported by the evaluation pipeline, for example success, warning or failure.
Status string `json:"status"`
}
PasscheckTestResult defines model for PasscheckTestResult.
type PasscheckTotals ¶
type PasscheckTotals struct {
Repositories int `json:"repositories"`
Passed int `json:"passed"`
Failed int `json:"failed"`
Started int `json:"started"`
NotStarted int `json:"not_started"`
}
PasscheckTotals defines model for PasscheckTotals.
type PasswordChangeResponse ¶
type PasswordChangeResponse struct {
PasswordChanged bool `json:"password_changed"`
ReloginRequired bool `json:"relogin_required"`
}
PasswordChangeResponse defines model for PasswordChangeResponse.
type PatchActionPayload ¶
type PatchActionPayload struct {
Files []string `json:"files,omitempty"`
Delete []string `json:"delete,omitempty"`
DeleteDirs []string `json:"delete_dir,omitempty"`
Move []string `json:"move,omitempty"`
// TargetUUIDs Limits the patch to the repositories with these UUIDs. Empty patches every repository.
TargetUUIDs []string `json:"target_uuids,omitempty"`
Message string `json:"message,omitempty"`
Provider string `json:"provider,omitempty"`
DryRunMode string `json:"dry_run_mode,omitempty"`
Workers *int `json:"workers,omitempty"`
RateLimit *float64 `json:"rate_limit,omitempty"`
TaskTimeoutMS *int `json:"task_timeout_ms,omitempty"`
WarnUnresolvedTokens string `json:"warn_unresolved_tokens,omitempty"`
}
PatchActionPayload defines model for PatchActionPayload.
type PlanApplyRequest ¶
type PlanApplyRequest struct {
Confirmed bool `json:"confirmed"`
PlanHash string `json:"plan_hash"`
}
PlanApplyRequest defines model for PlanApplyRequest.
type PlanChangeView ¶
type PlanChangeView struct {
ID string `json:"id"`
Kind string `json:"kind"`
Target string `json:"target,omitempty"`
// From Previous value of the changed item. Only set for names plans.
From string `json:"from,omitempty"`
// To New value of the changed item. Only set for names plans.
To string `json:"to,omitempty"`
// Path Repository-relative file path of a patch change. Never a local path.
Path string `json:"path,omitempty"`
// PreviousPath Previous repository-relative path of a moved file.
PreviousPath string `json:"previous_path,omitempty"`
Count int `json:"count,omitempty"`
Destructive bool `json:"destructive,omitempty"`
}
PlanChangeView defines model for PlanChangeView.
type PlanLayoutTargetView ¶
type PlanLayoutTargetView struct {
// Name Target name, work or eval.
Name string `json:"name"`
// GroupPath GitLab host and group path of the target, for example git.example.org/st2/sose26/m3. Empty when it could not be resolved.
GroupPath string `json:"group_path,omitempty"`
// Repositories The first project names the plan affects.
Repositories []string `json:"repositories"`
RepositoryCount int `json:"repository_count"`
// KeptProjects Projects in the target group that the plan leaves alone.
KeptProjects int `json:"kept_projects,omitempty"`
}
PlanLayoutTargetView defines model for PlanLayoutTargetView.
type PlanLayoutView ¶
type PlanLayoutView struct {
Targets []PlanLayoutTargetView `json:"targets"`
// CIUnmanaged Divekit does not manage the evaluation CI of this distribution.
CIUnmanaged bool `json:"ci_unmanaged,omitempty"`
}
PlanLayoutView GitLab group paths and project names of a distribute or purge plan. Local paths and credentials never appear here.
type PlanResourceView ¶
type PlanResourceView struct {
Kind string `json:"kind"`
OriginID string `json:"origin_id"`
DistributionID string `json:"distribution_id,omitempty"`
}
PlanResourceView defines model for PlanResourceView.
type PlanRevision ¶
PlanRevision defines model for PlanRevision.
type PlanSnapshotView ¶
type PlanSnapshotView struct {
Revisions []PlanRevision `json:"revisions,omitempty"`
}
PlanSnapshotView defines model for PlanSnapshotView.
type PlanView ¶
type PlanView struct {
SchemaVersion int `json:"schema_version"`
PlanID string `json:"plan_id"`
Kind string `json:"kind"`
PlanHash string `json:"plan_hash"`
Resource PlanResourceView `json:"resource"`
Snapshot PlanSnapshotView `json:"snapshot"`
Changes []PlanChangeView `json:"changes,omitempty"`
Warnings []PlanWarningView `json:"warnings,omitempty"`
Destructive bool `json:"destructive"`
// Layout GitLab group paths and project names of a distribute or purge plan. Local paths and credentials never appear here.
Layout *PlanLayoutView `json:"layout,omitempty"`
CreatedAt time.Time `json:"created_at"`
ExpiresAt time.Time `json:"expires_at"`
}
PlanView defines model for PlanView.
type PlanWarningView ¶
type PlanWarningView struct {
Code string `json:"code"`
Target string `json:"target,omitempty"`
// Details Safe items the warning names, such as the first untracked origin paths of `untracked_origin_files`. Absent for most warnings.
Details []string `json:"details,omitempty"`
}
PlanWarningView defines model for PlanWarningView.
type PluginChangeView ¶
type PluginChangeView struct {
// Subject Suite id or runtime id the field belongs to.
Subject string `json:"subject"`
Field string `json:"field"`
From string `json:"from,omitempty"`
To string `json:"to,omitempty"`
}
PluginChangeView defines model for PluginChangeView.
type PluginConfigurationRequest ¶
type PluginConfigurationRequest struct {
Values GenericObject `json:"values"`
Baseline GenericObject `json:"baseline"`
BaselineExists bool `json:"baseline_exists"`
Revision string `json:"revision"`
}
PluginConfigurationRequest defines model for PluginConfigurationRequest.
type PluginConfigurationView ¶
type PluginConfigurationView struct {
SchemaVersion int `json:"schema_version"`
PluginID string `json:"plugin_id"`
RuntimeID string `json:"runtime_id"`
Values GenericObject `json:"values"`
Exists bool `json:"exists"`
Revision string `json:"revision"`
}
PluginConfigurationView defines model for PluginConfigurationView.
type PluginDistribution ¶
type PluginDistribution = string
PluginDistribution defines model for pluginDistribution.
type PluginEditFileView ¶
type PluginEditFileView struct {
Path string `json:"path"`
// Diff Unified diff of the file.
Diff string `json:"diff"`
Created bool `json:"created,omitempty"`
Removed bool `json:"removed,omitempty"`
}
PluginEditFileView defines model for PluginEditFileView.
type PluginEditView ¶
type PluginEditView struct {
Verb string `json:"verb"`
RuntimeID string `json:"runtime_id"`
Source string `json:"source"`
Files []PluginEditFileView `json:"files"`
Warnings []string `json:"warnings,omitempty"`
}
PluginEditView defines model for PluginEditView.
type PluginHookConsentView ¶
type PluginHookConsentView struct {
RuntimeID string `json:"runtime_id"`
SourceName string `json:"source_name"`
Host string `json:"host,omitempty"`
Project string `json:"project,omitempty"`
Ref string `json:"ref,omitempty"`
ScriptPath string `json:"script_path"`
// Allowed True when the plan ran this hook in the sandbox; false when it still waits for approval and did not run.
Allowed bool `json:"allowed"`
}
PluginHookConsentView defines model for PluginHookConsentView.
type PluginMigrationFileChange ¶
type PluginMigrationFileChange struct {
From string `json:"from"`
To string `json:"to,omitempty"`
Reason string `json:"reason,omitempty"`
}
PluginMigrationFileChange defines model for PluginMigrationFileChange.
type PluginMigrationManual ¶
type PluginMigrationManual struct {
PluginID string `json:"plugin_id"`
Reason string `json:"reason"`
}
PluginMigrationManual defines model for PluginMigrationManual.
type PluginMigrationOverride ¶
type PluginMigrationOverride struct {
Path string `json:"path"`
Rewrites []PluginMigrationRewrite `json:"rewrites"`
}
PluginMigrationOverride defines model for PluginMigrationOverride.
type PluginMigrationRewrite ¶
PluginMigrationRewrite defines model for PluginMigrationRewrite.
type PluginMigrationStateChange ¶
type PluginMigrationStateChange struct {
From string `json:"from,omitempty"`
To string `json:"to,omitempty"`
}
PluginMigrationStateChange defines model for PluginMigrationStateChange.
type PluginMigrationView ¶
type PluginMigrationView struct {
StatePath string `json:"state_path"`
BackupDir string `json:"backup_dir"`
NoState bool `json:"no_state"`
AlreadyMigrated bool `json:"already_migrated"`
StateChanges []PluginMigrationStateChange `json:"state_changes"`
Files []PluginMigrationFileChange `json:"files"`
Overrides []PluginMigrationOverride `json:"overrides"`
Manual []PluginMigrationManual `json:"manual"`
Notes []string `json:"notes"`
Recompose string `json:"recompose,omitempty"`
}
PluginMigrationView defines model for PluginMigrationView.
type PluginOverviewOrigin ¶
type PluginOverviewOrigin struct {
OriginID string `json:"origin_id"`
OriginSlug string `json:"origin_slug"`
State string `json:"state"`
StateError string `json:"state_error,omitempty"`
SuiteCount int `json:"suite_count"`
}
PluginOverviewOrigin defines model for PluginOverviewOrigin.
type PluginOverviewSuite ¶
type PluginOverviewSuite struct {
SuiteID string `json:"suite_id"`
Name string `json:"name,omitempty"`
SourceName string `json:"source_name,omitempty"`
Project string `json:"project,omitempty"`
// Refs Distinct locked suite releases across the origins.
Refs []string `json:"refs"`
Usages []PluginUsageView `json:"usages"`
UpdateAvailable bool `json:"update_available"`
}
PluginOverviewSuite defines model for PluginOverviewSuite.
type PluginPinChangeView ¶
type PluginPinChangeView struct {
SuiteID string `json:"suite_id"`
PluginID string `json:"plugin_id"`
FromResolved string `json:"from_resolved,omitempty"`
ToResolved string `json:"to_resolved,omitempty"`
FromDigest string `json:"from_digest,omitempty"`
ToDigest string `json:"to_digest,omitempty"`
}
PluginPinChangeView defines model for PluginPinChangeView.
type PluginPlanApplyRequest ¶
type PluginPlanApplyRequest struct {
PlanHash string `json:"plan_hash"`
// ApproveEdits Confirms the diffs of the plan. Required when `needs_edit_approval` is true.
ApproveEdits bool `json:"approve_edits"`
// ApproveHookSources Must list exactly the sources the plan was created with in `allow_hook_sources`.
ApproveHookSources []string `json:"approve_hook_sources"`
// RememberHookSources Records the approved sources as accepted, so later runs do not ask again.
RememberHookSources bool `json:"remember_hook_sources"`
}
PluginPlanApplyRequest defines model for PluginPlanApplyRequest.
type PluginPlanApplyResult ¶
type PluginPlanApplyResult struct {
SchemaVersion int `json:"schema_version"`
PlanID string `json:"plan_id"`
Kind string `json:"kind"`
// Changes Pins an update moved.
Changes []PluginPinChangeView `json:"changes"`
AddedSuite *PluginSuiteView `json:"added_suite,omitempty"`
BackupDir string `json:"backup_dir,omitempty"`
Warnings []string `json:"warnings,omitempty"`
}
PluginPlanApplyResult defines model for PluginPlanApplyResult.
type PluginPlanRequest ¶
type PluginPlanRequest struct {
Kind string `json:"kind"`
// Distribution Plugin state scope; empty selects the project-level state.
Distribution string `json:"distribution"`
SuiteID string `json:"suite_id"`
PluginID string `json:"plugin_id"`
// Enabled Required for `set_plugin_enabled`.
Enabled *bool `json:"enabled"`
// Pin Pin override for `set_plugin_pin`: an exact version (`1.2.1`), `~1.2` or `~1.2.1`, or `^1`, `^1.2` or `^1.2.1`. The plan echoes the canonical spelling in its change list. Set exactly one of `pin` and `clear_pin`.
Pin string `json:"pin"`
// ClearPin Removes the pin override of `set_plugin_pin`, so the suite manifest pin applies again.
ClearPin bool `json:"clear_pin"`
// SkipHooks Update the locks without running update hooks. Only for `update_suites`.
SkipHooks bool `json:"skip_hooks"`
// AllowHookSources Names of untrusted sources whose hooks may run in the sandbox to build the diff. Nothing is remembered by planning.
AllowHookSources []string `json:"allow_hook_sources"`
}
PluginPlanRequest defines model for PluginPlanRequest.
type PluginPlanView ¶
type PluginPlanView struct {
SchemaVersion int `json:"schema_version"`
PlanID string `json:"plan_id"`
Kind string `json:"kind"`
PlanHash string `json:"plan_hash"`
OriginID string `json:"origin_id"`
Distribution string `json:"distribution,omitempty"`
Noop bool `json:"noop"`
RecomposesPipeline bool `json:"recomposes_pipeline"`
Changes []PluginChangeView `json:"changes"`
Edits []PluginEditView `json:"edits"`
HookConsents []PluginHookConsentView `json:"hook_consents"`
// PendingHookSources Sources whose hook has not run. Plan again with them in `allow_hook_sources` to see the diff; a plan with pending sources cannot be applied.
PendingHookSources []string `json:"pending_hook_sources"`
// NeedsEditApproval True when the plan edits files and apply needs `approve_edits`.
NeedsEditApproval bool `json:"needs_edit_approval"`
Migration *PluginMigrationView `json:"migration,omitempty"`
Warnings []string `json:"warnings,omitempty"`
CreatedAt time.Time `json:"created_at"`
ExpiresAt time.Time `json:"expires_at"`
}
PluginPlanView defines model for PluginPlanView.
type PluginSourceDeleteResponse ¶
PluginSourceDeleteResponse defines model for PluginSourceDeleteResponse.
type PluginSourceItem ¶
type PluginSourceItem struct {
Name string `json:"name"`
Host string `json:"host"`
Kind string `json:"kind"`
Path string `json:"path"`
Trusted bool `json:"trusted"`
Enabled bool `json:"enabled"`
// HookConsent True when a maintainer accepted running hooks from this source.
HookConsent bool `json:"hook_consent"`
}
PluginSourceItem defines model for PluginSourceItem.
type PluginSourceName ¶
type PluginSourceName = string
PluginSourceName defines model for pluginSourceName.
type PluginSourceRequest ¶
type PluginSourceRequest struct {
Name string `json:"name"`
// Host Host alias from the host settings.
Host string `json:"host"`
Kind string `json:"kind"`
Path string `json:"path"`
// Trusted Must be true, confirming that the source is trusted.
Trusted bool `json:"trusted"`
// Enabled Defaults to true.
Enabled *bool `json:"enabled"`
}
PluginSourceRequest defines model for PluginSourceRequest.
type PluginSourcesResponse ¶
type PluginSourcesResponse struct {
Items []PluginSourceItem `json:"items"`
}
PluginSourcesResponse defines model for PluginSourcesResponse.
type PluginSuiteUpdateView ¶
type PluginSuiteUpdateView struct {
SuiteID string `json:"suite_id"`
LockedRef string `json:"locked_ref,omitempty"`
LatestRef string `json:"latest_ref,omitempty"`
// Offered False when no configured source offers the locked suite.
Offered bool `json:"offered"`
Changes []PluginPinChangeView `json:"changes"`
// Error Failure of this suite alone; other suites still report.
Error string `json:"error,omitempty"`
}
PluginSuiteUpdateView defines model for PluginSuiteUpdateView.
type PluginSuiteView ¶
type PluginSuiteView struct {
SuiteID string `json:"suite_id"`
Name string `json:"name,omitempty"`
SourceName string `json:"source_name,omitempty"`
Project string `json:"project,omitempty"`
Ref string `json:"ref,omitempty"`
// InState True when origin state carries the suite, false for a suite that is only offered.
InState bool `json:"in_state"`
Enabled bool `json:"enabled"`
Plugins []PluginView `json:"plugins"`
}
PluginSuiteView defines model for PluginSuiteView.
type PluginUsageUpdate ¶
type PluginUsageUpdate struct {
LatestRef string `json:"latest_ref,omitempty"`
Changes []PluginPinChangeView `json:"changes"`
}
PluginUsageUpdate defines model for PluginUsageUpdate.
type PluginUsageView ¶
type PluginUsageView struct {
OriginID string `json:"origin_id"`
OriginSlug string `json:"origin_slug"`
// Distribution Set when the usage comes from the plugin state of one distribution.
Distribution string `json:"distribution,omitempty"`
Ref string `json:"ref,omitempty"`
Enabled bool `json:"enabled"`
Plugins []PluginView `json:"plugins"`
Update *PluginUsageUpdate `json:"update,omitempty"`
}
PluginUsageView defines model for PluginUsageView.
type PluginView ¶
type PluginView struct {
PluginID string `json:"plugin_id"`
// RuntimeID Runtime identity `<suite>/<plugin>`.
RuntimeID string `json:"runtime_id"`
Enabled bool `json:"enabled"`
// Pin Version pin of the suite manifest. Empty for installed suites read offline.
Pin string `json:"pin,omitempty"`
// PinOverride Pin a maintainer set on this plugin in origin state. It replaces `pin` for resolution; absent when none is set.
PinOverride string `json:"pin_override,omitempty"`
// Resolved Locked release tag.
Resolved string `json:"resolved,omitempty"`
// Digest Locked image digest.
Digest string `json:"digest,omitempty"`
External bool `json:"external"`
// Locked True when both the release and the image digest are recorded.
Locked bool `json:"locked"`
InState bool `json:"in_state"`
}
PluginView defines model for PluginView.
type PluginWizardField ¶
type PluginWizardField struct {
// Key Dotted key of the value inside the configuration document.
Key string `json:"key"`
Type string `json:"type"`
Label string `json:"label"`
Description string `json:"description,omitempty"`
Placeholder string `json:"placeholder,omitempty"`
// Default Default value; its JSON type follows the field type.
Default interface{} `json:"default,omitempty"`
Required bool `json:"required,omitempty"`
Options []PluginWizardOption `json:"options,omitempty"`
// Fields Item fields of an `objectList`.
Fields []PluginWizardField `json:"fields,omitempty"`
}
PluginWizardField defines model for PluginWizardField.
type PluginWizardOption ¶
type PluginWizardOption struct {
Value string `json:"value"`
Label string `json:"label,omitempty"`
Description string `json:"description,omitempty"`
}
PluginWizardOption defines model for PluginWizardOption.
type PluginWizardSection ¶
type PluginWizardSection struct {
PluginID string `json:"plugin_id"`
RuntimeID string `json:"runtime_id"`
Title string `json:"title"`
Description string `json:"description,omitempty"`
SchemaVersion *int `json:"schema_version,omitempty"`
Steps []PluginWizardStep `json:"steps"`
Values GenericObject `json:"values"`
// Exists False when the plugin has no configuration file yet; `values` is then empty.
Exists bool `json:"exists"`
// Revision Opaque token of the origin state and form this section was read against. Send it back unchanged when saving.
Revision string `json:"revision"`
}
PluginWizardSection defines model for PluginWizardSection.
type PluginWizardStep ¶
type PluginWizardStep struct {
ID string `json:"id"`
Title string `json:"title"`
Description string `json:"description,omitempty"`
Fields []PluginWizardField `json:"fields"`
}
PluginWizardStep defines model for PluginWizardStep.
type PluginWizardView ¶
type PluginWizardView struct {
SchemaVersion int `json:"schema_version"`
OriginID string `json:"origin_id"`
SuiteID string `json:"suite_id"`
// Sections One section per enabled plugin that declares a configuration form.
Sections []PluginWizardSection `json:"sections"`
}
PluginWizardView defines model for PluginWizardView.
type PluginsOverviewView ¶
type PluginsOverviewView struct {
SchemaVersion int `json:"schema_version"`
Suites []PluginOverviewSuite `json:"suites"`
// Origins Origins that carry plugin state; origins without state are left out.
Origins []PluginOverviewOrigin `json:"origins"`
UpdatesChecked bool `json:"updates_checked"`
// Partial True when an origin could not be read, an update check failed, or the origin list was cut off.
Partial bool `json:"partial"`
Truncated bool `json:"truncated"`
Warnings []string `json:"warnings,omitempty"`
}
PluginsOverviewView defines model for PluginsOverviewView.
type PurgeActionPayload ¶
type PurgeActionPayload struct {
DryRun bool `json:"dry_run,omitempty"`
Provider string `json:"provider,omitempty"`
// AllGroupProjects Also delete projects of the target groups that remotes.json does not record. Default false.
AllGroupProjects bool `json:"all_group_projects,omitempty"`
}
PurgeActionPayload defines model for PurgeActionPayload.
type QueueDistributeActionJSONRequestBody ¶
type QueueDistributeActionJSONRequestBody = DistributeActionPayload
QueueDistributeActionJSONRequestBody defines body for QueueDistributeAction for application/json ContentType.
type QueueFetchActionJSONRequestBody ¶
type QueueFetchActionJSONRequestBody = FetchActionPayload
QueueFetchActionJSONRequestBody defines body for QueueFetchAction for application/json ContentType.
type QueueInjectActionJSONRequestBody ¶
type QueueInjectActionJSONRequestBody = InjectActionPayload
QueueInjectActionJSONRequestBody defines body for QueueInjectAction for application/json ContentType.
type QueueMembersSyncActionJSONRequestBody ¶
type QueueMembersSyncActionJSONRequestBody = EmptyActionPayload
QueueMembersSyncActionJSONRequestBody defines body for QueueMembersSyncAction for application/json ContentType.
type QueueOverviewActionJSONRequestBody ¶
type QueueOverviewActionJSONRequestBody = OverviewActionPayload
QueueOverviewActionJSONRequestBody defines body for QueueOverviewAction for application/json ContentType.
type QueuePasscheckActionJSONRequestBody ¶
type QueuePasscheckActionJSONRequestBody = PasscheckActionPayload
QueuePasscheckActionJSONRequestBody defines body for QueuePasscheckAction for application/json ContentType.
type QueuePatchActionJSONRequestBody ¶
type QueuePatchActionJSONRequestBody = PatchActionPayload
QueuePatchActionJSONRequestBody defines body for QueuePatchAction for application/json ContentType.
type QueuePreviewActionJSONRequestBody ¶
type QueuePreviewActionJSONRequestBody = DistributeActionPayload
QueuePreviewActionJSONRequestBody defines body for QueuePreviewAction for application/json ContentType.
type QueuePurgeActionJSONRequestBody ¶
type QueuePurgeActionJSONRequestBody = PurgeActionPayload
QueuePurgeActionJSONRequestBody defines body for QueuePurgeAction for application/json ContentType.
type QueueRoleActionJSONRequestBody ¶
type QueueRoleActionJSONRequestBody = RoleActionPayload
QueueRoleActionJSONRequestBody defines body for QueueRoleAction for application/json ContentType.
type QueueRunScriptActionJSONRequestBody ¶
type QueueRunScriptActionJSONRequestBody = RunScriptActionPayload
QueueRunScriptActionJSONRequestBody defines body for QueueRunScriptAction for application/json ContentType.
type QueueSnapshotActionJSONRequestBody ¶
type QueueSnapshotActionJSONRequestBody = SnapshotActionPayload
QueueSnapshotActionJSONRequestBody defines body for QueueSnapshotAction for application/json ContentType.
type RenderDistributionIndividualJSONRequestBody ¶
type RenderDistributionIndividualJSONRequestBody = IndividualRenderRequest
RenderDistributionIndividualJSONRequestBody defines body for RenderDistributionIndividual for application/json ContentType.
type RenderFileItem ¶
type RenderFileItem struct {
Path string `json:"path"`
Size int `json:"size"`
Binary bool `json:"binary"`
// ReplacedTokens Template tokens that received a value. Only counted for files whose path does not change while rendering.
ReplacedTokens int `json:"replaced_tokens"`
OpenTokens int `json:"open_tokens"`
// HasTemplate True when a template source with the same path exists, so view=template works.
HasTemplate bool `json:"has_template"`
}
RenderFileItem defines model for RenderFileItem.
type RenderFileResponse ¶
type RenderFileResponse struct {
RenderID string `json:"render_id"`
Path string `json:"path"`
View string `json:"view"`
Size int `json:"size"`
Binary bool `json:"binary"`
Truncated bool `json:"truncated"`
// Content File text. Absent for binary files.
Content *string `json:"content,omitempty"`
}
RenderFileResponse defines model for RenderFileResponse.
type RenderLeftoverItem ¶
type RenderLeftoverItem struct {
Path string `json:"path"`
Line int `json:"line"`
Value string `json:"value"`
Preview string `json:"preview"`
}
RenderLeftoverItem defines model for RenderLeftoverItem.
type RenderOpenTokenItem ¶
type RenderOpenTokenItem struct {
Path string `json:"path"`
// Line One-based line, or 0 when the token is only in the path.
Line int `json:"line"`
Token string `json:"token"`
Preview string `json:"preview"`
}
RenderOpenTokenItem defines model for RenderOpenTokenItem.
type RenderSelection ¶
type RenderSelection struct {
Objects map[string]string `json:"objects"`
Relations map[string]string `json:"relations"`
Logic map[string]string `json:"logic"`
}
RenderSelection defines model for RenderSelection.
type RenderValueItem ¶
RenderValueItem defines model for RenderValueItem.
type ReportOverride ¶
type ReportOverride struct {
ID string `json:"id"`
Reason string `json:"reason,omitempty"`
CreatedAt string `json:"created_at,omitempty"`
// Assessor Who decided, as Divekit recorded it when it wrote the override. Absent in files written before the field.
Assessor string `json:"assessor,omitempty"`
// Legacy True while the file still sits below .divekit/plugin/overrides.
Legacy bool `json:"legacy"`
Targets []ReportOverrideTarget `json:"targets"`
}
ReportOverride defines model for ReportOverride.
type ReportOverrideTarget ¶
type ReportOverrideTarget struct {
Plugin string `json:"plugin"`
// Selector all, a test id, or a category with an optional name.
Selector string `json:"selector"`
// Status Result the override sets, such as success, warning or failure.
Status string `json:"status"`
// Label Display text of a decision on a declared assessment, such as a grade. Absent for other overrides.
Label string `json:"label,omitempty"`
}
ReportOverrideTarget defines model for ReportOverrideTarget.
type RepositoryActivityItem ¶
type RepositoryActivityItem struct {
UUID string `json:"uuid"`
Targets map[string]RepositoryTargetActivity `json:"targets"`
}
RepositoryActivityItem defines model for RepositoryActivityItem.
type RepositoryEvalPipeline ¶
type RepositoryEvalPipeline struct {
Pipeline RepositoryPipeline `json:"pipeline"`
// Stages Stages in pipeline order with the summarised status of their jobs.
Stages []RepositoryPipelineStage `json:"stages"`
FailedJob *RepositoryFailedJob `json:"failed_job,omitempty"`
// ErrorLine The most telling line of the failed job log.
ErrorLine string `json:"error_line,omitempty"`
// Log Last lines of the failed job log with credentials removed. Empty when no job failed or the log could not be read.
Log string `json:"log"`
// LogTruncated True when earlier lines are not part of log.
LogTruncated bool `json:"log_truncated"`
}
RepositoryEvalPipeline defines model for RepositoryEvalPipeline.
type RepositoryFailedJob ¶
type RepositoryFailedJob struct {
ID int `json:"id"`
Name string `json:"name"`
Stage string `json:"stage"`
WebURL string `json:"web_url,omitempty"`
}
RepositoryFailedJob defines model for RepositoryFailedJob.
type RepositoryOverrides ¶
type RepositoryOverrides struct {
UUID string `json:"uuid"`
Overrides []ReportOverride `json:"overrides"`
// Skipped Files that were invalid, too large or beyond the per-repository limit.
Skipped int `json:"skipped"`
// Error Error code when the repository could not be read completely (not_found, timeout, provider_unavailable, failed).
Error string `json:"error,omitempty"`
}
RepositoryOverrides defines model for RepositoryOverrides.
type RepositoryPipeline ¶
type RepositoryPipeline struct {
ID int `json:"id"`
// Status GitLab pipeline status such as success, failed, running, pending or canceled.
Status string `json:"status"`
Ref string `json:"ref,omitempty"`
WebURL string `json:"web_url,omitempty"`
CreatedAt string `json:"created_at,omitempty"`
// UpdatedAt Last status change; for a finished pipeline this is when it ended.
UpdatedAt string `json:"updated_at,omitempty"`
}
RepositoryPipeline defines model for RepositoryPipeline.
type RepositoryPipelineStage ¶
type RepositoryPipelineStage struct {
Name string `json:"name"`
// Status One of success, failed, running, pending, canceled, skipped, manual or warning.
Status string `json:"status"`
}
RepositoryPipelineStage defines model for RepositoryPipelineStage.
type RepositoryTargetActivity ¶
type RepositoryTargetActivity struct {
ProjectID int `json:"project_id"`
LastActivityAt *string `json:"last_activity_at"`
// Pipelines Newest first, on the default branch of the project.
Pipelines []RepositoryPipeline `json:"pipelines"`
// Error One of not_found, timeout, provider_unavailable or failed. Set when this target could not be read completely; the other fields hold whatever was read.
Error string `json:"error,omitempty"`
}
RepositoryTargetActivity defines model for RepositoryTargetActivity.
type RequiredHeaderError ¶
func (*RequiredHeaderError) Error ¶
func (e *RequiredHeaderError) Error() string
func (*RequiredHeaderError) Unwrap ¶
func (e *RequiredHeaderError) Unwrap() error
type RequiredParamError ¶
type RequiredParamError struct {
ParamName string
}
func (*RequiredParamError) Error ¶
func (e *RequiredParamError) Error() string
type ResetManagedUserPasswordJSONRequestBody ¶
type ResetManagedUserPasswordJSONRequestBody = ManagedUserPasswordResetRequest
ResetManagedUserPasswordJSONRequestBody defines body for ResetManagedUserPassword for application/json ContentType.
type ResourceShareListResponse ¶
type ResourceShareListResponse struct {
}
ResourceShareListResponse defines model for ResourceShareListResponse.
type ResourceShareView ¶
type ResourceShareView struct {
}
ResourceShareView defines model for ResourceShareView.
type RoleActionPayload ¶
type RoleActionPayload struct {
AccessLevel string `json:"access_level,omitempty"`
// Members Limits the change to these usernames in every work repository. Needs an explicit access_level and leaves the configured member permission alone.
Members []string `json:"members,omitempty"`
}
RoleActionPayload defines model for RoleActionPayload.
type RunActionAccepted ¶
RunActionAccepted defines model for RunActionAccepted.
type RunEventItem ¶
type RunEventItem struct {
SchemaVersion int `json:"schema_version"`
EventId int64 `json:"event_id"`
RunId string `json:"run_id"`
EventType RunEventItemEventType `json:"event_type"`
EventLevel string `json:"event_level,omitempty"`
EventStep string `json:"event_step,omitempty"`
Message string `json:"message,omitempty"`
Details map[string]interface{} `json:"details,omitempty"`
CreatedAt time.Time `json:"created_at"`
}
RunEventItem defines model for RunEventItem.
type RunEventItemEventType ¶
type RunEventItemEventType string
RunEventItemEventType defines model for RunEventItem.EventType.
const ( RunEventItemEventTypeCancelled RunEventItemEventType = "cancelled" RunEventItemEventTypeCancelling RunEventItemEventType = "cancelling" RunEventItemEventTypeFailed RunEventItemEventType = "failed" RunEventItemEventTypeLog RunEventItemEventType = "log" RunEventItemEventTypeQueued RunEventItemEventType = "queued" RunEventItemEventTypeRunning RunEventItemEventType = "running" RunEventItemEventTypeSucceeded RunEventItemEventType = "succeeded" RunEventItemEventTypeWarning RunEventItemEventType = "warning" )
Defines values for RunEventItemEventType.
func (RunEventItemEventType) Valid ¶
func (e RunEventItemEventType) Valid() bool
Valid indicates whether the value is a known member of the RunEventItemEventType enum.
type RunItem ¶
type RunItem struct {
SchemaVersion int `json:"schema_version"`
RunId string `json:"run_id"`
OriginId string `json:"origin_id,omitempty"`
DistributionId string `json:"distribution_id,omitempty"`
DistributionName string `json:"distribution_name,omitempty"`
Action string `json:"action"`
State RunItemState `json:"state"`
CreatedBy string `json:"created_by,omitempty"`
ActorRole string `json:"actor_role,omitempty"`
AuthMode string `json:"auth_mode,omitempty"`
LastError string `json:"last_error,omitempty"`
StartedAt time.Time `json:"started_at"`
FinishedAt *time.Time `json:"finished_at,omitempty"`
Payload interface{} `json:"payload,omitempty"`
}
RunItem defines model for RunItem.
type RunItemState ¶
type RunItemState string
RunItemState defines model for RunItem.State.
const ( RunItemStateCancelled RunItemState = "cancelled" RunItemStateCancelling RunItemState = "cancelling" RunItemStateFailed RunItemState = "failed" RunItemStateQueued RunItemState = "queued" RunItemStateRunning RunItemState = "running" RunItemStateSucceeded RunItemState = "succeeded" RunItemStateWarning RunItemState = "warning" )
Defines values for RunItemState.
func (RunItemState) Valid ¶
func (e RunItemState) Valid() bool
Valid indicates whether the value is a known member of the RunItemState enum.
type RunListResponse ¶
type RunListResponse struct {
Items []RunItem `json:"items"`
// NextCursor Opaque cursor for older results. Empty or absent on the final page.
NextCursor string `json:"next_cursor"`
// ResourceItems Active runs and the latest run per visible distribution, without action payloads. Present when include_resources is true.
ResourceItems *[]RunItem `json:"resource_items,omitempty"`
}
RunListResponse defines model for RunListResponse.
type RunScriptActionPayload ¶
type RunScriptActionPayload struct {
ScriptRef string `json:"script_ref,omitempty"`
ReposDir string `json:"repos_dir,omitempty"`
FetchFirst bool `json:"fetch_first,omitempty"`
Engine string `json:"engine,omitempty"`
Workers *int `json:"workers,omitempty"`
TsRunner string `json:"ts_runner,omitempty"`
OutputFormat string `json:"output_format,omitempty"`
}
RunScriptActionPayload defines model for RunScriptActionPayload.
type RunSystemDoctorJSONRequestBody ¶
type RunSystemDoctorJSONRequestBody = DoctorRequest
RunSystemDoctorJSONRequestBody defines body for RunSystemDoctor for application/json ContentType.
type RunSystemUpdateJSONRequestBody ¶
type RunSystemUpdateJSONRequestBody = SystemUpdateRequest
RunSystemUpdateJSONRequestBody defines body for RunSystemUpdate for application/json ContentType.
type ScriptCreateRequest ¶
type ScriptCreateRequest struct {
ScriptRef string `json:"script_ref"`
}
ScriptCreateRequest defines model for ScriptCreateRequest.
type ScriptCreateResponse ¶
type ScriptCreateResponse struct {
ScriptRef string `json:"script_ref"`
}
ScriptCreateResponse defines model for ScriptCreateResponse.
type ScriptListResponse ¶
type ScriptListResponse struct {
Items []OriginScriptItem `json:"items"`
}
ScriptListResponse defines model for ScriptListResponse.
type SeriesBalanceView ¶
type SeriesBalanceView struct {
Rule string `json:"rule"`
// State fulfilled, reachable, failed or unknown.
State string `json:"state"`
Passed int `json:"passed"`
Failed int `json:"failed"`
// Pending Counted milestones still to come or open, the chances left.
Pending int `json:"pending"`
Unknown int `json:"unknown"`
Required int `json:"required"`
FreeAttempts int `json:"free_attempts"`
FreeAttemptsUsed int `json:"free_attempts_used"`
FreeAttemptsLeft int `json:"free_attempts_left"`
// Cells The state in each milestone the rule counts, in series order.
Cells []SeriesCellView `json:"cells"`
}
SeriesBalanceView defines model for SeriesBalanceView.
type SeriesCellView ¶
type SeriesCellView struct {
Milestone string `json:"milestone"`
// State passed, failed, running, waiting, upcoming, not_attempted, cancelled or unknown.
State string `json:"state"`
Label string `json:"label,omitempty"`
// UnknownCause Why an unknown cell is unknown - identity, unread or decisions.
UnknownCause string `json:"unknown_cause,omitempty"`
// AtClose The state the cell takes when its running milestone closes at its declared end with the results as they are, when that differs.
AtClose string `json:"at_close,omitempty"`
}
SeriesCellView defines model for SeriesCellView.
type SeriesMilestoneView ¶
type SeriesMilestoneView struct {
Distribution string `json:"distribution"`
// State upcoming, running, closed or cancelled.
State string `json:"state"`
EndsAt string `json:"ends_at,omitempty"`
}
SeriesMilestoneView defines model for SeriesMilestoneView.
type SeriesRuleView ¶
type SeriesRuleView struct {
ID string `json:"id"`
// Kind part or assessment.
Kind string `json:"kind"`
Title string `json:"title"`
AssessmentKind string `json:"assessment_kind,omitempty"`
MinPassed *int `json:"min_passed,omitempty"`
MaxFailed *int `json:"max_failed,omitempty"`
// Counted Counted milestones that are not cancelled.
Counted int `json:"counted"`
// Required Milestones a student has to pass.
Required int `json:"required"`
FreeAttempts int `json:"free_attempts"`
// Fulfilled Students of this distribution who fulfil the rule.
Fulfilled int `json:"fulfilled"`
Reachable int `json:"reachable"`
Failed int `json:"failed"`
Unknown int `json:"unknown"`
}
SeriesRuleView defines model for SeriesRuleView.
type SeriesStandingView ¶
type SeriesStandingView struct {
Name string `json:"name"`
EvaluatedAt string `json:"evaluated_at"`
// Position The place of the distribution among the milestones, from 1.
Position int `json:"position"`
Milestones []SeriesMilestoneView `json:"milestones"`
Rules []SeriesRuleView `json:"rules"`
// Students The students with a repository group in this distribution, in the order of the evaluation.
Students []SeriesStudentView `json:"students"`
// Notices What the evaluation could not decide or found odd, as divekit series evaluate prints it.
Notices []string `json:"notices"`
}
SeriesStandingView defines model for SeriesStandingView.
type SeriesStudentView ¶
type SeriesStudentView struct {
// Key The lower-case username, or uuid and the group id for a group nobody can name.
Key string `json:"key"`
Members []string `json:"members"`
// UUID The repository group of the student in this distribution.
UUID string `json:"uuid"`
Rules []SeriesBalanceView `json:"rules"`
}
SeriesStudentView defines model for SeriesStudentView.
type ServeMux ¶
type ServeMux interface {
HandleFunc(pattern string, handler func(http.ResponseWriter, *http.Request))
http.Handler
}
ServeMux is an abstraction of http.ServeMux.
type ServerInterface ¶
type ServerInterface interface {
// Log in and create a session
// (POST /api/v1/auth/login)
Login(w http.ResponseWriter, r *http.Request)
// Log out current session
// (POST /api/v1/auth/logout)
Logout(w http.ResponseWriter, r *http.Request)
// Read current user context
// (GET /api/v1/auth/me)
GetAuthMe(w http.ResponseWriter, r *http.Request)
// Change current user password
// (POST /api/v1/auth/me/password)
ChangeAuthMePassword(w http.ResponseWriter, r *http.Request)
// Update current user profile
// (PUT /api/v1/auth/me/profile)
UpdateAuthMeProfile(w http.ResponseWriter, r *http.Request)
// Read authentication status
// (GET /api/v1/auth/status)
GetAuthStatus(w http.ResponseWriter, r *http.Request)
// List global distributions
// (GET /api/v1/distributions)
ListGlobalDistributions(w http.ResponseWriter, r *http.Request, params ListGlobalDistributionsParams)
// Update distribution visibility and team access
// (PUT /api/v1/distributions/{distribution_id}/access)
UpdateDistributionAccess(w http.ResponseWriter, r *http.Request, distributionId DistributionId)
// Mark a distribution as settled or active again
// (PUT /api/v1/distributions/{distribution_id}/settlement)
UpdateDistributionSettlement(w http.ResponseWriter, r *http.Request, distributionId DistributionId)
// (GET /api/v1/distributions/{distribution_id}/shares)
ListDistributionShares(w http.ResponseWriter, r *http.Request, distributionId DistributionId)
// (POST /api/v1/distributions/{distribution_id}/shares)
CreateDistributionShare(w http.ResponseWriter, r *http.Request, distributionId DistributionId)
// (DELETE /api/v1/distributions/{distribution_id}/shares/{share_id})
DeleteDistributionShare(w http.ResponseWriter, r *http.Request, distributionId DistributionId, shareId ShareId)
// Health check alias
// (GET /api/v1/health)
GetHealth(w http.ResponseWriter, r *http.Request)
// Health check
// (GET /api/v1/healthz)
GetHealthz(w http.ResponseWriter, r *http.Request)
// List indexed origin repositories
// (GET /api/v1/origin-repositories)
ListOriginRepositories(w http.ResponseWriter, r *http.Request)
// Add an origin repository
// (POST /api/v1/origin-repositories)
CreateOriginRepository(w http.ResponseWriter, r *http.Request)
// Remove an origin repository from the index
// (DELETE /api/v1/origin-repositories/{origin_id})
DeleteOriginRepository(w http.ResponseWriter, r *http.Request, originId OriginId)
// Check the origin templates for token and variation problems
// (POST /api/v1/origin-repositories/{origin_id}/check)
CheckOriginRepository(w http.ResponseWriter, r *http.Request, originId OriginId)
// List distributions for an origin repository
// (GET /api/v1/origin-repositories/{origin_id}/distributions)
ListOriginDistributions(w http.ResponseWriter, r *http.Request, originId OriginId)
// Create a distribution
// (POST /api/v1/origin-repositories/{origin_id}/distributions)
CreateDistribution(w http.ResponseWriter, r *http.Request, originId OriginId)
// Read distribution details
// (GET /api/v1/origin-repositories/{origin_id}/distributions/{distribution_id})
GetDistribution(w http.ResponseWriter, r *http.Request, originId OriginId, distributionId DistributionId)
// Update distribution details
// (PATCH /api/v1/origin-repositories/{origin_id}/distributions/{distribution_id})
UpdateDistribution(w http.ResponseWriter, r *http.Request, originId OriginId, distributionId DistributionId)
// List the manual assessments the distribution declares
// (GET /api/v1/origin-repositories/{origin_id}/distributions/{distribution_id}/assessments)
ListDistributionAssessments(w http.ResponseWriter, r *http.Request, originId OriginId, distributionId DistributionId)
// List the decisions that wait, are written, or ended recently
// (GET /api/v1/origin-repositories/{origin_id}/distributions/{distribution_id}/assessments/decisions)
ListAssessmentDecisions(w http.ResponseWriter, r *http.Request, originId OriginId, distributionId DistributionId)
// Queue a decision on one declared entry of one repository group
// (POST /api/v1/origin-repositories/{origin_id}/distributions/{distribution_id}/assessments/decisions)
CreateAssessmentDecision(w http.ResponseWriter, r *http.Request, originId OriginId, distributionId DistributionId)
// Read the result of every declared entry for some repositories
// (GET /api/v1/origin-repositories/{origin_id}/distributions/{distribution_id}/assessments/results)
ListAssessmentResults(w http.ResponseWriter, r *http.Request, originId OriginId, distributionId DistributionId, params ListAssessmentResultsParams)
// Answer with the last complete read of each repository without asking GitLab
// (GET /api/v1/origin-repositories/{origin_id}/distributions/{distribution_id}/assessments/results/known)
ListKnownAssessmentResults(w http.ResponseWriter, r *http.Request, originId OriginId, distributionId DistributionId, params ListKnownAssessmentResultsParams)
// Retired direct distribute action
// (POST /api/v1/origin-repositories/{origin_id}/distributions/{distribution_id}/distribute)
QueueDistributeAction(w http.ResponseWriter, r *http.Request, originId OriginId, distributionId DistributionId)
// List authored feedback with draft and sent state
// (GET /api/v1/origin-repositories/{origin_id}/distributions/{distribution_id}/feedback)
GetDistributionFeedback(w http.ResponseWriter, r *http.Request, originId OriginId, distributionId DistributionId)
// Author a feedback item for members or for everyone
// (POST /api/v1/origin-repositories/{origin_id}/distributions/{distribution_id}/feedback)
AddDistributionFeedback(w http.ResponseWriter, r *http.Request, originId OriginId, distributionId DistributionId)
// Copy feedback items from one document to others
// (POST /api/v1/origin-repositories/{origin_id}/distributions/{distribution_id}/feedback/copy)
CopyDistributionFeedback(w http.ResponseWriter, r *http.Request, originId OriginId, distributionId DistributionId)
// Remove a feedback item
// (DELETE /api/v1/origin-repositories/{origin_id}/distributions/{distribution_id}/feedback/{feedback_id})
DeleteDistributionFeedback(w http.ResponseWriter, r *http.Request, originId OriginId, distributionId DistributionId, feedbackId string, params DeleteDistributionFeedbackParams)
// Update one authored feedback item atomically
// (PUT /api/v1/origin-repositories/{origin_id}/distributions/{distribution_id}/feedback/{feedback_id})
UpdateDistributionFeedback(w http.ResponseWriter, r *http.Request, originId OriginId, distributionId DistributionId, feedbackId string)
// Queue a fetch action
// (POST /api/v1/origin-repositories/{origin_id}/distributions/{distribution_id}/fetch)
QueueFetchAction(w http.ResponseWriter, r *http.Request, originId OriginId, distributionId DistributionId)
// Resolve the GitLab paths of the configured groups
// (GET /api/v1/origin-repositories/{origin_id}/distributions/{distribution_id}/group-paths)
GetDistributionGroupPaths(w http.ResponseWriter, r *http.Request, originId OriginId, distributionId DistributionId)
// List the individuals stored for a distribution
// (GET /api/v1/origin-repositories/{origin_id}/distributions/{distribution_id}/individuals)
ListDistributionIndividuals(w http.ResponseWriter, r *http.Request, originId OriginId, distributionId DistributionId)
// Render the files one individual receives
// (POST /api/v1/origin-repositories/{origin_id}/distributions/{distribution_id}/individuals/{uuid}/render)
RenderDistributionIndividual(w http.ResponseWriter, r *http.Request, originId OriginId, distributionId DistributionId, uuid string)
// Queue an inject action
// (POST /api/v1/origin-repositories/{origin_id}/distributions/{distribution_id}/inject)
QueueInjectAction(w http.ResponseWriter, r *http.Request, originId OriginId, distributionId DistributionId)
// List the configured members
// (GET /api/v1/origin-repositories/{origin_id}/distributions/{distribution_id}/members)
ListDistributionMembers(w http.ResponseWriter, r *http.Request, originId OriginId, distributionId DistributionId, params ListDistributionMembersParams)
// List member aliases
// (GET /api/v1/origin-repositories/{origin_id}/distributions/{distribution_id}/members/aliases)
ListDistributionMemberAliases(w http.ResponseWriter, r *http.Request, originId OriginId, distributionId DistributionId)
// Create an alias for a mistyped member
// (PUT /api/v1/origin-repositories/{origin_id}/distributions/{distribution_id}/members/aliases)
SetDistributionMemberAlias(w http.ResponseWriter, r *http.Request, originId OriginId, distributionId DistributionId)
// Remove the alias of a provider username
// (DELETE /api/v1/origin-repositories/{origin_id}/distributions/{distribution_id}/members/aliases/{username})
UnsetDistributionMemberAlias(w http.ResponseWriter, r *http.Request, originId OriginId, distributionId DistributionId, username string)
// Exclude members from the distribution
// (POST /api/v1/origin-repositories/{origin_id}/distributions/{distribution_id}/members/exclude)
ExcludeDistributionMembers(w http.ResponseWriter, r *http.Request, originId OriginId, distributionId DistributionId)
// Import members from pasted text
// (POST /api/v1/origin-repositories/{origin_id}/distributions/{distribution_id}/members/import)
ImportDistributionMembers(w http.ResponseWriter, r *http.Request, originId OriginId, distributionId DistributionId)
// Include excluded members again
// (POST /api/v1/origin-repositories/{origin_id}/distributions/{distribution_id}/members/include)
IncludeDistributionMembers(w http.ResponseWriter, r *http.Request, originId OriginId, distributionId DistributionId)
// Compare configured members with GitLab
// (GET /api/v1/origin-repositories/{origin_id}/distributions/{distribution_id}/members/status)
GetDistributionMembersStatus(w http.ResponseWriter, r *http.Request, originId OriginId, distributionId DistributionId)
// Queue a members sync action
// (POST /api/v1/origin-repositories/{origin_id}/distributions/{distribution_id}/members/sync)
QueueMembersSyncAction(w http.ResponseWriter, r *http.Request, originId OriginId, distributionId DistributionId)
// Add, remove or filter members
// (POST /api/v1/origin-repositories/{origin_id}/distributions/{distribution_id}/members/update)
UpdateDistributionMembers(w http.ResponseWriter, r *http.Request, originId OriginId, distributionId DistributionId)
// Check the members file for structural problems
// (GET /api/v1/origin-repositories/{origin_id}/distributions/{distribution_id}/members/validate)
ValidateDistributionMembers(w http.ResponseWriter, r *http.Request, originId OriginId, distributionId DistributionId)
// List the report overrides stored in the evaluation repositories
// (GET /api/v1/origin-repositories/{origin_id}/distributions/{distribution_id}/overrides)
ListDistributionOverrides(w http.ResponseWriter, r *http.Request, originId OriginId, distributionId DistributionId)
// Queue an overview action
// (POST /api/v1/origin-repositories/{origin_id}/distributions/{distribution_id}/overview)
QueueOverviewAction(w http.ResponseWriter, r *http.Request, originId OriginId, distributionId DistributionId)
// Read the latest stored passcheck result
// (GET /api/v1/origin-repositories/{origin_id}/distributions/{distribution_id}/passcheck)
GetDistributionPasscheck(w http.ResponseWriter, r *http.Request, originId OriginId, distributionId DistributionId)
// Queue a passcheck action
// (POST /api/v1/origin-repositories/{origin_id}/distributions/{distribution_id}/passcheck)
QueuePasscheckAction(w http.ResponseWriter, r *http.Request, originId OriginId, distributionId DistributionId)
// Retired direct patch action
// (POST /api/v1/origin-repositories/{origin_id}/distributions/{distribution_id}/patch)
QueuePatchAction(w http.ResponseWriter, r *http.Request, originId OriginId, distributionId DistributionId)
// Create a reviewed distribute plan
// (POST /api/v1/origin-repositories/{origin_id}/distributions/{distribution_id}/plans/distribute)
CreateDistributePlan(w http.ResponseWriter, r *http.Request, originId OriginId, distributionId DistributionId)
// Create a reviewed plan that sends feedback to the test pages
// (POST /api/v1/origin-repositories/{origin_id}/distributions/{distribution_id}/plans/feedback)
CreateFeedbackPlan(w http.ResponseWriter, r *http.Request, originId OriginId, distributionId DistributionId)
// Create a reviewed repository name sync plan
// (POST /api/v1/origin-repositories/{origin_id}/distributions/{distribution_id}/plans/names)
CreateNamesPlan(w http.ResponseWriter, r *http.Request, originId OriginId, distributionId DistributionId)
// Create a reviewed plan that overrides or restores a test result
// (POST /api/v1/origin-repositories/{origin_id}/distributions/{distribution_id}/plans/override)
CreateOverridePlan(w http.ResponseWriter, r *http.Request, originId OriginId, distributionId DistributionId)
// Create a reviewed patch plan
// (POST /api/v1/origin-repositories/{origin_id}/distributions/{distribution_id}/plans/patch)
CreatePatchPlan(w http.ResponseWriter, r *http.Request, originId OriginId, distributionId DistributionId)
// Create a reviewed plan that deletes the distribution's repositories
// (POST /api/v1/origin-repositories/{origin_id}/distributions/{distribution_id}/plans/purge)
CreatePurgePlan(w http.ResponseWriter, r *http.Request, originId OriginId, distributionId DistributionId)
// Confirm and queue one exact reviewed plan
// (POST /api/v1/origin-repositories/{origin_id}/distributions/{distribution_id}/plans/{plan_id}/apply)
ApplyPlan(w http.ResponseWriter, r *http.Request, originId OriginId, distributionId DistributionId, planId string)
// Queue a preview action
// (POST /api/v1/origin-repositories/{origin_id}/distributions/{distribution_id}/preview)
QueuePreviewAction(w http.ResponseWriter, r *http.Request, originId OriginId, distributionId DistributionId)
// Queue a purge action
// (POST /api/v1/origin-repositories/{origin_id}/distributions/{distribution_id}/purge)
QueuePurgeAction(w http.ResponseWriter, r *http.Request, originId OriginId, distributionId DistributionId)
// Read one file of a render
// (GET /api/v1/origin-repositories/{origin_id}/distributions/{distribution_id}/render/{render_id}/files)
GetDistributionRenderFile(w http.ResponseWriter, r *http.Request, originId OriginId, distributionId DistributionId, renderId string, params GetDistributionRenderFileParams)
// List repositories within a distribution
// (GET /api/v1/origin-repositories/{origin_id}/distributions/{distribution_id}/repositories)
ListDistributionRepositories(w http.ResponseWriter, r *http.Request, originId OriginId, distributionId DistributionId, params ListDistributionRepositoriesParams)
// Read live last activity and pipelines of the distribution repositories
// (GET /api/v1/origin-repositories/{origin_id}/distributions/{distribution_id}/repositories/activity)
ListDistributionRepositoryActivity(w http.ResponseWriter, r *http.Request, originId OriginId, distributionId DistributionId, params ListDistributionRepositoryActivityParams)
// Count failed eval pipelines of the distribution
// (GET /api/v1/origin-repositories/{origin_id}/distributions/{distribution_id}/repositories/summary)
GetDistributionRepositorySummary(w http.ResponseWriter, r *http.Request, originId OriginId, distributionId DistributionId, params GetDistributionRepositorySummaryParams)
// Read the latest eval pipeline of one repository with its failed job log
// (GET /api/v1/origin-repositories/{origin_id}/distributions/{distribution_id}/repositories/{repository_uuid}/eval-pipeline)
GetRepositoryEvalPipeline(w http.ResponseWriter, r *http.Request, originId OriginId, distributionId DistributionId, repositoryUuid RepositoryUuid, params GetRepositoryEvalPipelineParams)
// Run the eval pipeline of one repository again
// (POST /api/v1/origin-repositories/{origin_id}/distributions/{distribution_id}/repositories/{repository_uuid}/eval-pipeline/restart)
RestartRepositoryEvalPipeline(w http.ResponseWriter, r *http.Request, originId OriginId, distributionId DistributionId, repositoryUuid RepositoryUuid)
// Queue a role action
// (POST /api/v1/origin-repositories/{origin_id}/distributions/{distribution_id}/role)
QueueRoleAction(w http.ResponseWriter, r *http.Request, originId OriginId, distributionId DistributionId)
// Queue a run action
// (POST /api/v1/origin-repositories/{origin_id}/distributions/{distribution_id}/run)
QueueRunScriptAction(w http.ResponseWriter, r *http.Request, originId OriginId, distributionId DistributionId)
// Show where the students of a milestone stand in its series
// (GET /api/v1/origin-repositories/{origin_id}/distributions/{distribution_id}/series)
GetDistributionSeriesStanding(w http.ResponseWriter, r *http.Request, originId OriginId, distributionId DistributionId)
// Queue a research snapshot action
// (POST /api/v1/origin-repositories/{origin_id}/distributions/{distribution_id}/snapshot)
QueueSnapshotAction(w http.ResponseWriter, r *http.Request, originId OriginId, distributionId DistributionId)
// List the origin template files a patch can deliver
// (GET /api/v1/origin-repositories/{origin_id}/distributions/{distribution_id}/template-files)
ListDistributionTemplateFiles(w http.ResponseWriter, r *http.Request, originId OriginId, distributionId DistributionId, params ListDistributionTemplateFilesParams)
// Open one origin file in a local editor
// (POST /api/v1/origin-repositories/{origin_id}/files/open)
OpenOriginFile(w http.ResponseWriter, r *http.Request, originId OriginId)
// Open an origin repository in a local editor or file browser
// (POST /api/v1/origin-repositories/{origin_id}/open)
OpenOriginRepository(w http.ResponseWriter, r *http.Request, originId OriginId)
// Installed plugin suites of an origin
// (GET /api/v1/origin-repositories/{origin_id}/plugins)
ListOriginPlugins(w http.ResponseWriter, r *http.Request, originId OriginId, params ListOriginPluginsParams)
// Suites the configured sources offer
// (GET /api/v1/origin-repositories/{origin_id}/plugins/discover)
DiscoverOriginPlugins(w http.ResponseWriter, r *http.Request, originId OriginId, params DiscoverOriginPluginsParams)
// Create a reviewed plugin plan
// (POST /api/v1/origin-repositories/{origin_id}/plugins/plans)
CreateOriginPluginPlan(w http.ResponseWriter, r *http.Request, originId OriginId)
// Apply one reviewed plugin plan
// (POST /api/v1/origin-repositories/{origin_id}/plugins/plans/{plan_id}/apply)
ApplyOriginPluginPlan(w http.ResponseWriter, r *http.Request, originId OriginId, planId PluginPlanId)
// Look for newer suite and plugin releases
// (GET /api/v1/origin-repositories/{origin_id}/plugins/updates)
CheckOriginPluginUpdates(w http.ResponseWriter, r *http.Request, originId OriginId, params CheckOriginPluginUpdatesParams)
// Configuration forms of the enabled plugins of a suite
// (GET /api/v1/origin-repositories/{origin_id}/plugins/{suite_id}/wizard)
GetOriginPluginWizard(w http.ResponseWriter, r *http.Request, originId OriginId, suiteId SuiteId, params GetOriginPluginWizardParams)
// Save the configuration of one plugin
// (PUT /api/v1/origin-repositories/{origin_id}/plugins/{suite_id}/{plugin_id}/configuration)
UpdateOriginPluginConfiguration(w http.ResponseWriter, r *http.Request, originId OriginId, suiteId SuiteId, pluginId PluginId, params UpdateOriginPluginConfigurationParams)
// List origin scripts
// (GET /api/v1/origin-repositories/{origin_id}/scripts)
ListOriginScripts(w http.ResponseWriter, r *http.Request, originId OriginId)
// Create an origin script
// (POST /api/v1/origin-repositories/{origin_id}/scripts)
CreateOriginScript(w http.ResponseWriter, r *http.Request, originId OriginId)
// Open the origin scripts directory
// (POST /api/v1/origin-repositories/{origin_id}/scripts/open)
OpenOriginScriptsDirectory(w http.ResponseWriter, r *http.Request, originId OriginId)
// Delete an origin script
// (DELETE /api/v1/origin-repositories/{origin_id}/scripts/{script_ref})
DeleteOriginScript(w http.ResponseWriter, r *http.Request, originId OriginId, scriptRef ScriptRef)
// Mark an origin repository as settled or active again
// (PUT /api/v1/origin-repositories/{origin_id}/settlement)
UpdateOriginSettlement(w http.ResponseWriter, r *http.Request, originId OriginId)
// (GET /api/v1/origin-repositories/{origin_id}/shares)
ListOriginShares(w http.ResponseWriter, r *http.Request, originId OriginId)
// (POST /api/v1/origin-repositories/{origin_id}/shares)
CreateOriginShare(w http.ResponseWriter, r *http.Request, originId OriginId)
// (DELETE /api/v1/origin-repositories/{origin_id}/shares/{share_id})
DeleteOriginShare(w http.ResponseWriter, r *http.Request, originId OriginId, shareId ShareId)
// Local facts for the project overview
// (GET /api/v1/origin-repositories/{origin_id}/summary)
GetOriginSummary(w http.ResponseWriter, r *http.Request, originId OriginId)
// Move an origin repository to another workspace
// (PUT /api/v1/origin-repositories/{origin_id}/workspace)
UpdateOriginWorkspace(w http.ResponseWriter, r *http.Request, originId OriginId)
// Refresh indexed origin repositories
// (POST /api/v1/origin-repositories:refresh)
RefreshOriginRepositories(w http.ResponseWriter, r *http.Request)
// List the plugin sources of the user
// (GET /api/v1/plugin-sources)
ListPluginSources(w http.ResponseWriter, r *http.Request)
// Add a plugin source
// (POST /api/v1/plugin-sources)
CreatePluginSource(w http.ResponseWriter, r *http.Request)
// Remove a plugin source
// (DELETE /api/v1/plugin-sources/{name})
DeletePluginSource(w http.ResponseWriter, r *http.Request, name PluginSourceName)
// Installed suites across the indexed origins
// (GET /api/v1/plugins/overview)
GetPluginsOverview(w http.ResponseWriter, r *http.Request, params GetPluginsOverviewParams)
// List runs
// (GET /api/v1/runs)
ListRuns(w http.ResponseWriter, r *http.Request, params ListRunsParams)
// Read one run
// (GET /api/v1/runs/{run_id})
GetRun(w http.ResponseWriter, r *http.Request, runId RunId)
// Cancel a queued or running run
// (POST /api/v1/runs/{run_id}/cancel)
CancelRun(w http.ResponseWriter, r *http.Request, runId RunId)
// List or stream run events
// (GET /api/v1/runs/{run_id}/events)
StreamRunEvents(w http.ResponseWriter, r *http.Request, runId RunId, params StreamRunEventsParams)
// Read current session workspace
// (GET /api/v1/session/workspace)
GetSessionWorkspace(w http.ResponseWriter, r *http.Request)
// Switch current session workspace
// (POST /api/v1/session/workspace)
SwitchSessionWorkspace(w http.ResponseWriter, r *http.Request)
// Read default settings metadata
// (GET /api/v1/settings/defaults)
GetSettingsDefaults(w http.ResponseWriter, r *http.Request)
// List configured hosts
// (GET /api/v1/settings/hosts)
ListSettingsHosts(w http.ResponseWriter, r *http.Request)
// Create a host entry
// (POST /api/v1/settings/hosts)
CreateSettingsHost(w http.ResponseWriter, r *http.Request)
// Delete a host entry
// (DELETE /api/v1/settings/hosts/{name})
DeleteSettingsHost(w http.ResponseWriter, r *http.Request, name HostName)
// Update a host entry
// (PUT /api/v1/settings/hosts/{name})
UpdateSettingsHost(w http.ResponseWriter, r *http.Request, name HostName)
// Check connectivity for a host entry
// (GET /api/v1/settings/hosts/{name}/ping)
PingSettingsHost(w http.ResponseWriter, r *http.Request, name HostName)
// Remove a stored host token
// (DELETE /api/v1/settings/hosts/{name}/token)
DeleteSettingsHostToken(w http.ResponseWriter, r *http.Request, name HostName)
// Set or replace a host token
// (PUT /api/v1/settings/hosts/{name}/token)
UpdateSettingsHostToken(w http.ResponseWriter, r *http.Request, name HostName)
// Bootstrap managed authentication or create the first admin with a setup code
// (POST /api/v1/setup/managed-auth)
BootstrapManagedAuth(w http.ResponseWriter, r *http.Request)
// Read setup status
// (GET /api/v1/setup/status)
GetSetupStatus(w http.ResponseWriter, r *http.Request)
// Run system diagnostics
// (POST /api/v1/system/doctor)
RunSystemDoctor(w http.ResponseWriter, r *http.Request)
// List supported local editors
// (GET /api/v1/system/editors)
ListSystemEditors(w http.ResponseWriter, r *http.Request)
// List global scripts
// (GET /api/v1/system/scripts)
ListSystemScripts(w http.ResponseWriter, r *http.Request)
// Create a global script
// (POST /api/v1/system/scripts)
CreateSystemScript(w http.ResponseWriter, r *http.Request)
// Open the global scripts directory
// (POST /api/v1/system/scripts/open)
OpenSystemScriptsDirectory(w http.ResponseWriter, r *http.Request)
// Open one global script
// (POST /api/v1/system/scripts/open/{script_ref})
OpenSystemScript(w http.ResponseWriter, r *http.Request, scriptRef ScriptRef)
// Delete a global script
// (DELETE /api/v1/system/scripts/{script_ref})
DeleteSystemScript(w http.ResponseWriter, r *http.Request, scriptRef ScriptRef)
// Open a native directory picker
// (POST /api/v1/system/select-directory)
SelectSystemDirectory(w http.ResponseWriter, r *http.Request)
// Run binary update flow
// (POST /api/v1/system/update)
RunSystemUpdate(w http.ResponseWriter, r *http.Request)
// List teams in the active workspace
// (GET /api/v1/teams)
ListTeams(w http.ResponseWriter, r *http.Request)
// Create a team
// (POST /api/v1/teams)
CreateTeam(w http.ResponseWriter, r *http.Request)
// Delete a team
// (DELETE /api/v1/teams/{team_id})
DeleteTeam(w http.ResponseWriter, r *http.Request, teamId TeamId)
// Update a team
// (PUT /api/v1/teams/{team_id})
UpdateTeam(w http.ResponseWriter, r *http.Request, teamId TeamId)
// List team members
// (GET /api/v1/teams/{team_id}/members)
ListTeamMembers(w http.ResponseWriter, r *http.Request, teamId TeamId)
// Add a team member
// (POST /api/v1/teams/{team_id}/members)
CreateTeamMember(w http.ResponseWriter, r *http.Request, teamId TeamId)
// Remove a team member
// (DELETE /api/v1/teams/{team_id}/members/{subject})
DeleteTeamMember(w http.ResponseWriter, r *http.Request, teamId TeamId, subject Subject)
// Update a team member
// (PUT /api/v1/teams/{team_id}/members/{subject})
UpdateTeamMember(w http.ResponseWriter, r *http.Request, teamId TeamId, subject Subject)
// List managed users
// (GET /api/v1/users)
ListManagedUsers(w http.ResponseWriter, r *http.Request)
// Create a managed user
// (POST /api/v1/users)
CreateManagedUser(w http.ResponseWriter, r *http.Request)
// Delete a managed user
// (DELETE /api/v1/users/{username})
DeleteManagedUser(w http.ResponseWriter, r *http.Request, username Username)
// Update a managed user
// (PUT /api/v1/users/{username})
UpdateManagedUser(w http.ResponseWriter, r *http.Request, username Username)
// Reset a managed user password
// (POST /api/v1/users/{username}/reset-password)
ResetManagedUserPassword(w http.ResponseWriter, r *http.Request, username Username)
// List workspace members
// (GET /api/v1/workspace-members)
ListWorkspaceMembers(w http.ResponseWriter, r *http.Request)
// Create or add a workspace member
// (POST /api/v1/workspace-members)
CreateWorkspaceMember(w http.ResponseWriter, r *http.Request)
// Remove a workspace member
// (DELETE /api/v1/workspace-members/{subject})
DeleteWorkspaceMember(w http.ResponseWriter, r *http.Request, subject Subject)
// Update a workspace member
// (PUT /api/v1/workspace-members/{subject})
UpdateWorkspaceMember(w http.ResponseWriter, r *http.Request, subject Subject)
// List workspaces visible to the current context
// (GET /api/v1/workspaces)
ListWorkspaces(w http.ResponseWriter, r *http.Request)
// Create a workspace
// (POST /api/v1/workspaces)
CreateWorkspace(w http.ResponseWriter, r *http.Request)
}
ServerInterface represents all server handlers.
type ServerInterfaceWrapper ¶
type ServerInterfaceWrapper struct {
Handler ServerInterface
HandlerMiddlewares []MiddlewareFunc
ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}
ServerInterfaceWrapper converts contexts to parameters.
func (*ServerInterfaceWrapper) AddDistributionFeedback ¶
func (siw *ServerInterfaceWrapper) AddDistributionFeedback(w http.ResponseWriter, r *http.Request)
AddDistributionFeedback operation middleware
func (*ServerInterfaceWrapper) ApplyOriginPluginPlan ¶
func (siw *ServerInterfaceWrapper) ApplyOriginPluginPlan(w http.ResponseWriter, r *http.Request)
ApplyOriginPluginPlan operation middleware
func (*ServerInterfaceWrapper) ApplyPlan ¶
func (siw *ServerInterfaceWrapper) ApplyPlan(w http.ResponseWriter, r *http.Request)
ApplyPlan operation middleware
func (*ServerInterfaceWrapper) BootstrapManagedAuth ¶
func (siw *ServerInterfaceWrapper) BootstrapManagedAuth(w http.ResponseWriter, r *http.Request)
BootstrapManagedAuth operation middleware
func (*ServerInterfaceWrapper) CancelRun ¶
func (siw *ServerInterfaceWrapper) CancelRun(w http.ResponseWriter, r *http.Request)
CancelRun operation middleware
func (*ServerInterfaceWrapper) ChangeAuthMePassword ¶
func (siw *ServerInterfaceWrapper) ChangeAuthMePassword(w http.ResponseWriter, r *http.Request)
ChangeAuthMePassword operation middleware
func (*ServerInterfaceWrapper) CheckOriginPluginUpdates ¶
func (siw *ServerInterfaceWrapper) CheckOriginPluginUpdates(w http.ResponseWriter, r *http.Request)
CheckOriginPluginUpdates operation middleware
func (*ServerInterfaceWrapper) CheckOriginRepository ¶
func (siw *ServerInterfaceWrapper) CheckOriginRepository(w http.ResponseWriter, r *http.Request)
CheckOriginRepository operation middleware
func (*ServerInterfaceWrapper) CopyDistributionFeedback ¶
func (siw *ServerInterfaceWrapper) CopyDistributionFeedback(w http.ResponseWriter, r *http.Request)
CopyDistributionFeedback operation middleware
func (*ServerInterfaceWrapper) CreateAssessmentDecision ¶
func (siw *ServerInterfaceWrapper) CreateAssessmentDecision(w http.ResponseWriter, r *http.Request)
CreateAssessmentDecision operation middleware
func (*ServerInterfaceWrapper) CreateDistributePlan ¶
func (siw *ServerInterfaceWrapper) CreateDistributePlan(w http.ResponseWriter, r *http.Request)
CreateDistributePlan operation middleware
func (*ServerInterfaceWrapper) CreateDistribution ¶
func (siw *ServerInterfaceWrapper) CreateDistribution(w http.ResponseWriter, r *http.Request)
CreateDistribution operation middleware
func (*ServerInterfaceWrapper) CreateDistributionShare ¶
func (siw *ServerInterfaceWrapper) CreateDistributionShare(w http.ResponseWriter, r *http.Request)
CreateDistributionShare operation middleware
func (*ServerInterfaceWrapper) CreateFeedbackPlan ¶
func (siw *ServerInterfaceWrapper) CreateFeedbackPlan(w http.ResponseWriter, r *http.Request)
CreateFeedbackPlan operation middleware
func (*ServerInterfaceWrapper) CreateManagedUser ¶
func (siw *ServerInterfaceWrapper) CreateManagedUser(w http.ResponseWriter, r *http.Request)
CreateManagedUser operation middleware
func (*ServerInterfaceWrapper) CreateNamesPlan ¶
func (siw *ServerInterfaceWrapper) CreateNamesPlan(w http.ResponseWriter, r *http.Request)
CreateNamesPlan operation middleware
func (*ServerInterfaceWrapper) CreateOriginPluginPlan ¶
func (siw *ServerInterfaceWrapper) CreateOriginPluginPlan(w http.ResponseWriter, r *http.Request)
CreateOriginPluginPlan operation middleware
func (*ServerInterfaceWrapper) CreateOriginRepository ¶
func (siw *ServerInterfaceWrapper) CreateOriginRepository(w http.ResponseWriter, r *http.Request)
CreateOriginRepository operation middleware
func (*ServerInterfaceWrapper) CreateOriginScript ¶
func (siw *ServerInterfaceWrapper) CreateOriginScript(w http.ResponseWriter, r *http.Request)
CreateOriginScript operation middleware
func (*ServerInterfaceWrapper) CreateOriginShare ¶
func (siw *ServerInterfaceWrapper) CreateOriginShare(w http.ResponseWriter, r *http.Request)
CreateOriginShare operation middleware
func (*ServerInterfaceWrapper) CreateOverridePlan ¶
func (siw *ServerInterfaceWrapper) CreateOverridePlan(w http.ResponseWriter, r *http.Request)
CreateOverridePlan operation middleware
func (*ServerInterfaceWrapper) CreatePatchPlan ¶
func (siw *ServerInterfaceWrapper) CreatePatchPlan(w http.ResponseWriter, r *http.Request)
CreatePatchPlan operation middleware
func (*ServerInterfaceWrapper) CreatePluginSource ¶
func (siw *ServerInterfaceWrapper) CreatePluginSource(w http.ResponseWriter, r *http.Request)
CreatePluginSource operation middleware
func (*ServerInterfaceWrapper) CreatePurgePlan ¶
func (siw *ServerInterfaceWrapper) CreatePurgePlan(w http.ResponseWriter, r *http.Request)
CreatePurgePlan operation middleware
func (*ServerInterfaceWrapper) CreateSettingsHost ¶
func (siw *ServerInterfaceWrapper) CreateSettingsHost(w http.ResponseWriter, r *http.Request)
CreateSettingsHost operation middleware
func (*ServerInterfaceWrapper) CreateSystemScript ¶
func (siw *ServerInterfaceWrapper) CreateSystemScript(w http.ResponseWriter, r *http.Request)
CreateSystemScript operation middleware
func (*ServerInterfaceWrapper) CreateTeam ¶
func (siw *ServerInterfaceWrapper) CreateTeam(w http.ResponseWriter, r *http.Request)
CreateTeam operation middleware
func (*ServerInterfaceWrapper) CreateTeamMember ¶
func (siw *ServerInterfaceWrapper) CreateTeamMember(w http.ResponseWriter, r *http.Request)
CreateTeamMember operation middleware
func (*ServerInterfaceWrapper) CreateWorkspace ¶
func (siw *ServerInterfaceWrapper) CreateWorkspace(w http.ResponseWriter, r *http.Request)
CreateWorkspace operation middleware
func (*ServerInterfaceWrapper) CreateWorkspaceMember ¶
func (siw *ServerInterfaceWrapper) CreateWorkspaceMember(w http.ResponseWriter, r *http.Request)
CreateWorkspaceMember operation middleware
func (*ServerInterfaceWrapper) DeleteDistributionFeedback ¶
func (siw *ServerInterfaceWrapper) DeleteDistributionFeedback(w http.ResponseWriter, r *http.Request)
DeleteDistributionFeedback operation middleware
func (*ServerInterfaceWrapper) DeleteDistributionShare ¶
func (siw *ServerInterfaceWrapper) DeleteDistributionShare(w http.ResponseWriter, r *http.Request)
DeleteDistributionShare operation middleware
func (*ServerInterfaceWrapper) DeleteManagedUser ¶
func (siw *ServerInterfaceWrapper) DeleteManagedUser(w http.ResponseWriter, r *http.Request)
DeleteManagedUser operation middleware
func (*ServerInterfaceWrapper) DeleteOriginRepository ¶
func (siw *ServerInterfaceWrapper) DeleteOriginRepository(w http.ResponseWriter, r *http.Request)
DeleteOriginRepository operation middleware
func (*ServerInterfaceWrapper) DeleteOriginScript ¶
func (siw *ServerInterfaceWrapper) DeleteOriginScript(w http.ResponseWriter, r *http.Request)
DeleteOriginScript operation middleware
func (*ServerInterfaceWrapper) DeleteOriginShare ¶
func (siw *ServerInterfaceWrapper) DeleteOriginShare(w http.ResponseWriter, r *http.Request)
DeleteOriginShare operation middleware
func (*ServerInterfaceWrapper) DeletePluginSource ¶
func (siw *ServerInterfaceWrapper) DeletePluginSource(w http.ResponseWriter, r *http.Request)
DeletePluginSource operation middleware
func (*ServerInterfaceWrapper) DeleteSettingsHost ¶
func (siw *ServerInterfaceWrapper) DeleteSettingsHost(w http.ResponseWriter, r *http.Request)
DeleteSettingsHost operation middleware
func (*ServerInterfaceWrapper) DeleteSettingsHostToken ¶
func (siw *ServerInterfaceWrapper) DeleteSettingsHostToken(w http.ResponseWriter, r *http.Request)
DeleteSettingsHostToken operation middleware
func (*ServerInterfaceWrapper) DeleteSystemScript ¶
func (siw *ServerInterfaceWrapper) DeleteSystemScript(w http.ResponseWriter, r *http.Request)
DeleteSystemScript operation middleware
func (*ServerInterfaceWrapper) DeleteTeam ¶
func (siw *ServerInterfaceWrapper) DeleteTeam(w http.ResponseWriter, r *http.Request)
DeleteTeam operation middleware
func (*ServerInterfaceWrapper) DeleteTeamMember ¶
func (siw *ServerInterfaceWrapper) DeleteTeamMember(w http.ResponseWriter, r *http.Request)
DeleteTeamMember operation middleware
func (*ServerInterfaceWrapper) DeleteWorkspaceMember ¶
func (siw *ServerInterfaceWrapper) DeleteWorkspaceMember(w http.ResponseWriter, r *http.Request)
DeleteWorkspaceMember operation middleware
func (*ServerInterfaceWrapper) DiscoverOriginPlugins ¶
func (siw *ServerInterfaceWrapper) DiscoverOriginPlugins(w http.ResponseWriter, r *http.Request)
DiscoverOriginPlugins operation middleware
func (*ServerInterfaceWrapper) ExcludeDistributionMembers ¶
func (siw *ServerInterfaceWrapper) ExcludeDistributionMembers(w http.ResponseWriter, r *http.Request)
ExcludeDistributionMembers operation middleware
func (*ServerInterfaceWrapper) GetAuthMe ¶
func (siw *ServerInterfaceWrapper) GetAuthMe(w http.ResponseWriter, r *http.Request)
GetAuthMe operation middleware
func (*ServerInterfaceWrapper) GetAuthStatus ¶
func (siw *ServerInterfaceWrapper) GetAuthStatus(w http.ResponseWriter, r *http.Request)
GetAuthStatus operation middleware
func (*ServerInterfaceWrapper) GetDistribution ¶
func (siw *ServerInterfaceWrapper) GetDistribution(w http.ResponseWriter, r *http.Request)
GetDistribution operation middleware
func (*ServerInterfaceWrapper) GetDistributionFeedback ¶
func (siw *ServerInterfaceWrapper) GetDistributionFeedback(w http.ResponseWriter, r *http.Request)
GetDistributionFeedback operation middleware
func (*ServerInterfaceWrapper) GetDistributionGroupPaths ¶
func (siw *ServerInterfaceWrapper) GetDistributionGroupPaths(w http.ResponseWriter, r *http.Request)
GetDistributionGroupPaths operation middleware
func (*ServerInterfaceWrapper) GetDistributionMembersStatus ¶
func (siw *ServerInterfaceWrapper) GetDistributionMembersStatus(w http.ResponseWriter, r *http.Request)
GetDistributionMembersStatus operation middleware
func (*ServerInterfaceWrapper) GetDistributionPasscheck ¶
func (siw *ServerInterfaceWrapper) GetDistributionPasscheck(w http.ResponseWriter, r *http.Request)
GetDistributionPasscheck operation middleware
func (*ServerInterfaceWrapper) GetDistributionRenderFile ¶
func (siw *ServerInterfaceWrapper) GetDistributionRenderFile(w http.ResponseWriter, r *http.Request)
GetDistributionRenderFile operation middleware
func (*ServerInterfaceWrapper) GetDistributionRepositorySummary ¶
func (siw *ServerInterfaceWrapper) GetDistributionRepositorySummary(w http.ResponseWriter, r *http.Request)
GetDistributionRepositorySummary operation middleware
func (*ServerInterfaceWrapper) GetDistributionSeriesStanding ¶
func (siw *ServerInterfaceWrapper) GetDistributionSeriesStanding(w http.ResponseWriter, r *http.Request)
GetDistributionSeriesStanding operation middleware
func (*ServerInterfaceWrapper) GetHealth ¶
func (siw *ServerInterfaceWrapper) GetHealth(w http.ResponseWriter, r *http.Request)
GetHealth operation middleware
func (*ServerInterfaceWrapper) GetHealthz ¶
func (siw *ServerInterfaceWrapper) GetHealthz(w http.ResponseWriter, r *http.Request)
GetHealthz operation middleware
func (*ServerInterfaceWrapper) GetOriginPluginWizard ¶
func (siw *ServerInterfaceWrapper) GetOriginPluginWizard(w http.ResponseWriter, r *http.Request)
GetOriginPluginWizard operation middleware
func (*ServerInterfaceWrapper) GetOriginSummary ¶
func (siw *ServerInterfaceWrapper) GetOriginSummary(w http.ResponseWriter, r *http.Request)
GetOriginSummary operation middleware
func (*ServerInterfaceWrapper) GetPluginsOverview ¶
func (siw *ServerInterfaceWrapper) GetPluginsOverview(w http.ResponseWriter, r *http.Request)
GetPluginsOverview operation middleware
func (*ServerInterfaceWrapper) GetRepositoryEvalPipeline ¶
func (siw *ServerInterfaceWrapper) GetRepositoryEvalPipeline(w http.ResponseWriter, r *http.Request)
GetRepositoryEvalPipeline operation middleware
func (*ServerInterfaceWrapper) GetRun ¶
func (siw *ServerInterfaceWrapper) GetRun(w http.ResponseWriter, r *http.Request)
GetRun operation middleware
func (*ServerInterfaceWrapper) GetSessionWorkspace ¶
func (siw *ServerInterfaceWrapper) GetSessionWorkspace(w http.ResponseWriter, r *http.Request)
GetSessionWorkspace operation middleware
func (*ServerInterfaceWrapper) GetSettingsDefaults ¶
func (siw *ServerInterfaceWrapper) GetSettingsDefaults(w http.ResponseWriter, r *http.Request)
GetSettingsDefaults operation middleware
func (*ServerInterfaceWrapper) GetSetupStatus ¶
func (siw *ServerInterfaceWrapper) GetSetupStatus(w http.ResponseWriter, r *http.Request)
GetSetupStatus operation middleware
func (*ServerInterfaceWrapper) ImportDistributionMembers ¶
func (siw *ServerInterfaceWrapper) ImportDistributionMembers(w http.ResponseWriter, r *http.Request)
ImportDistributionMembers operation middleware
func (*ServerInterfaceWrapper) IncludeDistributionMembers ¶
func (siw *ServerInterfaceWrapper) IncludeDistributionMembers(w http.ResponseWriter, r *http.Request)
IncludeDistributionMembers operation middleware
func (*ServerInterfaceWrapper) ListAssessmentDecisions ¶
func (siw *ServerInterfaceWrapper) ListAssessmentDecisions(w http.ResponseWriter, r *http.Request)
ListAssessmentDecisions operation middleware
func (*ServerInterfaceWrapper) ListAssessmentResults ¶
func (siw *ServerInterfaceWrapper) ListAssessmentResults(w http.ResponseWriter, r *http.Request)
ListAssessmentResults operation middleware
func (*ServerInterfaceWrapper) ListDistributionAssessments ¶
func (siw *ServerInterfaceWrapper) ListDistributionAssessments(w http.ResponseWriter, r *http.Request)
ListDistributionAssessments operation middleware
func (*ServerInterfaceWrapper) ListDistributionIndividuals ¶
func (siw *ServerInterfaceWrapper) ListDistributionIndividuals(w http.ResponseWriter, r *http.Request)
ListDistributionIndividuals operation middleware
func (*ServerInterfaceWrapper) ListDistributionMemberAliases ¶
func (siw *ServerInterfaceWrapper) ListDistributionMemberAliases(w http.ResponseWriter, r *http.Request)
ListDistributionMemberAliases operation middleware
func (*ServerInterfaceWrapper) ListDistributionMembers ¶
func (siw *ServerInterfaceWrapper) ListDistributionMembers(w http.ResponseWriter, r *http.Request)
ListDistributionMembers operation middleware
func (*ServerInterfaceWrapper) ListDistributionOverrides ¶
func (siw *ServerInterfaceWrapper) ListDistributionOverrides(w http.ResponseWriter, r *http.Request)
ListDistributionOverrides operation middleware
func (*ServerInterfaceWrapper) ListDistributionRepositories ¶
func (siw *ServerInterfaceWrapper) ListDistributionRepositories(w http.ResponseWriter, r *http.Request)
ListDistributionRepositories operation middleware
func (*ServerInterfaceWrapper) ListDistributionRepositoryActivity ¶
func (siw *ServerInterfaceWrapper) ListDistributionRepositoryActivity(w http.ResponseWriter, r *http.Request)
ListDistributionRepositoryActivity operation middleware
func (*ServerInterfaceWrapper) ListDistributionShares ¶
func (siw *ServerInterfaceWrapper) ListDistributionShares(w http.ResponseWriter, r *http.Request)
ListDistributionShares operation middleware
func (*ServerInterfaceWrapper) ListDistributionTemplateFiles ¶
func (siw *ServerInterfaceWrapper) ListDistributionTemplateFiles(w http.ResponseWriter, r *http.Request)
ListDistributionTemplateFiles operation middleware
func (*ServerInterfaceWrapper) ListGlobalDistributions ¶
func (siw *ServerInterfaceWrapper) ListGlobalDistributions(w http.ResponseWriter, r *http.Request)
ListGlobalDistributions operation middleware
func (*ServerInterfaceWrapper) ListKnownAssessmentResults ¶
func (siw *ServerInterfaceWrapper) ListKnownAssessmentResults(w http.ResponseWriter, r *http.Request)
ListKnownAssessmentResults operation middleware
func (*ServerInterfaceWrapper) ListManagedUsers ¶
func (siw *ServerInterfaceWrapper) ListManagedUsers(w http.ResponseWriter, r *http.Request)
ListManagedUsers operation middleware
func (*ServerInterfaceWrapper) ListOriginDistributions ¶
func (siw *ServerInterfaceWrapper) ListOriginDistributions(w http.ResponseWriter, r *http.Request)
ListOriginDistributions operation middleware
func (*ServerInterfaceWrapper) ListOriginPlugins ¶
func (siw *ServerInterfaceWrapper) ListOriginPlugins(w http.ResponseWriter, r *http.Request)
ListOriginPlugins operation middleware
func (*ServerInterfaceWrapper) ListOriginRepositories ¶
func (siw *ServerInterfaceWrapper) ListOriginRepositories(w http.ResponseWriter, r *http.Request)
ListOriginRepositories operation middleware
func (*ServerInterfaceWrapper) ListOriginScripts ¶
func (siw *ServerInterfaceWrapper) ListOriginScripts(w http.ResponseWriter, r *http.Request)
ListOriginScripts operation middleware
func (*ServerInterfaceWrapper) ListOriginShares ¶
func (siw *ServerInterfaceWrapper) ListOriginShares(w http.ResponseWriter, r *http.Request)
ListOriginShares operation middleware
func (*ServerInterfaceWrapper) ListPluginSources ¶
func (siw *ServerInterfaceWrapper) ListPluginSources(w http.ResponseWriter, r *http.Request)
ListPluginSources operation middleware
func (*ServerInterfaceWrapper) ListRuns ¶
func (siw *ServerInterfaceWrapper) ListRuns(w http.ResponseWriter, r *http.Request)
ListRuns operation middleware
func (*ServerInterfaceWrapper) ListSettingsHosts ¶
func (siw *ServerInterfaceWrapper) ListSettingsHosts(w http.ResponseWriter, r *http.Request)
ListSettingsHosts operation middleware
func (*ServerInterfaceWrapper) ListSystemEditors ¶
func (siw *ServerInterfaceWrapper) ListSystemEditors(w http.ResponseWriter, r *http.Request)
ListSystemEditors operation middleware
func (*ServerInterfaceWrapper) ListSystemScripts ¶
func (siw *ServerInterfaceWrapper) ListSystemScripts(w http.ResponseWriter, r *http.Request)
ListSystemScripts operation middleware
func (*ServerInterfaceWrapper) ListTeamMembers ¶
func (siw *ServerInterfaceWrapper) ListTeamMembers(w http.ResponseWriter, r *http.Request)
ListTeamMembers operation middleware
func (*ServerInterfaceWrapper) ListTeams ¶
func (siw *ServerInterfaceWrapper) ListTeams(w http.ResponseWriter, r *http.Request)
ListTeams operation middleware
func (*ServerInterfaceWrapper) ListWorkspaceMembers ¶
func (siw *ServerInterfaceWrapper) ListWorkspaceMembers(w http.ResponseWriter, r *http.Request)
ListWorkspaceMembers operation middleware
func (*ServerInterfaceWrapper) ListWorkspaces ¶
func (siw *ServerInterfaceWrapper) ListWorkspaces(w http.ResponseWriter, r *http.Request)
ListWorkspaces operation middleware
func (*ServerInterfaceWrapper) Login ¶
func (siw *ServerInterfaceWrapper) Login(w http.ResponseWriter, r *http.Request)
Login operation middleware
func (*ServerInterfaceWrapper) Logout ¶
func (siw *ServerInterfaceWrapper) Logout(w http.ResponseWriter, r *http.Request)
Logout operation middleware
func (*ServerInterfaceWrapper) OpenOriginFile ¶
func (siw *ServerInterfaceWrapper) OpenOriginFile(w http.ResponseWriter, r *http.Request)
OpenOriginFile operation middleware
func (*ServerInterfaceWrapper) OpenOriginRepository ¶
func (siw *ServerInterfaceWrapper) OpenOriginRepository(w http.ResponseWriter, r *http.Request)
OpenOriginRepository operation middleware
func (*ServerInterfaceWrapper) OpenOriginScriptsDirectory ¶
func (siw *ServerInterfaceWrapper) OpenOriginScriptsDirectory(w http.ResponseWriter, r *http.Request)
OpenOriginScriptsDirectory operation middleware
func (*ServerInterfaceWrapper) OpenSystemScript ¶
func (siw *ServerInterfaceWrapper) OpenSystemScript(w http.ResponseWriter, r *http.Request)
OpenSystemScript operation middleware
func (*ServerInterfaceWrapper) OpenSystemScriptsDirectory ¶
func (siw *ServerInterfaceWrapper) OpenSystemScriptsDirectory(w http.ResponseWriter, r *http.Request)
OpenSystemScriptsDirectory operation middleware
func (*ServerInterfaceWrapper) PingSettingsHost ¶
func (siw *ServerInterfaceWrapper) PingSettingsHost(w http.ResponseWriter, r *http.Request)
PingSettingsHost operation middleware
func (*ServerInterfaceWrapper) QueueDistributeAction ¶
func (siw *ServerInterfaceWrapper) QueueDistributeAction(w http.ResponseWriter, r *http.Request)
QueueDistributeAction operation middleware
func (*ServerInterfaceWrapper) QueueFetchAction ¶
func (siw *ServerInterfaceWrapper) QueueFetchAction(w http.ResponseWriter, r *http.Request)
QueueFetchAction operation middleware
func (*ServerInterfaceWrapper) QueueInjectAction ¶
func (siw *ServerInterfaceWrapper) QueueInjectAction(w http.ResponseWriter, r *http.Request)
QueueInjectAction operation middleware
func (*ServerInterfaceWrapper) QueueMembersSyncAction ¶
func (siw *ServerInterfaceWrapper) QueueMembersSyncAction(w http.ResponseWriter, r *http.Request)
QueueMembersSyncAction operation middleware
func (*ServerInterfaceWrapper) QueueOverviewAction ¶
func (siw *ServerInterfaceWrapper) QueueOverviewAction(w http.ResponseWriter, r *http.Request)
QueueOverviewAction operation middleware
func (*ServerInterfaceWrapper) QueuePasscheckAction ¶
func (siw *ServerInterfaceWrapper) QueuePasscheckAction(w http.ResponseWriter, r *http.Request)
QueuePasscheckAction operation middleware
func (*ServerInterfaceWrapper) QueuePatchAction ¶
func (siw *ServerInterfaceWrapper) QueuePatchAction(w http.ResponseWriter, r *http.Request)
QueuePatchAction operation middleware
func (*ServerInterfaceWrapper) QueuePreviewAction ¶
func (siw *ServerInterfaceWrapper) QueuePreviewAction(w http.ResponseWriter, r *http.Request)
QueuePreviewAction operation middleware
func (*ServerInterfaceWrapper) QueuePurgeAction ¶
func (siw *ServerInterfaceWrapper) QueuePurgeAction(w http.ResponseWriter, r *http.Request)
QueuePurgeAction operation middleware
func (*ServerInterfaceWrapper) QueueRoleAction ¶
func (siw *ServerInterfaceWrapper) QueueRoleAction(w http.ResponseWriter, r *http.Request)
QueueRoleAction operation middleware
func (*ServerInterfaceWrapper) QueueRunScriptAction ¶
func (siw *ServerInterfaceWrapper) QueueRunScriptAction(w http.ResponseWriter, r *http.Request)
QueueRunScriptAction operation middleware
func (*ServerInterfaceWrapper) QueueSnapshotAction ¶
func (siw *ServerInterfaceWrapper) QueueSnapshotAction(w http.ResponseWriter, r *http.Request)
QueueSnapshotAction operation middleware
func (*ServerInterfaceWrapper) RefreshOriginRepositories ¶
func (siw *ServerInterfaceWrapper) RefreshOriginRepositories(w http.ResponseWriter, r *http.Request)
RefreshOriginRepositories operation middleware
func (*ServerInterfaceWrapper) RenderDistributionIndividual ¶
func (siw *ServerInterfaceWrapper) RenderDistributionIndividual(w http.ResponseWriter, r *http.Request)
RenderDistributionIndividual operation middleware
func (*ServerInterfaceWrapper) ResetManagedUserPassword ¶
func (siw *ServerInterfaceWrapper) ResetManagedUserPassword(w http.ResponseWriter, r *http.Request)
ResetManagedUserPassword operation middleware
func (*ServerInterfaceWrapper) RestartRepositoryEvalPipeline ¶
func (siw *ServerInterfaceWrapper) RestartRepositoryEvalPipeline(w http.ResponseWriter, r *http.Request)
RestartRepositoryEvalPipeline operation middleware
func (*ServerInterfaceWrapper) RunSystemDoctor ¶
func (siw *ServerInterfaceWrapper) RunSystemDoctor(w http.ResponseWriter, r *http.Request)
RunSystemDoctor operation middleware
func (*ServerInterfaceWrapper) RunSystemUpdate ¶
func (siw *ServerInterfaceWrapper) RunSystemUpdate(w http.ResponseWriter, r *http.Request)
RunSystemUpdate operation middleware
func (*ServerInterfaceWrapper) SelectSystemDirectory ¶
func (siw *ServerInterfaceWrapper) SelectSystemDirectory(w http.ResponseWriter, r *http.Request)
SelectSystemDirectory operation middleware
func (*ServerInterfaceWrapper) SetDistributionMemberAlias ¶
func (siw *ServerInterfaceWrapper) SetDistributionMemberAlias(w http.ResponseWriter, r *http.Request)
SetDistributionMemberAlias operation middleware
func (*ServerInterfaceWrapper) StreamRunEvents ¶
func (siw *ServerInterfaceWrapper) StreamRunEvents(w http.ResponseWriter, r *http.Request)
StreamRunEvents operation middleware
func (*ServerInterfaceWrapper) SwitchSessionWorkspace ¶
func (siw *ServerInterfaceWrapper) SwitchSessionWorkspace(w http.ResponseWriter, r *http.Request)
SwitchSessionWorkspace operation middleware
func (*ServerInterfaceWrapper) UnsetDistributionMemberAlias ¶
func (siw *ServerInterfaceWrapper) UnsetDistributionMemberAlias(w http.ResponseWriter, r *http.Request)
UnsetDistributionMemberAlias operation middleware
func (*ServerInterfaceWrapper) UpdateAuthMeProfile ¶
func (siw *ServerInterfaceWrapper) UpdateAuthMeProfile(w http.ResponseWriter, r *http.Request)
UpdateAuthMeProfile operation middleware
func (*ServerInterfaceWrapper) UpdateDistribution ¶
func (siw *ServerInterfaceWrapper) UpdateDistribution(w http.ResponseWriter, r *http.Request)
UpdateDistribution operation middleware
func (*ServerInterfaceWrapper) UpdateDistributionAccess ¶
func (siw *ServerInterfaceWrapper) UpdateDistributionAccess(w http.ResponseWriter, r *http.Request)
UpdateDistributionAccess operation middleware
func (*ServerInterfaceWrapper) UpdateDistributionFeedback ¶
func (siw *ServerInterfaceWrapper) UpdateDistributionFeedback(w http.ResponseWriter, r *http.Request)
UpdateDistributionFeedback operation middleware
func (*ServerInterfaceWrapper) UpdateDistributionMembers ¶
func (siw *ServerInterfaceWrapper) UpdateDistributionMembers(w http.ResponseWriter, r *http.Request)
UpdateDistributionMembers operation middleware
func (*ServerInterfaceWrapper) UpdateDistributionSettlement ¶
func (siw *ServerInterfaceWrapper) UpdateDistributionSettlement(w http.ResponseWriter, r *http.Request)
UpdateDistributionSettlement operation middleware
func (*ServerInterfaceWrapper) UpdateManagedUser ¶
func (siw *ServerInterfaceWrapper) UpdateManagedUser(w http.ResponseWriter, r *http.Request)
UpdateManagedUser operation middleware
func (*ServerInterfaceWrapper) UpdateOriginPluginConfiguration ¶
func (siw *ServerInterfaceWrapper) UpdateOriginPluginConfiguration(w http.ResponseWriter, r *http.Request)
UpdateOriginPluginConfiguration operation middleware
func (*ServerInterfaceWrapper) UpdateOriginSettlement ¶
func (siw *ServerInterfaceWrapper) UpdateOriginSettlement(w http.ResponseWriter, r *http.Request)
UpdateOriginSettlement operation middleware
func (*ServerInterfaceWrapper) UpdateOriginWorkspace ¶
func (siw *ServerInterfaceWrapper) UpdateOriginWorkspace(w http.ResponseWriter, r *http.Request)
UpdateOriginWorkspace operation middleware
func (*ServerInterfaceWrapper) UpdateSettingsHost ¶
func (siw *ServerInterfaceWrapper) UpdateSettingsHost(w http.ResponseWriter, r *http.Request)
UpdateSettingsHost operation middleware
func (*ServerInterfaceWrapper) UpdateSettingsHostToken ¶
func (siw *ServerInterfaceWrapper) UpdateSettingsHostToken(w http.ResponseWriter, r *http.Request)
UpdateSettingsHostToken operation middleware
func (*ServerInterfaceWrapper) UpdateTeam ¶
func (siw *ServerInterfaceWrapper) UpdateTeam(w http.ResponseWriter, r *http.Request)
UpdateTeam operation middleware
func (*ServerInterfaceWrapper) UpdateTeamMember ¶
func (siw *ServerInterfaceWrapper) UpdateTeamMember(w http.ResponseWriter, r *http.Request)
UpdateTeamMember operation middleware
func (*ServerInterfaceWrapper) UpdateWorkspaceMember ¶
func (siw *ServerInterfaceWrapper) UpdateWorkspaceMember(w http.ResponseWriter, r *http.Request)
UpdateWorkspaceMember operation middleware
func (*ServerInterfaceWrapper) ValidateDistributionMembers ¶
func (siw *ServerInterfaceWrapper) ValidateDistributionMembers(w http.ResponseWriter, r *http.Request)
ValidateDistributionMembers operation middleware
type SetDistributionMemberAliasJSONRequestBody ¶
type SetDistributionMemberAliasJSONRequestBody = MemberAliasRequest
SetDistributionMemberAliasJSONRequestBody defines body for SetDistributionMemberAlias for application/json ContentType.
type SettingsConfigFileItem ¶
type SettingsConfigFileItem struct {
ID string `json:"id"`
Label string `json:"label"`
Description string `json:"description"`
Path string `json:"path"`
Exists bool `json:"exists"`
}
SettingsConfigFileItem defines model for SettingsConfigFileItem.
type SettingsDefaultsResponse ¶
type SettingsDefaultsResponse struct {
DivekitHome string `json:"divekit_home"`
Files []SettingsConfigFileItem `json:"files"`
Defaults SettingsDefaultsSummary `json:"defaults"`
}
SettingsDefaultsResponse defines model for SettingsDefaultsResponse.
type SettingsDefaultsSummary ¶
type SettingsDefaultsSummary struct {
MembersDirectory string `json:"members_directory"`
MembersDirectorySource string `json:"members_directory_source"`
DefaultBranch string `json:"default_branch"`
DefaultPermissions string `json:"default_permissions"`
DefaultAuthorName string `json:"default_author_name"`
DefaultAuthorEmail string `json:"default_author_email"`
}
SettingsDefaultsSummary defines model for SettingsDefaultsSummary.
type SettlementUpdateRequest ¶
type SettlementUpdateRequest struct {
// Settled true marks the item as settled, false makes it active again.
Settled bool `json:"settled"`
}
SettlementUpdateRequest defines model for SettlementUpdateRequest.
type SetupManagedAuthRequest ¶
type SetupManagedAuthRequest struct {
Reset bool `json:"reset"`
Subject string `json:"subject"`
Username string `json:"username"`
DisplayName string `json:"display_name"`
Password string `json:"password"`
// SetupCode One-time code printed to the console of a managed server without users. Required for the first admin; the server rejects a reset together with a code.
SetupCode string `json:"setup_code"`
}
SetupManagedAuthRequest defines model for SetupManagedAuthRequest.
type SetupStatusResponse ¶
type SetupStatusResponse struct {
Version string `json:"version,omitempty"`
Mode string `json:"mode"`
ManagedAuthConfigured bool `json:"managed_auth_configured"`
ManagedAuthConfigPath string `json:"managed_auth_config_path,omitempty"`
ManagedModeRestartHint string `json:"managed_mode_restart_hint,omitempty"`
CurrentModeDescription string `json:"current_mode_description,omitempty"`
ManagedModeDescription string `json:"managed_mode_description,omitempty"`
LocalModeDescription string `json:"local_mode_description,omitempty"`
WorkingDir string `json:"working_dir,omitempty"`
DocsURL string `json:"docs_url,omitempty"`
// SetupCodeRequired True while a managed server without users waits for its first admin and a setup code is needed.
SetupCodeRequired bool `json:"setup_code_required"`
// SetupCodeExpired True when the setup code timed out unused; restarting the server issues a new one.
SetupCodeExpired bool `json:"setup_code_expired,omitempty"`
}
SetupStatusResponse defines model for SetupStatusResponse.
type ShareCreateRequest ¶
type ShareCreateRequest struct {
}
ShareCreateRequest defines model for ShareCreateRequest.
type SnapshotActionPayload ¶
type SnapshotActionPayload struct {
// TargetGroup Target GitLab group path or ID. Empty uses the group configured for snapshots.
TargetGroup string `json:"target_group,omitempty"`
// Label Snapshot label. Empty uses a local timestamp.
Label string `json:"label,omitempty"`
UUIDs []string `json:"uuids,omitempty"`
// Users Usernames whose repositories are snapshotted. Cannot be combined with uuids.
Users []string `json:"users,omitempty"`
// NamePattern Target project name template. Empty uses the distribution default.
NamePattern string `json:"name_pattern,omitempty"`
// SourceRef Source branch or tag to clone. Empty uses the source default branch.
SourceRef string `json:"source_ref,omitempty"`
// Branch Target branch to push. Empty uses main.
Branch string `json:"branch,omitempty"`
Visibility string `json:"visibility,omitempty"`
OnExisting string `json:"on_existing,omitempty"`
// Author Neutral commit author as `Name <email>`. A bare name keeps the default email.
Author string `json:"author,omitempty"`
CommitMessage string `json:"commit_message,omitempty"`
DryRun bool `json:"dry_run,omitempty"`
Workers *int `json:"workers,omitempty"`
RateLimit *float64 `json:"rate_limit,omitempty"`
}
SnapshotActionPayload defines model for SnapshotActionPayload.
type StdHTTPServerOptions ¶
type StdHTTPServerOptions struct {
BaseURL string
BaseRouter ServeMux
Middlewares []MiddlewareFunc
ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}
type StreamRunEventsParams ¶
type StreamRunEventsParams struct {
// AfterEventId Resume after this event ID. Omit to replay all history. Last-Event-ID takes precedence on native EventSource reconnects.
AfterEventId *int64 `form:"after_event_id,omitempty" json:"after_event_id,omitempty"`
// LastEventID Resume after this event ID on EventSource reconnects, overriding after_event_id.
LastEventID *string `json:"Last-Event-ID,omitempty"`
}
StreamRunEventsParams defines parameters for StreamRunEvents.
type SwitchSessionWorkspaceJSONRequestBody ¶
type SwitchSessionWorkspaceJSONRequestBody = WorkspaceSessionUpdateRequest
SwitchSessionWorkspaceJSONRequestBody defines body for SwitchSessionWorkspace for application/json ContentType.
type SystemUpdateRequest ¶
type SystemUpdateRequest struct {
CheckOnly bool `json:"check_only"`
Channel string `json:"channel"`
Token string `json:"token"`
BaseURL string `json:"base_url"`
}
SystemUpdateRequest defines model for SystemUpdateRequest.
type TeamDeleteResponse ¶
TeamDeleteResponse defines model for TeamDeleteResponse.
type TeamItem ¶
type TeamItem struct {
TeamID string `json:"team_id"`
WorkspaceID string `json:"workspace_id"`
Slug string `json:"slug"`
DisplayName string `json:"display_name"`
Description string `json:"description,omitempty"`
MemberCount int `json:"member_count"`
MyRole string `json:"my_role,omitempty"`
}
TeamItem defines model for TeamItem.
type TeamListResponse ¶
type TeamListResponse struct {
Items []TeamItem `json:"items"`
}
TeamListResponse defines model for TeamListResponse.
type TeamMemberDeleteResponse ¶
type TeamMemberDeleteResponse struct {
Deleted bool `json:"deleted"`
Subject string `json:"subject"`
TeamId string `json:"team_id"`
}
TeamMemberDeleteResponse defines model for TeamMemberDeleteResponse.
type TeamMemberItem ¶
type TeamMemberItem struct {
TeamID string `json:"team_id"`
Subject string `json:"subject"`
Username string `json:"username,omitempty"`
DisplayName string `json:"display_name,omitempty"`
Role string `json:"role"`
WorkspaceRole string `json:"workspace_role,omitempty"`
WorkspaceID string `json:"workspace_id"`
WorkspaceName string `json:"workspace_name,omitempty"`
WorkspaceKind string `json:"workspace_kind,omitempty"`
}
TeamMemberItem defines model for TeamMemberItem.
type TeamMemberListResponse ¶
type TeamMemberListResponse struct {
Items []TeamMemberItem `json:"items"`
}
TeamMemberListResponse defines model for TeamMemberListResponse.
type TeamMemberRoleUpdateRequest ¶
type TeamMemberRoleUpdateRequest struct {
Role string `json:"role"`
}
TeamMemberRoleUpdateRequest defines model for TeamMemberRoleUpdateRequest.
type TeamMemberUpsertRequest ¶
TeamMemberUpsertRequest defines model for TeamMemberUpsertRequest.
type TeamUpsertRequest ¶
type TeamUpsertRequest struct {
DisplayName string `json:"display_name"`
Description string `json:"description"`
}
TeamUpsertRequest defines model for TeamUpsertRequest.
type TemplateFileItem ¶
type TemplateFileItem struct {
Path string `json:"path"`
Size int `json:"size"`
Binary bool `json:"binary"`
// Changed The file is newer than the last distribution. Only meaningful when change_markers is true.
Changed bool `json:"changed"`
}
TemplateFileItem defines model for TemplateFileItem.
type TemplateFilesResponse ¶
type TemplateFilesResponse struct {
Target string `json:"target"`
Files []TemplateFileItem `json:"files"`
// ChangeMarkers False when the distribution has no recorded distribution time, so no file carries a marker.
ChangeMarkers bool `json:"change_markers"`
DistributedAt *time.Time `json:"distributed_at,omitempty"`
Truncated bool `json:"truncated"`
}
TemplateFilesResponse defines model for TemplateFilesResponse.
type TooManyValuesForParamError ¶
func (*TooManyValuesForParamError) Error ¶
func (e *TooManyValuesForParamError) Error() string
type UnescapedCookieParamError ¶
func (*UnescapedCookieParamError) Error ¶
func (e *UnescapedCookieParamError) Error() string
func (*UnescapedCookieParamError) Unwrap ¶
func (e *UnescapedCookieParamError) Unwrap() error
type UnmarshalingParamError ¶
func (*UnmarshalingParamError) Error ¶
func (e *UnmarshalingParamError) Error() string
func (*UnmarshalingParamError) Unwrap ¶
func (e *UnmarshalingParamError) Unwrap() error
type UpdateAuthMeProfileJSONRequestBody ¶
type UpdateAuthMeProfileJSONRequestBody = AuthMeProfileUpdateRequest
UpdateAuthMeProfileJSONRequestBody defines body for UpdateAuthMeProfile for application/json ContentType.
type UpdateDistributionAccessJSONRequestBody ¶
type UpdateDistributionAccessJSONRequestBody = DistributionAccessUpdateRequest
UpdateDistributionAccessJSONRequestBody defines body for UpdateDistributionAccess for application/json ContentType.
type UpdateDistributionFeedbackJSONRequestBody ¶
type UpdateDistributionFeedbackJSONRequestBody = FeedbackUpdateRequest
UpdateDistributionFeedbackJSONRequestBody defines body for UpdateDistributionFeedback for application/json ContentType.
type UpdateDistributionJSONRequestBody ¶
type UpdateDistributionJSONRequestBody = UpdateDistributionRequest
UpdateDistributionJSONRequestBody defines body for UpdateDistribution for application/json ContentType.
type UpdateDistributionMembersJSONRequestBody ¶
type UpdateDistributionMembersJSONRequestBody = MembersUpdateRequest
UpdateDistributionMembersJSONRequestBody defines body for UpdateDistributionMembers for application/json ContentType.
type UpdateDistributionRequest ¶
type UpdateDistributionRequest struct {
RepoNamePattern string `json:"repo_name_pattern"`
MainGroupID *int `json:"main_group_id,omitempty"`
MemberPermissions string `json:"member_permissions"`
RemoteKey string `json:"remote_key"`
EvaluationPipeline *DistributionPipelineItem `json:"evaluation_pipeline,omitempty"`
LegacyEvaluationPipeline *DistributionPipelineItem `json:"secure_pipeline,omitempty"`
}
UpdateDistributionRequest defines model for UpdateDistributionRequest.
type UpdateDistributionSettlementJSONRequestBody ¶
type UpdateDistributionSettlementJSONRequestBody = SettlementUpdateRequest
UpdateDistributionSettlementJSONRequestBody defines body for UpdateDistributionSettlement for application/json ContentType.
type UpdateManagedUserJSONRequestBody ¶
type UpdateManagedUserJSONRequestBody = ManagedUserUpdateRequest
UpdateManagedUserJSONRequestBody defines body for UpdateManagedUser for application/json ContentType.
type UpdateOriginPluginConfigurationJSONRequestBody ¶
type UpdateOriginPluginConfigurationJSONRequestBody = PluginConfigurationRequest
UpdateOriginPluginConfigurationJSONRequestBody defines body for UpdateOriginPluginConfiguration for application/json ContentType.
type UpdateOriginPluginConfigurationParams ¶
type UpdateOriginPluginConfigurationParams struct {
// Distribution Distribution whose own plugin state is read or changed. Omit it for the project-level state.
Distribution *PluginDistribution `form:"distribution,omitempty" json:"distribution,omitempty"`
}
UpdateOriginPluginConfigurationParams defines parameters for UpdateOriginPluginConfiguration.
type UpdateOriginSettlementJSONRequestBody ¶
type UpdateOriginSettlementJSONRequestBody = SettlementUpdateRequest
UpdateOriginSettlementJSONRequestBody defines body for UpdateOriginSettlement for application/json ContentType.
type UpdateOriginWorkspaceJSONRequestBody ¶
type UpdateOriginWorkspaceJSONRequestBody = OriginWorkspaceUpdateRequest
UpdateOriginWorkspaceJSONRequestBody defines body for UpdateOriginWorkspace for application/json ContentType.
type UpdateSettingsHostJSONRequestBody ¶
type UpdateSettingsHostJSONRequestBody = HostUpsertRequest
UpdateSettingsHostJSONRequestBody defines body for UpdateSettingsHost for application/json ContentType.
type UpdateSettingsHostTokenJSONRequestBody ¶
type UpdateSettingsHostTokenJSONRequestBody = HostTokenUpdateRequest
UpdateSettingsHostTokenJSONRequestBody defines body for UpdateSettingsHostToken for application/json ContentType.
type UpdateTeamJSONRequestBody ¶
type UpdateTeamJSONRequestBody = TeamUpsertRequest
UpdateTeamJSONRequestBody defines body for UpdateTeam for application/json ContentType.
type UpdateTeamMemberJSONRequestBody ¶
type UpdateTeamMemberJSONRequestBody = TeamMemberRoleUpdateRequest
UpdateTeamMemberJSONRequestBody defines body for UpdateTeamMember for application/json ContentType.
type UpdateWorkspaceMemberJSONRequestBody ¶
type UpdateWorkspaceMemberJSONRequestBody = WorkspaceMemberRoleUpdateRequest
UpdateWorkspaceMemberJSONRequestBody defines body for UpdateWorkspaceMember for application/json ContentType.
type WorkspaceCreateRequest ¶
type WorkspaceCreateRequest struct {
DisplayName string `json:"display_name"`
Kind string `json:"kind"`
}
WorkspaceCreateRequest defines model for WorkspaceCreateRequest.
type WorkspaceItem ¶
type WorkspaceItem struct {
WorkspaceID string `json:"workspace_id"`
Slug string `json:"slug"`
DisplayName string `json:"display_name"`
Kind string `json:"kind"`
Implicit bool `json:"implicit"`
Selected bool `json:"selected"`
}
WorkspaceItem defines model for WorkspaceItem.
type WorkspaceListResponse ¶
type WorkspaceListResponse struct {
Items []WorkspaceItem `json:"items"`
}
WorkspaceListResponse defines model for WorkspaceListResponse.
type WorkspaceMemberDeleteResponse ¶
type WorkspaceMemberDeleteResponse struct {
Deleted bool `json:"deleted"`
Subject string `json:"subject"`
}
WorkspaceMemberDeleteResponse defines model for WorkspaceMemberDeleteResponse.
type WorkspaceMemberItem ¶
type WorkspaceMemberItem struct {
WorkspaceID string `json:"workspace_id"`
Subject string `json:"subject"`
Username string `json:"username,omitempty"`
DisplayName string `json:"display_name,omitempty"`
Role string `json:"role"`
TeamCount int `json:"team_count"`
IsCurrent bool `json:"is_current"`
}
WorkspaceMemberItem defines model for WorkspaceMemberItem.
type WorkspaceMemberListResponse ¶
type WorkspaceMemberListResponse struct {
Items []WorkspaceMemberItem `json:"items"`
}
WorkspaceMemberListResponse defines model for WorkspaceMemberListResponse.
type WorkspaceMemberRoleUpdateRequest ¶
type WorkspaceMemberRoleUpdateRequest struct {
Role string `json:"role"`
}
WorkspaceMemberRoleUpdateRequest defines model for WorkspaceMemberRoleUpdateRequest.
type WorkspaceMemberUpsertRequest ¶
type WorkspaceMemberUpsertRequest struct {
Subject string `json:"subject"`
Role string `json:"role"`
}
WorkspaceMemberUpsertRequest defines model for WorkspaceMemberUpsertRequest.
type WorkspaceMembershipItem ¶
type WorkspaceMembershipItem struct {
WorkspaceID string `json:"workspace_id"`
DisplayName string `json:"display_name"`
Kind string `json:"kind"`
Role string `json:"role"`
Selected bool `json:"selected"`
}
WorkspaceMembershipItem defines model for WorkspaceMembershipItem.
type WorkspaceSessionResponse ¶
type WorkspaceSessionResponse struct {
WorkspaceID string `json:"workspace_id"`
Slug string `json:"slug"`
DisplayName string `json:"display_name"`
Kind string `json:"kind"`
Implicit bool `json:"implicit"`
}
WorkspaceSessionResponse defines model for WorkspaceSessionResponse.
type WorkspaceSessionUpdateRequest ¶
type WorkspaceSessionUpdateRequest struct {
WorkspaceID string `json:"workspace_id"`
}
WorkspaceSessionUpdateRequest defines model for WorkspaceSessionUpdateRequest.