openapi

package
v0.0.0-...-632dc22 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 10, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

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

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 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,omitempty"`
}

AuthMeProfileUpdateRequest defines model for AuthMeProfileUpdateRequest.

type AuthMeResponse

type AuthMeResponse struct {
	AuthMode      *string                    `json:"auth_mode,omitempty"`
	Authenticated bool                       `json:"authenticated"`
	DisplayName   *string                    `json:"display_name,omitempty"`
	Memberships   *[]WorkspaceMembershipItem `json:"memberships,omitempty"`
	Mode          string                     `json:"mode"`
	Role          *string                    `json:"role,omitempty"`
	Subject       *string                    `json:"subject,omitempty"`
	Username      *string                    `json:"username,omitempty"`
	WorkspaceId   *string                    `json:"workspace_id,omitempty"`
	WorkspaceName *string                    `json:"workspace_name,omitempty"`
	WorkspaceRole *string                    `json:"workspace_role,omitempty"`
}

AuthMeResponse defines model for AuthMeResponse.

type AuthStatusResponse

type AuthStatusResponse struct {
	AuthMode      *string `json:"auth_mode,omitempty"`
	Authenticated bool    `json:"authenticated"`
	DisplayName   *string `json:"display_name,omitempty"`
	LoginRequired bool    `json:"login_required"`
	Mode          string  `json:"mode"`
	Role          *string `json:"role,omitempty"`
	Subject       *string `json:"subject,omitempty"`
	Username      *string `json:"username,omitempty"`
	WorkspaceId   *string `json:"workspace_id,omitempty"`
	WorkspaceName *string `json:"workspace_name,omitempty"`
	WorkspaceRole *string `json:"workspace_role,omitempty"`
}

AuthStatusResponse defines model for AuthStatusResponse.

type BooleanMessageResponse

type BooleanMessageResponse struct {
	Message string `json:"message"`
	Ok      bool   `json:"ok"`
}

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 CreateDistributionJSONRequestBody

type CreateDistributionJSONRequestBody = CreateDistributionRequest

CreateDistributionJSONRequestBody defines body for CreateDistribution for application/json ContentType.

type CreateDistributionRequest

type CreateDistributionRequest struct {
	EvaluationPipeline *DistributionPipelineItem `json:"evaluation_pipeline,omitempty"`
	MainGroupId        *int                      `json:"main_group_id,omitempty"`
	MemberPermissions  string                    `json:"member_permissions"`
	Name               string                    `json:"name"`
	RemoteKey          string                    `json:"remote_key"`
	RepoNamePattern    string                    `json:"repo_name_pattern"`
	SecurePipeline     *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 CreateManagedUserJSONRequestBody

type CreateManagedUserJSONRequestBody = ManagedUserCreateRequest

CreateManagedUserJSONRequestBody defines body for CreateManagedUser 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 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 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 DistributeActionPayload

type DistributeActionPayload struct {
	Add                            *bool     `json:"add,omitempty"`
	DangerouslyDeleteGroupProjects *bool     `json:"dangerously_delete_group_projects,omitempty"`
	Fresh                          *bool     `json:"fresh,omitempty"`
	Languages                      *[]string `json:"languages,omitempty"`
	MembersFile                    *string   `json:"members_file,omitempty"`
	MembersText                    *string   `json:"members_text,omitempty"`
	Message                        *string   `json:"message,omitempty"`
	RateLimit                      *float32  `json:"rate_limit,omitempty"`
	TaskTimeoutMs                  *int      `json:"task_timeout_ms,omitempty"`
	WarnUnresolvedTokens           *string   `json:"warn_unresolved_tokens,omitempty"`
	Workers                        *int      `json:"workers,omitempty"`
}

DistributeActionPayload defines model for DistributeActionPayload.

type DistributionAccessUpdateRequest

type DistributionAccessUpdateRequest struct {
	TeamIds    *[]string                                  `json:"team_ids,omitempty"`
	Visibility *DistributionAccessUpdateRequestVisibility `json:"visibility,omitempty"`
}

DistributionAccessUpdateRequest defines model for DistributionAccessUpdateRequest.

type DistributionAccessUpdateRequestVisibility

type DistributionAccessUpdateRequestVisibility string

DistributionAccessUpdateRequestVisibility defines model for DistributionAccessUpdateRequest.Visibility.

const (
	DistributionAccessUpdateRequestVisibilityTeams     DistributionAccessUpdateRequestVisibility = "teams"
	DistributionAccessUpdateRequestVisibilityWorkspace DistributionAccessUpdateRequestVisibility = "workspace"
)

Defines values for DistributionAccessUpdateRequestVisibility.

func (DistributionAccessUpdateRequestVisibility) Valid

Valid indicates whether the value is a known member of the DistributionAccessUpdateRequestVisibility enum.

type DistributionAccessView

type DistributionAccessView struct {
	Shares      *[]ResourceShareView              `json:"shares,omitempty"`
	TeamIds     *[]string                         `json:"team_ids,omitempty"`
	TeamNames   *[]string                         `json:"team_names,omitempty"`
	Visibility  *DistributionAccessViewVisibility `json:"visibility,omitempty"`
	WorkspaceId *string                           `json:"workspace_id,omitempty"`
}

DistributionAccessView defines model for DistributionAccessView.

type DistributionAccessViewVisibility

type DistributionAccessViewVisibility string

DistributionAccessViewVisibility defines model for DistributionAccessView.Visibility.

const (
	DistributionAccessViewVisibilityTeams     DistributionAccessViewVisibility = "teams"
	DistributionAccessViewVisibilityWorkspace DistributionAccessViewVisibility = "workspace"
)

Defines values for DistributionAccessViewVisibility.

func (DistributionAccessViewVisibility) Valid

Valid indicates whether the value is a known member of the DistributionAccessViewVisibility enum.

type DistributionConfigItem

type DistributionConfigItem struct {
	EvaluationPipeline DistributionPipelineItem `json:"evaluation_pipeline"`
	MainGroupId        *int                     `json:"main_group_id,omitempty"`
	MemberPermissions  *string                  `json:"member_permissions,omitempty"`
	RemoteKey          string                   `json:"remote_key"`
	RepoNamePattern    string                   `json:"repo_name_pattern"`
}

DistributionConfigItem defines model for DistributionConfigItem.

type DistributionDetailItem

type DistributionDetailItem struct {
	Access         DistributionAccessView `json:"access"`
	Config         DistributionConfigItem `json:"config"`
	DistributionId string                 `json:"distribution_id"`
	Name           string                 `json:"name"`
	OriginId       *string                `json:"origin_id,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"`

	// OriginSlug Readable slug derived from the indexed origin repository folder name for GUI routes.
	OriginSlug *string `json:"origin_slug,omitempty"`
	RepoCount  int     `json:"repo_count"`
	Status     string  `json:"status"`
}

DistributionDetailItem defines model for DistributionDetailItem.

type DistributionId

type DistributionId = string

DistributionId defines model for distributionId.

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"`
}

DistributionRepositoriesResponse defines model for DistributionRepositoriesResponse.

type DistributionRepositoryItem

type DistributionRepositoryItem struct {
	Label     *string                                 `json:"label,omitempty"`
	LastState string                                  `json:"last_state"`
	Members   []string                                `json:"members"`
	Metadata  *map[string]string                      `json:"metadata,omitempty"`
	Targets   map[string]DistributionRepositoryTarget `json:"targets"`
	Uuid      string                                  `json:"uuid"`
}

DistributionRepositoryItem defines model for DistributionRepositoryItem.

type DistributionRepositoryTarget

type DistributionRepositoryTarget struct {
	PagesUrl    *string `json:"pages_url,omitempty"`
	ProjectId   int     `json:"project_id"`
	ProjectPath *string `json:"project_path,omitempty"`
	WebUrl      *string `json:"web_url,omitempty"`
}

DistributionRepositoryTarget defines model for DistributionRepositoryTarget.

type DistributionSummaryItem

type DistributionSummaryItem struct {
	Config         DistributionConfigItem `json:"config"`
	DistributionId string                 `json:"distribution_id"`
	Name           string                 `json:"name"`
	RepoCount      int                    `json:"repo_count"`
	Status         string                 `json:"status"`
}

DistributionSummaryItem defines model for DistributionSummaryItem.

type DoctorCheckResponse

type DoctorCheckResponse struct {
	Details *[]DoctorDetailResponse `json:"details,omitempty"`
	Error   *string                 `json:"error,omitempty"`
	Message string                  `json:"message"`
	Name    string                  `json:"name"`
	Status  string                  `json:"status"`
}

DoctorCheckResponse defines model for DoctorCheckResponse.

type DoctorDetailResponse

type DoctorDetailResponse struct {
	Level string `json:"level"`
	Text  string `json:"text"`
}

DoctorDetailResponse defines model for DoctorDetailResponse.

type DoctorRequest

type DoctorRequest struct {
	Strict  *bool `json:"strict,omitempty"`
	Verbose *bool `json:"verbose,omitempty"`
}

DoctorRequest defines model for DoctorRequest.

type DoctorResponse

type DoctorResponse struct {
	Checks  []DoctorCheckResponse `json:"checks"`
	Message string                `json:"message"`
	Ok      bool                  `json:"ok"`
	Status  string                `json:"status"`
	Summary DoctorSummaryResponse `json:"summary"`
}

DoctorResponse defines model for DoctorResponse.

type DoctorSummaryResponse

type DoctorSummaryResponse struct {
	Failed   int `json:"failed"`
	Passed   int `json:"passed"`
	Total    int `json:"total"`
	Warnings int `json:"warnings"`
}

DoctorSummaryResponse defines model for DoctorSummaryResponse.

type EditorAvailability

type EditorAvailability struct {
	Available bool   `json:"available"`
	Id        string `json:"id"`
}

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,omitempty"`
}

EditorOpenRequest defines model for EditorOpenRequest.

type Error

type Error = ErrorResponse

Error defines model for Error.

type ErrorBody

type ErrorBody struct {
	Code    string                  `json:"code"`
	Details *map[string]interface{} `json:"details,omitempty"`
	Message string                  `json:"message"`
	Type    string                  `json:"type"`
}

ErrorBody defines model for ErrorBody.

type ErrorResponse

type ErrorResponse struct {
	Error ErrorBody `json:"error"`
}

ErrorResponse defines model for ErrorResponse.

type FetchActionPayload

type FetchActionPayload struct {
	DryRun        *bool     `json:"dry_run,omitempty"`
	Files         *[]string `json:"files,omitempty"`
	OutputDir     *string   `json:"output_dir,omitempty"`
	RateLimit     *float32  `json:"rate_limit,omitempty"`
	TaskTimeoutMs *int      `json:"task_timeout_ms,omitempty"`
	UserFilter    *[]string `json:"user_filter,omitempty"`
	UuidFilter    *[]string `json:"uuid_filter,omitempty"`
	Workers       *int      `json:"workers,omitempty"`
}

FetchActionPayload defines model for FetchActionPayload.

type GlobalDistributionsResponse

type GlobalDistributionsResponse struct {
	Items  []DistributionDetailItem `json:"items"`
	Limit  int                      `json:"limit"`
	Offset int                      `json:"offset"`
	Total  int                      `json:"total"`
}

GlobalDistributionsResponse defines model for GlobalDistributionsResponse.

type HealthResponse

type HealthResponse struct {
	Service string `json:"service"`
	Status  string `json:"status"`
}

HealthResponse defines model for HealthResponse.

type HostDeleteResponse

type HostDeleteResponse struct {
	Name    string `json:"name"`
	Removed bool   `json:"removed"`
}

HostDeleteResponse defines model for HostDeleteResponse.

type HostEntryItem

type HostEntryItem struct {
	EnableConcurrency *bool  `json:"enable_concurrency,omitempty"`
	MaxWorkers        int    `json:"max_workers"`
	Name              string `json:"name"`
	RateLimitDelayMs  int    `json:"rate_limit_delay_ms"`
	TokenKey          string `json:"token_key"`
	Url               string `json:"url"`
}

HostEntryItem defines model for HostEntryItem.

type HostName

type HostName = string

HostName defines model for hostName.

type HostPingResponse

type HostPingResponse struct {
	ErrorMessage  *string `json:"error_message,omitempty"`
	ExpiresInDays *int    `json:"expires_in_days,omitempty"`
	ExpiresSoon   *bool   `json:"expires_soon,omitempty"`
	IsValid       *bool   `json:"is_valid,omitempty"`
	Status        string  `json:"status"`
	TokenName     *string `json:"token_name,omitempty"`
}

HostPingResponse defines model for HostPingResponse.

type HostUpsertRequest

type HostUpsertRequest struct {
	EnableConcurrency *bool   `json:"enable_concurrency,omitempty"`
	MaxWorkers        *int    `json:"max_workers,omitempty"`
	Name              *string `json:"name,omitempty"`
	RateLimitDelayMs  *int    `json:"rate_limit_delay_ms,omitempty"`
	Token             *string `json:"token,omitempty"`
	Url               *string `json:"url,omitempty"`
}

HostUpsertRequest defines model for HostUpsertRequest.

type HostsListResponse

type HostsListResponse struct {
	Items []HostEntryItem `json:"items"`
}

HostsListResponse defines model for HostsListResponse.

type IndexRefreshFailureItem

type IndexRefreshFailureItem struct {
	Error     string `json:"error"`
	Operation string `json:"operation"`
	Path      string `json:"path"`
}

IndexRefreshFailureItem defines model for IndexRefreshFailureItem.

type IndexRefreshResponse

type IndexRefreshResponse struct {
	DurationMs int                        `json:"duration_ms"`
	Failed     int                        `json:"failed"`
	Failures   *[]IndexRefreshFailureItem `json:"failures,omitempty"`
	Removed    int                        `json:"removed"`
	Total      int                        `json:"total"`
	Updated    int                        `json:"updated"`
}

IndexRefreshResponse defines model for IndexRefreshResponse.

type InjectActionPayload

type InjectActionPayload struct {
	Force  *bool     `json:"force,omitempty"`
	Scopes *[]string `json:"scopes,omitempty"`
}

InjectActionPayload defines model for InjectActionPayload.

type InvalidParamFormatError

type InvalidParamFormatError struct {
	ParamName string
	Err       error
}

func (*InvalidParamFormatError) Error

func (e *InvalidParamFormatError) Error() string

func (*InvalidParamFormatError) Unwrap

func (e *InvalidParamFormatError) Unwrap() error

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.
	RefreshLinks *bool `form:"refresh_links,omitempty" json:"refresh_links,omitempty"`
}

ListDistributionRepositoriesParams defines parameters for ListDistributionRepositories.

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 LoginJSONRequestBody

type LoginJSONRequestBody = LoginRequest

LoginJSONRequestBody defines body for Login for application/json ContentType.

type LoginRequest

type LoginRequest struct {
	Password *string `json:"password,omitempty"`
	Token    *string `json:"token,omitempty"`
	Username *string `json:"username,omitempty"`
}

LoginRequest Supply either `username` and `password` together, or `token`.

type ManagedAuthBootstrapResponse

type ManagedAuthBootstrapResponse struct {
	ConfigPath        string  `json:"config_path"`
	DisplayName       *string `json:"display_name,omitempty"`
	Password          *string `json:"password,omitempty"`
	PasswordGenerated *bool   `json:"password_generated,omitempty"`
	RestartHint       string  `json:"restart_hint"`
	RestartMode       string  `json:"restart_mode"`
	RestartNeeded     bool    `json:"restart_needed"`
	Role              string  `json:"role"`
	Subject           string  `json:"subject"`
	Token             *string `json:"token,omitempty"`
	Username          *string `json:"username,omitempty"`
}

ManagedAuthBootstrapResponse defines model for ManagedAuthBootstrapResponse.

type ManagedUserCreateRequest

type ManagedUserCreateRequest struct {
	DisplayName *string `json:"display_name,omitempty"`
	Password    *string `json:"password,omitempty"`
	Role        *string `json:"role,omitempty"`
	Username    string  `json:"username"`
}

ManagedUserCreateRequest defines model for ManagedUserCreateRequest.

type ManagedUserCreateResponse

type ManagedUserCreateResponse struct {
	GeneratedPassword bool            `json:"generated_password"`
	Password          string          `json:"password"`
	User              ManagedUserItem `json:"user"`
}

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 {
	AuthProvider *string `json:"auth_provider,omitempty"`
	Current      bool    `json:"current"`
	DisplayName  *string `json:"display_name,omitempty"`
	Role         string  `json:"role"`
	Subject      *string `json:"subject,omitempty"`
	Username     string  `json:"username"`
}

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,omitempty"`
}

ManagedUserPasswordResetRequest defines model for ManagedUserPasswordResetRequest.

type ManagedUserUpdateRequest

type ManagedUserUpdateRequest struct {
	DisplayName *string `json:"display_name,omitempty"`
	Role        *string `json:"role,omitempty"`
}

ManagedUserUpdateRequest defines model for ManagedUserUpdateRequest.

type MiddlewareFunc

type MiddlewareFunc func(http.Handler) http.Handler

type OpenOriginRepositoryJSONRequestBody

type OpenOriginRepositoryJSONRequestBody = EditorOpenRequest

OpenOriginRepositoryJSONRequestBody defines body for OpenOriginRepository for application/json ContentType.

type OpenOriginResponse

type OpenOriginResponse struct {
	Editor   string `json:"editor"`
	Opened   bool   `json:"opened"`
	OriginId string `json:"origin_id"`
	Path     string `json:"path"`
}

OpenOriginResponse defines model for OpenOriginResponse.

type OpenOriginScriptsDirectoryJSONRequestBody

type OpenOriginScriptsDirectoryJSONRequestBody = EditorOpenRequest

OpenOriginScriptsDirectoryJSONRequestBody defines body for OpenOriginScriptsDirectory for application/json ContentType.

type OpenPathResponse

type OpenPathResponse struct {
	Editor string `json:"editor"`
	Opened bool   `json:"opened"`
	Path   string `json:"path"`
}

OpenPathResponse defines model for OpenPathResponse.

type OpenScriptResponse

type OpenScriptResponse struct {
	Editor    string `json:"editor"`
	Opened    bool   `json:"opened"`
	Path      string `json:"path"`
	ScriptRef string `json:"script_ref"`
}

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 {
	Shares        *[]ResourceShareView `json:"shares,omitempty"`
	WorkspaceId   *string              `json:"workspace_id,omitempty"`
	WorkspaceName *string              `json:"workspace_name,omitempty"`
}

OriginAccessView defines model for OriginAccessView.

type OriginDistributionListResponse

type OriginDistributionListResponse struct {
	Items []DistributionSummaryItem `json:"items"`
}

OriginDistributionListResponse defines model for OriginDistributionListResponse.

type OriginId

type OriginId = string

OriginId defines model for originId.

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 {
	Access        OriginAccessView `json:"access"`
	Distributions []string         `json:"distributions"`
	IsValid       bool             `json:"is_valid"`
	OriginId      string           `json:"origin_id"`

	// OriginKey Short SHA-256 based key derived from the indexed origin repository path for route disambiguation.
	OriginKey string `json:"origin_key"`

	// OriginSlug Readable slug derived from the indexed origin repository folder name for GUI routes.
	OriginSlug string  `json:"origin_slug"`
	Path       string  `json:"path"`
	RemoteUrl  *string `json:"remote_url,omitempty"`
}

OriginRepositoryItem defines model for OriginRepositoryItem.

type OriginScriptItem

type OriginScriptItem struct {
	Engine *string `json:"engine,omitempty"`
	Label  string  `json:"label"`
	Ref    string  `json:"ref"`
}

OriginScriptItem defines model for OriginScriptItem.

type OriginWorkspaceUpdateRequest

type OriginWorkspaceUpdateRequest struct {
	WorkspaceId string `json:"workspace_id"`
}

OriginWorkspaceUpdateRequest defines model for OriginWorkspaceUpdateRequest.

type OverviewActionPayload

type OverviewActionPayload struct {
	Fresh            *bool `json:"fresh,omitempty"`
	RateLimitDelayMs *int  `json:"rate_limit_delay_ms,omitempty"`
	WorkerCount      *int  `json:"worker_count,omitempty"`
}

OverviewActionPayload defines model for OverviewActionPayload.

type PasscheckActionPayload

type PasscheckActionPayload struct {
	DetailMode     *bool     `json:"detail_mode,omitempty"`
	GenerateReport *bool     `json:"generate_report,omitempty"`
	OutputPath     *string   `json:"output_path,omitempty"`
	ReportFormats  *[]string `json:"report_formats,omitempty"`
}

PasscheckActionPayload defines model for PasscheckActionPayload.

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 {
	DryRunMode           *string   `json:"dry_run_mode,omitempty"`
	Files                *[]string `json:"files,omitempty"`
	Message              *string   `json:"message,omitempty"`
	RateLimit            *float32  `json:"rate_limit,omitempty"`
	TaskTimeoutMs        *int      `json:"task_timeout_ms,omitempty"`
	WarnUnresolvedTokens *string   `json:"warn_unresolved_tokens,omitempty"`
	Workers              *int      `json:"workers,omitempty"`
}

PatchActionPayload defines model for PatchActionPayload.

type PurgeActionPayload

type PurgeActionPayload struct {
	DryRun   *bool   `json:"dry_run,omitempty"`
	Provider *string `json:"provider,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 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 RequiredHeaderError

type RequiredHeaderError struct {
	ParamName string
	Err       error
}

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 {
	Items []ResourceShareView `json:"items"`
}

ResourceShareListResponse defines model for ResourceShareListResponse.

type ResourceShareView

type ResourceShareView struct {
	GrantedBy    *string                      `json:"granted_by,omitempty"`
	GranteeId    string                       `json:"grantee_id"`
	GranteeLabel *string                      `json:"grantee_label,omitempty"`
	GranteeType  ResourceShareViewGranteeType `json:"grantee_type"`
	Permission   ResourceShareViewPermission  `json:"permission"`
	ShareId      string                       `json:"share_id"`
}

ResourceShareView defines model for ResourceShareView.

type ResourceShareViewGranteeType

type ResourceShareViewGranteeType string

ResourceShareViewGranteeType defines model for ResourceShareView.GranteeType.

const (
	ResourceShareViewGranteeTypeSubject ResourceShareViewGranteeType = "subject"
	ResourceShareViewGranteeTypeTeam    ResourceShareViewGranteeType = "team"
)

Defines values for ResourceShareViewGranteeType.

func (ResourceShareViewGranteeType) Valid

Valid indicates whether the value is a known member of the ResourceShareViewGranteeType enum.

type ResourceShareViewPermission

type ResourceShareViewPermission string

ResourceShareViewPermission defines model for ResourceShareView.Permission.

const (
	ResourceShareViewPermissionAdmin   ResourceShareViewPermission = "admin"
	ResourceShareViewPermissionEdit    ResourceShareViewPermission = "edit"
	ResourceShareViewPermissionOperate ResourceShareViewPermission = "operate"
	ResourceShareViewPermissionView    ResourceShareViewPermission = "view"
)

Defines values for ResourceShareViewPermission.

func (ResourceShareViewPermission) Valid

Valid indicates whether the value is a known member of the ResourceShareViewPermission enum.

type RoleActionPayload

type RoleActionPayload struct {
	AccessLevel *string `json:"access_level,omitempty"`
}

RoleActionPayload defines model for RoleActionPayload.

type RunActionAccepted

type RunActionAccepted struct {
	RunId string `json:"run_id"`
	State string `json:"state"`
}

RunActionAccepted defines model for RunActionAccepted.

type RunId

type RunId = string

RunId defines model for runId.

type RunItem

type RunItem struct {
	Action           string           `json:"action"`
	ActorRole        *string          `json:"actor_role,omitempty"`
	AuthMode         *string          `json:"auth_mode,omitempty"`
	CreatedBy        *string          `json:"created_by,omitempty"`
	DistributionId   *string          `json:"distribution_id,omitempty"`
	DistributionName *string          `json:"distribution_name,omitempty"`
	FinishedAt       *time.Time       `json:"finished_at,omitempty"`
	LastError        *string          `json:"last_error,omitempty"`
	OriginId         *string          `json:"origin_id,omitempty"`
	Payload          *RunItem_Payload `json:"payload,omitempty"`
	RunId            string           `json:"run_id"`
	SchemaVersion    int              `json:"schema_version"`
	StartedAt        time.Time        `json:"started_at"`
	State            RunItemState     `json:"state"`
}

RunItem defines model for RunItem.

type RunItemPayload0

type RunItemPayload0 map[string]interface{}

RunItemPayload0 defines model for .

type RunItemPayload1

type RunItemPayload1 = []interface{}

RunItemPayload1 defines model for .

type RunItemPayload2

type RunItemPayload2 = string

RunItemPayload2 defines model for .

type RunItemPayload3

type RunItemPayload3 = float32

RunItemPayload3 defines model for .

type RunItemPayload4

type RunItemPayload4 = bool

RunItemPayload4 defines model for .

type RunItemState

type RunItemState string

RunItemState defines model for RunItem.State.

const (
	Cancelled RunItemState = "cancelled"
	Failed    RunItemState = "failed"
	Queued    RunItemState = "queued"
	Running   RunItemState = "running"
	Succeeded RunItemState = "succeeded"
	Warning   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 RunItem_Payload

type RunItem_Payload struct {
	// contains filtered or unexported fields
}

RunItem_Payload defines model for RunItem.Payload.

func (RunItem_Payload) AsRunItemPayload0

func (t RunItem_Payload) AsRunItemPayload0() (RunItemPayload0, error)

AsRunItemPayload0 returns the union data inside the RunItem_Payload as a RunItemPayload0

func (RunItem_Payload) AsRunItemPayload1

func (t RunItem_Payload) AsRunItemPayload1() (RunItemPayload1, error)

AsRunItemPayload1 returns the union data inside the RunItem_Payload as a RunItemPayload1

func (RunItem_Payload) AsRunItemPayload2

func (t RunItem_Payload) AsRunItemPayload2() (RunItemPayload2, error)

AsRunItemPayload2 returns the union data inside the RunItem_Payload as a RunItemPayload2

func (RunItem_Payload) AsRunItemPayload3

func (t RunItem_Payload) AsRunItemPayload3() (RunItemPayload3, error)

AsRunItemPayload3 returns the union data inside the RunItem_Payload as a RunItemPayload3

func (RunItem_Payload) AsRunItemPayload4

func (t RunItem_Payload) AsRunItemPayload4() (RunItemPayload4, error)

AsRunItemPayload4 returns the union data inside the RunItem_Payload as a RunItemPayload4

func (*RunItem_Payload) FromRunItemPayload0

func (t *RunItem_Payload) FromRunItemPayload0(v RunItemPayload0) error

FromRunItemPayload0 overwrites any union data inside the RunItem_Payload as the provided RunItemPayload0

func (*RunItem_Payload) FromRunItemPayload1

func (t *RunItem_Payload) FromRunItemPayload1(v RunItemPayload1) error

FromRunItemPayload1 overwrites any union data inside the RunItem_Payload as the provided RunItemPayload1

func (*RunItem_Payload) FromRunItemPayload2

func (t *RunItem_Payload) FromRunItemPayload2(v RunItemPayload2) error

FromRunItemPayload2 overwrites any union data inside the RunItem_Payload as the provided RunItemPayload2

func (*RunItem_Payload) FromRunItemPayload3

func (t *RunItem_Payload) FromRunItemPayload3(v RunItemPayload3) error

FromRunItemPayload3 overwrites any union data inside the RunItem_Payload as the provided RunItemPayload3

func (*RunItem_Payload) FromRunItemPayload4

func (t *RunItem_Payload) FromRunItemPayload4(v RunItemPayload4) error

FromRunItemPayload4 overwrites any union data inside the RunItem_Payload as the provided RunItemPayload4

func (RunItem_Payload) MarshalJSON

func (t RunItem_Payload) MarshalJSON() ([]byte, error)

func (*RunItem_Payload) MergeRunItemPayload0

func (t *RunItem_Payload) MergeRunItemPayload0(v RunItemPayload0) error

MergeRunItemPayload0 performs a merge with any union data inside the RunItem_Payload, using the provided RunItemPayload0

func (*RunItem_Payload) MergeRunItemPayload1

func (t *RunItem_Payload) MergeRunItemPayload1(v RunItemPayload1) error

MergeRunItemPayload1 performs a merge with any union data inside the RunItem_Payload, using the provided RunItemPayload1

func (*RunItem_Payload) MergeRunItemPayload2

func (t *RunItem_Payload) MergeRunItemPayload2(v RunItemPayload2) error

MergeRunItemPayload2 performs a merge with any union data inside the RunItem_Payload, using the provided RunItemPayload2

func (*RunItem_Payload) MergeRunItemPayload3

func (t *RunItem_Payload) MergeRunItemPayload3(v RunItemPayload3) error

MergeRunItemPayload3 performs a merge with any union data inside the RunItem_Payload, using the provided RunItemPayload3

func (*RunItem_Payload) MergeRunItemPayload4

func (t *RunItem_Payload) MergeRunItemPayload4(v RunItemPayload4) error

MergeRunItemPayload4 performs a merge with any union data inside the RunItem_Payload, using the provided RunItemPayload4

func (*RunItem_Payload) UnmarshalJSON

func (t *RunItem_Payload) UnmarshalJSON(b []byte) error

type RunListResponse

type RunListResponse struct {
	Items []RunItem `json:"items"`
}

RunListResponse defines model for RunListResponse.

type RunScriptActionPayload

type RunScriptActionPayload struct {
	Engine       *string `json:"engine,omitempty"`
	FetchFirst   *bool   `json:"fetch_first,omitempty"`
	OutputFormat *string `json:"output_format,omitempty"`
	ReposDir     *string `json:"repos_dir,omitempty"`
	ScriptRef    *string `json:"script_ref,omitempty"`
	TsRunner     *string `json:"ts_runner,omitempty"`
	Workers      *int    `json:"workers,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 ScriptRef

type ScriptRef = string

ScriptRef defines model for scriptRef.

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)
	// List distribution shares
	// (GET /api/v1/distributions/{distribution_id}/shares)
	ListDistributionShares(w http.ResponseWriter, r *http.Request, distributionId DistributionId)
	// Create or upsert a distribution share
	// (POST /api/v1/distributions/{distribution_id}/shares)
	CreateDistributionShare(w http.ResponseWriter, r *http.Request, distributionId DistributionId)
	// Delete a distribution share
	// (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)
	// 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)
	// Queue a distribute action
	// (POST /api/v1/origin-repositories/{origin_id}/distributions/{distribution_id}/distribute)
	QueueDistributeAction(w http.ResponseWriter, r *http.Request, originId OriginId, distributionId DistributionId)
	// 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)
	// 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)
	// 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)
	// 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)
	// Queue a patch action
	// (POST /api/v1/origin-repositories/{origin_id}/distributions/{distribution_id}/patch)
	QueuePatchAction(w http.ResponseWriter, r *http.Request, originId OriginId, distributionId DistributionId)
	// 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)
	// 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)
	// 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)
	// 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)
	// 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)
	// List origin shares
	// (GET /api/v1/origin-repositories/{origin_id}/shares)
	ListOriginShares(w http.ResponseWriter, r *http.Request, originId OriginId)
	// Create or upsert an origin share
	// (POST /api/v1/origin-repositories/{origin_id}/shares)
	CreateOriginShare(w http.ResponseWriter, r *http.Request, originId OriginId)
	// Delete an origin share
	// (DELETE /api/v1/origin-repositories/{origin_id}/shares/{share_id})
	DeleteOriginShare(w http.ResponseWriter, r *http.Request, originId OriginId, shareId ShareId)
	// 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 runs
	// (GET /api/v1/runs)
	ListRuns(w http.ResponseWriter, r *http.Request)
	// 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)
	// 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
	// (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) 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) 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) CreateManagedUser

func (siw *ServerInterfaceWrapper) CreateManagedUser(w http.ResponseWriter, r *http.Request)

CreateManagedUser 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) 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) 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) 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) 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) 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) GetRun

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) ListDistributionRepositories

func (siw *ServerInterfaceWrapper) ListDistributionRepositories(w http.ResponseWriter, r *http.Request)

ListDistributionRepositories operation middleware

func (*ServerInterfaceWrapper) ListDistributionShares

func (siw *ServerInterfaceWrapper) ListDistributionShares(w http.ResponseWriter, r *http.Request)

ListDistributionShares operation middleware

func (*ServerInterfaceWrapper) ListGlobalDistributions

func (siw *ServerInterfaceWrapper) ListGlobalDistributions(w http.ResponseWriter, r *http.Request)

ListGlobalDistributions 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) 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) 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

Login operation middleware

func (*ServerInterfaceWrapper) Logout

Logout 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) 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) RefreshOriginRepositories

func (siw *ServerInterfaceWrapper) RefreshOriginRepositories(w http.ResponseWriter, r *http.Request)

RefreshOriginRepositories operation middleware

func (*ServerInterfaceWrapper) ResetManagedUserPassword

func (siw *ServerInterfaceWrapper) ResetManagedUserPassword(w http.ResponseWriter, r *http.Request)

ResetManagedUserPassword 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) 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) 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) UpdateManagedUser

func (siw *ServerInterfaceWrapper) UpdateManagedUser(w http.ResponseWriter, r *http.Request)

UpdateManagedUser 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

type SettingsConfigFileItem

type SettingsConfigFileItem struct {
	Description string `json:"description"`
	Exists      bool   `json:"exists"`
	Id          string `json:"id"`
	Label       string `json:"label"`
	Path        string `json:"path"`
}

SettingsConfigFileItem defines model for SettingsConfigFileItem.

type SettingsDefaultsResponse

type SettingsDefaultsResponse struct {
	Defaults    SettingsDefaultsSummary  `json:"defaults"`
	DivekitHome string                   `json:"divekit_home"`
	Files       []SettingsConfigFileItem `json:"files"`
}

SettingsDefaultsResponse defines model for SettingsDefaultsResponse.

type SettingsDefaultsSummary

type SettingsDefaultsSummary struct {
	DefaultAuthorEmail     string `json:"default_author_email"`
	DefaultAuthorName      string `json:"default_author_name"`
	DefaultBranch          string `json:"default_branch"`
	DefaultPermissions     string `json:"default_permissions"`
	MembersDirectory       string `json:"members_directory"`
	MembersDirectorySource string `json:"members_directory_source"`
}

SettingsDefaultsSummary defines model for SettingsDefaultsSummary.

type SetupManagedAuthRequest

type SetupManagedAuthRequest struct {
	DisplayName *string `json:"display_name,omitempty"`
	Password    *string `json:"password,omitempty"`
	Reset       *bool   `json:"reset,omitempty"`
	Subject     *string `json:"subject,omitempty"`
	Username    *string `json:"username,omitempty"`
}

SetupManagedAuthRequest defines model for SetupManagedAuthRequest.

type SetupStatusResponse

type SetupStatusResponse struct {
	CurrentModeDescription *string `json:"current_mode_description,omitempty"`
	DocsUrl                *string `json:"docs_url,omitempty"`
	LocalModeDescription   *string `json:"local_mode_description,omitempty"`
	ManagedAuthConfigPath  *string `json:"managed_auth_config_path,omitempty"`
	ManagedAuthConfigured  bool    `json:"managed_auth_configured"`
	ManagedModeDescription *string `json:"managed_mode_description,omitempty"`
	ManagedModeRestartHint *string `json:"managed_mode_restart_hint,omitempty"`
	Mode                   string  `json:"mode"`
	Version                *string `json:"version,omitempty"`
	WorkingDir             *string `json:"working_dir,omitempty"`
}

SetupStatusResponse defines model for SetupStatusResponse.

type ShareCreateRequest

type ShareCreateRequest struct {
	GranteeId   string                        `json:"grantee_id"`
	GranteeType ShareCreateRequestGranteeType `json:"grantee_type"`
	Permission  *ShareCreateRequestPermission `json:"permission,omitempty"`
}

ShareCreateRequest defines model for ShareCreateRequest.

type ShareCreateRequestGranteeType

type ShareCreateRequestGranteeType string

ShareCreateRequestGranteeType defines model for ShareCreateRequest.GranteeType.

const (
	ShareCreateRequestGranteeTypeSubject ShareCreateRequestGranteeType = "subject"
	ShareCreateRequestGranteeTypeTeam    ShareCreateRequestGranteeType = "team"
)

Defines values for ShareCreateRequestGranteeType.

func (ShareCreateRequestGranteeType) Valid

Valid indicates whether the value is a known member of the ShareCreateRequestGranteeType enum.

type ShareCreateRequestPermission

type ShareCreateRequestPermission string

ShareCreateRequestPermission defines model for ShareCreateRequest.Permission.

const (
	ShareCreateRequestPermissionAdmin   ShareCreateRequestPermission = "admin"
	ShareCreateRequestPermissionEdit    ShareCreateRequestPermission = "edit"
	ShareCreateRequestPermissionOperate ShareCreateRequestPermission = "operate"
	ShareCreateRequestPermissionView    ShareCreateRequestPermission = "view"
)

Defines values for ShareCreateRequestPermission.

func (ShareCreateRequestPermission) Valid

Valid indicates whether the value is a known member of the ShareCreateRequestPermission enum.

type ShareId

type ShareId = string

ShareId defines model for shareId.

type StdHTTPServerOptions

type StdHTTPServerOptions struct {
	BaseURL          string
	BaseRouter       ServeMux
	Middlewares      []MiddlewareFunc
	ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}

type Subject

type Subject = string

Subject defines model for subject.

type SwitchSessionWorkspaceJSONRequestBody

type SwitchSessionWorkspaceJSONRequestBody = WorkspaceSessionUpdateRequest

SwitchSessionWorkspaceJSONRequestBody defines body for SwitchSessionWorkspace for application/json ContentType.

type SystemUpdateRequest

type SystemUpdateRequest struct {
	BaseUrl   *string `json:"base_url,omitempty"`
	Channel   *string `json:"channel,omitempty"`
	CheckOnly *bool   `json:"check_only,omitempty"`
	Token     *string `json:"token,omitempty"`
}

SystemUpdateRequest defines model for SystemUpdateRequest.

type TeamDeleteResponse

type TeamDeleteResponse struct {
	Deleted bool   `json:"deleted"`
	TeamId  string `json:"team_id"`
}

TeamDeleteResponse defines model for TeamDeleteResponse.

type TeamId

type TeamId = string

TeamId defines model for teamId.

type TeamItem

type TeamItem struct {
	Description *string `json:"description,omitempty"`
	DisplayName string  `json:"display_name"`
	MemberCount int     `json:"member_count"`
	MyRole      *string `json:"my_role,omitempty"`
	Slug        string  `json:"slug"`
	TeamId      string  `json:"team_id"`
	WorkspaceId string  `json:"workspace_id"`
}

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 {
	DisplayName   *string `json:"display_name,omitempty"`
	Role          string  `json:"role"`
	Subject       string  `json:"subject"`
	TeamId        string  `json:"team_id"`
	Username      *string `json:"username,omitempty"`
	WorkspaceId   string  `json:"workspace_id"`
	WorkspaceKind *string `json:"workspace_kind,omitempty"`
	WorkspaceName *string `json:"workspace_name,omitempty"`
	WorkspaceRole *string `json:"workspace_role,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

type TeamMemberUpsertRequest struct {
	Role    *string `json:"role,omitempty"`
	Subject string  `json:"subject"`
}

TeamMemberUpsertRequest defines model for TeamMemberUpsertRequest.

type TeamUpsertRequest

type TeamUpsertRequest struct {
	Description *string `json:"description,omitempty"`
	DisplayName string  `json:"display_name"`
}

TeamUpsertRequest defines model for TeamUpsertRequest.

type TooManyValuesForParamError

type TooManyValuesForParamError struct {
	ParamName string
	Count     int
}

func (*TooManyValuesForParamError) Error

type UnescapedCookieParamError

type UnescapedCookieParamError struct {
	ParamName string
	Err       error
}

func (*UnescapedCookieParamError) Error

func (e *UnescapedCookieParamError) Error() string

func (*UnescapedCookieParamError) Unwrap

func (e *UnescapedCookieParamError) Unwrap() error

type UnmarshalingParamError

type UnmarshalingParamError struct {
	ParamName string
	Err       error
}

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 UpdateDistributionJSONRequestBody

type UpdateDistributionJSONRequestBody = UpdateDistributionRequest

UpdateDistributionJSONRequestBody defines body for UpdateDistribution for application/json ContentType.

type UpdateDistributionRequest

type UpdateDistributionRequest struct {
	EvaluationPipeline *DistributionPipelineItem `json:"evaluation_pipeline,omitempty"`
	MainGroupId        *int                      `json:"main_group_id,omitempty"`
	MemberPermissions  string                    `json:"member_permissions"`
	RemoteKey          string                    `json:"remote_key"`
	RepoNamePattern    string                    `json:"repo_name_pattern"`
	SecurePipeline     *DistributionPipelineItem `json:"secure_pipeline,omitempty"`
}

UpdateDistributionRequest defines model for UpdateDistributionRequest.

type UpdateManagedUserJSONRequestBody

type UpdateManagedUserJSONRequestBody = ManagedUserUpdateRequest

UpdateManagedUserJSONRequestBody defines body for UpdateManagedUser 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 UpdateSettingsHostTokenJSONBody

type UpdateSettingsHostTokenJSONBody struct {
	Token string `json:"token"`
}

UpdateSettingsHostTokenJSONBody defines parameters for UpdateSettingsHostToken.

type UpdateSettingsHostTokenJSONRequestBody

type UpdateSettingsHostTokenJSONRequestBody UpdateSettingsHostTokenJSONBody

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 Username

type Username = string

Username defines model for username.

type WorkspaceCreateRequest

type WorkspaceCreateRequest struct {
	DisplayName string  `json:"display_name"`
	Kind        *string `json:"kind,omitempty"`
}

WorkspaceCreateRequest defines model for WorkspaceCreateRequest.

type WorkspaceItem

type WorkspaceItem struct {
	DisplayName string `json:"display_name"`
	Implicit    bool   `json:"implicit"`
	Kind        string `json:"kind"`
	Selected    *bool  `json:"selected,omitempty"`
	Slug        string `json:"slug"`
	WorkspaceId string `json:"workspace_id"`
}

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 {
	DisplayName *string `json:"display_name,omitempty"`
	IsCurrent   bool    `json:"is_current"`
	Role        string  `json:"role"`
	Subject     string  `json:"subject"`
	TeamCount   int     `json:"team_count"`
	Username    *string `json:"username,omitempty"`
	WorkspaceId string  `json:"workspace_id"`
}

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 {
	Role    *string `json:"role,omitempty"`
	Subject string  `json:"subject"`
}

WorkspaceMemberUpsertRequest defines model for WorkspaceMemberUpsertRequest.

type WorkspaceMembershipItem

type WorkspaceMembershipItem struct {
	DisplayName string `json:"display_name"`
	Kind        string `json:"kind"`
	Role        string `json:"role"`
	Selected    bool   `json:"selected"`
	WorkspaceId string `json:"workspace_id"`
}

WorkspaceMembershipItem defines model for WorkspaceMembershipItem.

type WorkspaceSessionResponse

type WorkspaceSessionResponse struct {
	DisplayName string `json:"display_name"`
	Implicit    bool   `json:"implicit"`
	Kind        string `json:"kind"`
	Slug        string `json:"slug"`
	WorkspaceId string `json:"workspace_id"`
}

WorkspaceSessionResponse defines model for WorkspaceSessionResponse.

type WorkspaceSessionUpdateRequest

type WorkspaceSessionUpdateRequest struct {
	WorkspaceId string `json:"workspace_id"`
}

WorkspaceSessionUpdateRequest defines model for WorkspaceSessionUpdateRequest.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL