api

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2026 License: Apache-2.0 Imports: 135 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package api provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.4.1 DO NOT EDIT.

Package api provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.4.1 DO NOT EDIT.

Index

Constants

View Source
const (
	ApiKeyAuthScopes = "ApiKeyAuth.Scopes"
	BearerAuthScopes = "BearerAuth.Scopes"
)

Variables

View Source
var ErrWorkspaceNotFound = errors.New("workspace not found")

Functions

func Handler

func Handler(si ServerInterface) http.Handler

Handler creates http.Handler with routing matching OpenAPI spec.

func HandlerFromMux

func HandlerFromMux(si ServerInterface, r chi.Router) http.Handler

HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.

func HandlerFromMuxWithBaseURL

func HandlerFromMuxWithBaseURL(si ServerInterface, r chi.Router, baseURL string) http.Handler

func HandlerWithOptions

func HandlerWithOptions(si ServerInterface, options ChiServerOptions) http.Handler

HandlerWithOptions creates http.Handler with additional options

func WithAgentMaxConcurrent

func WithAgentMaxConcurrent(ctx context.Context, n int) context.Context

WithAgentMaxConcurrent tells RunQuery that the caller is an agent whose policy allows at most n concurrent runs. Admission enforces the limit; the run waits instead of being refused (#548, #589).

func WithAgentScope

func WithAgentScope(ctx context.Context, catalogs, engines map[string]bool) context.Context

WithAgentScope tells RunQuery which catalogs and engines the agent's policy allows; an empty set allows any.

func WithOIDCResult

func WithOIDCResult(ctx context.Context, r *OIDCResult) context.Context

WithOIDCResult injects the per-request OIDC result.

Types

type API

type API struct {
	*AuthHandlers
	*WorkspaceHandlers
	*CatalogHandlers
	*QueryHandlers
	*SemanticHandlers
	*AgentHandlers
	*OpsHandlers
	*DataPolicyHandlers
	// contains filtered or unexported fields
}

func NewAPI

func NewAPI(d Deps) (*API, error)

NewAPI builds the handlers. It fails when a required dependency is missing instead of leaving a nil to be found at request time.

func (*API) AuthMetrics

func (h *API) AuthMetrics() *metrics.Auth

AuthMetrics is the authentication producer (for the server's rate limiter).

func (*API) BIKeyService

func (a *API) BIKeyService() *bikeys.Service

BIKeyService exposes the service to the gateway listener (#709).

func (*API) BISemanticCatalog

func (a *API) BISemanticCatalog(publicURL string) semanticcatalog.Reader

BISemanticCatalog returns the reader the BI gateway serves as the workspace semantic catalog (ADR 0030). publicURL is Baleia's web origin, used for the links back to each item; empty leaves the links out.

func (*API) Drain

func (a *API) Drain(ctx context.Context) error

Drain waits, until ctx ends, for the work the handlers left running in the background: the password-reset deliveries (#422). The server calls it after the HTTP server stopped taking requests.

func (API) ResolveTarget

func (h API) ResolveTarget(ctx context.Context, ws db.Workspace, req *TargetRequest) (queryengine.Target, error)

ResolveTarget decides where a run executes (#13):

  1. an explicit binding, or a catalog (with engine_id when it is bound to several engines);
  2. else the workspace default target;
  3. else the workspace's only target (one catalog with one binding);
  4. else 422 target_required.

The binding's catalog must be one the workspace may use (#16), else 404; the binding, engine and catalog must be enabled, else 422 target_unavailable. A grant never makes the target read-only: the engine and the catalog manager decide what may be written (#651). There is no fallback to the workspace owner's first catalog or to polaris_catalog_name.

type AddTeamMember201JSONResponse

type AddTeamMember201JSONResponse TeamMember

func (AddTeamMember201JSONResponse) VisitAddTeamMemberResponse

func (response AddTeamMember201JSONResponse) VisitAddTeamMemberResponse(w http.ResponseWriter) error

type AddTeamMember401JSONResponse

type AddTeamMember401JSONResponse struct{ UnauthorizedJSONResponse }

func (AddTeamMember401JSONResponse) VisitAddTeamMemberResponse

func (response AddTeamMember401JSONResponse) VisitAddTeamMemberResponse(w http.ResponseWriter) error

type AddTeamMember403JSONResponse

type AddTeamMember403JSONResponse struct{ ForbiddenJSONResponse }

func (AddTeamMember403JSONResponse) VisitAddTeamMemberResponse

func (response AddTeamMember403JSONResponse) VisitAddTeamMemberResponse(w http.ResponseWriter) error

type AddTeamMember404JSONResponse

type AddTeamMember404JSONResponse struct{ NotFoundJSONResponse }

func (AddTeamMember404JSONResponse) VisitAddTeamMemberResponse

func (response AddTeamMember404JSONResponse) VisitAddTeamMemberResponse(w http.ResponseWriter) error

type AddTeamMember409JSONResponse

type AddTeamMember409JSONResponse struct{ ConflictJSONResponse }

func (AddTeamMember409JSONResponse) VisitAddTeamMemberResponse

func (response AddTeamMember409JSONResponse) VisitAddTeamMemberResponse(w http.ResponseWriter) error

type AddTeamMemberJSONRequestBody

type AddTeamMemberJSONRequestBody = AddTeamMemberRequest

AddTeamMemberJSONRequestBody defines body for AddTeamMember for application/json ContentType.

type AddTeamMemberRequest

type AddTeamMemberRequest struct {
	Role   AddTeamMemberRequestRole `json:"role"`
	UserId openapi_types.UUID       `json:"user_id"`
}

AddTeamMemberRequest defines model for AddTeamMemberRequest.

type AddTeamMemberRequestObject

type AddTeamMemberRequestObject struct {
	Id   PathId `json:"id"`
	Body *AddTeamMemberJSONRequestBody
}

type AddTeamMemberRequestRole

type AddTeamMemberRequestRole string

AddTeamMemberRequestRole defines model for AddTeamMemberRequest.Role.

const (
	AddTeamMemberRequestRoleMember AddTeamMemberRequestRole = "member"
	AddTeamMemberRequestRoleOwner  AddTeamMemberRequestRole = "owner"
)

Defines values for AddTeamMemberRequestRole.

type AddTeamMemberResponseObject

type AddTeamMemberResponseObject interface {
	VisitAddTeamMemberResponse(w http.ResponseWriter) error
}

type AddWorkspaceMember200JSONResponse

type AddWorkspaceMember200JSONResponse WorkspaceMember

func (AddWorkspaceMember200JSONResponse) VisitAddWorkspaceMemberResponse

func (response AddWorkspaceMember200JSONResponse) VisitAddWorkspaceMemberResponse(w http.ResponseWriter) error

type AddWorkspaceMember401JSONResponse

type AddWorkspaceMember401JSONResponse struct{ UnauthorizedJSONResponse }

func (AddWorkspaceMember401JSONResponse) VisitAddWorkspaceMemberResponse

func (response AddWorkspaceMember401JSONResponse) VisitAddWorkspaceMemberResponse(w http.ResponseWriter) error

type AddWorkspaceMember403JSONResponse

type AddWorkspaceMember403JSONResponse struct{ ForbiddenJSONResponse }

func (AddWorkspaceMember403JSONResponse) VisitAddWorkspaceMemberResponse

func (response AddWorkspaceMember403JSONResponse) VisitAddWorkspaceMemberResponse(w http.ResponseWriter) error

type AddWorkspaceMember404JSONResponse

type AddWorkspaceMember404JSONResponse struct{ NotFoundJSONResponse }

func (AddWorkspaceMember404JSONResponse) VisitAddWorkspaceMemberResponse

func (response AddWorkspaceMember404JSONResponse) VisitAddWorkspaceMemberResponse(w http.ResponseWriter) error

type AddWorkspaceMember422JSONResponse

type AddWorkspaceMember422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (AddWorkspaceMember422JSONResponse) VisitAddWorkspaceMemberResponse

func (response AddWorkspaceMember422JSONResponse) VisitAddWorkspaceMemberResponse(w http.ResponseWriter) error

type AddWorkspaceMemberJSONRequestBody

type AddWorkspaceMemberJSONRequestBody = AddWorkspaceMemberRequest

AddWorkspaceMemberJSONRequestBody defines body for AddWorkspaceMember for application/json ContentType.

type AddWorkspaceMemberRequest

type AddWorkspaceMemberRequest struct {
	Email openapi_types.Email `json:"email"`

	// Role What a member may do in Baleia in this workspace (#653, ADR 0016): viewers see content and run queries, editors also create and edit content, admins also manage the workspace. What they may read or write in its catalogs is the catalog manager's decision (ADR 0015).
	Role WorkspaceRole `json:"role"`
}

AddWorkspaceMemberRequest defines model for AddWorkspaceMemberRequest.

type AddWorkspaceMemberRequestObject

type AddWorkspaceMemberRequestObject struct {
	Id   PathId `json:"id"`
	Body *AddWorkspaceMemberJSONRequestBody
}

type AddWorkspaceMemberResponseObject

type AddWorkspaceMemberResponseObject interface {
	VisitAddWorkspaceMemberResponse(w http.ResponseWriter) error
}

type Agent

type Agent struct {
	ActiveTokenCount *int                 `json:"active_token_count,omitempty"`
	AllowedActions   []AgentAllowedAction `json:"allowed_actions"`
	CreatedAt        time.Time            `json:"created_at"`
	Description      *string              `json:"description,omitempty"`
	Id               openapi_types.UUID   `json:"id"`
	LastUsedAt       *time.Time           `json:"last_used_at"`
	Name             string               `json:"name"`
	NextTokenExpiry  *time.Time           `json:"next_token_expiry"`
	OwnerId          openapi_types.UUID   `json:"owner_id"`
	Status           AgentStatus          `json:"status"`
	UpdatedAt        *time.Time           `json:"updated_at,omitempty"`
	Workspaces       []AgentWorkspace     `json:"workspaces"`
}

Agent defines model for Agent.

type AgentAllowedAction

type AgentAllowedAction string

AgentAllowedAction defines model for AgentAllowedAction.

const (
	AgentAllowedActionDelete       AgentAllowedAction = "delete"
	AgentAllowedActionDisable      AgentAllowedAction = "disable"
	AgentAllowedActionManagePolicy AgentAllowedAction = "manage_policy"
	AgentAllowedActionManageTokens AgentAllowedAction = "manage_tokens"
	AgentAllowedActionUpdate       AgentAllowedAction = "update"
	AgentAllowedActionView         AgentAllowedAction = "view"
)

Defines values for AgentAllowedAction.

type AgentCatalogEligibility

type AgentCatalogEligibility struct {
	CatalogId   openapi_types.UUID       `json:"catalog_id"`
	CatalogName string                   `json:"catalog_name"`
	Engines     []AgentEngineEligibility `json:"engines"`
}

AgentCatalogEligibility defines model for AgentCatalogEligibility.

type AgentEngineEligibility

type AgentEngineEligibility struct {
	EngineId   openapi_types.UUID           `json:"engine_id"`
	EngineName string                       `json:"engine_name"`
	Kind       string                       `json:"kind"`
	Status     AgentEngineEligibilityStatus `json:"status"`
}

AgentEngineEligibility defines model for AgentEngineEligibility.

type AgentEngineEligibilityStatus

type AgentEngineEligibilityStatus string

AgentEngineEligibilityStatus defines model for AgentEngineEligibility.Status.

const (
	AgentEngineEligibilityStatusExcludedByPolicy    AgentEngineEligibilityStatus = "excluded_by_policy"
	AgentEngineEligibilityStatusOk                  AgentEngineEligibilityStatus = "ok"
	AgentEngineEligibilityStatusReadOnlyNotEnforced AgentEngineEligibilityStatus = "read_only_not_enforced"
)

Defines values for AgentEngineEligibilityStatus.

type AgentHandlers

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

AgentHandlers serves agents, their policy and tokens, the assistant and the MCP surface (#365).

func (*AgentHandlers) AgentCeilings

func (h *AgentHandlers) AgentCeilings() agentpolicy.Ceilings

AgentCeilings exposes the server-side policy ceilings to the MCP wiring.

func (*AgentHandlers) AgentWorkspaces

func (h *AgentHandlers) AgentWorkspaces(ctx context.Context) ([]Workspace, error)

AgentWorkspaces returns the workspaces the current agent principal is bound to (#58). The MCP list_workspaces tool uses it instead of the owner's full list.

func (*AgentHandlers) AssistantService

func (h *AgentHandlers) AssistantService() *assistant.Service

AssistantService exposes the persistence service to the wiring site.

func (*AgentHandlers) CancelAssistantTurn

CancelAssistantTurn — POST /assistant/conversations/{id}/cancel.

func (*AgentHandlers) CreateAgent

func (*AgentHandlers) CreateAgentToken

func (*AgentHandlers) CreateAssistantConversation

CreateAssistantConversation — POST /assistant/conversations.

func (*AgentHandlers) DeleteAgent

func (*AgentHandlers) EngineReadOnly

func (h *AgentHandlers) EngineReadOnly(ctx context.Context, engineID db.UUID) (queryengine.ReadOnlySupport, error)

EngineReadOnly reports whether an engine can enforce a read-only session; the agent gate needs it.

func (*AgentHandlers) GetAgent

func (*AgentHandlers) GetAgentEligibility

GetAgentEligibility — GET /agents/{agent_id}/eligibility (#120). For each catalog granted to the agent's bound workspaces, list the engines hosting it and whether the agent may run there.

func (*AgentHandlers) GetAgentPolicy

func (*AgentHandlers) GetAgentsMeta

GetAgentsMeta — GET /agents/meta (#120). Any authenticated user with the feature enabled: the UI needs the MCP URL, token TTLs and the tool registry before an agent exists.

func (*AgentHandlers) GetAssistantConversation

GetAssistantConversation — GET /assistant/conversations/{id}. Conversations are private: another user, admins included, gets a 404.

func (*AgentHandlers) GetAssistantSettings

GetAssistantSettings — GET /admin/assistant/settings (G-admin).

func (*AgentHandlers) GetAssistantStatus

GetAssistantStatus — GET /assistant/status. Any authenticated user; a missing settings row or an unconfigured service reports the conservative default.

func (*AgentHandlers) ListAgentTokens

func (*AgentHandlers) ListAgents

func (*AgentHandlers) ListAssistantConversations

ListAssistantConversations — GET /assistant/conversations?workspace_id=…

func (*AgentHandlers) MCPResults

func (h *AgentHandlers) MCPResults(ctx context.Context, workspaceID, executionID openapi_types.UUID, offset, limit, maxRows, maxBytes int) (results.Result, error)

MCPResults reads a bounded page of a stored Arrow result for an agent tool

func (*AgentHandlers) PutAgentPolicy

func (*AgentHandlers) PutAssistantSettings

PutAssistantSettings — PUT /admin/assistant/settings (G-admin). The API key is write-only: an omitted or empty value keeps the stored key.

func (AgentHandlers) ResolveTarget

func (h AgentHandlers) ResolveTarget(ctx context.Context, ws db.Workspace, req *TargetRequest) (queryengine.Target, error)

ResolveTarget decides where a run executes (#13):

  1. an explicit binding, or a catalog (with engine_id when it is bound to several engines);
  2. else the workspace default target;
  3. else the workspace's only target (one catalog with one binding);
  4. else 422 target_required.

The binding's catalog must be one the workspace may use (#16), else 404; the binding, engine and catalog must be enabled, else 422 target_unavailable. A grant never makes the target read-only: the engine and the catalog manager decide what may be written (#651). There is no fallback to the workspace owner's first catalog or to polaris_catalog_name.

func (*AgentHandlers) RevokeAgentToken

func (*AgentHandlers) SendAssistantMessage

SendAssistantMessage — POST /assistant/conversations/{id}/messages. The turn runs in the background; the response carries the accepted user seq.

func (*AgentHandlers) StreamAssistantConversation

StreamAssistantConversation — GET /assistant/conversations/{id}/events. The stream replays persisted messages after after_seq and then forwards live messages/deltas. The generated Visit uses io.Copy, so the body implements io.WriterTo to flush each frame through http.Flusher.

func (*AgentHandlers) TestAssistant

TestAssistant — POST /admin/assistant/test. Sends a one-token prompt to the configured provider and reports latency or a sanitized error.

func (*AgentHandlers) UpdateAgent

type AgentPolicy

type AgentPolicy struct {
	Catalogs               *[]openapi_types.UUID `json:"catalogs"`
	Engines                *[]openapi_types.UUID `json:"engines"`
	MaxConcurrentQueries   *int                  `json:"max_concurrent_queries,omitempty"`
	MaxQueriesPerHour      *int                  `json:"max_queries_per_hour,omitempty"`
	MaxQueryRuntimeSeconds *int                  `json:"max_query_runtime_seconds,omitempty"`
	MaxResultBytes         *int                  `json:"max_result_bytes,omitempty"`
	MaxRowsReturned        *int                  `json:"max_rows_returned,omitempty"`

	// MaxToolCallsPerMinute Token-bucket burst limit for MCP tool calls: up to this many calls may be admitted immediately and the bucket refills at this rate per minute. It is not a strict rolling-minute quota and does not cap how many calls run concurrently. With the shared Redis limiter it is enforced per agent across API replicas.
	MaxToolCallsPerMinute *int               `json:"max_tool_calls_per_minute,omitempty"`
	Tools                 *[]string          `json:"tools,omitempty"`
	Version               AgentPolicyVersion `json:"version"`
}

AgentPolicy defines model for AgentPolicy.

type AgentPolicyLimits

type AgentPolicyLimits struct {
	MaxConcurrentQueries   *int `json:"max_concurrent_queries,omitempty"`
	MaxQueriesPerHour      *int `json:"max_queries_per_hour,omitempty"`
	MaxQueryRuntimeSeconds *int `json:"max_query_runtime_seconds,omitempty"`
	MaxResultBytes         *int `json:"max_result_bytes,omitempty"`
	MaxRowsReturned        *int `json:"max_rows_returned,omitempty"`

	// MaxToolCallsPerMinute Token-bucket burst limit for MCP tool calls: up to this many calls may be admitted immediately and the bucket refills at this rate per minute. It is not a strict rolling-minute quota and does not cap how many calls run concurrently. With the shared Redis limiter it is enforced per agent across API replicas.
	MaxToolCallsPerMinute *int `json:"max_tool_calls_per_minute,omitempty"`
}

AgentPolicyLimits defines model for AgentPolicyLimits.

type AgentPolicyResponse

type AgentPolicyResponse struct {
	Ceilings AgentPolicyLimits `json:"ceilings"`
	Policy   AgentPolicy       `json:"policy"`
	Stored   AgentPolicy       `json:"stored"`
}

AgentPolicyResponse defines model for AgentPolicyResponse.

type AgentPolicyVersion

type AgentPolicyVersion int

AgentPolicyVersion defines model for AgentPolicy.Version.

const (
	N1 AgentPolicyVersion = 1
)

Defines values for AgentPolicyVersion.

type AgentSettings

type AgentSettings struct {
	Enabled                bool
	TokenDefaultTTL        time.Duration
	TokenMaxTTL            time.Duration
	MaxRows                int
	MaxResultBytes         int
	MaxQueryRuntimeSeconds int
	MaxConcurrentQueries   int
	MaxQueriesPerHour      int
	MaxToolCallsPerMinute  int
}

AgentSettings are the agent switch, token lifetimes and ceilings (#60); a zero ceiling means the packaged default.

type AgentStatus

type AgentStatus string

AgentStatus defines model for Agent.Status.

const (
	AgentStatusActive   AgentStatus = "active"
	AgentStatusDisabled AgentStatus = "disabled"
)

Defines values for AgentStatus.

type AgentToken

type AgentToken struct {
	CreatedAt  time.Time          `json:"created_at"`
	ExpiresAt  time.Time          `json:"expires_at"`
	Id         openapi_types.UUID `json:"id"`
	LastUsedAt *time.Time         `json:"last_used_at"`
	Name       string             `json:"name"`
	Prefix     string             `json:"prefix"`
	RevokedAt  *time.Time         `json:"revoked_at"`
}

AgentToken defines model for AgentToken.

type AgentTokenCreated

type AgentTokenCreated struct {
	CreatedAt  time.Time          `json:"created_at"`
	ExpiresAt  time.Time          `json:"expires_at"`
	Id         openapi_types.UUID `json:"id"`
	LastUsedAt *time.Time         `json:"last_used_at"`
	Name       string             `json:"name"`
	Prefix     string             `json:"prefix"`
	RevokedAt  *time.Time         `json:"revoked_at"`

	// Token Displayed only once upon creation
	Token string `json:"token"`
}

AgentTokenCreated defines model for AgentTokenCreated.

type AgentTool

type AgentTool struct {
	Description string `json:"description"`
	Label       string `json:"label"`
	Name        string `json:"name"`
	ReadOnly    bool   `json:"read_only"`
}

AgentTool defines model for AgentTool.

type AgentWorkspace

type AgentWorkspace struct {
	Id   openapi_types.UUID `json:"id"`
	Name string             `json:"name"`
}

AgentWorkspace defines model for AgentWorkspace.

type AgentsMeta

type AgentsMeta struct {
	McpUrl              string      `json:"mcp_url"`
	TokenDefaultTtlDays int         `json:"token_default_ttl_days"`
	TokenMaxTtlDays     int         `json:"token_max_ttl_days"`
	Tools               []AgentTool `json:"tools"`
}

AgentsMeta defines model for AgentsMeta.

type AnalyzeCatalogTableHealth202JSONResponse

type AnalyzeCatalogTableHealth202JSONResponse struct {
	AnalysisId string `json:"analysis_id"`
}

func (AnalyzeCatalogTableHealth202JSONResponse) VisitAnalyzeCatalogTableHealthResponse

func (response AnalyzeCatalogTableHealth202JSONResponse) VisitAnalyzeCatalogTableHealthResponse(w http.ResponseWriter) error

type AnalyzeCatalogTableHealth401JSONResponse

type AnalyzeCatalogTableHealth401JSONResponse struct{ UnauthorizedJSONResponse }

func (AnalyzeCatalogTableHealth401JSONResponse) VisitAnalyzeCatalogTableHealthResponse

func (response AnalyzeCatalogTableHealth401JSONResponse) VisitAnalyzeCatalogTableHealthResponse(w http.ResponseWriter) error

type AnalyzeCatalogTableHealth403JSONResponse

type AnalyzeCatalogTableHealth403JSONResponse struct{ ForbiddenJSONResponse }

func (AnalyzeCatalogTableHealth403JSONResponse) VisitAnalyzeCatalogTableHealthResponse

func (response AnalyzeCatalogTableHealth403JSONResponse) VisitAnalyzeCatalogTableHealthResponse(w http.ResponseWriter) error

type AnalyzeCatalogTableHealth404JSONResponse

type AnalyzeCatalogTableHealth404JSONResponse struct{ NotFoundJSONResponse }

func (AnalyzeCatalogTableHealth404JSONResponse) VisitAnalyzeCatalogTableHealthResponse

func (response AnalyzeCatalogTableHealth404JSONResponse) VisitAnalyzeCatalogTableHealthResponse(w http.ResponseWriter) error

type AnalyzeCatalogTableHealth422JSONResponse

type AnalyzeCatalogTableHealth422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (AnalyzeCatalogTableHealth422JSONResponse) VisitAnalyzeCatalogTableHealthResponse

func (response AnalyzeCatalogTableHealth422JSONResponse) VisitAnalyzeCatalogTableHealthResponse(w http.ResponseWriter) error

type AnalyzeCatalogTableHealthRequestObject

type AnalyzeCatalogTableHealthRequestObject struct {
	CatalogId openapi_types.UUID `json:"catalog_id"`
}

type AnalyzeCatalogTableHealthResponseObject

type AnalyzeCatalogTableHealthResponseObject interface {
	VisitAnalyzeCatalogTableHealthResponse(w http.ResponseWriter) error
}

type AnalyzeTableHealth202JSONResponse

type AnalyzeTableHealth202JSONResponse struct {
	AnalysisId string `json:"analysis_id"`
}

func (AnalyzeTableHealth202JSONResponse) VisitAnalyzeTableHealthResponse

func (response AnalyzeTableHealth202JSONResponse) VisitAnalyzeTableHealthResponse(w http.ResponseWriter) error

type AnalyzeTableHealth401JSONResponse

type AnalyzeTableHealth401JSONResponse struct{ UnauthorizedJSONResponse }

func (AnalyzeTableHealth401JSONResponse) VisitAnalyzeTableHealthResponse

func (response AnalyzeTableHealth401JSONResponse) VisitAnalyzeTableHealthResponse(w http.ResponseWriter) error

type AnalyzeTableHealth403JSONResponse

type AnalyzeTableHealth403JSONResponse struct{ ForbiddenJSONResponse }

func (AnalyzeTableHealth403JSONResponse) VisitAnalyzeTableHealthResponse

func (response AnalyzeTableHealth403JSONResponse) VisitAnalyzeTableHealthResponse(w http.ResponseWriter) error

type AnalyzeTableHealth404JSONResponse

type AnalyzeTableHealth404JSONResponse struct{ NotFoundJSONResponse }

func (AnalyzeTableHealth404JSONResponse) VisitAnalyzeTableHealthResponse

func (response AnalyzeTableHealth404JSONResponse) VisitAnalyzeTableHealthResponse(w http.ResponseWriter) error

type AnalyzeTableHealth422JSONResponse

type AnalyzeTableHealth422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (AnalyzeTableHealth422JSONResponse) VisitAnalyzeTableHealthResponse

func (response AnalyzeTableHealth422JSONResponse) VisitAnalyzeTableHealthResponse(w http.ResponseWriter) error

type AnalyzeTableHealthRequestObject

type AnalyzeTableHealthRequestObject struct {
	CatalogId MaintenanceCatalogId `json:"catalog_id"`
	Namespace MaintenanceNamespace `json:"namespace"`
	Table     MaintenanceTable     `json:"table"`
}

type AnalyzeTableHealthResponseObject

type AnalyzeTableHealthResponseObject interface {
	VisitAnalyzeTableHealthResponse(w http.ResponseWriter) error
}

type ApiKey

type ApiKey struct {
	CreatedAt time.Time          `json:"created_at"`
	ExpiresAt *time.Time         `json:"expires_at"`
	Id        openapi_types.UUID `json:"id"`
	KeyPrefix string             `json:"key_prefix"`
	Name      string             `json:"name"`
}

ApiKey defines model for ApiKey.

type ApiKeyCreated

type ApiKeyCreated struct {
	CreatedAt time.Time          `json:"created_at"`
	ExpiresAt *time.Time         `json:"expires_at"`
	Id        openapi_types.UUID `json:"id"`
	KeyPrefix string             `json:"key_prefix"`
	Name      string             `json:"name"`

	// Secret Displayed only once upon creation
	Secret string `json:"secret"`
}

ApiKeyCreated defines model for ApiKeyCreated.

type ApproveCatalogGrant200JSONResponse

type ApproveCatalogGrant200JSONResponse CatalogGrantItem

func (ApproveCatalogGrant200JSONResponse) VisitApproveCatalogGrantResponse

func (response ApproveCatalogGrant200JSONResponse) VisitApproveCatalogGrantResponse(w http.ResponseWriter) error

type ApproveCatalogGrant401JSONResponse

type ApproveCatalogGrant401JSONResponse struct{ UnauthorizedJSONResponse }

func (ApproveCatalogGrant401JSONResponse) VisitApproveCatalogGrantResponse

func (response ApproveCatalogGrant401JSONResponse) VisitApproveCatalogGrantResponse(w http.ResponseWriter) error

type ApproveCatalogGrant403JSONResponse

type ApproveCatalogGrant403JSONResponse struct{ ForbiddenJSONResponse }

func (ApproveCatalogGrant403JSONResponse) VisitApproveCatalogGrantResponse

func (response ApproveCatalogGrant403JSONResponse) VisitApproveCatalogGrantResponse(w http.ResponseWriter) error

type ApproveCatalogGrant404JSONResponse

type ApproveCatalogGrant404JSONResponse struct{ NotFoundJSONResponse }

func (ApproveCatalogGrant404JSONResponse) VisitApproveCatalogGrantResponse

func (response ApproveCatalogGrant404JSONResponse) VisitApproveCatalogGrantResponse(w http.ResponseWriter) error

type ApproveCatalogGrantRequestObject

type ApproveCatalogGrantRequestObject struct {
	WorkspaceId openapi_types.UUID `json:"workspace_id"`
	CatalogId   openapi_types.UUID `json:"catalog_id"`
}

type ApproveCatalogGrantResponseObject

type ApproveCatalogGrantResponseObject interface {
	VisitApproveCatalogGrantResponse(w http.ResponseWriter) error
}

type ArrowStreamApplicationvndApacheArrowFileResponse

type ArrowStreamApplicationvndApacheArrowFileResponse struct {
	Body io.Reader

	ContentLength int64
}

type ArrowStreamApplicationvndApacheArrowStreamResponse

type ArrowStreamApplicationvndApacheArrowStreamResponse struct {
	Body io.Reader

	ContentLength int64
}

type AssistantConversation

type AssistantConversation struct {
	CreatedAt   time.Time                  `json:"created_at"`
	Id          openapi_types.UUID         `json:"id"`
	LastSeq     int                        `json:"last_seq"`
	State       AssistantConversationState `json:"state"`
	Title       string                     `json:"title"`
	UpdatedAt   time.Time                  `json:"updated_at"`
	WorkspaceId openapi_types.UUID         `json:"workspace_id"`
}

AssistantConversation defines model for AssistantConversation.

type AssistantConversationDetail

type AssistantConversationDetail struct {
	CreatedAt   time.Time                        `json:"created_at"`
	Id          openapi_types.UUID               `json:"id"`
	LastSeq     int                              `json:"last_seq"`
	Messages    []AssistantMessage               `json:"messages"`
	State       AssistantConversationDetailState `json:"state"`
	Title       string                           `json:"title"`
	UpdatedAt   time.Time                        `json:"updated_at"`
	WorkspaceId openapi_types.UUID               `json:"workspace_id"`
}

AssistantConversationDetail defines model for AssistantConversationDetail.

type AssistantConversationDetailState

type AssistantConversationDetailState string

AssistantConversationDetailState defines model for AssistantConversationDetail.State.

const (
	AssistantConversationDetailStateIdle        AssistantConversationDetailState = "idle"
	AssistantConversationDetailStateInterrupted AssistantConversationDetailState = "interrupted"
	AssistantConversationDetailStateRunning     AssistantConversationDetailState = "running"
)

Defines values for AssistantConversationDetailState.

type AssistantConversationState

type AssistantConversationState string

AssistantConversationState defines model for AssistantConversation.State.

const (
	AssistantConversationStateIdle        AssistantConversationState = "idle"
	AssistantConversationStateInterrupted AssistantConversationState = "interrupted"
	AssistantConversationStateRunning     AssistantConversationState = "running"
)

Defines values for AssistantConversationState.

type AssistantMessage

type AssistantMessage struct {
	Content      interface{}          `json:"content"`
	CreatedAt    time.Time            `json:"created_at"`
	InputTokens  *int                 `json:"input_tokens"`
	OutputTokens *int                 `json:"output_tokens"`
	Role         AssistantMessageRole `json:"role"`
	Seq          int                  `json:"seq"`
}

AssistantMessage defines model for AssistantMessage.

type AssistantMessageRole

type AssistantMessageRole string

AssistantMessageRole defines model for AssistantMessage.Role.

const (
	AssistantMessageRoleAssistant  AssistantMessageRole = "assistant"
	AssistantMessageRoleNotice     AssistantMessageRole = "notice"
	AssistantMessageRoleToolCall   AssistantMessageRole = "tool_call"
	AssistantMessageRoleToolResult AssistantMessageRole = "tool_result"
	AssistantMessageRoleUser       AssistantMessageRole = "user"
)

Defines values for AssistantMessageRole.

type AssistantSettings

type AssistantSettings struct {
	// ApiKeySet The key is write-only; GET never returns it
	ApiKeySet               bool                         `json:"api_key_set"`
	BaseUrl                 *string                      `json:"base_url"`
	DailyTokenBudgetPerUser int                          `json:"daily_token_budget_per_user"`
	DataSharing             AssistantSettingsDataSharing `json:"data_sharing"`
	Enabled                 bool                         `json:"enabled"`
	MaxOutputTokensPerTurn  int                          `json:"max_output_tokens_per_turn"`
	MaxToolCallsPerTurn     int                          `json:"max_tool_calls_per_turn"`
	MaxTurnSeconds          int                          `json:"max_turn_seconds"`
	Model                   *string                      `json:"model"`
	Provider                *AssistantSettingsProvider   `json:"provider"`
}

AssistantSettings defines model for AssistantSettings.

type AssistantSettingsDataSharing

type AssistantSettingsDataSharing string

AssistantSettingsDataSharing defines model for AssistantSettings.DataSharing.

const (
	AssistantSettingsDataSharingMetadataAndSamples AssistantSettingsDataSharing = "metadata_and_samples"
	AssistantSettingsDataSharingMetadataOnly       AssistantSettingsDataSharing = "metadata_only"
)

Defines values for AssistantSettingsDataSharing.

type AssistantSettingsProvider

type AssistantSettingsProvider string

AssistantSettingsProvider defines model for AssistantSettings.Provider.

const (
	AssistantSettingsProviderAnthropic        AssistantSettingsProvider = "anthropic"
	AssistantSettingsProviderOpenaiCompatible AssistantSettingsProvider = "openai_compatible"
)

Defines values for AssistantSettingsProvider.

type AssistantStatus

type AssistantStatus struct {
	DataSharing AssistantStatusDataSharing `json:"data_sharing"`
	Enabled     bool                       `json:"enabled"`
}

AssistantStatus defines model for AssistantStatus.

type AssistantStatusDataSharing

type AssistantStatusDataSharing string

AssistantStatusDataSharing defines model for AssistantStatus.DataSharing.

const (
	AssistantStatusDataSharingMetadataAndSamples AssistantStatusDataSharing = "metadata_and_samples"
	AssistantStatusDataSharingMetadataOnly       AssistantStatusDataSharing = "metadata_only"
)

Defines values for AssistantStatusDataSharing.

type AssistantTestResult

type AssistantTestResult struct {
	Error     *string `json:"error"`
	LatencyMs *int    `json:"latency_ms,omitempty"`
	Ok        bool    `json:"ok"`
}

AssistantTestResult defines model for AssistantTestResult.

type AttentionItem

type AttentionItem struct {
	// Href SPA route that fixes the item.
	Href *string `json:"href,omitempty"`

	// Kind What needs attention. `agent_token_expiring` appears once the agent platform lands (#59).
	Kind AttentionKind `json:"kind"`

	// Params Kind-specific, safe values only (never hosts, credentials or raw upstream errors).
	Params *map[string]string `json:"params,omitempty"`

	// Resource The entity to act on. `id` is opaque to the client; `href` is the SPA route that fixes it.
	Resource AttentionResource `json:"resource"`
	Severity AttentionSeverity `json:"severity"`
	Since    time.Time         `json:"since"`
}

AttentionItem defines model for AttentionItem.

type AttentionKind

type AttentionKind string

AttentionKind What needs attention. `agent_token_expiring` appears once the agent platform lands (#59).

const (
	AgentTokenExpiring AttentionKind = "agent_token_expiring"
	AuditExportLagging AttentionKind = "audit_export_lagging"
	BindingError       AttentionKind = "binding_error"
	EngineUnreachable  AttentionKind = "engine_unreachable"
	LineageBroken      AttentionKind = "lineage_broken"
	MetadataStale      AttentionKind = "metadata_stale"
	MetadataSyncFailed AttentionKind = "metadata_sync_failed"
	ReconcileDrift     AttentionKind = "reconcile_drift"
	RetrieverError     AttentionKind = "retriever_error"
	ScheduleMissing    AttentionKind = "schedule_missing"
)

Defines values for AttentionKind.

type AttentionResource

type AttentionResource struct {
	Id   string                `json:"id"`
	Name string                `json:"name"`
	Type AttentionResourceType `json:"type"`
}

AttentionResource The entity to act on. `id` is opaque to the client; `href` is the SPA route that fixes it.

type AttentionResourceType

type AttentionResourceType string

AttentionResourceType defines model for AttentionResource.Type.

const (
	AttentionResourceTypeAgentToken  AttentionResourceType = "agent_token"
	AttentionResourceTypeAuditExport AttentionResourceType = "audit_export"
	AttentionResourceTypeBinding     AttentionResourceType = "binding"
	AttentionResourceTypeCatalog     AttentionResourceType = "catalog"
	AttentionResourceTypeEngine      AttentionResourceType = "engine"
	AttentionResourceTypeMetric      AttentionResourceType = "metric"
	AttentionResourceTypeModel       AttentionResourceType = "model"
	AttentionResourceTypeRetriever   AttentionResourceType = "retriever"
	AttentionResourceTypeSchedule    AttentionResourceType = "schedule"
)

Defines values for AttentionResourceType.

type AttentionSeverity

type AttentionSeverity string

AttentionSeverity defines model for AttentionSeverity.

const (
	AttentionSeverityError   AttentionSeverity = "error"
	AttentionSeverityWarning AttentionSeverity = "warning"
)

Defines values for AttentionSeverity.

type AuditEvent

type AuditEvent struct {
	// Action <resource>.<verb>, from a bounded vocabulary (internal/audit/actions.go)
	Action     string              `json:"action"`
	ActorId    *string             `json:"actor_id"`
	ActorKind  AuditEventActorKind `json:"actor_kind"`
	AuthMethod *string             `json:"auth_method"`

	// Changes {"field": {"from": …, "to": …}}; secret values are "***"
	Changes *map[string]struct {
		From *interface{} `json:"from,omitempty"`
		To   *interface{} `json:"to,omitempty"`
	} `json:"changes"`
	ClientIp     *string             `json:"client_ip"`
	Id           int64               `json:"id"`
	OccurredAt   time.Time           `json:"occurred_at"`
	Outcome      AuditEventOutcome   `json:"outcome"`
	Reason       *string             `json:"reason"`
	RequestId    *string             `json:"request_id"`
	ResourceId   *string             `json:"resource_id"`
	ResourceType string              `json:"resource_type"`
	TraceId      *string             `json:"trace_id"`
	UserAgent    *string             `json:"user_agent"`
	WorkspaceId  *openapi_types.UUID `json:"workspace_id"`
}

AuditEvent defines model for AuditEvent.

type AuditEventActorKind

type AuditEventActorKind string

AuditEventActorKind defines model for AuditEvent.ActorKind.

const (
	AuditEventActorKindAgent     AuditEventActorKind = "agent"
	AuditEventActorKindAnonymous AuditEventActorKind = "anonymous"
	AuditEventActorKindService   AuditEventActorKind = "service"
	AuditEventActorKindUser      AuditEventActorKind = "user"
)

Defines values for AuditEventActorKind.

type AuditEventOutcome

type AuditEventOutcome string

AuditEventOutcome defines model for AuditEvent.Outcome.

const (
	AuditEventOutcomeAllowed AuditEventOutcome = "allowed"
	AuditEventOutcomeDenied  AuditEventOutcome = "denied"
	AuditEventOutcomeError   AuditEventOutcome = "error"
)

Defines values for AuditEventOutcome.

type AuditEventPage

type AuditEventPage struct {
	Items      []AuditEvent `json:"items"`
	NextCursor *string      `json:"next_cursor"`
}

AuditEventPage defines model for AuditEventPage.

type AuditResolveRequest

type AuditResolveRequest struct {
	Catalogs    *[]openapi_types.UUID `json:"catalogs,omitempty"`
	Connections *[]openapi_types.UUID `json:"connections,omitempty"`
	Users       *[]openapi_types.UUID `json:"users,omitempty"`
	Workspaces  *[]openapi_types.UUID `json:"workspaces,omitempty"`
}

AuditResolveRequest defines model for AuditResolveRequest.

type AuditResolveResult

type AuditResolveResult struct {
	Catalogs    *map[string]AuditResolvedName `json:"catalogs,omitempty"`
	Connections *map[string]AuditResolvedName `json:"connections,omitempty"`
	Users       *map[string]AuditResolvedUser `json:"users,omitempty"`
	Workspaces  *map[string]AuditResolvedName `json:"workspaces,omitempty"`
}

AuditResolveResult defines model for AuditResolveResult.

type AuditResolvedName

type AuditResolvedName struct {
	Name string `json:"name"`
}

AuditResolvedName defines model for AuditResolvedName.

type AuditResolvedUser

type AuditResolvedUser struct {
	Email *string `json:"email,omitempty"`
	Name  string  `json:"name"`
}

AuditResolvedUser defines model for AuditResolvedUser.

type AuthHandlers

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

AuthHandlers serves sign-in, sessions, users, API keys and identity providers (#365).

func (*AuthHandlers) CreateApiKey

func (*AuthHandlers) CreateFirstAdmin

func (*AuthHandlers) CreateServiceAccount

CreateServiceAccount — POST /service-accounts (#653).

func (*AuthHandlers) CreateServiceAccountToken

CreateServiceAccountToken — POST /service-accounts/{id}/tokens (#653). The secret is shown once and never stored.

func (*AuthHandlers) DeleteApiKey

func (*AuthHandlers) DeleteIdentityProvider

DeleteIdentityProvider — DELETE /admin/identity-providers/{id} (#285). Linked users make the delete a 409 unless suspend_users=true; in that case they are suspended and detached, never orphaned.

func (*AuthHandlers) DeleteServiceAccount

DeleteServiceAccount — DELETE /service-accounts/{id} (#653): its tokens, agents and memberships go with it.

func (*AuthHandlers) GetMe

func (*AuthHandlers) GetProfile

func (*AuthHandlers) GetServiceAccount

GetServiceAccount — GET /service-accounts/{id} (#653).

func (*AuthHandlers) GetSetupStatus

func (*AuthHandlers) InviteUser

func (*AuthHandlers) ListApiKeys

func (*AuthHandlers) ListAuthProviders

ListAuthProviders — GET /auth/providers (#289). Public, enabled providers only; it never returns configuration or secrets. It supersedes /auth/oidc/providers and adds LDAP.

func (*AuthHandlers) ListDirectoryReconcileRuns

ListDirectoryReconcileRuns — GET /admin/directory-reconcile-runs (#258).

func (*AuthHandlers) ListOIDCProviders

func (*AuthHandlers) ListServiceAccountTokens

ListServiceAccountTokens — GET /service-accounts/{id}/tokens (#653).

func (*AuthHandlers) ListServiceAccounts

ListServiceAccounts — GET /service-accounts (#653).

func (*AuthHandlers) ListUsers

func (*AuthHandlers) Login

func (h *AuthHandlers) Login(ctx context.Context, request LoginRequestObject) (resp LoginResponseObject, err error)

func (*AuthHandlers) Logout

func (*AuthHandlers) OidcCallback

func (h *AuthHandlers) OidcCallback(ctx context.Context, request OidcCallbackRequestObject) (resp OidcCallbackResponseObject, err error)

func (*AuthHandlers) OidcRedirect

func (*AuthHandlers) PreviewIdentityMapping

PreviewIdentityMapping — POST /admin/identity-providers/mapping-preview (#264). It calls the same pure function as login, so the preview and the login-time mapping can never disagree. Nothing is persisted and no directory is contacted.

func (*AuthHandlers) RefreshToken

func (h *AuthHandlers) RefreshToken(ctx context.Context, request RefreshTokenRequestObject) (resp RefreshTokenResponseObject, err error)

func (*AuthHandlers) ReinstateUser

ReinstateUser — POST /users/{id}/reinstate (#258). An admin override can lift any suspension, including a directory one.

func (*AuthHandlers) RemoveUser

func (AuthHandlers) ResolveTarget

func (h AuthHandlers) ResolveTarget(ctx context.Context, ws db.Workspace, req *TargetRequest) (queryengine.Target, error)

ResolveTarget decides where a run executes (#13):

  1. an explicit binding, or a catalog (with engine_id when it is bound to several engines);
  2. else the workspace default target;
  3. else the workspace's only target (one catalog with one binding);
  4. else 422 target_required.

The binding's catalog must be one the workspace may use (#16), else 404; the binding, engine and catalog must be enabled, else 422 target_unavailable. A grant never makes the target read-only: the engine and the catalog manager decide what may be written (#651). There is no fallback to the workspace owner's first catalog or to polaris_catalog_name.

func (*AuthHandlers) RevokeServiceAccountToken

RevokeServiceAccountToken — DELETE /service-accounts/{id}/tokens/{token_id}.

func (*AuthHandlers) SuspendUser

SuspendUser — POST /users/{id}/suspend (#258). The account is suspended, never deleted; its refresh tokens and API keys die immediately.

func (*AuthHandlers) TestIdentityProvider

TestIdentityProvider — POST /admin/identity-providers/{id}/test (#286).

func (*AuthHandlers) TestIdentityProviderTransient

TestIdentityProviderTransient — POST /admin/identity-providers/test (#286). It validates and probes an unsaved configuration and writes nothing.

func (*AuthHandlers) UpdateIdentityProvider

UpdateIdentityProvider — PATCH /admin/identity-providers/{id} (#285). Omitted config fields keep their stored value; an empty secret clears it. The provider type is immutable.

func (*AuthHandlers) UpdatePassword

func (*AuthHandlers) UpdateProfile

func (*AuthHandlers) UpdateServiceAccount

UpdateServiceAccount — PATCH /service-accounts/{id} (#653).

func (*AuthHandlers) UpdateUserRole

type AuthProvider

type AuthProvider struct {
	Id   openapi_types.UUID `json:"id"`
	Name string             `json:"name"`
	Type AuthProviderType   `json:"type"`
}

AuthProvider An enabled login provider. Configuration and secrets are never returned.

type AuthProviderType

type AuthProviderType string

AuthProviderType defines model for AuthProvider.Type.

const (
	AuthProviderTypeLdap AuthProviderType = "ldap"
	AuthProviderTypeOidc AuthProviderType = "oidc"
)

Defines values for AuthProviderType.

type AuthSettings

type AuthSettings struct {
	JWTSecret    string
	AccessTTL    time.Duration
	RefreshTTL   time.Duration
	ResetTTL     time.Duration
	PasswordCost int
}

AuthSettings are the token and password settings.

type BIGatewayBlocker

type BIGatewayBlocker string

BIGatewayBlocker defines model for BIGatewayBlocker.

const (
	BIGatewayBlockerGatewayDisabled        BIGatewayBlocker = "gateway_disabled"
	BIGatewayBlockerListenerNotConfigured  BIGatewayBlocker = "listener_not_configured"
	BIGatewayBlockerPublicUrlInvalid       BIGatewayBlocker = "public_url_invalid"
	BIGatewayBlockerPublicUrlNotConfigured BIGatewayBlocker = "public_url_not_configured"
	BIGatewayBlockerSecretNotConfigured    BIGatewayBlocker = "secret_not_configured"
)

Defines values for BIGatewayBlocker.

type BIGatewayConcurrency

type BIGatewayConcurrency struct {
	MaxPerKey       int `json:"max_per_key"`
	MaxPerWorkspace int `json:"max_per_workspace"`

	// Running Running BI statements across the deployment; null when no store is available
	Running *int `json:"running"`
}

BIGatewayConcurrency defines model for BIGatewayConcurrency.

type BIGatewayHealth

type BIGatewayHealth struct {
	CheckedAt time.Time             `json:"checked_at"`
	Status    BIGatewayHealthStatus `json:"status"`
}

BIGatewayHealth defines model for BIGatewayHealth.

type BIGatewayHealthStatus

type BIGatewayHealthStatus string

BIGatewayHealthStatus defines model for BIGatewayHealth.Status.

const (
	BIGatewayHealthStatusOk      BIGatewayHealthStatus = "ok"
	BIGatewayHealthStatusUnknown BIGatewayHealthStatus = "unknown"
)

Defines values for BIGatewayHealthStatus.

type BIGatewayReadiness

type BIGatewayReadiness struct {
	BlockedBy []BIGatewayBlocker `json:"blocked_by"`

	// Configured Listener, HMAC secret and public URL are all usable
	Configured bool `json:"configured"`

	// Enabled The global switch
	Enabled            bool `json:"enabled"`
	ListenerConfigured bool `json:"listener_configured"`

	// PublicUrl The externally reachable base URL; never a secret
	PublicUrl *string `json:"public_url"`

	// PublicUrlReady The public URL is an http(s) origin with no path
	PublicUrlReady   bool                    `json:"public_url_ready"`
	SecretConfigured bool                    `json:"secret_configured"`
	State            BIGatewayReadinessState `json:"state"`
}

BIGatewayReadiness Readiness of the BI gateway shared by the global and workspace UIs (ADR 0017). It exposes stable booleans and blocker codes, never the HMAC secret or the internal listener address.

type BIGatewayReadinessState

type BIGatewayReadinessState string

BIGatewayReadinessState defines model for BIGatewayReadiness.State.

const (
	BIGatewayReadinessStateBlocked  BIGatewayReadinessState = "blocked"
	BIGatewayReadinessStateDisabled BIGatewayReadinessState = "disabled"
	BIGatewayReadinessStateReady    BIGatewayReadinessState = "ready"
)

Defines values for BIGatewayReadinessState.

type BIGatewaySettings

type BIGatewaySettings struct {
	Enabled bool
	URL     string
	// ListenerConfigured reports whether BALEIA_BI_GATEWAY_ADDR is set.
	ListenerConfigured bool
	// SecretConfigured reports whether BALEIA_BI_GATEWAY_SECRET is set.
	SecretConfigured bool
	// URLReady reports whether URL is an http(s) origin with no path.
	URLReady bool
	// MaxPerKey and MaxPerWorkspace are the running BI statement limits; 0
	// disables one.
	MaxPerKey       int
	MaxPerWorkspace int
}

BIGatewaySettings describe what the BI data-source file points at (ADR 0017): the listener must be on and have a public URL the BI tool can reach. The readiness fields report configuration without exposing the values themselves: the HMAC secret and the internal listener address stay hidden.

type BIGatewayStatus

type BIGatewayStatus struct {
	BlockedBy   []BIGatewayBlocker   `json:"blocked_by"`
	Concurrency BIGatewayConcurrency `json:"concurrency"`

	// Configured Listener, HMAC secret and public URL are all usable
	Configured bool `json:"configured"`

	// Enabled The global switch
	Enabled            bool            `json:"enabled"`
	Health             BIGatewayHealth `json:"health"`
	ListenerConfigured bool            `json:"listener_configured"`

	// PublicUrl The externally reachable base URL; never a secret
	PublicUrl *string `json:"public_url"`

	// PublicUrlReady The public URL is an http(s) origin with no path
	PublicUrlReady   bool                 `json:"public_url_ready"`
	SecretConfigured bool                 `json:"secret_configured"`
	State            BIGatewayStatusState `json:"state"`
}

BIGatewayStatus defines model for BIGatewayStatus.

type BIGatewayStatusState

type BIGatewayStatusState string

BIGatewayStatusState defines model for BIGatewayStatus.State.

const (
	BIGatewayStatusStateBlocked  BIGatewayStatusState = "blocked"
	BIGatewayStatusStateDisabled BIGatewayStatusState = "disabled"
	BIGatewayStatusStateReady    BIGatewayStatusState = "ready"
)

Defines values for BIGatewayStatusState.

type BiKey

type BiKey struct {
	CreatedAt   time.Time          `json:"created_at"`
	EngineId    openapi_types.UUID `json:"engine_id"`
	ExpiresAt   *time.Time         `json:"expires_at"`
	Id          openapi_types.UUID `json:"id"`
	KeyPrefix   string             `json:"key_prefix"`
	LastUsedAt  *time.Time         `json:"last_used_at"`
	Name        string             `json:"name"`
	OwnerEmail  string             `json:"owner_email"`
	OwnerId     openapi_types.UUID `json:"owner_id"`
	WorkspaceId openapi_types.UUID `json:"workspace_id"`
}

BiKey A workspace-bound BI key (ADR 0017). One key names one workspace and one engine; the BI tool authenticates with HTTP Basic using the owner's e-mail and the key secret.

type BiKeyCreated

type BiKeyCreated struct {
	CreatedAt  time.Time          `json:"created_at"`
	EngineId   openapi_types.UUID `json:"engine_id"`
	ExpiresAt  *time.Time         `json:"expires_at"`
	Id         openapi_types.UUID `json:"id"`
	KeyPrefix  string             `json:"key_prefix"`
	LastUsedAt *time.Time         `json:"last_used_at"`
	Name       string             `json:"name"`
	OwnerEmail string             `json:"owner_email"`
	OwnerId    openapi_types.UUID `json:"owner_id"`

	// Secret The HTTP Basic password; displayed only once upon creation
	Secret      string             `json:"secret"`
	WorkspaceId openapi_types.UUID `json:"workspace_id"`
}

BiKeyCreated defines model for BiKeyCreated.

type BindingProjection

type BindingProjection struct {
	Connector string `json:"connector"`

	// Properties Engine-side properties; secret keys are masked as ***
	Properties map[string]string `json:"properties"`
	Version    *string           `json:"version"`
}

BindingProjection defines model for BindingProjection.

type BindingSupport

type BindingSupport struct {
	// Connectors The first is the default
	Connectors []string `json:"connectors"`

	// ProtectedKeyPatterns Glob patterns (case-insensitive) of extra-property keys that cannot be overridden
	ProtectedKeyPatterns []string `json:"protected_key_patterns"`
	ReservedNames        []string `json:"reserved_names"`
}

BindingSupport defines model for BindingSupport.

type Bundle

type Bundle struct {
	BaleiaVersion *string      `json:"baleia_version,omitempty"`
	Format        string       `json:"format"`
	FormatVersion int          `json:"format_version"`
	Items         []BundleItem `json:"items"`
	Space         BundleSpace  `json:"space"`
}

Bundle defines model for Bundle.

type BundleItem

type BundleItem struct {
	Catalog       *string                 `json:"catalog,omitempty"`
	Certified     *bool                   `json:"certified,omitempty"`
	Definition    *map[string]interface{} `json:"definition,omitempty"`
	Description   *string                 `json:"description,omitempty"`
	Folder        *string                 `json:"folder"`
	FormatVersion *int                    `json:"format_version,omitempty"`
	Kind          BundleItemKind          `json:"kind"`
	Label         *string                 `json:"label,omitempty"`
	Name          *string                 `json:"name,omitempty"`
	Namespace     *[]string               `json:"namespace,omitempty"`
	Parent        *string                 `json:"parent"`
	Slug          string                  `json:"slug"`
	Sql           *string                 `json:"sql,omitempty"`
	Table         *string                 `json:"table,omitempty"`
	Target        *BundleTarget           `json:"target,omitempty"`
}

BundleItem defines model for BundleItem.

type BundleItemKind

type BundleItemKind string

BundleItemKind defines model for BundleItem.Kind.

const (
	BundleItemKindFolder         BundleItemKind = "folder"
	BundleItemKindSavedQuery     BundleItemKind = "saved_query"
	BundleItemKindSemanticMetric BundleItemKind = "semantic_metric"
)

Defines values for BundleItemKind.

type BundleSpace

type BundleSpace struct {
	Name string `json:"name"`
	Slug string `json:"slug"`
}

BundleSpace defines model for BundleSpace.

type BundleTarget

type BundleTarget struct {
	Catalog *string `json:"catalog,omitempty"`
	Engine  *string `json:"engine,omitempty"`
	Schema  *string `json:"schema"`
}

BundleTarget defines model for BundleTarget.

type CancelAssistantTurn202Response

type CancelAssistantTurn202Response struct {
}

func (CancelAssistantTurn202Response) VisitCancelAssistantTurnResponse

func (response CancelAssistantTurn202Response) VisitCancelAssistantTurnResponse(w http.ResponseWriter) error

type CancelAssistantTurn401JSONResponse

type CancelAssistantTurn401JSONResponse struct{ UnauthorizedJSONResponse }

func (CancelAssistantTurn401JSONResponse) VisitCancelAssistantTurnResponse

func (response CancelAssistantTurn401JSONResponse) VisitCancelAssistantTurnResponse(w http.ResponseWriter) error

type CancelAssistantTurn404JSONResponse

type CancelAssistantTurn404JSONResponse struct{ NotFoundJSONResponse }

func (CancelAssistantTurn404JSONResponse) VisitCancelAssistantTurnResponse

func (response CancelAssistantTurn404JSONResponse) VisitCancelAssistantTurnResponse(w http.ResponseWriter) error

type CancelAssistantTurnRequestObject

type CancelAssistantTurnRequestObject struct {
	Id PathId `json:"id"`
}

type CancelAssistantTurnResponseObject

type CancelAssistantTurnResponseObject interface {
	VisitCancelAssistantTurnResponse(w http.ResponseWriter) error
}

type CancelExecution200JSONResponse

type CancelExecution200JSONResponse Execution

func (CancelExecution200JSONResponse) VisitCancelExecutionResponse

func (response CancelExecution200JSONResponse) VisitCancelExecutionResponse(w http.ResponseWriter) error

type CancelExecution401JSONResponse

type CancelExecution401JSONResponse struct{ UnauthorizedJSONResponse }

func (CancelExecution401JSONResponse) VisitCancelExecutionResponse

func (response CancelExecution401JSONResponse) VisitCancelExecutionResponse(w http.ResponseWriter) error

type CancelExecution404JSONResponse

type CancelExecution404JSONResponse struct{ NotFoundJSONResponse }

func (CancelExecution404JSONResponse) VisitCancelExecutionResponse

func (response CancelExecution404JSONResponse) VisitCancelExecutionResponse(w http.ResponseWriter) error

type CancelExecutionRequestObject

type CancelExecutionRequestObject struct {
	Id          PathId             `json:"id"`
	ExecutionId openapi_types.UUID `json:"execution_id"`
}

type CancelExecutionResponseObject

type CancelExecutionResponseObject interface {
	VisitCancelExecutionResponse(w http.ResponseWriter) error
}

type CancelMigration200JSONResponse

type CancelMigration200JSONResponse Migration

func (CancelMigration200JSONResponse) VisitCancelMigrationResponse

func (response CancelMigration200JSONResponse) VisitCancelMigrationResponse(w http.ResponseWriter) error

type CancelMigration401JSONResponse

type CancelMigration401JSONResponse struct{ UnauthorizedJSONResponse }

func (CancelMigration401JSONResponse) VisitCancelMigrationResponse

func (response CancelMigration401JSONResponse) VisitCancelMigrationResponse(w http.ResponseWriter) error

type CancelMigration403JSONResponse

type CancelMigration403JSONResponse struct{ ForbiddenJSONResponse }

func (CancelMigration403JSONResponse) VisitCancelMigrationResponse

func (response CancelMigration403JSONResponse) VisitCancelMigrationResponse(w http.ResponseWriter) error

type CancelMigration404JSONResponse

type CancelMigration404JSONResponse struct{ NotFoundJSONResponse }

func (CancelMigration404JSONResponse) VisitCancelMigrationResponse

func (response CancelMigration404JSONResponse) VisitCancelMigrationResponse(w http.ResponseWriter) error

type CancelMigrationRequestObject

type CancelMigrationRequestObject struct {
	Id PathId `json:"id"`
}

type CancelMigrationResponseObject

type CancelMigrationResponseObject interface {
	VisitCancelMigrationResponse(w http.ResponseWriter) error
}

type Catalog

type Catalog struct {
	AllowedActions *[]CatalogAllowedAction `json:"allowed_actions,omitempty"`

	// CatalogVersion SHA-256 hash of the registered properties (matches the plugin's computeCatalogVersion)
	CatalogVersion *string `json:"catalog_version"`

	// Config The catalog's own configuration, validated against the connection type's catalog_schema (GET /connection-providers). Empty for types whose catalogs take none.
	Config       *map[string]string  `json:"config,omitempty"`
	ConnectionId *openapi_types.UUID `json:"connection_id,omitempty"`
	Connector    *string             `json:"connector,omitempty"`
	CreatedAt    *time.Time          `json:"created_at,omitempty"`
	Description  *string             `json:"description"`

	// Discoverable The owner marked the catalog discoverable so workspace admins can find and request it (default off: a catalog name is itself information).
	Discoverable *bool               `json:"discoverable,omitempty"`
	Enabled      *bool               `json:"enabled,omitempty"`
	Id           *openapi_types.UUID `json:"id,omitempty"`

	// MetadataSyncErrorCode The latest pass's error code when it failed (see MetadataSyncRun.error_code).
	MetadataSyncErrorCode *string `json:"metadata_sync_error_code"`

	// MetadataSyncStatus Status of the latest metadata pass. Every catalog is refreshed every BALEIA_METADATA_SYNC_INTERVAL (15m) and right after it is created or changed.
	MetadataSyncStatus *CatalogMetadataSyncStatus `json:"metadata_sync_status,omitempty"`

	// MetadataSyncedAt End of the latest finished metadata pass of the catalog (#17); null before the first one.
	MetadataSyncedAt *time.Time `json:"metadata_synced_at"`
	Name             *string    `json:"name,omitempty"`
	SyncError        *string    `json:"sync_error"`

	// SyncStatus The derived sync status of the catalog's binding on its Trino cluster (see CatalogBinding.sync_status; draining is no longer produced).
	SyncStatus *CatalogSyncStatus `json:"sync_status,omitempty"`

	// TrinoCatalogName Trino catalog identifier (lowercase, letters/digits/underscore).
	TrinoCatalogName *string    `json:"trino_catalog_name,omitempty"`
	UpdatedAt        *time.Time `json:"updated_at,omitempty"`

	// Warehouse Iceberg warehouse identifier
	Warehouse *string `json:"warehouse,omitempty"`
}

Catalog defines model for Catalog.

type CatalogAllowedAction

type CatalogAllowedAction string

CatalogAllowedAction defines model for CatalogAllowedAction.

const (
	CatalogAllowedActionBrowse             CatalogAllowedAction = "browse"
	CatalogAllowedActionCreateBinding      CatalogAllowedAction = "create_binding"
	CatalogAllowedActionDelete             CatalogAllowedAction = "delete"
	CatalogAllowedActionGrant              CatalogAllowedAction = "grant"
	CatalogAllowedActionManageDataPolicies CatalogAllowedAction = "manage_data_policies"
	CatalogAllowedActionSyncMetadata       CatalogAllowedAction = "sync_metadata"
	CatalogAllowedActionUpdate             CatalogAllowedAction = "update"
	CatalogAllowedActionView               CatalogAllowedAction = "view"
)

Defines values for CatalogAllowedAction.

type CatalogBinding

type CatalogBinding struct {
	AllowedActions *[]CatalogBindingAllowedAction `json:"allowed_actions,omitempty"`
	CatalogId      openapi_types.UUID             `json:"catalog_id"`
	Connector      *string                        `json:"connector"`
	Enabled        bool                           `json:"enabled"`

	// EngineCatalogName The catalog's name in SQL on that engine
	EngineCatalogName string             `json:"engine_catalog_name"`
	EngineId          openapi_types.UUID `json:"engine_id"`
	ExtraProps        *map[string]string `json:"extra_props,omitempty"`
	Id                openapi_types.UUID `json:"id"`

	// LastErrorCode e.g. plugin_not_confirmed, engine_unavailable, engine_load_failed (the engine refused to load the catalog; sync the binding to apply it again), the engine's error name
	LastErrorCode    *string `json:"last_error_code"`
	LastErrorMessage *string `json:"last_error_message"`

	// LifecycleState Where Baleia is in applying the binding (#38)
	LifecycleState *CatalogBindingLifecycleState `json:"lifecycle_state,omitempty"`
	Mode           CatalogBindingMode            `json:"mode"`

	// SyncStatus Derived: synced when the binding is active, the engine confirmed the desired version (Trino: the plugin rewrote the registry row) and the engine does not report it missing; pending while provisioning or updating or not yet confirmed; error (also when the engine could not load the active binding's catalog at boot, last_error_code engine_load_failed); disabled while deprovisioning or disabled.
	SyncStatus *CatalogBindingSyncStatus `json:"sync_status"`

	// Version Version of the projection applied (write responses, when synced)
	Version *string `json:"version"`
}

CatalogBinding defines model for CatalogBinding.

type CatalogBindingAllowedAction

type CatalogBindingAllowedAction string

CatalogBindingAllowedAction defines model for CatalogBindingAllowedAction.

const (
	CatalogBindingAllowedActionDelete CatalogBindingAllowedAction = "delete"
	CatalogBindingAllowedActionSync   CatalogBindingAllowedAction = "sync"
	CatalogBindingAllowedActionUpdate CatalogBindingAllowedAction = "update"
	CatalogBindingAllowedActionView   CatalogBindingAllowedAction = "view"
)

Defines values for CatalogBindingAllowedAction.

type CatalogBindingLifecycleState

type CatalogBindingLifecycleState string

CatalogBindingLifecycleState Where Baleia is in applying the binding (#38)

const (
	CatalogBindingLifecycleStateActive         CatalogBindingLifecycleState = "active"
	CatalogBindingLifecycleStateDeprovisioning CatalogBindingLifecycleState = "deprovisioning"
	CatalogBindingLifecycleStateDisabled       CatalogBindingLifecycleState = "disabled"
	CatalogBindingLifecycleStateError          CatalogBindingLifecycleState = "error"
	CatalogBindingLifecycleStateProvisioning   CatalogBindingLifecycleState = "provisioning"
	CatalogBindingLifecycleStateUpdating       CatalogBindingLifecycleState = "updating"
)

Defines values for CatalogBindingLifecycleState.

type CatalogBindingMode

type CatalogBindingMode string

CatalogBindingMode defines model for CatalogBinding.Mode.

const (
	CatalogBindingModeAdopted CatalogBindingMode = "adopted"
	CatalogBindingModeManaged CatalogBindingMode = "managed"
	CatalogBindingModeNative  CatalogBindingMode = "native"
)

Defines values for CatalogBindingMode.

type CatalogBindingRef

type CatalogBindingRef struct {
	Connector         *string            `json:"connector"`
	Engine            CatalogEngineRef   `json:"engine"`
	EngineCatalogName string             `json:"engine_catalog_name"`
	Id                openapi_types.UUID `json:"id"`
	LifecycleState    string             `json:"lifecycle_state"`

	// Mode managed, adopted or native
	Mode           string     `json:"mode"`
	StateChangedAt *time.Time `json:"state_changed_at"`
	SyncStatus     *string    `json:"sync_status"`
}

CatalogBindingRef defines model for CatalogBindingRef.

type CatalogBindingSyncStatus

type CatalogBindingSyncStatus string

CatalogBindingSyncStatus Derived: synced when the binding is active, the engine confirmed the desired version (Trino: the plugin rewrote the registry row) and the engine does not report it missing; pending while provisioning or updating or not yet confirmed; error (also when the engine could not load the active binding's catalog at boot, last_error_code engine_load_failed); disabled while deprovisioning or disabled.

const (
	CatalogBindingSyncStatusDisabled CatalogBindingSyncStatus = "disabled"
	CatalogBindingSyncStatusError    CatalogBindingSyncStatus = "error"
	CatalogBindingSyncStatusPending  CatalogBindingSyncStatus = "pending"
	CatalogBindingSyncStatusSynced   CatalogBindingSyncStatus = "synced"
)

Defines values for CatalogBindingSyncStatus.

type CatalogConnection

type CatalogConnection struct {
	// AccessMode The connection's data access mode (ADR 0021). Absent for engine-family resources, which are not a data access path
	AccessMode     *CatalogConnectionAccessMode      `json:"access_mode,omitempty"`
	AllowedActions *[]CatalogConnectionAllowedAction `json:"allowed_actions,omitempty"`

	// Config Non-secret values of the provider's config schema. Secret fields are never returned
	Config    map[string]string `json:"config"`
	CreatedAt time.Time         `json:"created_at"`

	// CredentialsReadOnly The administrator asserts these credentials cannot modify data. Required for agents and semantic custom SQL on engines that cannot enforce read-only sessions (#11/#59, #651)
	CredentialsReadOnly bool `json:"credentials_read_only"`

	// HasCredentials Whether stored credentials exist; the secret itself is never returned
	HasCredentials bool               `json:"has_credentials"`
	Host           *string            `json:"host,omitempty"`
	Id             openapi_types.UUID `json:"id"`
	Name           string             `json:"name"`
	Port           *string            `json:"port,omitempty"`

	// Type Connection kind; one of the kinds listed by GET /connection-providers
	Type      string     `json:"type"`
	UpdatedAt *time.Time `json:"updated_at,omitempty"`

	// Url Deprecated: read config. Kept while the Trino projection still reads it (#80)
	Url string `json:"url"`
}

CatalogConnection defines model for CatalogConnection.

type CatalogConnectionAccessMode

type CatalogConnectionAccessMode string

CatalogConnectionAccessMode The connection's data access mode (ADR 0021). Absent for engine-family resources, which are not a data access path

const (
	CatalogConnectionAccessModeDirect    CatalogConnectionAccessMode = "direct"
	CatalogConnectionAccessModeFederated CatalogConnectionAccessMode = "federated"
)

Defines values for CatalogConnectionAccessMode.

type CatalogConnectionAllowedAction

type CatalogConnectionAllowedAction string

CatalogConnectionAllowedAction defines model for CatalogConnectionAllowedAction.

const (
	CatalogConnectionAllowedActionCreateCatalog CatalogConnectionAllowedAction = "create_catalog"
	CatalogConnectionAllowedActionDelete        CatalogConnectionAllowedAction = "delete"
	CatalogConnectionAllowedActionTest          CatalogConnectionAllowedAction = "test"
	CatalogConnectionAllowedActionUpdate        CatalogConnectionAllowedAction = "update"
	CatalogConnectionAllowedActionView          CatalogConnectionAllowedAction = "view"
)

Defines values for CatalogConnectionAllowedAction.

type CatalogConnectionCreated

type CatalogConnectionCreated struct {
	// AccessMode The connection's data access mode (ADR 0021). Absent for engine-family resources, which are not a data access path
	AccessMode     *CatalogConnectionCreatedAccessMode `json:"access_mode,omitempty"`
	AllowedActions *[]CatalogConnectionAllowedAction   `json:"allowed_actions,omitempty"`
	Catalogs       []Catalog                           `json:"catalogs"`

	// Config Non-secret values of the provider's config schema. Secret fields are never returned
	Config    map[string]string `json:"config"`
	CreatedAt time.Time         `json:"created_at"`

	// CredentialsReadOnly The administrator asserts these credentials cannot modify data. Required for agents and semantic custom SQL on engines that cannot enforce read-only sessions (#11/#59, #651)
	CredentialsReadOnly bool `json:"credentials_read_only"`

	// Engine The native engine a direct connection owns; absent for federated connections
	Engine *Engine `json:"engine"`

	// HasCredentials Whether stored credentials exist; the secret itself is never returned
	HasCredentials bool               `json:"has_credentials"`
	Host           *string            `json:"host,omitempty"`
	Id             openapi_types.UUID `json:"id"`
	Name           string             `json:"name"`
	Port           *string            `json:"port,omitempty"`

	// Type Connection kind; one of the kinds listed by GET /connection-providers
	Type      string     `json:"type"`
	UpdatedAt *time.Time `json:"updated_at,omitempty"`

	// Url Deprecated: read config. Kept while the Trino projection still reads it (#80)
	Url string `json:"url"`
}

CatalogConnectionCreated defines model for CatalogConnectionCreated.

type CatalogConnectionCreatedAccessMode

type CatalogConnectionCreatedAccessMode string

CatalogConnectionCreatedAccessMode The connection's data access mode (ADR 0021). Absent for engine-family resources, which are not a data access path

const (
	CatalogConnectionCreatedAccessModeDirect    CatalogConnectionCreatedAccessMode = "direct"
	CatalogConnectionCreatedAccessModeFederated CatalogConnectionCreatedAccessMode = "federated"
)

Defines values for CatalogConnectionCreatedAccessMode.

type CatalogConnectionImpact

type CatalogConnectionImpact struct {
	Bindings int `json:"bindings"`
	Catalogs int `json:"catalogs"`

	// Engine The engine this connection backs, if any
	Engine            *EngineConnectionRef `json:"engine"`
	RunningExecutions int                  `json:"running_executions"`
}

CatalogConnectionImpact defines model for CatalogConnectionImpact.

type CatalogDataPolicies

type CatalogDataPolicies struct {
	// Draft The catalog's policies differ from the published revision
	Draft bool `json:"draft"`

	// Enabled BALEIA_DATA_POLICIES=opa
	Enabled bool `json:"enabled"`

	// Names The catalog's names on the engines that enforce data policies
	Names    []string     `json:"names"`
	Policies []DataPolicy `json:"policies"`
}

CatalogDataPolicies defines model for CatalogDataPolicies.

type CatalogEngineRef

type CatalogEngineRef struct {
	Class string             `json:"class"`
	Id    openapi_types.UUID `json:"id"`
	Kind  string             `json:"kind"`
	Name  string             `json:"name"`
}

CatalogEngineRef defines model for CatalogEngineRef.

type CatalogGrant

type CatalogGrant struct {
	GrantedAt time.Time           `json:"granted_at"`
	GrantedBy *openapi_types.UUID `json:"granted_by"`
	Workspace struct {
		Id   openapi_types.UUID `json:"id"`
		Name string             `json:"name"`
		Type *string            `json:"type,omitempty"`
	} `json:"workspace"`
}

CatalogGrant defines model for CatalogGrant.

type CatalogGrantItem

type CatalogGrantItem struct {
	AllowedActions    *[]string                        `json:"allowed_actions,omitempty"`
	CatalogId         openapi_types.UUID               `json:"catalog_id"`
	CatalogName       *string                          `json:"catalog_name,omitempty"`
	ConnectionName    *string                          `json:"connection_name"`
	EngineCatalogName *string                          `json:"engine_catalog_name"`
	GrantedAt         *time.Time                       `json:"granted_at"`
	GrantedBy         *openapi_types.UUID              `json:"granted_by"`
	InitiatedBySide   *CatalogGrantItemInitiatedBySide `json:"initiated_by_side"`
	RequestedAt       *time.Time                       `json:"requested_at"`
	RequestedBy       *openapi_types.UUID              `json:"requested_by"`
	State             CatalogGrantItemState            `json:"state"`
	WorkspaceId       openapi_types.UUID               `json:"workspace_id"`
	WorkspaceName     *string                          `json:"workspace_name"`
}

CatalogGrantItem defines model for CatalogGrantItem.

type CatalogGrantItemInitiatedBySide

type CatalogGrantItemInitiatedBySide string

CatalogGrantItemInitiatedBySide defines model for CatalogGrantItem.InitiatedBySide.

const (
	CatalogGrantItemInitiatedBySideCatalog   CatalogGrantItemInitiatedBySide = "catalog"
	CatalogGrantItemInitiatedBySideWorkspace CatalogGrantItemInitiatedBySide = "workspace"
)

Defines values for CatalogGrantItemInitiatedBySide.

type CatalogGrantItemState

type CatalogGrantItemState string

CatalogGrantItemState defines model for CatalogGrantItem.State.

const (
	CatalogGrantItemStateActive  CatalogGrantItemState = "active"
	CatalogGrantItemStatePending CatalogGrantItemState = "pending"
)

Defines values for CatalogGrantItemState.

type CatalogGrantRequest

type CatalogGrantRequest struct {
	CatalogId   openapi_types.UUID `json:"catalog_id"`
	WorkspaceId openapi_types.UUID `json:"workspace_id"`
}

CatalogGrantRequest defines model for CatalogGrantRequest.

type CatalogHandlers

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

CatalogHandlers serves connections, catalogs, engines, bindings and their metadata (#365).

func (*CatalogHandlers) ApproveCatalogGrant

ApproveCatalogGrant — POST /catalog-grants/{workspace_id}/{catalog_id}/approve. The other party turns a pending request into an active grant in one transaction.

func (*CatalogHandlers) CreateCatalog

CreateCatalog — POST /connections/{connection_id}/catalogs Write-through flow (CR-017 §I7b) through the Trino binder (#80): the catalog row and the registry row are written in one transaction, then CREATE CATALOG is sent.

func (*CatalogHandlers) CreateCatalogGrant

CreateCatalogGrant — POST /catalog-grants. The caller's rights decide the outcome: both rights are a direct grant, only the catalog side is an offer, only the workspace side is a request.

func (*CatalogHandlers) CreateEngine

CreateEngine atomically registers an engine-family connection and its federated engine. The engine starts without user-defined catalog bindings.

func (*CatalogHandlers) CreateWorkloadRule

CreateWorkloadRule — POST /workload-rules (#539).

func (*CatalogHandlers) DeleteCatalog

DeleteCatalog — DELETE /connections/{connection_id}/catalogs/{catalog_id} Soft delete (enabled=false) + soft-delete registry row + DROP at Trino.

func (*CatalogHandlers) DeleteCatalogDetail

DeleteCatalogDetail — DELETE /catalogs/{catalog_id} (#109). Source catalogs are disabled and their managed bindings deprovisioned; native catalogs belong to their engine.

func (*CatalogHandlers) DeleteCatalogGrant

DeleteCatalogGrant — DELETE /catalog-grants/{workspace_id}/{catalog_id}. Declines a pending request or unlinks an active grant.

func (*CatalogHandlers) DeleteEngine

DeleteEngine removes an engine with its native catalogs and bindings. It is refused while managed bindings or running executions exist.

func (*CatalogHandlers) DeleteWorkloadRule

DeleteWorkloadRule — DELETE /workload-rules/{rule_id} (#539).

func (*CatalogHandlers) DiscoverEngineCatalogs

DiscoverEngineCatalogs — POST /engines/{id}/discover (#110). Runs native catalog discovery now and reports what changed.

func (*CatalogHandlers) ExplainSQL

ExplainSQL — POST /dialects/{name}/explain (#112): the dialect decides the statement; the client never prefixes EXPLAIN itself.

func (*CatalogHandlers) GetCatalog

GetCatalog — GET /connections/{connection_id}/catalogs/{catalog_id}

func (*CatalogHandlers) GetCatalogBinding

GetCatalogBinding — GET /bindings/{id} (#109).

func (*CatalogHandlers) GetCatalogBindingProjection

GetCatalogBindingProjection — GET /bindings/{id}/projection (#109). Secret values are replaced by ***; env references are shown as-is.

func (*CatalogHandlers) GetCatalogConnectionImpact

GetCatalogConnectionImpact — GET /catalog-connections/{id}/impact (#109).

func (*CatalogHandlers) GetCatalogDetail

GetCatalogDetail — GET /catalogs/{catalog_id} (#109).

func (*CatalogHandlers) GetCatalogImpact

GetCatalogImpact — GET /catalogs/{catalog_id}/impact (#109).

func (*CatalogHandlers) GetDialect

func (*CatalogHandlers) GetEngine

func (*CatalogHandlers) GetEngineImpact

GetEngineImpact — GET /engines/{id}/impact (#110).

func (*CatalogHandlers) GetEngineQueues

GetEngineQueues — GET /engines/{id}/queues (#540). Admins and the engine owner see the configured capacity and the live depth of every class.

func (*CatalogHandlers) GetMetadataTable

GetMetadataTable — GET /workspaces/{id}/metadata/tables/{table_id} Types and the qualified name are rendered for one of the catalog's bindings: the given one, else its first enabled binding.

func (*CatalogHandlers) GetReconcileRun

GetReconcileRun — GET /engines/{id}/reconcile-runs/{run_id}. Admins only.

func (*CatalogHandlers) ListAllCatalogs

ListAllCatalogs — GET /catalogs (#109). Logical catalogs the caller may view, with their bindings, freshness and allowed actions.

func (*CatalogHandlers) ListCatalogBindings

func (*CatalogHandlers) ListCatalogConnections

ListCatalogConnections — GET /catalog-connections (#385). The caller's own connections; an admin sees every one, including the ownerless bootstrap connection, as authz.Connection allows.

func (*CatalogHandlers) ListCatalogGrantItems

ListCatalogGrantItems — GET /catalog-grants. Exactly one of workspace_id or catalog_id selects the side the caller manages; the result is the active grants and the pending requests on that side.

func (*CatalogHandlers) ListCatalogGrants

ListCatalogGrants — GET /catalogs/{catalog_id}/grants (#109).

func (*CatalogHandlers) ListCatalogMetadataSyncRuns

ListCatalogMetadataSyncRuns — GET /catalogs/{catalog_id}/metadata/sync-runs Anyone who may read the catalog sees how its passes ended (codes only).

func (*CatalogHandlers) ListCatalogs

ListCatalogs — GET /connections/{connection_id}/catalogs

func (*CatalogHandlers) ListConnectionCategories

ListConnectionCategories returns the categories in presentation order, with their display names and descriptions (ADR 0021 D.10 / CR-13). Static metadata: any authenticated caller may read it.

func (*CatalogHandlers) ListConnectionProviders

ListConnectionProviders returns every provider with its config schema. Static metadata: any authenticated caller may read it.

func (*CatalogHandlers) ListEngineBindings

func (*CatalogHandlers) ListEngineObservations

ListEngineObservations — GET /engines/{id}/observations (#110).

func (*CatalogHandlers) ListEngines

ListEngines returns every engine to an admin, else the engines on the caller's connections and those hosting a catalog granted to them.

func (*CatalogHandlers) ListGrantableWorkspaces

ListGrantableWorkspaces — GET /catalogs/{catalog_id}/grantable-workspaces.

func (*CatalogHandlers) ListJoinSuggestions

ListJoinSuggestions — GET /workspaces/{id}/metadata/join-suggestions The equi-join conditions a workspace used between two tables in the last 90 days, ranked by a 30-day half-life decay, plus the foreign keys between them (B1, #554). Both tables are resolved grant-scoped: a table of a catalog the workspace may not use is a 404, never an empty list.

func (*CatalogHandlers) ListLineage

ListLineage — GET /workspaces/{id}/lineage

func (*CatalogHandlers) ListMetadataCatalogs

ListMetadataCatalogs — GET /workspaces/{id}/metadata/catalogs

func (*CatalogHandlers) ListMetadataFunctions

ListMetadataFunctions — GET /workspaces/{id}/metadata/functions

Unlike the other metadata reads it calls the engine: the function catalog is engine metadata the snapshot does not carry. It is introspected on demand and cached per binding (#788).

func (*CatalogHandlers) ListMetadataNamespaces

ListMetadataNamespaces — GET /workspaces/{id}/metadata/catalogs/{catalog_id}/namespaces

func (*CatalogHandlers) ListMetadataTables

ListMetadataTables — GET /workspaces/{id}/metadata/catalogs/{catalog_id}/tables Pages by name: the cursor is the last name of the previous page, encoded.

func (*CatalogHandlers) ListPopularTables

ListPopularTables — GET /workspaces/{id}/metadata/popular-tables The tables the workspace read most in the last 30 days, from the scheduled popularity pass (B7, #562), live and grant-scoped.

func (*CatalogHandlers) ListReconcileRuns

ListReconcileRuns — GET /engines/{id}/reconcile-runs. Admins only.

func (*CatalogHandlers) ListRequestableCatalogs

ListRequestableCatalogs — GET /workspaces/{id}/requestable-catalogs.

func (*CatalogHandlers) ListWorkloadRules

ListWorkloadRules — GET /workload-rules (#539).

func (*CatalogHandlers) ListWorkspaceCatalogs

func (h *CatalogHandlers) ListWorkspaceCatalogs(w http.ResponseWriter, r *http.Request)

ListWorkspaceCatalogs lists catalogs visible to a workspace. Source of truth is the catalogs table in PostgreSQL; the plugin loads them into Trino at boot. No more dynamic discovery via Polaris REST, no more ensureTrinoCatalogs — that was the path L1 of CR-017 removed.

func (*CatalogHandlers) PutEngineQueues

PutEngineQueues — PUT /engines/{id}/queues (#540). Writes the capacities, the queue timeouts and the optional ceiling, then signals the engine's admission workflow so the change applies without a restart. While the engine hands admission to Trino (#600), the same transaction publishes the resource groups generated from those capacities (#635), so Baleia never stops queuing a run that Trino has no group for.

func (*CatalogHandlers) ReconcileEngine

ReconcileEngine — POST /engines/{id}/reconcile (#37). Admins only; a dry run unless dry_run=false.

func (*CatalogHandlers) ReconcileTrino

ReconcileTrino — POST /trino/reconcile Read-only comparison of the registry vs live Trino catalog list. It exposes every catalog in the cluster, so it is for global administrators only.

func (CatalogHandlers) ResolveTarget

func (h CatalogHandlers) ResolveTarget(ctx context.Context, ws db.Workspace, req *TargetRequest) (queryengine.Target, error)

ResolveTarget decides where a run executes (#13):

  1. an explicit binding, or a catalog (with engine_id when it is bound to several engines);
  2. else the workspace default target;
  3. else the workspace's only target (one catalog with one binding);
  4. else 422 target_required.

The binding's catalog must be one the workspace may use (#16), else 404; the binding, engine and catalog must be enabled, else 422 target_unavailable. A grant never makes the target read-only: the engine and the catalog manager decide what may be written (#651). There is no fallback to the workspace owner's first catalog or to polaris_catalog_name.

func (*CatalogHandlers) SearchMetadata

SearchMetadata — GET /workspaces/{id}/metadata/search

func (*CatalogHandlers) SetCatalogDiscoverable

SetCatalogDiscoverable — PATCH /catalogs/{catalog_id}/discoverable.

func (*CatalogHandlers) SplitStatements

SplitStatements answers statement offsets in UTF-16 code units, the indices of the editor's JavaScript strings.

func (*CatalogHandlers) SyncCatalog

SyncCatalog — POST /catalogs/{catalog_id}/sync

func (*CatalogHandlers) SyncCatalogBinding

func (*CatalogHandlers) SyncCatalogMetadata

SyncCatalogMetadata — POST /catalogs/{catalog_id}/metadata/sync Starts one metadata pass of the catalog on the worker (#15). One pass per catalog runs at a time: the workflow id is the catalog's.

func (*CatalogHandlers) TestConnectionDraft

TestConnectionDraft — POST /catalog-connections/test (#12): the checks on settings not saved yet. Nothing is persisted.

func (*CatalogHandlers) TestEngine

TestEngine — POST /engines/{id}/test (#110). Runs the checks on the registered instance, so it exercises exactly the adapter a query would use.

func (*CatalogHandlers) TestWorkloadRule

TestWorkloadRule — POST /workload-rules:test (#539). Returns the class the hypothetical run would get and the rule (or origin/default step) that chose it.

func (*CatalogHandlers) UpdateCatalog

UpdateCatalog — PATCH /connections/{connection_id}/catalogs/{catalog_id} Rename (trino_catalog_name change) → DROP old + soft-delete the old registry row + UPDATE the domain row (including the new name) + re-create under the new name. Other changes: UPDATE + DROP + registry upsert + CREATE.

func (*CatalogHandlers) UpdateCatalogDetail

UpdateCatalogDetail — PATCH /catalogs/{catalog_id} (#109). Renames the display name; bundles and metrics reference catalogs by name.

func (*CatalogHandlers) UpdateEngine

func (*CatalogHandlers) UpdateWorkloadRule

UpdateWorkloadRule — PATCH /workload-rules/{rule_id} (#539).

type CatalogImpact

type CatalogImpact struct {
	Bindings              int `json:"bindings"`
	Docs                  int `json:"docs"`
	Grants                int `json:"grants"`
	Metrics               int `json:"metrics"`
	RunningExecutions     int `json:"running_executions"`
	SavedQueriesTargeting int `json:"saved_queries_targeting"`
}

CatalogImpact defines model for CatalogImpact.

type CatalogMaintenancePlanItem

type CatalogMaintenancePlanItem struct {
	LastRun   *MaintenanceRun `json:"last_run"`
	Mode      MaintenanceMode `json:"mode"`
	Namespace string          `json:"namespace"`
	Plan      MaintenancePlan `json:"plan"`
	TableName string          `json:"table_name"`
}

CatalogMaintenancePlanItem defines model for CatalogMaintenancePlanItem.

type CatalogMetadataSyncStatus

type CatalogMetadataSyncStatus string

CatalogMetadataSyncStatus Status of the latest metadata pass. Every catalog is refreshed every BALEIA_METADATA_SYNC_INTERVAL (15m) and right after it is created or changed.

const (
	CatalogMetadataSyncStatusFailed   CatalogMetadataSyncStatus = "failed"
	CatalogMetadataSyncStatusFinished CatalogMetadataSyncStatus = "finished"
	CatalogMetadataSyncStatusNever    CatalogMetadataSyncStatus = "never"
	CatalogMetadataSyncStatusRunning  CatalogMetadataSyncStatus = "running"
)

Defines values for CatalogMetadataSyncStatus.

type CatalogSummary

type CatalogSummary struct {
	AllowedActions *[]CatalogAllowedAction `json:"allowed_actions,omitempty"`
	Bindings       []CatalogBindingRef     `json:"bindings"`

	// CatalogVersion SHA-256 hash of the registered properties (matches the plugin's computeCatalogVersion)
	CatalogVersion *string `json:"catalog_version"`

	// Config The catalog's own configuration, validated against the connection type's catalog_schema (GET /connection-providers). Empty for types whose catalogs take none.
	Config *map[string]string `json:"config,omitempty"`

	// Connection Null when the caller cannot view the connection
	Connection   *EngineConnectionRef `json:"connection"`
	ConnectionId *openapi_types.UUID  `json:"connection_id,omitempty"`
	Connector    *string              `json:"connector,omitempty"`
	CreatedAt    *time.Time           `json:"created_at,omitempty"`
	Description  *string              `json:"description"`

	// Discoverable The owner marked the catalog discoverable so workspace admins can find and request it (default off: a catalog name is itself information).
	Discoverable *bool               `json:"discoverable,omitempty"`
	Enabled      *bool               `json:"enabled,omitempty"`
	Id           *openapi_types.UUID `json:"id,omitempty"`

	// MetadataSyncErrorCode The latest pass's error code when it failed (see MetadataSyncRun.error_code).
	MetadataSyncErrorCode *string `json:"metadata_sync_error_code"`

	// MetadataSyncStatus Status of the latest metadata pass. Every catalog is refreshed every BALEIA_METADATA_SYNC_INTERVAL (15m) and right after it is created or changed.
	MetadataSyncStatus *CatalogSummaryMetadataSyncStatus `json:"metadata_sync_status,omitempty"`

	// MetadataSyncedAt End of the latest finished metadata pass of the catalog (#17); null before the first one.
	MetadataSyncedAt *time.Time `json:"metadata_synced_at"`
	Name             *string    `json:"name,omitempty"`
	NamespaceCount   *int       `json:"namespace_count,omitempty"`
	NeedsAttention   bool       `json:"needs_attention"`

	// Origin source or native
	Origin       string  `json:"origin"`
	ProviderKind *string `json:"provider_kind"`

	// ReadOnly Baleia never writes to this catalog: its connection kind promises no writes, or the administrator asserted its credentials are read-only. Table health still runs; maintenance does not. False when the caller cannot read the connection.
	ReadOnly  bool    `json:"read_only"`
	SourceRef *string `json:"source_ref"`
	SyncError *string `json:"sync_error"`

	// SyncStatus The derived sync status of the catalog's binding on its Trino cluster (see CatalogBinding.sync_status; draining is no longer produced).
	SyncStatus *CatalogSummarySyncStatus `json:"sync_status,omitempty"`
	TableCount *int                      `json:"table_count,omitempty"`

	// TableHealth The catalog is a source catalog of an Iceberg-family connection: its tables get health passes and Iceberg maintenance. False when the caller cannot read the connection.
	TableHealth bool `json:"table_health"`

	// TrinoCatalogName Trino catalog identifier (lowercase, letters/digits/underscore).
	TrinoCatalogName *string    `json:"trino_catalog_name,omitempty"`
	UpdatedAt        *time.Time `json:"updated_at,omitempty"`

	// Warehouse Iceberg warehouse identifier
	Warehouse *string `json:"warehouse,omitempty"`
}

CatalogSummary defines model for CatalogSummary.

type CatalogSummaryMetadataSyncStatus

type CatalogSummaryMetadataSyncStatus string

CatalogSummaryMetadataSyncStatus Status of the latest metadata pass. Every catalog is refreshed every BALEIA_METADATA_SYNC_INTERVAL (15m) and right after it is created or changed.

const (
	CatalogSummaryMetadataSyncStatusFailed   CatalogSummaryMetadataSyncStatus = "failed"
	CatalogSummaryMetadataSyncStatusFinished CatalogSummaryMetadataSyncStatus = "finished"
	CatalogSummaryMetadataSyncStatusNever    CatalogSummaryMetadataSyncStatus = "never"
	CatalogSummaryMetadataSyncStatusRunning  CatalogSummaryMetadataSyncStatus = "running"
)

Defines values for CatalogSummaryMetadataSyncStatus.

type CatalogSummarySyncStatus

type CatalogSummarySyncStatus string

CatalogSummarySyncStatus The derived sync status of the catalog's binding on its Trino cluster (see CatalogBinding.sync_status; draining is no longer produced).

const (
	CatalogSummarySyncStatusDisabled CatalogSummarySyncStatus = "disabled"
	CatalogSummarySyncStatusDraining CatalogSummarySyncStatus = "draining"
	CatalogSummarySyncStatusError    CatalogSummarySyncStatus = "error"
	CatalogSummarySyncStatusPending  CatalogSummarySyncStatus = "pending"
	CatalogSummarySyncStatusSynced   CatalogSummarySyncStatus = "synced"
)

Defines values for CatalogSummarySyncStatus.

type CatalogSyncStatus

type CatalogSyncStatus string

CatalogSyncStatus The derived sync status of the catalog's binding on its Trino cluster (see CatalogBinding.sync_status; draining is no longer produced).

const (
	CatalogSyncStatusDisabled CatalogSyncStatus = "disabled"
	CatalogSyncStatusDraining CatalogSyncStatus = "draining"
	CatalogSyncStatusError    CatalogSyncStatus = "error"
	CatalogSyncStatusPending  CatalogSyncStatus = "pending"
	CatalogSyncStatusSynced   CatalogSyncStatus = "synced"
)

Defines values for CatalogSyncStatus.

type ChiServerOptions

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

type ClusterPoint

type ClusterPoint struct {
	ActiveWorkers    int       `json:"active_workers"`
	BlockedQueries   int       `json:"blocked_queries"`
	CapturedAt       time.Time `json:"captured_at"`
	FreeMemoryBytes  *int      `json:"free_memory_bytes"`
	QueuedQueries    int       `json:"queued_queries"`
	RunningQueries   int       `json:"running_queries"`
	TotalMemoryBytes *int      `json:"total_memory_bytes"`
}

ClusterPoint defines model for ClusterPoint.

type ClusterSeries

type ClusterSeries struct {
	Latest *ClusterPoint  `json:"latest"`
	Series []ClusterPoint `json:"series"`
}

ClusterSeries defines model for ClusterSeries.

type CompileExploreQuery200JSONResponse

type CompileExploreQuery200JSONResponse ExploreCompileResult

func (CompileExploreQuery200JSONResponse) VisitCompileExploreQueryResponse

func (response CompileExploreQuery200JSONResponse) VisitCompileExploreQueryResponse(w http.ResponseWriter) error

type CompileExploreQuery401JSONResponse

type CompileExploreQuery401JSONResponse struct{ UnauthorizedJSONResponse }

func (CompileExploreQuery401JSONResponse) VisitCompileExploreQueryResponse

func (response CompileExploreQuery401JSONResponse) VisitCompileExploreQueryResponse(w http.ResponseWriter) error

type CompileExploreQuery403JSONResponse

type CompileExploreQuery403JSONResponse struct{ ForbiddenJSONResponse }

func (CompileExploreQuery403JSONResponse) VisitCompileExploreQueryResponse

func (response CompileExploreQuery403JSONResponse) VisitCompileExploreQueryResponse(w http.ResponseWriter) error

type CompileExploreQuery404JSONResponse

type CompileExploreQuery404JSONResponse struct{ NotFoundJSONResponse }

func (CompileExploreQuery404JSONResponse) VisitCompileExploreQueryResponse

func (response CompileExploreQuery404JSONResponse) VisitCompileExploreQueryResponse(w http.ResponseWriter) error

type CompileExploreQuery422JSONResponse

type CompileExploreQuery422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (CompileExploreQuery422JSONResponse) VisitCompileExploreQueryResponse

func (response CompileExploreQuery422JSONResponse) VisitCompileExploreQueryResponse(w http.ResponseWriter) error

type CompileExploreQueryJSONRequestBody

type CompileExploreQueryJSONRequestBody = ExploreCompileRequest

CompileExploreQueryJSONRequestBody defines body for CompileExploreQuery for application/json ContentType.

type CompileExploreQueryRequestObject

type CompileExploreQueryRequestObject struct {
	Id   PathId `json:"id"`
	Body *CompileExploreQueryJSONRequestBody
}

type CompileExploreQueryResponseObject

type CompileExploreQueryResponseObject interface {
	VisitCompileExploreQueryResponse(w http.ResponseWriter) error
}

type ConfirmPasswordReset204Response

type ConfirmPasswordReset204Response = NoContentResponse

func (ConfirmPasswordReset204Response) VisitConfirmPasswordResetResponse

func (response ConfirmPasswordReset204Response) VisitConfirmPasswordResetResponse(w http.ResponseWriter) error

type ConfirmPasswordReset401JSONResponse

type ConfirmPasswordReset401JSONResponse struct{ UnauthorizedJSONResponse }

func (ConfirmPasswordReset401JSONResponse) VisitConfirmPasswordResetResponse

func (response ConfirmPasswordReset401JSONResponse) VisitConfirmPasswordResetResponse(w http.ResponseWriter) error

type ConfirmPasswordReset422JSONResponse

type ConfirmPasswordReset422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (ConfirmPasswordReset422JSONResponse) VisitConfirmPasswordResetResponse

func (response ConfirmPasswordReset422JSONResponse) VisitConfirmPasswordResetResponse(w http.ResponseWriter) error

type ConfirmPasswordResetJSONRequestBody

type ConfirmPasswordResetJSONRequestBody = PasswordResetConfirmBody

ConfirmPasswordResetJSONRequestBody defines body for ConfirmPasswordReset for application/json ContentType.

type ConfirmPasswordResetRequestObject

type ConfirmPasswordResetRequestObject struct {
	Body *ConfirmPasswordResetJSONRequestBody
}

type ConfirmPasswordResetResponseObject

type ConfirmPasswordResetResponseObject interface {
	VisitConfirmPasswordResetResponse(w http.ResponseWriter) error
}

type Conflict

type Conflict = Error

Conflict defines model for Conflict.

type ConflictJSONResponse

type ConflictJSONResponse Error

type ConnectionCategory

type ConnectionCategory struct {
	Category ConnectionCategoryCategory `json:"category"`

	// Description One-line explanation of the category
	Description *string `json:"description,omitempty"`

	// Label Display name of the category (ADR 0021 D.10)
	Label string `json:"label"`

	// Order Presentation order, ascending
	Order int `json:"order"`
}

ConnectionCategory defines model for ConnectionCategory.

type ConnectionCategoryCategory

type ConnectionCategoryCategory string

ConnectionCategoryCategory defines model for ConnectionCategory.Category.

const (
	ConnectionCategoryCategoryAnalytical      ConnectionCategoryCategory = "analytical"
	ConnectionCategoryCategoryAnalytics       ConnectionCategoryCategory = "analytics"
	ConnectionCategoryCategoryCatalogManager  ConnectionCategoryCategory = "catalog_manager"
	ConnectionCategoryCategoryCloudPlatform   ConnectionCategoryCategory = "cloud_platform"
	ConnectionCategoryCategoryEngine          ConnectionCategoryCategory = "engine"
	ConnectionCategoryCategoryExternalService ConnectionCategoryCategory = "external_service"
	ConnectionCategoryCategoryInternalCatalog ConnectionCategoryCategory = "internal_catalog"
	ConnectionCategoryCategoryLakehouse       ConnectionCategoryCategory = "lakehouse"
	ConnectionCategoryCategoryMetastore       ConnectionCategoryCategory = "metastore"
	ConnectionCategoryCategoryNosql           ConnectionCategoryCategory = "nosql"
	ConnectionCategoryCategoryObservability   ConnectionCategoryCategory = "observability"
	ConnectionCategoryCategoryRelational      ConnectionCategoryCategory = "relational"
	ConnectionCategoryCategorySearch          ConnectionCategoryCategory = "search"
	ConnectionCategoryCategoryStreaming       ConnectionCategoryCategory = "streaming"
	ConnectionCategoryCategorySynthetic       ConnectionCategoryCategory = "synthetic"
)

Defines values for ConnectionCategoryCategory.

type ConnectionCheck

type ConnectionCheck struct {
	Detail    *string `json:"detail"`
	ErrorCode *string `json:"error_code"`

	// Name ping, list_catalogs, direct_engine, bind:<engine name>
	Name string `json:"name"`
	Ok   bool   `json:"ok"`

	// Skipped Not run (e.g. no engine adapter for the kind yet)
	Skipped *bool `json:"skipped,omitempty"`
}

ConnectionCheck defines model for ConnectionCheck.

type ConnectionProvider

type ConnectionProvider struct {
	// AccessModes Data access paths the type supports (ADR 0021 D.2); empty for engine-family resources
	AccessModes *[]ConnectionProviderAccessModes `json:"access_modes,omitempty"`

	// Capabilities Declared capabilities per access mode (ADR 0021 D.6)
	Capabilities *map[string]map[string]ConnectionProviderCapabilities `json:"capabilities,omitempty"`

	// CatalogSchema The values one catalog of the connection takes (its registration options, ADR 0021/0029), sent as a catalog's config. Never secret; empty for types whose catalogs take none.
	CatalogSchema []ConnectionProviderField `json:"catalog_schema"`

	// Category Presentation grouping; it does not determine access mode or compatibility (ADR 0021 D.10)
	Category     *ConnectionProviderCategory `json:"category,omitempty"`
	ConfigSchema []ConnectionProviderField   `json:"config_schema"`

	// Description User-facing explanation of the connection type (ADR 0021 D.1)
	Description *string `json:"description,omitempty"`

	// EngineKind Query-engine kind when the connection can be an engine
	EngineKind *string                   `json:"engine_kind,omitempty"`
	Family     ConnectionProviderFamily  `json:"family"`
	Kind       string                    `json:"kind"`
	Label      string                    `json:"label"`
	Roles      []ConnectionProviderRoles `json:"roles"`
	Status     struct {
		Reason *string                       `json:"reason,omitempty"`
		State  ConnectionProviderStatusState `json:"state"`
	} `json:"status"`

	// TrinoCatalogTypes Internal Trino catalog implementations the type is exposed through (ADR 0021 D.3)
	TrinoCatalogTypes *[]string `json:"trino_catalog_types,omitempty"`

	// VersionRequirements Validated engine and Trino version floors (ADR 0021 D.1)
	VersionRequirements *struct {
		MinEngineVersion *string `json:"min_engine_version,omitempty"`
		MinTrinoVersion  *string `json:"min_trino_version,omitempty"`
	} `json:"version_requirements,omitempty"`
}

ConnectionProvider defines model for ConnectionProvider.

type ConnectionProviderAccessModes

type ConnectionProviderAccessModes string

ConnectionProviderAccessModes defines model for ConnectionProvider.AccessModes.

const (
	ConnectionProviderAccessModesDirect    ConnectionProviderAccessModes = "direct"
	ConnectionProviderAccessModesFederated ConnectionProviderAccessModes = "federated"
)

Defines values for ConnectionProviderAccessModes.

type ConnectionProviderCapabilities

type ConnectionProviderCapabilities string

ConnectionProviderCapabilities defines model for ConnectionProvider.Capabilities.

const (
	ConnectionProviderCapabilitiesSupported   ConnectionProviderCapabilities = "supported"
	ConnectionProviderCapabilitiesUnknown     ConnectionProviderCapabilities = "unknown"
	ConnectionProviderCapabilitiesUnsupported ConnectionProviderCapabilities = "unsupported"
)

Defines values for ConnectionProviderCapabilities.

type ConnectionProviderCategory

type ConnectionProviderCategory string

ConnectionProviderCategory Presentation grouping; it does not determine access mode or compatibility (ADR 0021 D.10)

const (
	ConnectionProviderCategoryAnalytical      ConnectionProviderCategory = "analytical"
	ConnectionProviderCategoryAnalytics       ConnectionProviderCategory = "analytics"
	ConnectionProviderCategoryCatalogManager  ConnectionProviderCategory = "catalog_manager"
	ConnectionProviderCategoryCloudPlatform   ConnectionProviderCategory = "cloud_platform"
	ConnectionProviderCategoryEngine          ConnectionProviderCategory = "engine"
	ConnectionProviderCategoryExternalService ConnectionProviderCategory = "external_service"
	ConnectionProviderCategoryInternalCatalog ConnectionProviderCategory = "internal_catalog"
	ConnectionProviderCategoryLakehouse       ConnectionProviderCategory = "lakehouse"
	ConnectionProviderCategoryMetastore       ConnectionProviderCategory = "metastore"
	ConnectionProviderCategoryNosql           ConnectionProviderCategory = "nosql"
	ConnectionProviderCategoryObservability   ConnectionProviderCategory = "observability"
	ConnectionProviderCategoryRelational      ConnectionProviderCategory = "relational"
	ConnectionProviderCategorySearch          ConnectionProviderCategory = "search"
	ConnectionProviderCategoryStreaming       ConnectionProviderCategory = "streaming"
	ConnectionProviderCategorySynthetic       ConnectionProviderCategory = "synthetic"
)

Defines values for ConnectionProviderCategory.

type ConnectionProviderFamily

type ConnectionProviderFamily string

ConnectionProviderFamily defines model for ConnectionProvider.Family.

const (
	ConnectionProviderFamilyDatabase  ConnectionProviderFamily = "database"
	ConnectionProviderFamilyEngine    ConnectionProviderFamily = "engine"
	ConnectionProviderFamilyIceberg   ConnectionProviderFamily = "iceberg"
	ConnectionProviderFamilyMetastore ConnectionProviderFamily = "metastore"
)

Defines values for ConnectionProviderFamily.

type ConnectionProviderField

type ConnectionProviderField struct {
	Default  *string   `json:"default,omitempty"`
	Help     *string   `json:"help,omitempty"`
	Key      string    `json:"key"`
	Label    string    `json:"label"`
	Options  *[]string `json:"options,omitempty"`
	Required bool      `json:"required"`

	// Secret Sent in credentials, stored sealed, never returned
	Secret bool                        `json:"secret"`
	Type   ConnectionProviderFieldType `json:"type"`
}

ConnectionProviderField defines model for ConnectionProviderField.

type ConnectionProviderFieldType

type ConnectionProviderFieldType string

ConnectionProviderFieldType defines model for ConnectionProviderField.Type.

const (
	Bool     ConnectionProviderFieldType = "bool"
	FilePath ConnectionProviderFieldType = "file_path"
	Int      ConnectionProviderFieldType = "int"
	Secret   ConnectionProviderFieldType = "secret"
	Select   ConnectionProviderFieldType = "select"
	Text     ConnectionProviderFieldType = "text"
	Textarea ConnectionProviderFieldType = "textarea"
	Url      ConnectionProviderFieldType = "url"
)

Defines values for ConnectionProviderFieldType.

type ConnectionProviderRoles

type ConnectionProviderRoles string

ConnectionProviderRoles defines model for ConnectionProvider.Roles.

const (
	ConnectionProviderRolesDirectEngine    ConnectionProviderRoles = "direct_engine"
	ConnectionProviderRolesFederatedEngine ConnectionProviderRoles = "federated_engine"
	ConnectionProviderRolesMetadata        ConnectionProviderRoles = "metadata"
)

Defines values for ConnectionProviderRoles.

type ConnectionProviderStatusState

type ConnectionProviderStatusState string

ConnectionProviderStatusState defines model for ConnectionProvider.Status.State.

const (
	ConnectionProviderStatusStateExperimental  ConnectionProviderStatusState = "experimental"
	ConnectionProviderStatusStateNotApplicable ConnectionProviderStatusState = "not_applicable"
	ConnectionProviderStatusStatePlanned       ConnectionProviderStatusState = "planned"
	ConnectionProviderStatusStateSupported     ConnectionProviderStatusState = "supported"
	ConnectionProviderStatusStateUnsupported   ConnectionProviderStatusState = "unsupported"
)

Defines values for ConnectionProviderStatusState.

type ConnectionSettings

type ConnectionSettings struct {
	// AdminsOnly is BALEIA_CONNECTIONS_CREATE=admins (#512, #610), the
	// default; false lets everyone.
	AdminsOnly bool
}

ConnectionSettings say who may create and edit connections.

type ContentAuthor

type ContentAuthor struct {
	Id   openapi_types.UUID `json:"id"`
	Name *string            `json:"name"`
}

ContentAuthor defines model for ContentAuthor.

type ContentSearchFolderPath

type ContentSearchFolderPath struct {
	Id   openapi_types.UUID `json:"id"`
	Name string             `json:"name"`
}

ContentSearchFolderPath defines model for ContentSearchFolderPath.

type ContentSearchItem

type ContentSearchItem struct {
	Certified  *bool                     `json:"certified,omitempty"`
	FolderPath []ContentSearchFolderPath `json:"folder_path"`
	Id         openapi_types.UUID        `json:"id"`

	// Kind folder, saved_query, semantic_metric or semantic_model
	Kind      string              `json:"kind"`
	Slug      string              `json:"slug"`
	Space     ContentSearchSpace  `json:"space"`
	Title     string              `json:"title"`
	UpdatedAt time.Time           `json:"updated_at"`
	UpdatedBy *ContentSearchSpace `json:"updated_by"`
}

ContentSearchItem defines model for ContentSearchItem.

type ContentSearchSpace

type ContentSearchSpace struct {
	Id   openapi_types.UUID `json:"id"`
	Name string             `json:"name"`
}

ContentSearchSpace defines model for ContentSearchSpace.

type ContentVersion

type ContentVersion struct {
	Author       *ContentAuthor           `json:"author,omitempty"`
	ChangeKind   ContentVersionChangeKind `json:"change_kind"`
	CreatedAt    time.Time                `json:"created_at"`
	RestoredFrom *int                     `json:"restored_from"`
	Version      int                      `json:"version"`
}

ContentVersion defines model for ContentVersion.

type ContentVersionChangeKind

type ContentVersionChangeKind string

ContentVersionChangeKind defines model for ContentVersion.ChangeKind.

const (
	ContentVersionChangeKindCreate  ContentVersionChangeKind = "create"
	ContentVersionChangeKindDelete  ContentVersionChangeKind = "delete"
	ContentVersionChangeKindImport  ContentVersionChangeKind = "import"
	ContentVersionChangeKindRestore ContentVersionChangeKind = "restore"
	ContentVersionChangeKindUpdate  ContentVersionChangeKind = "update"
)

Defines values for ContentVersionChangeKind.

type ContentVersionDetail

type ContentVersionDetail struct {
	Author       *ContentAuthor                 `json:"author,omitempty"`
	ChangeKind   ContentVersionDetailChangeKind `json:"change_kind"`
	CreatedAt    time.Time                      `json:"created_at"`
	RestoredFrom *int                           `json:"restored_from"`
	Snapshot     map[string]interface{}         `json:"snapshot"`
	Version      int                            `json:"version"`
}

ContentVersionDetail defines model for ContentVersionDetail.

type ContentVersionDetailChangeKind

type ContentVersionDetailChangeKind string

ContentVersionDetailChangeKind defines model for ContentVersionDetail.ChangeKind.

const (
	ContentVersionDetailChangeKindCreate  ContentVersionDetailChangeKind = "create"
	ContentVersionDetailChangeKindDelete  ContentVersionDetailChangeKind = "delete"
	ContentVersionDetailChangeKindImport  ContentVersionDetailChangeKind = "import"
	ContentVersionDetailChangeKindRestore ContentVersionDetailChangeKind = "restore"
	ContentVersionDetailChangeKindUpdate  ContentVersionDetailChangeKind = "update"
)

Defines values for ContentVersionDetailChangeKind.

type CreateAdminRequest

type CreateAdminRequest struct {
	Email    openapi_types.Email `json:"email"`
	Name     string              `json:"name"`
	Password string              `json:"password"`
}

CreateAdminRequest defines model for CreateAdminRequest.

type CreateAgent201JSONResponse

type CreateAgent201JSONResponse Agent

func (CreateAgent201JSONResponse) VisitCreateAgentResponse

func (response CreateAgent201JSONResponse) VisitCreateAgentResponse(w http.ResponseWriter) error

type CreateAgent401JSONResponse

type CreateAgent401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreateAgent401JSONResponse) VisitCreateAgentResponse

func (response CreateAgent401JSONResponse) VisitCreateAgentResponse(w http.ResponseWriter) error

type CreateAgent404JSONResponse

type CreateAgent404JSONResponse struct{ NotFoundJSONResponse }

func (CreateAgent404JSONResponse) VisitCreateAgentResponse

func (response CreateAgent404JSONResponse) VisitCreateAgentResponse(w http.ResponseWriter) error

type CreateAgent422JSONResponse

type CreateAgent422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (CreateAgent422JSONResponse) VisitCreateAgentResponse

func (response CreateAgent422JSONResponse) VisitCreateAgentResponse(w http.ResponseWriter) error

type CreateAgentJSONRequestBody

type CreateAgentJSONRequestBody = CreateAgentRequest

CreateAgentJSONRequestBody defines body for CreateAgent for application/json ContentType.

type CreateAgentRequest

type CreateAgentRequest struct {
	Description *string `json:"description,omitempty"`
	Name        string  `json:"name"`

	// ServiceAccountId Link the agent to this service account instead of the caller (#653): the agent then acts with the service account's workspace roles, and whoever manages the service account manages the agent. Its workspaces must be ones the service account belongs to.
	ServiceAccountId *openapi_types.UUID   `json:"service_account_id,omitempty"`
	WorkspaceIds     *[]openapi_types.UUID `json:"workspace_ids,omitempty"`
}

CreateAgentRequest defines model for CreateAgentRequest.

type CreateAgentRequestObject

type CreateAgentRequestObject struct {
	Body *CreateAgentJSONRequestBody
}

type CreateAgentResponseObject

type CreateAgentResponseObject interface {
	VisitCreateAgentResponse(w http.ResponseWriter) error
}

type CreateAgentToken201JSONResponse

type CreateAgentToken201JSONResponse AgentTokenCreated

func (CreateAgentToken201JSONResponse) VisitCreateAgentTokenResponse

func (response CreateAgentToken201JSONResponse) VisitCreateAgentTokenResponse(w http.ResponseWriter) error

type CreateAgentToken401JSONResponse

type CreateAgentToken401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreateAgentToken401JSONResponse) VisitCreateAgentTokenResponse

func (response CreateAgentToken401JSONResponse) VisitCreateAgentTokenResponse(w http.ResponseWriter) error

type CreateAgentToken404JSONResponse

type CreateAgentToken404JSONResponse struct{ NotFoundJSONResponse }

func (CreateAgentToken404JSONResponse) VisitCreateAgentTokenResponse

func (response CreateAgentToken404JSONResponse) VisitCreateAgentTokenResponse(w http.ResponseWriter) error

type CreateAgentToken422JSONResponse

type CreateAgentToken422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (CreateAgentToken422JSONResponse) VisitCreateAgentTokenResponse

func (response CreateAgentToken422JSONResponse) VisitCreateAgentTokenResponse(w http.ResponseWriter) error

type CreateAgentTokenJSONRequestBody

type CreateAgentTokenJSONRequestBody = CreateAgentTokenRequest

CreateAgentTokenJSONRequestBody defines body for CreateAgentToken for application/json ContentType.

type CreateAgentTokenRequest

type CreateAgentTokenRequest struct {
	ExpiresInDays *int   `json:"expires_in_days,omitempty"`
	Name          string `json:"name"`
}

CreateAgentTokenRequest defines model for CreateAgentTokenRequest.

type CreateAgentTokenRequestObject

type CreateAgentTokenRequestObject struct {
	AgentId PathAgentId `json:"agent_id"`
	Body    *CreateAgentTokenJSONRequestBody
}

type CreateAgentTokenResponseObject

type CreateAgentTokenResponseObject interface {
	VisitCreateAgentTokenResponse(w http.ResponseWriter) error
}

type CreateApiKey201JSONResponse

type CreateApiKey201JSONResponse ApiKeyCreated

func (CreateApiKey201JSONResponse) VisitCreateApiKeyResponse

func (response CreateApiKey201JSONResponse) VisitCreateApiKeyResponse(w http.ResponseWriter) error

type CreateApiKey401JSONResponse

type CreateApiKey401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreateApiKey401JSONResponse) VisitCreateApiKeyResponse

func (response CreateApiKey401JSONResponse) VisitCreateApiKeyResponse(w http.ResponseWriter) error

type CreateApiKey422JSONResponse

type CreateApiKey422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (CreateApiKey422JSONResponse) VisitCreateApiKeyResponse

func (response CreateApiKey422JSONResponse) VisitCreateApiKeyResponse(w http.ResponseWriter) error

type CreateApiKeyJSONRequestBody

type CreateApiKeyJSONRequestBody = CreateApiKeyRequest

CreateApiKeyJSONRequestBody defines body for CreateApiKey for application/json ContentType.

type CreateApiKeyRequest

type CreateApiKeyRequest struct {
	ExpiresAt *time.Time `json:"expires_at"`
	Name      string     `json:"name"`
}

CreateApiKeyRequest defines model for CreateApiKeyRequest.

type CreateApiKeyRequestObject

type CreateApiKeyRequestObject struct {
	Body *CreateApiKeyJSONRequestBody
}

type CreateApiKeyResponseObject

type CreateApiKeyResponseObject interface {
	VisitCreateApiKeyResponse(w http.ResponseWriter) error
}

type CreateAssistantConversation201JSONResponse

type CreateAssistantConversation201JSONResponse AssistantConversation

func (CreateAssistantConversation201JSONResponse) VisitCreateAssistantConversationResponse

func (response CreateAssistantConversation201JSONResponse) VisitCreateAssistantConversationResponse(w http.ResponseWriter) error

type CreateAssistantConversation401JSONResponse

type CreateAssistantConversation401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreateAssistantConversation401JSONResponse) VisitCreateAssistantConversationResponse

func (response CreateAssistantConversation401JSONResponse) VisitCreateAssistantConversationResponse(w http.ResponseWriter) error

type CreateAssistantConversation404JSONResponse

type CreateAssistantConversation404JSONResponse struct{ NotFoundJSONResponse }

func (CreateAssistantConversation404JSONResponse) VisitCreateAssistantConversationResponse

func (response CreateAssistantConversation404JSONResponse) VisitCreateAssistantConversationResponse(w http.ResponseWriter) error

type CreateAssistantConversation422JSONResponse

type CreateAssistantConversation422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (CreateAssistantConversation422JSONResponse) VisitCreateAssistantConversationResponse

func (response CreateAssistantConversation422JSONResponse) VisitCreateAssistantConversationResponse(w http.ResponseWriter) error

type CreateAssistantConversationJSONRequestBody

type CreateAssistantConversationJSONRequestBody = CreateAssistantConversationRequest

CreateAssistantConversationJSONRequestBody defines body for CreateAssistantConversation for application/json ContentType.

type CreateAssistantConversationRequest

type CreateAssistantConversationRequest struct {
	WorkspaceId openapi_types.UUID `json:"workspace_id"`
}

CreateAssistantConversationRequest defines model for CreateAssistantConversationRequest.

type CreateAssistantConversationRequestObject

type CreateAssistantConversationRequestObject struct {
	Body *CreateAssistantConversationJSONRequestBody
}

type CreateAssistantConversationResponseObject

type CreateAssistantConversationResponseObject interface {
	VisitCreateAssistantConversationResponse(w http.ResponseWriter) error
}

type CreateBiKey201JSONResponse

type CreateBiKey201JSONResponse BiKeyCreated

func (CreateBiKey201JSONResponse) VisitCreateBiKeyResponse

func (response CreateBiKey201JSONResponse) VisitCreateBiKeyResponse(w http.ResponseWriter) error

type CreateBiKey401JSONResponse

type CreateBiKey401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreateBiKey401JSONResponse) VisitCreateBiKeyResponse

func (response CreateBiKey401JSONResponse) VisitCreateBiKeyResponse(w http.ResponseWriter) error

type CreateBiKey403JSONResponse

type CreateBiKey403JSONResponse struct{ ForbiddenJSONResponse }

func (CreateBiKey403JSONResponse) VisitCreateBiKeyResponse

func (response CreateBiKey403JSONResponse) VisitCreateBiKeyResponse(w http.ResponseWriter) error

type CreateBiKey404JSONResponse

type CreateBiKey404JSONResponse struct{ NotFoundJSONResponse }

func (CreateBiKey404JSONResponse) VisitCreateBiKeyResponse

func (response CreateBiKey404JSONResponse) VisitCreateBiKeyResponse(w http.ResponseWriter) error

type CreateBiKey422JSONResponse

type CreateBiKey422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (CreateBiKey422JSONResponse) VisitCreateBiKeyResponse

func (response CreateBiKey422JSONResponse) VisitCreateBiKeyResponse(w http.ResponseWriter) error

type CreateBiKeyJSONRequestBody

type CreateBiKeyJSONRequestBody = CreateBiKeyRequest

CreateBiKeyJSONRequestBody defines body for CreateBiKey for application/json ContentType.

type CreateBiKeyRequest

type CreateBiKeyRequest struct {
	// EngineId The Trino engine of the workspace target the key reaches
	EngineId  openapi_types.UUID `json:"engine_id"`
	ExpiresAt *time.Time         `json:"expires_at"`
	Name      string             `json:"name"`

	// OwnerId A service account of the workspace; workspace admins only. Omit to create the key for the caller.
	OwnerId *openapi_types.UUID `json:"owner_id"`
}

CreateBiKeyRequest defines model for CreateBiKeyRequest.

type CreateBiKeyRequestObject

type CreateBiKeyRequestObject struct {
	Id   PathId `json:"id"`
	Body *CreateBiKeyJSONRequestBody
}

type CreateBiKeyResponseObject

type CreateBiKeyResponseObject interface {
	VisitCreateBiKeyResponse(w http.ResponseWriter) error
}

type CreateBindingRequest

type CreateBindingRequest struct {
	// Connector One of the engine's connectors for the source kind (GET /engines/{id}/binding-support); default the first
	Connector         *string            `json:"connector,omitempty"`
	EngineCatalogName string             `json:"engine_catalog_name"`
	EngineId          openapi_types.UUID `json:"engine_id"`

	// ExtraProps Merged over the projection; protected keys cannot be overridden
	ExtraProps *map[string]string `json:"extra_props,omitempty"`
}

CreateBindingRequest defines model for CreateBindingRequest.

type CreateCatalog201JSONResponse

type CreateCatalog201JSONResponse []Catalog

func (CreateCatalog201JSONResponse) VisitCreateCatalogResponse

func (response CreateCatalog201JSONResponse) VisitCreateCatalogResponse(w http.ResponseWriter) error

type CreateCatalog401JSONResponse

type CreateCatalog401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreateCatalog401JSONResponse) VisitCreateCatalogResponse

func (response CreateCatalog401JSONResponse) VisitCreateCatalogResponse(w http.ResponseWriter) error

type CreateCatalog403JSONResponse

type CreateCatalog403JSONResponse struct{ ForbiddenJSONResponse }

func (CreateCatalog403JSONResponse) VisitCreateCatalogResponse

func (response CreateCatalog403JSONResponse) VisitCreateCatalogResponse(w http.ResponseWriter) error

type CreateCatalog404JSONResponse

type CreateCatalog404JSONResponse struct{ NotFoundJSONResponse }

func (CreateCatalog404JSONResponse) VisitCreateCatalogResponse

func (response CreateCatalog404JSONResponse) VisitCreateCatalogResponse(w http.ResponseWriter) error

type CreateCatalog409JSONResponse

type CreateCatalog409JSONResponse struct{ ConflictJSONResponse }

func (CreateCatalog409JSONResponse) VisitCreateCatalogResponse

func (response CreateCatalog409JSONResponse) VisitCreateCatalogResponse(w http.ResponseWriter) error

type CreateCatalog422JSONResponse

type CreateCatalog422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (CreateCatalog422JSONResponse) VisitCreateCatalogResponse

func (response CreateCatalog422JSONResponse) VisitCreateCatalogResponse(w http.ResponseWriter) error

type CreateCatalogBinding201JSONResponse

type CreateCatalogBinding201JSONResponse CatalogBinding

func (CreateCatalogBinding201JSONResponse) VisitCreateCatalogBindingResponse

func (response CreateCatalogBinding201JSONResponse) VisitCreateCatalogBindingResponse(w http.ResponseWriter) error

type CreateCatalogBinding401JSONResponse

type CreateCatalogBinding401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreateCatalogBinding401JSONResponse) VisitCreateCatalogBindingResponse

func (response CreateCatalogBinding401JSONResponse) VisitCreateCatalogBindingResponse(w http.ResponseWriter) error

type CreateCatalogBinding403JSONResponse

type CreateCatalogBinding403JSONResponse struct{ ForbiddenJSONResponse }

func (CreateCatalogBinding403JSONResponse) VisitCreateCatalogBindingResponse

func (response CreateCatalogBinding403JSONResponse) VisitCreateCatalogBindingResponse(w http.ResponseWriter) error

type CreateCatalogBinding404JSONResponse

type CreateCatalogBinding404JSONResponse struct{ NotFoundJSONResponse }

func (CreateCatalogBinding404JSONResponse) VisitCreateCatalogBindingResponse

func (response CreateCatalogBinding404JSONResponse) VisitCreateCatalogBindingResponse(w http.ResponseWriter) error

type CreateCatalogBinding409JSONResponse

type CreateCatalogBinding409JSONResponse struct{ ConflictJSONResponse }

func (CreateCatalogBinding409JSONResponse) VisitCreateCatalogBindingResponse

func (response CreateCatalogBinding409JSONResponse) VisitCreateCatalogBindingResponse(w http.ResponseWriter) error

type CreateCatalogBinding422JSONResponse

type CreateCatalogBinding422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (CreateCatalogBinding422JSONResponse) VisitCreateCatalogBindingResponse

func (response CreateCatalogBinding422JSONResponse) VisitCreateCatalogBindingResponse(w http.ResponseWriter) error

type CreateCatalogBindingJSONRequestBody

type CreateCatalogBindingJSONRequestBody = CreateBindingRequest

CreateCatalogBindingJSONRequestBody defines body for CreateCatalogBinding for application/json ContentType.

type CreateCatalogBindingRequestObject

type CreateCatalogBindingRequestObject struct {
	Id   PathId `json:"id"`
	Body *CreateCatalogBindingJSONRequestBody
}

type CreateCatalogBindingResponseObject

type CreateCatalogBindingResponseObject interface {
	VisitCreateCatalogBindingResponse(w http.ResponseWriter) error
}

type CreateCatalogConnection201JSONResponse

type CreateCatalogConnection201JSONResponse CatalogConnectionCreated

func (CreateCatalogConnection201JSONResponse) VisitCreateCatalogConnectionResponse

func (response CreateCatalogConnection201JSONResponse) VisitCreateCatalogConnectionResponse(w http.ResponseWriter) error

type CreateCatalogConnection401JSONResponse

type CreateCatalogConnection401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreateCatalogConnection401JSONResponse) VisitCreateCatalogConnectionResponse

func (response CreateCatalogConnection401JSONResponse) VisitCreateCatalogConnectionResponse(w http.ResponseWriter) error

type CreateCatalogConnection403JSONResponse

type CreateCatalogConnection403JSONResponse struct{ ForbiddenJSONResponse }

func (CreateCatalogConnection403JSONResponse) VisitCreateCatalogConnectionResponse

func (response CreateCatalogConnection403JSONResponse) VisitCreateCatalogConnectionResponse(w http.ResponseWriter) error

type CreateCatalogConnection404JSONResponse

type CreateCatalogConnection404JSONResponse struct{ NotFoundJSONResponse }

func (CreateCatalogConnection404JSONResponse) VisitCreateCatalogConnectionResponse

func (response CreateCatalogConnection404JSONResponse) VisitCreateCatalogConnectionResponse(w http.ResponseWriter) error

type CreateCatalogConnection409JSONResponse

type CreateCatalogConnection409JSONResponse struct{ ConflictJSONResponse }

func (CreateCatalogConnection409JSONResponse) VisitCreateCatalogConnectionResponse

func (response CreateCatalogConnection409JSONResponse) VisitCreateCatalogConnectionResponse(w http.ResponseWriter) error

type CreateCatalogConnection422JSONResponse

type CreateCatalogConnection422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (CreateCatalogConnection422JSONResponse) VisitCreateCatalogConnectionResponse

func (response CreateCatalogConnection422JSONResponse) VisitCreateCatalogConnectionResponse(w http.ResponseWriter) error

type CreateCatalogConnectionJSONRequestBody

type CreateCatalogConnectionJSONRequestBody = CreateCatalogConnectionRequest

CreateCatalogConnectionJSONRequestBody defines body for CreateCatalogConnection for application/json ContentType.

type CreateCatalogConnectionRequest

type CreateCatalogConnectionRequest struct {
	// AccessMode Data access mode (ADR 0029). `direct` runs SQL through a native query-engine adapter owned by this connection; `federated` runs it through the registered federated engines in `engine_ids`. Required when the type declares both, auto-selected when it declares one, and omitted for engine-family types. Immutable after creation.
	AccessMode *CreateCatalogConnectionRequestAccessMode `json:"access_mode,omitempty"`

	// CatalogRegistration Registers the connection's logical catalog outputs. Each entry names one of the connection type's Trino catalog types, in the order GET /connection-providers lists them; the backend derives the connector.
	CatalogRegistration *CreateCatalogRequest `json:"catalog_registration,omitempty"`

	// Config Non-secret fields of the provider's config schema
	Config *map[string]string `json:"config,omitempty"`

	// Credentials Secret fields of the provider's config schema. Older clients also send non-secret fields here (client_id, username); they are moved to config
	Credentials *map[string]interface{} `json:"credentials,omitempty"`

	// CredentialsReadOnly The administrator asserts these credentials cannot modify data. Required for agents and semantic custom SQL on engines that cannot enforce read-only sessions (#11/#59, #651)
	CredentialsReadOnly *bool `json:"credentials_read_only,omitempty"`

	// EngineIds Federated engines that expose the connection's catalogs. Required when `access_mode` is `federated` (the first one is the catalogs' primary engine) and refused for `direct`. Each engine must be one the caller may write to and one whose binder supports the type.
	EngineIds             *[]openapi_types.UUID `json:"engine_ids,omitempty"`
	GlueCredentials       *GlueCredentials      `json:"glue_credentials,omitempty"`
	HiveCredentials       *HiveCredentials      `json:"hive_credentials,omitempty"`
	IcebergCredentials    *IcebergCredentials   `json:"iceberg_credentials,omitempty"`
	MysqlCredentials      *SqlCredentials       `json:"mysql_credentials,omitempty"`
	Name                  string                `json:"name"`
	NessieCredentials     *NessieCredentials    `json:"nessie_credentials,omitempty"`
	PostgresqlCredentials *SqlCredentials       `json:"postgresql_credentials,omitempty"`

	// Type A kind listed by GET /connection-providers
	Type string `json:"type"`

	// Url Older shape: the endpoint URL (a JDBC URL for databases). Prefer config
	Url *string `json:"url,omitempty"`
}

CreateCatalogConnectionRequest Values and secrets are validated against the provider's config schema (GET /connection-providers): unknown keys, missing required fields and kinds without a provider answer 422. Non-secret fields go in `config`, secret fields in `credentials`. `url` and the typed `*_credentials` objects are the older shape and are still accepted.

type CreateCatalogConnectionRequestAccessMode

type CreateCatalogConnectionRequestAccessMode string

CreateCatalogConnectionRequestAccessMode Data access mode (ADR 0029). `direct` runs SQL through a native query-engine adapter owned by this connection; `federated` runs it through the registered federated engines in `engine_ids`. Required when the type declares both, auto-selected when it declares one, and omitted for engine-family types. Immutable after creation.

const (
	CreateCatalogConnectionRequestAccessModeDirect    CreateCatalogConnectionRequestAccessMode = "direct"
	CreateCatalogConnectionRequestAccessModeFederated CreateCatalogConnectionRequestAccessMode = "federated"
)

Defines values for CreateCatalogConnectionRequestAccessMode.

type CreateCatalogConnectionRequestObject

type CreateCatalogConnectionRequestObject struct {
	Body *CreateCatalogConnectionJSONRequestBody
}

type CreateCatalogConnectionResponseObject

type CreateCatalogConnectionResponseObject interface {
	VisitCreateCatalogConnectionResponse(w http.ResponseWriter) error
}

type CreateCatalogGrant200JSONResponse

type CreateCatalogGrant200JSONResponse CatalogGrantItem

func (CreateCatalogGrant200JSONResponse) VisitCreateCatalogGrantResponse

func (response CreateCatalogGrant200JSONResponse) VisitCreateCatalogGrantResponse(w http.ResponseWriter) error

type CreateCatalogGrant401JSONResponse

type CreateCatalogGrant401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreateCatalogGrant401JSONResponse) VisitCreateCatalogGrantResponse

func (response CreateCatalogGrant401JSONResponse) VisitCreateCatalogGrantResponse(w http.ResponseWriter) error

type CreateCatalogGrant403JSONResponse

type CreateCatalogGrant403JSONResponse struct{ ForbiddenJSONResponse }

func (CreateCatalogGrant403JSONResponse) VisitCreateCatalogGrantResponse

func (response CreateCatalogGrant403JSONResponse) VisitCreateCatalogGrantResponse(w http.ResponseWriter) error

type CreateCatalogGrant404JSONResponse

type CreateCatalogGrant404JSONResponse struct{ NotFoundJSONResponse }

func (CreateCatalogGrant404JSONResponse) VisitCreateCatalogGrantResponse

func (response CreateCatalogGrant404JSONResponse) VisitCreateCatalogGrantResponse(w http.ResponseWriter) error

type CreateCatalogGrantJSONRequestBody

type CreateCatalogGrantJSONRequestBody = CatalogGrantRequest

CreateCatalogGrantJSONRequestBody defines body for CreateCatalogGrant for application/json ContentType.

type CreateCatalogGrantRequestObject

type CreateCatalogGrantRequestObject struct {
	Body *CreateCatalogGrantJSONRequestBody
}

type CreateCatalogGrantResponseObject

type CreateCatalogGrantResponseObject interface {
	VisitCreateCatalogGrantResponse(w http.ResponseWriter) error
}

type CreateCatalogJSONRequestBody

type CreateCatalogJSONRequestBody = CreateCatalogRequest

CreateCatalogJSONRequestBody defines body for CreateCatalog for application/json ContentType.

type CreateCatalogRequest

type CreateCatalogRequest struct {
	Catalogs []struct {
		Name             string `json:"name"`
		TrinoCatalogName string `json:"trino_catalog_name"`
	} `json:"catalogs"`

	// Config The catalog's own configuration, validated against the connection type's catalog_schema (GET /connection-providers); every catalog of the request gets it. Refused for types whose catalogs take none.
	Config      *map[string]string `json:"config,omitempty"`
	Description *string            `json:"description,omitempty"`
	Enabled     *bool              `json:"enabled,omitempty"`

	// ExtraProps Connector-specific overrides (flat string→string map) merged on top of the auto-generated properties.
	ExtraProps *map[string]string `json:"extra_props,omitempty"`

	// ShareWithWorkspaceId Workspace to grant the new catalogs to as active grants (the connection wizard's "Share with", preselected to the current workspace). Omitted, the catalogs are created unshared; the owner shares them later from each catalog's Access screen.
	ShareWithWorkspaceId *openapi_types.UUID `json:"share_with_workspace_id,omitempty"`

	// Warehouse Warehouse or logical source the connector addresses. Required for catalog managers and Iceberg REST catalogs; omitted for databases (their catalog falls back to the connection's database) and for endpointless catalogs (memory, blackhole, faker, jmx, tpch, tpcds).
	Warehouse *string `json:"warehouse,omitempty"`
}

CreateCatalogRequest Registers the connection's logical catalog outputs. Each entry names one of the connection type's Trino catalog types, in the order GET /connection-providers lists them; the backend derives the connector.

type CreateCatalogRequestObject

type CreateCatalogRequestObject struct {
	ConnectionId openapi_types.UUID `json:"connection_id"`
	Body         *CreateCatalogJSONRequestBody
}

type CreateCatalogResponseObject

type CreateCatalogResponseObject interface {
	VisitCreateCatalogResponse(w http.ResponseWriter) error
}

type CreateDataPolicy201JSONResponse

type CreateDataPolicy201JSONResponse DataPolicy

func (CreateDataPolicy201JSONResponse) VisitCreateDataPolicyResponse

func (response CreateDataPolicy201JSONResponse) VisitCreateDataPolicyResponse(w http.ResponseWriter) error

type CreateDataPolicy401JSONResponse

type CreateDataPolicy401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreateDataPolicy401JSONResponse) VisitCreateDataPolicyResponse

func (response CreateDataPolicy401JSONResponse) VisitCreateDataPolicyResponse(w http.ResponseWriter) error

type CreateDataPolicy403JSONResponse

type CreateDataPolicy403JSONResponse struct{ ForbiddenJSONResponse }

func (CreateDataPolicy403JSONResponse) VisitCreateDataPolicyResponse

func (response CreateDataPolicy403JSONResponse) VisitCreateDataPolicyResponse(w http.ResponseWriter) error

type CreateDataPolicy404JSONResponse

type CreateDataPolicy404JSONResponse struct{ NotFoundJSONResponse }

func (CreateDataPolicy404JSONResponse) VisitCreateDataPolicyResponse

func (response CreateDataPolicy404JSONResponse) VisitCreateDataPolicyResponse(w http.ResponseWriter) error

type CreateDataPolicy409JSONResponse

type CreateDataPolicy409JSONResponse struct{ ConflictJSONResponse }

func (CreateDataPolicy409JSONResponse) VisitCreateDataPolicyResponse

func (response CreateDataPolicy409JSONResponse) VisitCreateDataPolicyResponse(w http.ResponseWriter) error

type CreateDataPolicy422JSONResponse

type CreateDataPolicy422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (CreateDataPolicy422JSONResponse) VisitCreateDataPolicyResponse

func (response CreateDataPolicy422JSONResponse) VisitCreateDataPolicyResponse(w http.ResponseWriter) error

type CreateDataPolicyJSONRequestBody

type CreateDataPolicyJSONRequestBody = CreateDataPolicyRequest

CreateDataPolicyJSONRequestBody defines body for CreateDataPolicy for application/json ContentType.

type CreateDataPolicyRequest

type CreateDataPolicyRequest struct {
	Column      *string             `json:"column,omitempty"`
	Description *string             `json:"description,omitempty"`
	Expression  string              `json:"expression"`
	Kind        DataPolicyKind      `json:"kind"`
	Mode        *DataPolicyMode     `json:"mode,omitempty"`
	Name        string              `json:"name"`
	Priority    *int32              `json:"priority,omitempty"`
	Schema      string              `json:"schema"`
	State       *DataPolicyState    `json:"state,omitempty"`
	Subjects    []DataPolicySubject `json:"subjects"`
	Table       string              `json:"table"`

	// Template Which editor template filled a mask's expression; a hint only
	Template *DataPolicyTemplate `json:"template,omitempty"`
}

CreateDataPolicyRequest defines model for CreateDataPolicyRequest.

type CreateDataPolicyRequestObject

type CreateDataPolicyRequestObject struct {
	Id   PathId `json:"id"`
	Body *CreateDataPolicyJSONRequestBody
}

type CreateDataPolicyResponseObject

type CreateDataPolicyResponseObject interface {
	VisitCreateDataPolicyResponse(w http.ResponseWriter) error
}

type CreateEngine201JSONResponse

type CreateEngine201JSONResponse Engine

func (CreateEngine201JSONResponse) VisitCreateEngineResponse

func (response CreateEngine201JSONResponse) VisitCreateEngineResponse(w http.ResponseWriter) error

type CreateEngine401JSONResponse

type CreateEngine401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreateEngine401JSONResponse) VisitCreateEngineResponse

func (response CreateEngine401JSONResponse) VisitCreateEngineResponse(w http.ResponseWriter) error

type CreateEngine403JSONResponse

type CreateEngine403JSONResponse struct{ ForbiddenJSONResponse }

func (CreateEngine403JSONResponse) VisitCreateEngineResponse

func (response CreateEngine403JSONResponse) VisitCreateEngineResponse(w http.ResponseWriter) error

type CreateEngine404JSONResponse

type CreateEngine404JSONResponse struct{ NotFoundJSONResponse }

func (CreateEngine404JSONResponse) VisitCreateEngineResponse

func (response CreateEngine404JSONResponse) VisitCreateEngineResponse(w http.ResponseWriter) error

type CreateEngine409JSONResponse

type CreateEngine409JSONResponse struct{ ConflictJSONResponse }

func (CreateEngine409JSONResponse) VisitCreateEngineResponse

func (response CreateEngine409JSONResponse) VisitCreateEngineResponse(w http.ResponseWriter) error

type CreateEngine422JSONResponse

type CreateEngine422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (CreateEngine422JSONResponse) VisitCreateEngineResponse

func (response CreateEngine422JSONResponse) VisitCreateEngineResponse(w http.ResponseWriter) error

type CreateEngineJSONRequestBody

type CreateEngineJSONRequestBody = CreateEngineRequest

CreateEngineJSONRequestBody defines body for CreateEngine for application/json ContentType.

type CreateEngineRequest

type CreateEngineRequest struct {
	// Connection Configuration of the engine-family connection backing this engine. Its provider must have the federated_engine role and no data-source access mode. The connection and engine are persisted atomically.
	Connection CreateCatalogConnectionRequest `json:"connection"`

	// Name Name of the federated engine instance
	Name string `json:"name"`
}

CreateEngineRequest defines model for CreateEngineRequest.

type CreateEngineRequestObject

type CreateEngineRequestObject struct {
	Body *CreateEngineJSONRequestBody
}

type CreateEngineResponseObject

type CreateEngineResponseObject interface {
	VisitCreateEngineResponse(w http.ResponseWriter) error
}

type CreateFirstAdmin201JSONResponse

type CreateFirstAdmin201JSONResponse LoginResponse

func (CreateFirstAdmin201JSONResponse) VisitCreateFirstAdminResponse

func (response CreateFirstAdmin201JSONResponse) VisitCreateFirstAdminResponse(w http.ResponseWriter) error

type CreateFirstAdmin409JSONResponse

type CreateFirstAdmin409JSONResponse struct{ ConflictJSONResponse }

func (CreateFirstAdmin409JSONResponse) VisitCreateFirstAdminResponse

func (response CreateFirstAdmin409JSONResponse) VisitCreateFirstAdminResponse(w http.ResponseWriter) error

type CreateFirstAdmin422JSONResponse

type CreateFirstAdmin422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (CreateFirstAdmin422JSONResponse) VisitCreateFirstAdminResponse

func (response CreateFirstAdmin422JSONResponse) VisitCreateFirstAdminResponse(w http.ResponseWriter) error

type CreateFirstAdminJSONRequestBody

type CreateFirstAdminJSONRequestBody = CreateAdminRequest

CreateFirstAdminJSONRequestBody defines body for CreateFirstAdmin for application/json ContentType.

type CreateFirstAdminRequestObject

type CreateFirstAdminRequestObject struct {
	Body *CreateFirstAdminJSONRequestBody
}

type CreateFirstAdminResponseObject

type CreateFirstAdminResponseObject interface {
	VisitCreateFirstAdminResponse(w http.ResponseWriter) error
}

type CreateFolder201JSONResponse

type CreateFolder201JSONResponse QueryFolder

func (CreateFolder201JSONResponse) VisitCreateFolderResponse

func (response CreateFolder201JSONResponse) VisitCreateFolderResponse(w http.ResponseWriter) error

type CreateFolder401JSONResponse

type CreateFolder401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreateFolder401JSONResponse) VisitCreateFolderResponse

func (response CreateFolder401JSONResponse) VisitCreateFolderResponse(w http.ResponseWriter) error

type CreateFolder403JSONResponse

type CreateFolder403JSONResponse struct{ ForbiddenJSONResponse }

func (CreateFolder403JSONResponse) VisitCreateFolderResponse

func (response CreateFolder403JSONResponse) VisitCreateFolderResponse(w http.ResponseWriter) error

type CreateFolder404JSONResponse

type CreateFolder404JSONResponse struct{ NotFoundJSONResponse }

func (CreateFolder404JSONResponse) VisitCreateFolderResponse

func (response CreateFolder404JSONResponse) VisitCreateFolderResponse(w http.ResponseWriter) error

type CreateFolder422JSONResponse

type CreateFolder422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (CreateFolder422JSONResponse) VisitCreateFolderResponse

func (response CreateFolder422JSONResponse) VisitCreateFolderResponse(w http.ResponseWriter) error

type CreateFolderJSONRequestBody

type CreateFolderJSONRequestBody = CreateFolderRequest

CreateFolderJSONRequestBody defines body for CreateFolder for application/json ContentType.

type CreateFolderRequest

type CreateFolderRequest struct {
	Name     string              `json:"name"`
	ParentId *openapi_types.UUID `json:"parent_id"`

	// Slug Omitted: derived from name
	Slug *string `json:"slug"`

	// SpaceId Omitted: the workspace's default space
	SpaceId *openapi_types.UUID `json:"space_id"`
}

CreateFolderRequest defines model for CreateFolderRequest.

type CreateFolderRequestObject

type CreateFolderRequestObject struct {
	Id   PathId `json:"id"`
	Body *CreateFolderJSONRequestBody
}

type CreateFolderResponseObject

type CreateFolderResponseObject interface {
	VisitCreateFolderResponse(w http.ResponseWriter) error
}

type CreateIdentityProvider201JSONResponse

type CreateIdentityProvider201JSONResponse IdentityProviderDetail

func (CreateIdentityProvider201JSONResponse) VisitCreateIdentityProviderResponse

func (response CreateIdentityProvider201JSONResponse) VisitCreateIdentityProviderResponse(w http.ResponseWriter) error

type CreateIdentityProvider401JSONResponse

type CreateIdentityProvider401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreateIdentityProvider401JSONResponse) VisitCreateIdentityProviderResponse

func (response CreateIdentityProvider401JSONResponse) VisitCreateIdentityProviderResponse(w http.ResponseWriter) error

type CreateIdentityProvider403JSONResponse

type CreateIdentityProvider403JSONResponse struct{ ForbiddenJSONResponse }

func (CreateIdentityProvider403JSONResponse) VisitCreateIdentityProviderResponse

func (response CreateIdentityProvider403JSONResponse) VisitCreateIdentityProviderResponse(w http.ResponseWriter) error

type CreateIdentityProvider422JSONResponse

type CreateIdentityProvider422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (CreateIdentityProvider422JSONResponse) VisitCreateIdentityProviderResponse

func (response CreateIdentityProvider422JSONResponse) VisitCreateIdentityProviderResponse(w http.ResponseWriter) error

type CreateIdentityProviderJSONRequestBody

type CreateIdentityProviderJSONRequestBody = CreateIdentityProviderRequest

CreateIdentityProviderJSONRequestBody defines body for CreateIdentityProvider for application/json ContentType.

type CreateIdentityProviderRequest

type CreateIdentityProviderRequest struct {
	Enabled *bool `json:"enabled,omitempty"`

	// Ldap LDAP provider configuration written once. `bind_password` is never returned.
	Ldap *LDAPConfig `json:"ldap,omitempty"`
	Name string      `json:"name"`

	// Oidc OIDC provider configuration written once. `client_secret` is never returned.
	Oidc *OIDCConfig          `json:"oidc,omitempty"`
	Type IdentityProviderType `json:"type"`
}

CreateIdentityProviderRequest defines model for CreateIdentityProviderRequest.

type CreateIdentityProviderRequestObject

type CreateIdentityProviderRequestObject struct {
	Body *CreateIdentityProviderJSONRequestBody
}

type CreateIdentityProviderResponseObject

type CreateIdentityProviderResponseObject interface {
	VisitCreateIdentityProviderResponse(w http.ResponseWriter) error
}

type CreateMaintenanceRequest

type CreateMaintenanceRequest struct {
	// BindingId The binding whose engine runs the statements. It must be an enabled binding of this catalog on an engine with Iceberg maintenance, or the request is a 422. Omitted, the first such binding is used.
	BindingId  *openapi_types.UUID `json:"binding_id"`
	Namespace  string              `json:"namespace"`
	Operations []string            `json:"operations"`
	Retention  *string             `json:"retention"`
	Table      string              `json:"table"`
}

CreateMaintenanceRequest defines model for CreateMaintenanceRequest.

type CreateMaintenanceRun202JSONResponse

type CreateMaintenanceRun202JSONResponse MaintenanceRun

func (CreateMaintenanceRun202JSONResponse) VisitCreateMaintenanceRunResponse

func (response CreateMaintenanceRun202JSONResponse) VisitCreateMaintenanceRunResponse(w http.ResponseWriter) error

type CreateMaintenanceRun401JSONResponse

type CreateMaintenanceRun401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreateMaintenanceRun401JSONResponse) VisitCreateMaintenanceRunResponse

func (response CreateMaintenanceRun401JSONResponse) VisitCreateMaintenanceRunResponse(w http.ResponseWriter) error

type CreateMaintenanceRun403JSONResponse

type CreateMaintenanceRun403JSONResponse struct{ ForbiddenJSONResponse }

func (CreateMaintenanceRun403JSONResponse) VisitCreateMaintenanceRunResponse

func (response CreateMaintenanceRun403JSONResponse) VisitCreateMaintenanceRunResponse(w http.ResponseWriter) error

type CreateMaintenanceRun404JSONResponse

type CreateMaintenanceRun404JSONResponse struct{ NotFoundJSONResponse }

func (CreateMaintenanceRun404JSONResponse) VisitCreateMaintenanceRunResponse

func (response CreateMaintenanceRun404JSONResponse) VisitCreateMaintenanceRunResponse(w http.ResponseWriter) error

type CreateMaintenanceRun409JSONResponse

type CreateMaintenanceRun409JSONResponse struct{ ConflictJSONResponse }

func (CreateMaintenanceRun409JSONResponse) VisitCreateMaintenanceRunResponse

func (response CreateMaintenanceRun409JSONResponse) VisitCreateMaintenanceRunResponse(w http.ResponseWriter) error

type CreateMaintenanceRun422JSONResponse

type CreateMaintenanceRun422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (CreateMaintenanceRun422JSONResponse) VisitCreateMaintenanceRunResponse

func (response CreateMaintenanceRun422JSONResponse) VisitCreateMaintenanceRunResponse(w http.ResponseWriter) error

type CreateMaintenanceRunJSONRequestBody

type CreateMaintenanceRunJSONRequestBody = CreateMaintenanceRequest

CreateMaintenanceRunJSONRequestBody defines body for CreateMaintenanceRun for application/json ContentType.

type CreateMaintenanceRunRequestObject

type CreateMaintenanceRunRequestObject struct {
	CatalogId openapi_types.UUID `json:"catalog_id"`
	Body      *CreateMaintenanceRunJSONRequestBody
}

type CreateMaintenanceRunResponseObject

type CreateMaintenanceRunResponseObject interface {
	VisitCreateMaintenanceRunResponse(w http.ResponseWriter) error
}

type CreateMigration201JSONResponse

type CreateMigration201JSONResponse Migration

func (CreateMigration201JSONResponse) VisitCreateMigrationResponse

func (response CreateMigration201JSONResponse) VisitCreateMigrationResponse(w http.ResponseWriter) error

type CreateMigration401JSONResponse

type CreateMigration401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreateMigration401JSONResponse) VisitCreateMigrationResponse

func (response CreateMigration401JSONResponse) VisitCreateMigrationResponse(w http.ResponseWriter) error

type CreateMigration403JSONResponse

type CreateMigration403JSONResponse struct{ ForbiddenJSONResponse }

func (CreateMigration403JSONResponse) VisitCreateMigrationResponse

func (response CreateMigration403JSONResponse) VisitCreateMigrationResponse(w http.ResponseWriter) error

type CreateMigration422JSONResponse

type CreateMigration422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (CreateMigration422JSONResponse) VisitCreateMigrationResponse

func (response CreateMigration422JSONResponse) VisitCreateMigrationResponse(w http.ResponseWriter) error

type CreateMigrationJSONRequestBody

type CreateMigrationJSONRequestBody = CreateMigrationRequest

CreateMigrationJSONRequestBody defines body for CreateMigration for application/json ContentType.

type CreateMigrationRequest

type CreateMigrationRequest struct {
	Name                      string                           `json:"name"`
	SourceCredentials         *map[string]interface{}          `json:"source_credentials"`
	SourceType                CreateMigrationRequestSourceType `json:"source_type"`
	SourceUrl                 string                           `json:"source_url"`
	TargetCatalogConnectionId openapi_types.UUID               `json:"target_catalog_connection_id"`
}

CreateMigrationRequest defines model for CreateMigrationRequest.

type CreateMigrationRequestObject

type CreateMigrationRequestObject struct {
	Body *CreateMigrationJSONRequestBody
}

type CreateMigrationRequestSourceType

type CreateMigrationRequestSourceType string

CreateMigrationRequestSourceType defines model for CreateMigrationRequest.SourceType.

const (
	CreateMigrationRequestSourceTypeNessie CreateMigrationRequestSourceType = "nessie"
)

Defines values for CreateMigrationRequestSourceType.

type CreateMigrationResponseObject

type CreateMigrationResponseObject interface {
	VisitCreateMigrationResponse(w http.ResponseWriter) error
}

type CreateRetriever201JSONResponse

type CreateRetriever201JSONResponse Retriever

func (CreateRetriever201JSONResponse) VisitCreateRetrieverResponse

func (response CreateRetriever201JSONResponse) VisitCreateRetrieverResponse(w http.ResponseWriter) error

type CreateRetriever401JSONResponse

type CreateRetriever401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreateRetriever401JSONResponse) VisitCreateRetrieverResponse

func (response CreateRetriever401JSONResponse) VisitCreateRetrieverResponse(w http.ResponseWriter) error

type CreateRetriever403JSONResponse

type CreateRetriever403JSONResponse struct{ ForbiddenJSONResponse }

func (CreateRetriever403JSONResponse) VisitCreateRetrieverResponse

func (response CreateRetriever403JSONResponse) VisitCreateRetrieverResponse(w http.ResponseWriter) error

type CreateRetriever422JSONResponse

type CreateRetriever422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (CreateRetriever422JSONResponse) VisitCreateRetrieverResponse

func (response CreateRetriever422JSONResponse) VisitCreateRetrieverResponse(w http.ResponseWriter) error

type CreateRetrieverJSONRequestBody

type CreateRetrieverJSONRequestBody = CreateRetrieverRequest

CreateRetrieverJSONRequestBody defines body for CreateRetriever for application/json ContentType.

type CreateRetrieverRequest

type CreateRetrieverRequest struct {
	// CronSchedule Standard five-field cron: minute hour day-of-month month day-of-week (UTC), optionally prefixed with CRON_TZ=<IANA>. The minimum interval is 5 minutes.
	CronSchedule string `json:"cron_schedule"`

	// DefinitionSql A single SELECT (or WITH ... SELECT) statement. Full refresh replaces the destination table atomically (CREATE OR REPLACE TABLE ... AS SELECT).
	DefinitionSql string `json:"definition_sql"`

	// DestBindingId A binding from GET .../retrievers/destinations
	DestBindingId *openapi_types.UUID `json:"dest_binding_id,omitempty"`

	// DestCatalog Deprecated: the legacy catalog name; use dest_binding_id.
	DestCatalog *string `json:"dest_catalog,omitempty"`

	// DestNamespace Destination namespace/schema (identifier).
	DestNamespace string `json:"dest_namespace"`

	// DestTable Destination table name (identifier).
	DestTable   string                             `json:"dest_table"`
	Name        string                             `json:"name"`
	RefreshType *CreateRetrieverRequestRefreshType `json:"refresh_type,omitempty"`
}

CreateRetrieverRequest defines model for CreateRetrieverRequest.

type CreateRetrieverRequestObject

type CreateRetrieverRequestObject struct {
	Id   PathId `json:"id"`
	Body *CreateRetrieverJSONRequestBody
}

type CreateRetrieverRequestRefreshType

type CreateRetrieverRequestRefreshType string

CreateRetrieverRequestRefreshType defines model for CreateRetrieverRequest.RefreshType.

const (
	CreateRetrieverRequestRefreshTypeFull        CreateRetrieverRequestRefreshType = "full"
	CreateRetrieverRequestRefreshTypeIncremental CreateRetrieverRequestRefreshType = "incremental"
)

Defines values for CreateRetrieverRequestRefreshType.

type CreateRetrieverResponseObject

type CreateRetrieverResponseObject interface {
	VisitCreateRetrieverResponse(w http.ResponseWriter) error
}

type CreateSavedQuery201JSONResponse

type CreateSavedQuery201JSONResponse SavedQuery

func (CreateSavedQuery201JSONResponse) VisitCreateSavedQueryResponse

func (response CreateSavedQuery201JSONResponse) VisitCreateSavedQueryResponse(w http.ResponseWriter) error

type CreateSavedQuery401JSONResponse

type CreateSavedQuery401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreateSavedQuery401JSONResponse) VisitCreateSavedQueryResponse

func (response CreateSavedQuery401JSONResponse) VisitCreateSavedQueryResponse(w http.ResponseWriter) error

type CreateSavedQuery403JSONResponse

type CreateSavedQuery403JSONResponse struct{ ForbiddenJSONResponse }

func (CreateSavedQuery403JSONResponse) VisitCreateSavedQueryResponse

func (response CreateSavedQuery403JSONResponse) VisitCreateSavedQueryResponse(w http.ResponseWriter) error

type CreateSavedQuery404JSONResponse

type CreateSavedQuery404JSONResponse struct{ NotFoundJSONResponse }

func (CreateSavedQuery404JSONResponse) VisitCreateSavedQueryResponse

func (response CreateSavedQuery404JSONResponse) VisitCreateSavedQueryResponse(w http.ResponseWriter) error

type CreateSavedQuery409JSONResponse

type CreateSavedQuery409JSONResponse struct{ ConflictJSONResponse }

func (CreateSavedQuery409JSONResponse) VisitCreateSavedQueryResponse

func (response CreateSavedQuery409JSONResponse) VisitCreateSavedQueryResponse(w http.ResponseWriter) error

type CreateSavedQuery422JSONResponse

type CreateSavedQuery422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (CreateSavedQuery422JSONResponse) VisitCreateSavedQueryResponse

func (response CreateSavedQuery422JSONResponse) VisitCreateSavedQueryResponse(w http.ResponseWriter) error

type CreateSavedQueryJSONRequestBody

type CreateSavedQueryJSONRequestBody = CreateSavedQueryRequest

CreateSavedQueryJSONRequestBody defines body for CreateSavedQuery for application/json ContentType.

type CreateSavedQueryRequest

type CreateSavedQueryRequest struct {
	FolderId *openapi_types.UUID `json:"folder_id"`
	Name     string              `json:"name"`

	// Slug Omitted: derived from name
	Slug *string `json:"slug"`

	// SpaceId Omitted: the workspace's default space
	SpaceId *openapi_types.UUID `json:"space_id"`
	Sql     string              `json:"sql"`
	Target  *SavedQueryTarget   `json:"target,omitempty"`
}

CreateSavedQueryRequest defines model for CreateSavedQueryRequest.

type CreateSavedQueryRequestObject

type CreateSavedQueryRequestObject struct {
	Id   PathId `json:"id"`
	Body *CreateSavedQueryJSONRequestBody
}

type CreateSavedQueryResponseObject

type CreateSavedQueryResponseObject interface {
	VisitCreateSavedQueryResponse(w http.ResponseWriter) error
}

type CreateSearchGlossaryEntry201JSONResponse

type CreateSearchGlossaryEntry201JSONResponse SearchGlossaryEntry

func (CreateSearchGlossaryEntry201JSONResponse) VisitCreateSearchGlossaryEntryResponse

func (response CreateSearchGlossaryEntry201JSONResponse) VisitCreateSearchGlossaryEntryResponse(w http.ResponseWriter) error

type CreateSearchGlossaryEntry401JSONResponse

type CreateSearchGlossaryEntry401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreateSearchGlossaryEntry401JSONResponse) VisitCreateSearchGlossaryEntryResponse

func (response CreateSearchGlossaryEntry401JSONResponse) VisitCreateSearchGlossaryEntryResponse(w http.ResponseWriter) error

type CreateSearchGlossaryEntry403JSONResponse

type CreateSearchGlossaryEntry403JSONResponse struct{ ForbiddenJSONResponse }

func (CreateSearchGlossaryEntry403JSONResponse) VisitCreateSearchGlossaryEntryResponse

func (response CreateSearchGlossaryEntry403JSONResponse) VisitCreateSearchGlossaryEntryResponse(w http.ResponseWriter) error

type CreateSearchGlossaryEntry404JSONResponse

type CreateSearchGlossaryEntry404JSONResponse struct{ NotFoundJSONResponse }

func (CreateSearchGlossaryEntry404JSONResponse) VisitCreateSearchGlossaryEntryResponse

func (response CreateSearchGlossaryEntry404JSONResponse) VisitCreateSearchGlossaryEntryResponse(w http.ResponseWriter) error

type CreateSearchGlossaryEntry409JSONResponse

type CreateSearchGlossaryEntry409JSONResponse struct{ ConflictJSONResponse }

func (CreateSearchGlossaryEntry409JSONResponse) VisitCreateSearchGlossaryEntryResponse

func (response CreateSearchGlossaryEntry409JSONResponse) VisitCreateSearchGlossaryEntryResponse(w http.ResponseWriter) error

type CreateSearchGlossaryEntry422JSONResponse

type CreateSearchGlossaryEntry422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (CreateSearchGlossaryEntry422JSONResponse) VisitCreateSearchGlossaryEntryResponse

func (response CreateSearchGlossaryEntry422JSONResponse) VisitCreateSearchGlossaryEntryResponse(w http.ResponseWriter) error

type CreateSearchGlossaryEntryJSONRequestBody

type CreateSearchGlossaryEntryJSONRequestBody = SearchGlossaryEntryCreate

CreateSearchGlossaryEntryJSONRequestBody defines body for CreateSearchGlossaryEntry for application/json ContentType.

type CreateSearchGlossaryEntryRequestObject

type CreateSearchGlossaryEntryRequestObject struct {
	Id   PathId `json:"id"`
	Body *CreateSearchGlossaryEntryJSONRequestBody
}

type CreateSearchGlossaryEntryResponseObject

type CreateSearchGlossaryEntryResponseObject interface {
	VisitCreateSearchGlossaryEntryResponse(w http.ResponseWriter) error
}

type CreateSemanticMetric201JSONResponse

type CreateSemanticMetric201JSONResponse SemanticMetric

func (CreateSemanticMetric201JSONResponse) VisitCreateSemanticMetricResponse

func (response CreateSemanticMetric201JSONResponse) VisitCreateSemanticMetricResponse(w http.ResponseWriter) error

type CreateSemanticMetric401JSONResponse

type CreateSemanticMetric401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreateSemanticMetric401JSONResponse) VisitCreateSemanticMetricResponse

func (response CreateSemanticMetric401JSONResponse) VisitCreateSemanticMetricResponse(w http.ResponseWriter) error

type CreateSemanticMetric403JSONResponse

type CreateSemanticMetric403JSONResponse struct{ ForbiddenJSONResponse }

func (CreateSemanticMetric403JSONResponse) VisitCreateSemanticMetricResponse

func (response CreateSemanticMetric403JSONResponse) VisitCreateSemanticMetricResponse(w http.ResponseWriter) error

type CreateSemanticMetric404JSONResponse

type CreateSemanticMetric404JSONResponse struct{ NotFoundJSONResponse }

func (CreateSemanticMetric404JSONResponse) VisitCreateSemanticMetricResponse

func (response CreateSemanticMetric404JSONResponse) VisitCreateSemanticMetricResponse(w http.ResponseWriter) error

type CreateSemanticMetric409JSONResponse

type CreateSemanticMetric409JSONResponse struct{ ConflictJSONResponse }

func (CreateSemanticMetric409JSONResponse) VisitCreateSemanticMetricResponse

func (response CreateSemanticMetric409JSONResponse) VisitCreateSemanticMetricResponse(w http.ResponseWriter) error

type CreateSemanticMetric422JSONResponse

type CreateSemanticMetric422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (CreateSemanticMetric422JSONResponse) VisitCreateSemanticMetricResponse

func (response CreateSemanticMetric422JSONResponse) VisitCreateSemanticMetricResponse(w http.ResponseWriter) error

type CreateSemanticMetricJSONRequestBody

type CreateSemanticMetricJSONRequestBody = SemanticMetricCreate

CreateSemanticMetricJSONRequestBody defines body for CreateSemanticMetric for application/json ContentType.

type CreateSemanticMetricRequestObject

type CreateSemanticMetricRequestObject struct {
	Id   PathId `json:"id"`
	Body *CreateSemanticMetricJSONRequestBody
}

type CreateSemanticMetricResponseObject

type CreateSemanticMetricResponseObject interface {
	VisitCreateSemanticMetricResponse(w http.ResponseWriter) error
}

type CreateSemanticModel201JSONResponse

type CreateSemanticModel201JSONResponse SemanticModel

func (CreateSemanticModel201JSONResponse) VisitCreateSemanticModelResponse

func (response CreateSemanticModel201JSONResponse) VisitCreateSemanticModelResponse(w http.ResponseWriter) error

type CreateSemanticModel401JSONResponse

type CreateSemanticModel401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreateSemanticModel401JSONResponse) VisitCreateSemanticModelResponse

func (response CreateSemanticModel401JSONResponse) VisitCreateSemanticModelResponse(w http.ResponseWriter) error

type CreateSemanticModel403JSONResponse

type CreateSemanticModel403JSONResponse struct{ ForbiddenJSONResponse }

func (CreateSemanticModel403JSONResponse) VisitCreateSemanticModelResponse

func (response CreateSemanticModel403JSONResponse) VisitCreateSemanticModelResponse(w http.ResponseWriter) error

type CreateSemanticModel404JSONResponse

type CreateSemanticModel404JSONResponse struct{ NotFoundJSONResponse }

func (CreateSemanticModel404JSONResponse) VisitCreateSemanticModelResponse

func (response CreateSemanticModel404JSONResponse) VisitCreateSemanticModelResponse(w http.ResponseWriter) error

type CreateSemanticModel409JSONResponse

type CreateSemanticModel409JSONResponse struct{ ConflictJSONResponse }

func (CreateSemanticModel409JSONResponse) VisitCreateSemanticModelResponse

func (response CreateSemanticModel409JSONResponse) VisitCreateSemanticModelResponse(w http.ResponseWriter) error

type CreateSemanticModel422JSONResponse

type CreateSemanticModel422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (CreateSemanticModel422JSONResponse) VisitCreateSemanticModelResponse

func (response CreateSemanticModel422JSONResponse) VisitCreateSemanticModelResponse(w http.ResponseWriter) error

type CreateSemanticModelJSONRequestBody

type CreateSemanticModelJSONRequestBody = SemanticModelCreate

CreateSemanticModelJSONRequestBody defines body for CreateSemanticModel for application/json ContentType.

type CreateSemanticModelRequestObject

type CreateSemanticModelRequestObject struct {
	Id   PathId `json:"id"`
	Body *CreateSemanticModelJSONRequestBody
}

type CreateSemanticModelResponseObject

type CreateSemanticModelResponseObject interface {
	VisitCreateSemanticModelResponse(w http.ResponseWriter) error
}

type CreateServiceAccount201JSONResponse

type CreateServiceAccount201JSONResponse ServiceAccount

func (CreateServiceAccount201JSONResponse) VisitCreateServiceAccountResponse

func (response CreateServiceAccount201JSONResponse) VisitCreateServiceAccountResponse(w http.ResponseWriter) error

type CreateServiceAccount401JSONResponse

type CreateServiceAccount401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreateServiceAccount401JSONResponse) VisitCreateServiceAccountResponse

func (response CreateServiceAccount401JSONResponse) VisitCreateServiceAccountResponse(w http.ResponseWriter) error

type CreateServiceAccount403JSONResponse

type CreateServiceAccount403JSONResponse struct{ ForbiddenJSONResponse }

func (CreateServiceAccount403JSONResponse) VisitCreateServiceAccountResponse

func (response CreateServiceAccount403JSONResponse) VisitCreateServiceAccountResponse(w http.ResponseWriter) error

type CreateServiceAccount404JSONResponse

type CreateServiceAccount404JSONResponse struct{ NotFoundJSONResponse }

func (CreateServiceAccount404JSONResponse) VisitCreateServiceAccountResponse

func (response CreateServiceAccount404JSONResponse) VisitCreateServiceAccountResponse(w http.ResponseWriter) error

type CreateServiceAccount409JSONResponse

type CreateServiceAccount409JSONResponse struct{ ConflictJSONResponse }

func (CreateServiceAccount409JSONResponse) VisitCreateServiceAccountResponse

func (response CreateServiceAccount409JSONResponse) VisitCreateServiceAccountResponse(w http.ResponseWriter) error

type CreateServiceAccount422JSONResponse

type CreateServiceAccount422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (CreateServiceAccount422JSONResponse) VisitCreateServiceAccountResponse

func (response CreateServiceAccount422JSONResponse) VisitCreateServiceAccountResponse(w http.ResponseWriter) error

type CreateServiceAccountJSONRequestBody

type CreateServiceAccountJSONRequestBody = CreateServiceAccountRequest

CreateServiceAccountJSONRequestBody defines body for CreateServiceAccount for application/json ContentType.

type CreateServiceAccountRequest

type CreateServiceAccountRequest struct {
	ClientId           *string             `json:"client_id,omitempty"`
	Description        *string             `json:"description,omitempty"`
	IdentityProviderId *openapi_types.UUID `json:"identity_provider_id,omitempty"`
	Name               string              `json:"name"`

	// Role What a member may do in Baleia in this workspace (#653, ADR 0016): viewers see content and run queries, editors also create and edit content, admins also manage the workspace. What they may read or write in its catalogs is the catalog manager's decision (ADR 0015).
	Role *WorkspaceRole `json:"role,omitempty"`

	// WorkspaceId Create it in this workspace with role (default viewer); needed unless the caller is a global admin
	WorkspaceId *openapi_types.UUID `json:"workspace_id,omitempty"`
}

CreateServiceAccountRequest defines model for CreateServiceAccountRequest.

type CreateServiceAccountRequestObject

type CreateServiceAccountRequestObject struct {
	Body *CreateServiceAccountJSONRequestBody
}

type CreateServiceAccountResponseObject

type CreateServiceAccountResponseObject interface {
	VisitCreateServiceAccountResponse(w http.ResponseWriter) error
}

type CreateServiceAccountToken201JSONResponse

type CreateServiceAccountToken201JSONResponse ApiKeyCreated

func (CreateServiceAccountToken201JSONResponse) VisitCreateServiceAccountTokenResponse

func (response CreateServiceAccountToken201JSONResponse) VisitCreateServiceAccountTokenResponse(w http.ResponseWriter) error

type CreateServiceAccountToken401JSONResponse

type CreateServiceAccountToken401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreateServiceAccountToken401JSONResponse) VisitCreateServiceAccountTokenResponse

func (response CreateServiceAccountToken401JSONResponse) VisitCreateServiceAccountTokenResponse(w http.ResponseWriter) error

type CreateServiceAccountToken404JSONResponse

type CreateServiceAccountToken404JSONResponse struct{ NotFoundJSONResponse }

func (CreateServiceAccountToken404JSONResponse) VisitCreateServiceAccountTokenResponse

func (response CreateServiceAccountToken404JSONResponse) VisitCreateServiceAccountTokenResponse(w http.ResponseWriter) error

type CreateServiceAccountToken422JSONResponse

type CreateServiceAccountToken422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (CreateServiceAccountToken422JSONResponse) VisitCreateServiceAccountTokenResponse

func (response CreateServiceAccountToken422JSONResponse) VisitCreateServiceAccountTokenResponse(w http.ResponseWriter) error

type CreateServiceAccountTokenJSONRequestBody

type CreateServiceAccountTokenJSONRequestBody = CreateApiKeyRequest

CreateServiceAccountTokenJSONRequestBody defines body for CreateServiceAccountToken for application/json ContentType.

type CreateServiceAccountTokenRequestObject

type CreateServiceAccountTokenRequestObject struct {
	Id   PathId `json:"id"`
	Body *CreateServiceAccountTokenJSONRequestBody
}

type CreateServiceAccountTokenResponseObject

type CreateServiceAccountTokenResponseObject interface {
	VisitCreateServiceAccountTokenResponse(w http.ResponseWriter) error
}

type CreateSpace201JSONResponse

type CreateSpace201JSONResponse Space

func (CreateSpace201JSONResponse) VisitCreateSpaceResponse

func (response CreateSpace201JSONResponse) VisitCreateSpaceResponse(w http.ResponseWriter) error

type CreateSpace401JSONResponse

type CreateSpace401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreateSpace401JSONResponse) VisitCreateSpaceResponse

func (response CreateSpace401JSONResponse) VisitCreateSpaceResponse(w http.ResponseWriter) error

type CreateSpace403JSONResponse

type CreateSpace403JSONResponse struct{ ForbiddenJSONResponse }

func (CreateSpace403JSONResponse) VisitCreateSpaceResponse

func (response CreateSpace403JSONResponse) VisitCreateSpaceResponse(w http.ResponseWriter) error

type CreateSpace404JSONResponse

type CreateSpace404JSONResponse struct{ NotFoundJSONResponse }

func (CreateSpace404JSONResponse) VisitCreateSpaceResponse

func (response CreateSpace404JSONResponse) VisitCreateSpaceResponse(w http.ResponseWriter) error

type CreateSpace409JSONResponse

type CreateSpace409JSONResponse struct{ ConflictJSONResponse }

func (CreateSpace409JSONResponse) VisitCreateSpaceResponse

func (response CreateSpace409JSONResponse) VisitCreateSpaceResponse(w http.ResponseWriter) error

type CreateSpace422JSONResponse

type CreateSpace422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (CreateSpace422JSONResponse) VisitCreateSpaceResponse

func (response CreateSpace422JSONResponse) VisitCreateSpaceResponse(w http.ResponseWriter) error

type CreateSpaceJSONRequestBody

type CreateSpaceJSONRequestBody = CreateSpaceRequest

CreateSpaceJSONRequestBody defines body for CreateSpace for application/json ContentType.

type CreateSpaceRequest

type CreateSpaceRequest struct {
	DefaultRole *CreateSpaceRequestDefaultRole `json:"default_role,omitempty"`
	Description *string                        `json:"description"`
	Name        string                         `json:"name"`
	Visibility  CreateSpaceRequestVisibility   `json:"visibility"`
}

CreateSpaceRequest defines model for CreateSpaceRequest.

type CreateSpaceRequestDefaultRole

type CreateSpaceRequestDefaultRole string

CreateSpaceRequestDefaultRole defines model for CreateSpaceRequest.DefaultRole.

const (
	CreateSpaceRequestDefaultRoleEditor CreateSpaceRequestDefaultRole = "editor"
	CreateSpaceRequestDefaultRoleViewer CreateSpaceRequestDefaultRole = "viewer"
)

Defines values for CreateSpaceRequestDefaultRole.

type CreateSpaceRequestObject

type CreateSpaceRequestObject struct {
	Id   PathId `json:"id"`
	Body *CreateSpaceJSONRequestBody
}

type CreateSpaceRequestVisibility

type CreateSpaceRequestVisibility string

CreateSpaceRequestVisibility defines model for CreateSpaceRequest.Visibility.

const (
	CreateSpaceRequestVisibilityRestricted CreateSpaceRequestVisibility = "restricted"
	CreateSpaceRequestVisibilityWorkspace  CreateSpaceRequestVisibility = "workspace"
)

Defines values for CreateSpaceRequestVisibility.

type CreateSpaceResponseObject

type CreateSpaceResponseObject interface {
	VisitCreateSpaceResponse(w http.ResponseWriter) error
}

type CreateTeam201JSONResponse

type CreateTeam201JSONResponse Team

func (CreateTeam201JSONResponse) VisitCreateTeamResponse

func (response CreateTeam201JSONResponse) VisitCreateTeamResponse(w http.ResponseWriter) error

type CreateTeam401JSONResponse

type CreateTeam401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreateTeam401JSONResponse) VisitCreateTeamResponse

func (response CreateTeam401JSONResponse) VisitCreateTeamResponse(w http.ResponseWriter) error

type CreateTeam403JSONResponse

type CreateTeam403JSONResponse struct{ ForbiddenJSONResponse }

func (CreateTeam403JSONResponse) VisitCreateTeamResponse

func (response CreateTeam403JSONResponse) VisitCreateTeamResponse(w http.ResponseWriter) error

type CreateTeam422JSONResponse

type CreateTeam422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (CreateTeam422JSONResponse) VisitCreateTeamResponse

func (response CreateTeam422JSONResponse) VisitCreateTeamResponse(w http.ResponseWriter) error

type CreateTeamJSONRequestBody

type CreateTeamJSONRequestBody = CreateTeamRequest

CreateTeamJSONRequestBody defines body for CreateTeam for application/json ContentType.

type CreateTeamRequest

type CreateTeamRequest struct {
	Description *string `json:"description,omitempty"`
	Name        string  `json:"name"`
}

CreateTeamRequest defines model for CreateTeamRequest.

type CreateTeamRequestObject

type CreateTeamRequestObject struct {
	Body *CreateTeamJSONRequestBody
}

type CreateTeamResponseObject

type CreateTeamResponseObject interface {
	VisitCreateTeamResponse(w http.ResponseWriter) error
}

type CreateWebhook201JSONResponse

type CreateWebhook201JSONResponse CreatedWebhook

func (CreateWebhook201JSONResponse) VisitCreateWebhookResponse

func (response CreateWebhook201JSONResponse) VisitCreateWebhookResponse(w http.ResponseWriter) error

type CreateWebhook401JSONResponse

type CreateWebhook401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreateWebhook401JSONResponse) VisitCreateWebhookResponse

func (response CreateWebhook401JSONResponse) VisitCreateWebhookResponse(w http.ResponseWriter) error

type CreateWebhook403JSONResponse

type CreateWebhook403JSONResponse struct{ ForbiddenJSONResponse }

func (CreateWebhook403JSONResponse) VisitCreateWebhookResponse

func (response CreateWebhook403JSONResponse) VisitCreateWebhookResponse(w http.ResponseWriter) error

type CreateWebhook404JSONResponse

type CreateWebhook404JSONResponse struct{ NotFoundJSONResponse }

func (CreateWebhook404JSONResponse) VisitCreateWebhookResponse

func (response CreateWebhook404JSONResponse) VisitCreateWebhookResponse(w http.ResponseWriter) error

type CreateWebhook422JSONResponse

type CreateWebhook422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (CreateWebhook422JSONResponse) VisitCreateWebhookResponse

func (response CreateWebhook422JSONResponse) VisitCreateWebhookResponse(w http.ResponseWriter) error

type CreateWebhookJSONRequestBody

type CreateWebhookJSONRequestBody = CreateWebhookRequest

CreateWebhookJSONRequestBody defines body for CreateWebhook for application/json ContentType.

type CreateWebhookRequest

type CreateWebhookRequest struct {
	Events []CreateWebhookRequestEvents `json:"events"`
	Url    string                       `json:"url"`
}

CreateWebhookRequest defines model for CreateWebhookRequest.

type CreateWebhookRequestEvents

type CreateWebhookRequestEvents string

CreateWebhookRequestEvents defines model for CreateWebhookRequest.Events.

const (
	Asterisk          CreateWebhookRequestEvents = "*"
	Audit             CreateWebhookRequestEvents = "audit"
	CatalogSynced     CreateWebhookRequestEvents = "catalog.synced"
	ExecutionFinished CreateWebhookRequestEvents = "execution.finished"
)

Defines values for CreateWebhookRequestEvents.

type CreateWebhookRequestObject

type CreateWebhookRequestObject struct {
	Id   PathId `json:"id"`
	Body *CreateWebhookJSONRequestBody
}

type CreateWebhookResponseObject

type CreateWebhookResponseObject interface {
	VisitCreateWebhookResponse(w http.ResponseWriter) error
}

type CreateWorkloadRule201JSONResponse

type CreateWorkloadRule201JSONResponse WorkloadRule

func (CreateWorkloadRule201JSONResponse) VisitCreateWorkloadRuleResponse

func (response CreateWorkloadRule201JSONResponse) VisitCreateWorkloadRuleResponse(w http.ResponseWriter) error

type CreateWorkloadRule401JSONResponse

type CreateWorkloadRule401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreateWorkloadRule401JSONResponse) VisitCreateWorkloadRuleResponse

func (response CreateWorkloadRule401JSONResponse) VisitCreateWorkloadRuleResponse(w http.ResponseWriter) error

type CreateWorkloadRule403JSONResponse

type CreateWorkloadRule403JSONResponse struct{ ForbiddenJSONResponse }

func (CreateWorkloadRule403JSONResponse) VisitCreateWorkloadRuleResponse

func (response CreateWorkloadRule403JSONResponse) VisitCreateWorkloadRuleResponse(w http.ResponseWriter) error

type CreateWorkloadRule422JSONResponse

type CreateWorkloadRule422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (CreateWorkloadRule422JSONResponse) VisitCreateWorkloadRuleResponse

func (response CreateWorkloadRule422JSONResponse) VisitCreateWorkloadRuleResponse(w http.ResponseWriter) error

type CreateWorkloadRuleJSONRequestBody

type CreateWorkloadRuleJSONRequestBody = CreateWorkloadRuleRequest

CreateWorkloadRuleJSONRequestBody defines body for CreateWorkloadRule for application/json ContentType.

type CreateWorkloadRuleRequest

type CreateWorkloadRuleRequest struct {
	Class   CreateWorkloadRuleRequestClass `json:"class"`
	Enabled *bool                          `json:"enabled,omitempty"`

	// Match Closed match schema (#539). Every field present must match; an empty object is a catch-all rule.
	Match    *WorkloadRuleMatch                 `json:"match,omitempty"`
	MaxClass *CreateWorkloadRuleRequestMaxClass `json:"max_class"`

	// Position Append when omitted
	Position *int `json:"position,omitempty"`
	Weight   *int `json:"weight,omitempty"`
}

CreateWorkloadRuleRequest defines model for CreateWorkloadRuleRequest.

type CreateWorkloadRuleRequestClass

type CreateWorkloadRuleRequestClass string

CreateWorkloadRuleRequestClass defines model for CreateWorkloadRuleRequest.Class.

const (
	CreateWorkloadRuleRequestClassBackground  CreateWorkloadRuleRequestClass = "background"
	CreateWorkloadRuleRequestClassHeavy       CreateWorkloadRuleRequestClass = "heavy"
	CreateWorkloadRuleRequestClassInteractive CreateWorkloadRuleRequestClass = "interactive"
)

Defines values for CreateWorkloadRuleRequestClass.

type CreateWorkloadRuleRequestMaxClass

type CreateWorkloadRuleRequestMaxClass string

CreateWorkloadRuleRequestMaxClass defines model for CreateWorkloadRuleRequest.MaxClass.

const (
	CreateWorkloadRuleRequestMaxClassBackground  CreateWorkloadRuleRequestMaxClass = "background"
	CreateWorkloadRuleRequestMaxClassHeavy       CreateWorkloadRuleRequestMaxClass = "heavy"
	CreateWorkloadRuleRequestMaxClassInteractive CreateWorkloadRuleRequestMaxClass = "interactive"
)

Defines values for CreateWorkloadRuleRequestMaxClass.

type CreateWorkloadRuleRequestObject

type CreateWorkloadRuleRequestObject struct {
	Body *CreateWorkloadRuleJSONRequestBody
}

type CreateWorkloadRuleResponseObject

type CreateWorkloadRuleResponseObject interface {
	VisitCreateWorkloadRuleResponse(w http.ResponseWriter) error
}

type CreateWorkspace201JSONResponse

type CreateWorkspace201JSONResponse Workspace

func (CreateWorkspace201JSONResponse) VisitCreateWorkspaceResponse

func (response CreateWorkspace201JSONResponse) VisitCreateWorkspaceResponse(w http.ResponseWriter) error

type CreateWorkspace401JSONResponse

type CreateWorkspace401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreateWorkspace401JSONResponse) VisitCreateWorkspaceResponse

func (response CreateWorkspace401JSONResponse) VisitCreateWorkspaceResponse(w http.ResponseWriter) error

type CreateWorkspace403JSONResponse

type CreateWorkspace403JSONResponse struct{ ForbiddenJSONResponse }

func (CreateWorkspace403JSONResponse) VisitCreateWorkspaceResponse

func (response CreateWorkspace403JSONResponse) VisitCreateWorkspaceResponse(w http.ResponseWriter) error

type CreateWorkspace422JSONResponse

type CreateWorkspace422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (CreateWorkspace422JSONResponse) VisitCreateWorkspaceResponse

func (response CreateWorkspace422JSONResponse) VisitCreateWorkspaceResponse(w http.ResponseWriter) error

type CreateWorkspaceJSONRequestBody

type CreateWorkspaceJSONRequestBody = CreateWorkspaceRequest

CreateWorkspaceJSONRequestBody defines body for CreateWorkspace for application/json ContentType.

type CreateWorkspaceRequest

type CreateWorkspaceRequest struct {
	Description *string `json:"description,omitempty"`
	Name        string  `json:"name"`

	// OwnerTeamId Required when type=shared
	OwnerTeamId *openapi_types.UUID        `json:"owner_team_id"`
	Type        CreateWorkspaceRequestType `json:"type"`
}

CreateWorkspaceRequest defines model for CreateWorkspaceRequest.

type CreateWorkspaceRequestObject

type CreateWorkspaceRequestObject struct {
	Body *CreateWorkspaceJSONRequestBody
}

type CreateWorkspaceRequestType

type CreateWorkspaceRequestType string

CreateWorkspaceRequestType defines model for CreateWorkspaceRequest.Type.

const (
	CreateWorkspaceRequestTypePersonal CreateWorkspaceRequestType = "personal"
	CreateWorkspaceRequestTypeShared   CreateWorkspaceRequestType = "shared"
)

Defines values for CreateWorkspaceRequestType.

type CreateWorkspaceResponseObject

type CreateWorkspaceResponseObject interface {
	VisitCreateWorkspaceResponse(w http.ResponseWriter) error
}

type CreatedWebhook

type CreatedWebhook struct {
	CreatedAt time.Time          `json:"created_at"`
	Enabled   bool               `json:"enabled"`
	Events    []string           `json:"events"`
	Id        openapi_types.UUID `json:"id"`
	Secret    string             `json:"secret"`
	UpdatedAt *time.Time         `json:"updated_at,omitempty"`
	Url       string             `json:"url"`
}

CreatedWebhook defines model for CreatedWebhook.

type CronPreviewRequest

type CronPreviewRequest struct {
	Expression string `json:"expression"`
}

CronPreviewRequest defines model for CronPreviewRequest.

type CronPreviewResult

type CronPreviewResult struct {
	Error         *string     `json:"error"`
	MinIntervalOk bool        `json:"min_interval_ok"`
	Next          []time.Time `json:"next"`
	Valid         bool        `json:"valid"`
}

CronPreviewResult defines model for CronPreviewResult.

type DataDeps

type DataDeps struct {
	// Queries is accepted for source compatibility; NewAPI builds every
	// service over Store and ignores it.
	Queries db.Querier
	// Store is the GORM connection every service persists through (ADR 0020).
	Store *gorm.DB
}

DataDeps is Baleia's own database.

type DataPolicy

type DataPolicy struct {
	AllowedActions *[]DataPolicyAllowedAction `json:"allowed_actions,omitempty"`
	CatalogId      openapi_types.UUID         `json:"catalog_id"`

	// Column The masked column (column_mask only)
	Column *string `json:"column"`

	// Compiled The checked canonical expression OPA serves; set while validation is valid
	Compiled    *string             `json:"compiled"`
	CreatedAt   time.Time           `json:"created_at"`
	CreatedBy   *openapi_types.UUID `json:"created_by"`
	Description string              `json:"description"`

	// Expression As authored, in the restricted expression language
	Expression string             `json:"expression"`
	Id         openapi_types.UUID `json:"id"`

	// InvalidDetail The offending construct (a function, column or type), never the expression
	InvalidDetail *string `json:"invalid_detail"`

	// InvalidReason Why validation is invalid: a stable code (function_not_allowed, unknown_column, not_boolean, type_mismatch, engine_refused, …)
	InvalidReason *string        `json:"invalid_reason"`
	Kind          DataPolicyKind `json:"kind"`

	// Mode row_filter only
	Mode *DataPolicyMode `json:"mode"`
	Name string          `json:"name"`

	// Priority column_mask only: the highest matching priority wins; unique per column at publish
	Priority   int32                `json:"priority"`
	Schema     string               `json:"schema"`
	State      DataPolicyState      `json:"state"`
	Subjects   []DataPolicySubject  `json:"subjects"`
	Table      string               `json:"table"`
	Template   *DataPolicyTemplate  `json:"template"`
	UpdatedAt  time.Time            `json:"updated_at"`
	Validation DataPolicyValidation `json:"validation"`
	Version    int64                `json:"version"`

	// Writes What each write does on the policy's table for the identities the policy applies to (ADR 0028, "Writes on policied tables"). Several policies on one table combine to the most restrictive effect; writes that need more go through a trusted job or an unpolicied table.
	Writes DataPolicyWrites `json:"writes"`
}

DataPolicy defines model for DataPolicy.

type DataPolicyAllowedAction

type DataPolicyAllowedAction string

DataPolicyAllowedAction defines model for DataPolicyAllowedAction.

const (
	DataPolicyAllowedActionDelete DataPolicyAllowedAction = "delete"
	DataPolicyAllowedActionUpdate DataPolicyAllowedAction = "update"
)

Defines values for DataPolicyAllowedAction.

type DataPolicyDefinerView

type DataPolicyDefinerView struct {
	// Owner The identity it runs as: whose policies apply
	Owner string `json:"owner"`

	// Reads Policied tables it reads, directly or through other views
	Reads []string `json:"reads"`

	// Trusted Owned by a trusted identity: it reads unfiltered and blocks publishing
	Trusted bool `json:"trusted"`

	// Unreadable Its SQL could not be parsed, so it is taken to read every policied table
	Unreadable bool `json:"unreadable"`

	// View catalog.schema.view on the engines
	View string `json:"view"`
}

DataPolicyDefinerView defines model for DataPolicyDefinerView.

type DataPolicyEngineState

type DataPolicyEngineState struct {
	// ActiveRevision The data revision the engine's OPA reports active
	ActiveRevision *string `json:"active_revision"`

	// DataPolicies The engine's data_policies flag
	DataPolicies bool                        `json:"data_policies"`
	EngineId     openapi_types.UUID          `json:"engine_id"`
	EngineName   string                      `json:"engine_name"`
	Health       DataPolicyEngineStateHealth `json:"health"`

	// Reason Why the engine is unhealthy: no_report, report_stale, bundle_error, no_active_revision (no data bundle activated), unknown_revision (the active revision is not one Baleia stored, so its lease cannot be checked), lease_expired (the active revision's lease passed, so OPA denies every user identity; the trusted admin and service identities keep access) or data_policy_digest_mismatch
	Reason     *string    `json:"reason"`
	ReportedAt *time.Time `json:"reported_at"`
}

DataPolicyEngineState defines model for DataPolicyEngineState.

type DataPolicyEngineStateHealth

type DataPolicyEngineStateHealth string

DataPolicyEngineStateHealth defines model for DataPolicyEngineState.Health.

const (
	DataPolicyHealthDisabled  DataPolicyEngineStateHealth = "disabled"
	DataPolicyHealthHealthy   DataPolicyEngineStateHealth = "healthy"
	DataPolicyHealthUnhealthy DataPolicyEngineStateHealth = "unhealthy"
)

Defines values for DataPolicyEngineStateHealth.

type DataPolicyHandlers

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

DataPolicyHandlers serve row filters and column masks (ADR 0028, #1144): authoring on the admin plane of each catalog, publication into signed revisions, and the integration status of each engine.

func (*DataPolicyHandlers) CreateDataPolicy

func (*DataPolicyHandlers) DeleteDataPolicy

func (*DataPolicyHandlers) GetDataPolicy

func (DataPolicyHandlers) ResolveTarget

func (h DataPolicyHandlers) ResolveTarget(ctx context.Context, ws db.Workspace, req *TargetRequest) (queryengine.Target, error)

ResolveTarget decides where a run executes (#13):

  1. an explicit binding, or a catalog (with engine_id when it is bound to several engines);
  2. else the workspace default target;
  3. else the workspace's only target (one catalog with one binding);
  4. else 422 target_required.

The binding's catalog must be one the workspace may use (#16), else 404; the binding, engine and catalog must be enabled, else 422 target_unavailable. A grant never makes the target read-only: the engine and the catalog manager decide what may be written (#651). There is no fallback to the workspace owner's first catalog or to polaris_catalog_name.

func (*DataPolicyHandlers) UpdateDataPolicy

type DataPolicyKind

type DataPolicyKind string

DataPolicyKind defines model for DataPolicyKind.

const (
	DataPolicyKindColumnMask DataPolicyKind = "column_mask"
	DataPolicyKindRowFilter  DataPolicyKind = "row_filter"
)

Defines values for DataPolicyKind.

type DataPolicyMode

type DataPolicyMode string

DataPolicyMode defines model for DataPolicyMode.

const (
	DataPolicyModePermissive  DataPolicyMode = "permissive"
	DataPolicyModeRestrictive DataPolicyMode = "restrictive"
)

Defines values for DataPolicyMode.

type DataPolicyProblem

type DataPolicyProblem struct {
	Code DataPolicyProblemCode `json:"code"`

	// Detail The reason code, catalog name or view the problem is about
	Detail   *string             `json:"detail"`
	PolicyId *openapi_types.UUID `json:"policy_id"`
}

DataPolicyProblem defines model for DataPolicyProblem.

type DataPolicyProblemCode

type DataPolicyProblemCode string

DataPolicyProblemCode defines model for DataPolicyProblem.Code.

const (
	DataPolicyProblemCatalogNameConflict DataPolicyProblemCode = "catalog_name_conflict"
	DataPolicyProblemDuplicatePriority   DataPolicyProblemCode = "duplicate_priority"
	DataPolicyProblemInvalid             DataPolicyProblemCode = "invalid"
	DataPolicyProblemNotChecked          DataPolicyProblemCode = "not_checked"
	DataPolicyProblemTrustedDefinerView  DataPolicyProblemCode = "trusted_definer_view"
	DataPolicyProblemViewsNotInspectable DataPolicyProblemCode = "views_not_inspectable"
)

Defines values for DataPolicyProblemCode.

type DataPolicyRefusal

type DataPolicyRefusal struct {
	Code    ErrorCode `json:"code"`
	Message string    `json:"message"`

	// Problems Every reason the publish is refused; filled only for data_policy_invalid, empty for data_policies_unenforced and data_policies_unsupported
	Problems []DataPolicyProblem `json:"problems"`
}

DataPolicyRefusal defines model for DataPolicyRefusal.

type DataPolicyRefused

type DataPolicyRefused = DataPolicyRefusal

DataPolicyRefused defines model for DataPolicyRefused.

type DataPolicyRefusedJSONResponse

type DataPolicyRefusedJSONResponse DataPolicyRefusal

type DataPolicyRevision

type DataPolicyRevision struct {
	CreatedAt time.Time           `json:"created_at"`
	CreatedBy *openapi_types.UUID `json:"created_by"`

	// Digest SHA-256 of the revision's content
	Digest string             `json:"digest"`
	Id     openapi_types.UUID `json:"id"`

	// NotAfter The lease: OPA denies users once it has passed
	NotAfter time.Time `json:"not_after"`
	Number   int64     `json:"number"`

	// Published The revision the published pointer names
	Published bool                     `json:"published"`
	Reason    DataPolicyRevisionReason `json:"reason"`

	// SourceId The revision a re-issue or rollback copies
	SourceId *openapi_types.UUID `json:"source_id"`
}

DataPolicyRevision defines model for DataPolicyRevision.

type DataPolicyRevisionReason

type DataPolicyRevisionReason string

DataPolicyRevisionReason defines model for DataPolicyRevisionReason.

const (
	DataPolicyRevisionReasonPublish  DataPolicyRevisionReason = "publish"
	DataPolicyRevisionReasonReissue  DataPolicyRevisionReason = "reissue"
	DataPolicyRevisionReasonRollback DataPolicyRevisionReason = "rollback"
	DataPolicyRevisionReasonSubjects DataPolicyRevisionReason = "subjects"
)

Defines values for DataPolicyRevisionReason.

type DataPolicySettings

type DataPolicySettings struct {
	// Enabled is BALEIA_DATA_POLICIES=opa.
	Enabled bool
	// IdentityMode is BALEIA_TRINO_USER_IDENTITY, which the subject map
	// follows.
	IdentityMode string
	Lease        time.Duration
	// Trusted are the trusted Trino identities: never filtered or masked.
	Trusted []string
	// ExpectedDigest is the Rego digest engines must report.
	ExpectedDigest string
}

DataPolicySettings are the deployment's data policy settings (ADR 0028).

type DataPolicyState

type DataPolicyState string

DataPolicyState defines model for DataPolicyState.

const (
	DataPolicyStateDisabled DataPolicyState = "disabled"
	DataPolicyStateEnabled  DataPolicyState = "enabled"
)

Defines values for DataPolicyState.

type DataPolicyStatus

type DataPolicyStatus struct {
	// Enabled BALEIA_DATA_POLICIES=opa
	Enabled bool                    `json:"enabled"`
	Engines []DataPolicyEngineState `json:"engines"`

	// ExpectedPolicyDigest The Rego digest engines must report
	ExpectedPolicyDigest *string             `json:"expected_policy_digest,omitempty"`
	Published            *DataPolicyRevision `json:"published"`
}

DataPolicyStatus defines model for DataPolicyStatus.

type DataPolicySubject

type DataPolicySubject struct {
	Everyone       *bool                `json:"everyone,omitempty"`
	Except         *[]DataPolicySubject `json:"except,omitempty"`
	Group          *string              `json:"group,omitempty"`
	ServiceAccount *openapi_types.UUID  `json:"service_account,omitempty"`
	Team           *openapi_types.UUID  `json:"team,omitempty"`
	User           *openapi_types.UUID  `json:"user,omitempty"`
}

DataPolicySubject One reference a policy applies to: exactly one of user, team, group (identity-provider group name), service_account or everyone. everyone may carry except, a list of named references.

type DataPolicyTemplate

type DataPolicyTemplate string

DataPolicyTemplate Which editor template filled a mask's expression; a hint only

const (
	DataPolicyTemplateConstant DataPolicyTemplate = "constant"
	DataPolicyTemplateCustom   DataPolicyTemplate = "custom"
	DataPolicyTemplateNull     DataPolicyTemplate = "null_value"
	DataPolicyTemplatePartial  DataPolicyTemplate = "partial"
	DataPolicyTemplateSha256   DataPolicyTemplate = "sha256"
)

Defines values for DataPolicyTemplate.

type DataPolicyValidation

type DataPolicyValidation string

DataPolicyValidation defines model for DataPolicyValidation.

const (
	DataPolicyValidationInvalid DataPolicyValidation = "invalid"
	DataPolicyValidationPending DataPolicyValidation = "pending"
	DataPolicyValidationValid   DataPolicyValidation = "valid"
)

Defines values for DataPolicyValidation.

type DataPolicyWriteEffect

type DataPolicyWriteEffect string

DataPolicyWriteEffect What Trino 484 lets a write do once the policy applies to the writer: checked (allowed when the new row matches the row filter, else denied, as PostgreSQL's WITH CHECK), visible_rows (applies only to the rows the filter leaves visible) or refused.

const (
	DataPolicyWriteEffectChecked     DataPolicyWriteEffect = "checked"
	DataPolicyWriteEffectRefused     DataPolicyWriteEffect = "refused"
	DataPolicyWriteEffectVisibleRows DataPolicyWriteEffect = "visible_rows"
)

Defines values for DataPolicyWriteEffect.

type DataPolicyWrites

type DataPolicyWrites struct {
	// Delete What Trino 484 lets a write do once the policy applies to the writer: checked (allowed when the new row matches the row filter, else denied, as PostgreSQL's WITH CHECK), visible_rows (applies only to the rows the filter leaves visible) or refused.
	Delete DataPolicyWriteEffect `json:"delete"`

	// Insert What Trino 484 lets a write do once the policy applies to the writer: checked (allowed when the new row matches the row filter, else denied, as PostgreSQL's WITH CHECK), visible_rows (applies only to the rows the filter leaves visible) or refused.
	Insert DataPolicyWriteEffect `json:"insert"`

	// Merge What Trino 484 lets a write do once the policy applies to the writer: checked (allowed when the new row matches the row filter, else denied, as PostgreSQL's WITH CHECK), visible_rows (applies only to the rows the filter leaves visible) or refused.
	Merge DataPolicyWriteEffect `json:"merge"`

	// Update What Trino 484 lets a write do once the policy applies to the writer: checked (allowed when the new row matches the row filter, else denied, as PostgreSQL's WITH CHECK), visible_rows (applies only to the rows the filter leaves visible) or refused.
	Update DataPolicyWriteEffect `json:"update"`
}

DataPolicyWrites What each write does on the policy's table for the identities the policy applies to (ADR 0028, "Writes on policied tables"). Several policies on one table combine to the most restrictive effect; writes that need more go through a trusted job or an unpolicied table.

type DeleteAgent204Response

type DeleteAgent204Response = NoContentResponse

func (DeleteAgent204Response) VisitDeleteAgentResponse

func (response DeleteAgent204Response) VisitDeleteAgentResponse(w http.ResponseWriter) error

type DeleteAgent401JSONResponse

type DeleteAgent401JSONResponse struct{ UnauthorizedJSONResponse }

func (DeleteAgent401JSONResponse) VisitDeleteAgentResponse

func (response DeleteAgent401JSONResponse) VisitDeleteAgentResponse(w http.ResponseWriter) error

type DeleteAgent403JSONResponse

type DeleteAgent403JSONResponse struct{ ForbiddenJSONResponse }

func (DeleteAgent403JSONResponse) VisitDeleteAgentResponse

func (response DeleteAgent403JSONResponse) VisitDeleteAgentResponse(w http.ResponseWriter) error

type DeleteAgent404JSONResponse

type DeleteAgent404JSONResponse struct{ NotFoundJSONResponse }

func (DeleteAgent404JSONResponse) VisitDeleteAgentResponse

func (response DeleteAgent404JSONResponse) VisitDeleteAgentResponse(w http.ResponseWriter) error

type DeleteAgentRequestObject

type DeleteAgentRequestObject struct {
	AgentId PathAgentId `json:"agent_id"`
}

type DeleteAgentResponseObject

type DeleteAgentResponseObject interface {
	VisitDeleteAgentResponse(w http.ResponseWriter) error
}

type DeleteApiKey204Response

type DeleteApiKey204Response = NoContentResponse

func (DeleteApiKey204Response) VisitDeleteApiKeyResponse

func (response DeleteApiKey204Response) VisitDeleteApiKeyResponse(w http.ResponseWriter) error

type DeleteApiKey401JSONResponse

type DeleteApiKey401JSONResponse struct{ UnauthorizedJSONResponse }

func (DeleteApiKey401JSONResponse) VisitDeleteApiKeyResponse

func (response DeleteApiKey401JSONResponse) VisitDeleteApiKeyResponse(w http.ResponseWriter) error

type DeleteApiKey404JSONResponse

type DeleteApiKey404JSONResponse struct{ NotFoundJSONResponse }

func (DeleteApiKey404JSONResponse) VisitDeleteApiKeyResponse

func (response DeleteApiKey404JSONResponse) VisitDeleteApiKeyResponse(w http.ResponseWriter) error

type DeleteApiKeyRequestObject

type DeleteApiKeyRequestObject struct {
	Id PathId `json:"id"`
}

type DeleteApiKeyResponseObject

type DeleteApiKeyResponseObject interface {
	VisitDeleteApiKeyResponse(w http.ResponseWriter) error
}

type DeleteAssistantConversation204Response

type DeleteAssistantConversation204Response = NoContentResponse

func (DeleteAssistantConversation204Response) VisitDeleteAssistantConversationResponse

func (response DeleteAssistantConversation204Response) VisitDeleteAssistantConversationResponse(w http.ResponseWriter) error

type DeleteAssistantConversation401JSONResponse

type DeleteAssistantConversation401JSONResponse struct{ UnauthorizedJSONResponse }

func (DeleteAssistantConversation401JSONResponse) VisitDeleteAssistantConversationResponse

func (response DeleteAssistantConversation401JSONResponse) VisitDeleteAssistantConversationResponse(w http.ResponseWriter) error

type DeleteAssistantConversation404JSONResponse

type DeleteAssistantConversation404JSONResponse struct{ NotFoundJSONResponse }

func (DeleteAssistantConversation404JSONResponse) VisitDeleteAssistantConversationResponse

func (response DeleteAssistantConversation404JSONResponse) VisitDeleteAssistantConversationResponse(w http.ResponseWriter) error

type DeleteAssistantConversationRequestObject

type DeleteAssistantConversationRequestObject struct {
	Id PathId `json:"id"`
}

type DeleteAssistantConversationResponseObject

type DeleteAssistantConversationResponseObject interface {
	VisitDeleteAssistantConversationResponse(w http.ResponseWriter) error
}

type DeleteBiKey204Response

type DeleteBiKey204Response = NoContentResponse

func (DeleteBiKey204Response) VisitDeleteBiKeyResponse

func (response DeleteBiKey204Response) VisitDeleteBiKeyResponse(w http.ResponseWriter) error

type DeleteBiKey401JSONResponse

type DeleteBiKey401JSONResponse struct{ UnauthorizedJSONResponse }

func (DeleteBiKey401JSONResponse) VisitDeleteBiKeyResponse

func (response DeleteBiKey401JSONResponse) VisitDeleteBiKeyResponse(w http.ResponseWriter) error

type DeleteBiKey403JSONResponse

type DeleteBiKey403JSONResponse struct{ ForbiddenJSONResponse }

func (DeleteBiKey403JSONResponse) VisitDeleteBiKeyResponse

func (response DeleteBiKey403JSONResponse) VisitDeleteBiKeyResponse(w http.ResponseWriter) error

type DeleteBiKey404JSONResponse

type DeleteBiKey404JSONResponse struct{ NotFoundJSONResponse }

func (DeleteBiKey404JSONResponse) VisitDeleteBiKeyResponse

func (response DeleteBiKey404JSONResponse) VisitDeleteBiKeyResponse(w http.ResponseWriter) error

type DeleteBiKeyRequestObject

type DeleteBiKeyRequestObject struct {
	Id    PathId    `json:"id"`
	KeyId PathKeyId `json:"key_id"`
}

type DeleteBiKeyResponseObject

type DeleteBiKeyResponseObject interface {
	VisitDeleteBiKeyResponse(w http.ResponseWriter) error
}

type DeleteCatalog204Response

type DeleteCatalog204Response = NoContentResponse

func (DeleteCatalog204Response) VisitDeleteCatalogResponse

func (response DeleteCatalog204Response) VisitDeleteCatalogResponse(w http.ResponseWriter) error

type DeleteCatalog401JSONResponse

type DeleteCatalog401JSONResponse struct{ UnauthorizedJSONResponse }

func (DeleteCatalog401JSONResponse) VisitDeleteCatalogResponse

func (response DeleteCatalog401JSONResponse) VisitDeleteCatalogResponse(w http.ResponseWriter) error

type DeleteCatalog403JSONResponse

type DeleteCatalog403JSONResponse struct{ ForbiddenJSONResponse }

func (DeleteCatalog403JSONResponse) VisitDeleteCatalogResponse

func (response DeleteCatalog403JSONResponse) VisitDeleteCatalogResponse(w http.ResponseWriter) error

type DeleteCatalog404JSONResponse

type DeleteCatalog404JSONResponse struct{ NotFoundJSONResponse }

func (DeleteCatalog404JSONResponse) VisitDeleteCatalogResponse

func (response DeleteCatalog404JSONResponse) VisitDeleteCatalogResponse(w http.ResponseWriter) error

type DeleteCatalog409JSONResponse

type DeleteCatalog409JSONResponse struct{ ConflictJSONResponse }

func (DeleteCatalog409JSONResponse) VisitDeleteCatalogResponse

func (response DeleteCatalog409JSONResponse) VisitDeleteCatalogResponse(w http.ResponseWriter) error

type DeleteCatalog422JSONResponse

type DeleteCatalog422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (DeleteCatalog422JSONResponse) VisitDeleteCatalogResponse

func (response DeleteCatalog422JSONResponse) VisitDeleteCatalogResponse(w http.ResponseWriter) error

type DeleteCatalogBinding204Response

type DeleteCatalogBinding204Response = NoContentResponse

func (DeleteCatalogBinding204Response) VisitDeleteCatalogBindingResponse

func (response DeleteCatalogBinding204Response) VisitDeleteCatalogBindingResponse(w http.ResponseWriter) error

type DeleteCatalogBinding401JSONResponse

type DeleteCatalogBinding401JSONResponse struct{ UnauthorizedJSONResponse }

func (DeleteCatalogBinding401JSONResponse) VisitDeleteCatalogBindingResponse

func (response DeleteCatalogBinding401JSONResponse) VisitDeleteCatalogBindingResponse(w http.ResponseWriter) error

type DeleteCatalogBinding403JSONResponse

type DeleteCatalogBinding403JSONResponse struct{ ForbiddenJSONResponse }

func (DeleteCatalogBinding403JSONResponse) VisitDeleteCatalogBindingResponse

func (response DeleteCatalogBinding403JSONResponse) VisitDeleteCatalogBindingResponse(w http.ResponseWriter) error

type DeleteCatalogBinding404JSONResponse

type DeleteCatalogBinding404JSONResponse struct{ NotFoundJSONResponse }

func (DeleteCatalogBinding404JSONResponse) VisitDeleteCatalogBindingResponse

func (response DeleteCatalogBinding404JSONResponse) VisitDeleteCatalogBindingResponse(w http.ResponseWriter) error

type DeleteCatalogBinding409JSONResponse

type DeleteCatalogBinding409JSONResponse struct{ ConflictJSONResponse }

func (DeleteCatalogBinding409JSONResponse) VisitDeleteCatalogBindingResponse

func (response DeleteCatalogBinding409JSONResponse) VisitDeleteCatalogBindingResponse(w http.ResponseWriter) error

type DeleteCatalogBinding422JSONResponse

type DeleteCatalogBinding422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (DeleteCatalogBinding422JSONResponse) VisitDeleteCatalogBindingResponse

func (response DeleteCatalogBinding422JSONResponse) VisitDeleteCatalogBindingResponse(w http.ResponseWriter) error

type DeleteCatalogBindingRequestObject

type DeleteCatalogBindingRequestObject struct {
	Id PathId `json:"id"`
}

type DeleteCatalogBindingResponseObject

type DeleteCatalogBindingResponseObject interface {
	VisitDeleteCatalogBindingResponse(w http.ResponseWriter) error
}

type DeleteCatalogConnection204Response

type DeleteCatalogConnection204Response = NoContentResponse

func (DeleteCatalogConnection204Response) VisitDeleteCatalogConnectionResponse

func (response DeleteCatalogConnection204Response) VisitDeleteCatalogConnectionResponse(w http.ResponseWriter) error

type DeleteCatalogConnection401JSONResponse

type DeleteCatalogConnection401JSONResponse struct{ UnauthorizedJSONResponse }

func (DeleteCatalogConnection401JSONResponse) VisitDeleteCatalogConnectionResponse

func (response DeleteCatalogConnection401JSONResponse) VisitDeleteCatalogConnectionResponse(w http.ResponseWriter) error

type DeleteCatalogConnection403JSONResponse

type DeleteCatalogConnection403JSONResponse struct{ ForbiddenJSONResponse }

func (DeleteCatalogConnection403JSONResponse) VisitDeleteCatalogConnectionResponse

func (response DeleteCatalogConnection403JSONResponse) VisitDeleteCatalogConnectionResponse(w http.ResponseWriter) error

type DeleteCatalogConnection404JSONResponse

type DeleteCatalogConnection404JSONResponse struct{ NotFoundJSONResponse }

func (DeleteCatalogConnection404JSONResponse) VisitDeleteCatalogConnectionResponse

func (response DeleteCatalogConnection404JSONResponse) VisitDeleteCatalogConnectionResponse(w http.ResponseWriter) error

type DeleteCatalogConnection409JSONResponse

type DeleteCatalogConnection409JSONResponse struct{ ConflictJSONResponse }

func (DeleteCatalogConnection409JSONResponse) VisitDeleteCatalogConnectionResponse

func (response DeleteCatalogConnection409JSONResponse) VisitDeleteCatalogConnectionResponse(w http.ResponseWriter) error

type DeleteCatalogConnectionRequestObject

type DeleteCatalogConnectionRequestObject struct {
	Id PathId `json:"id"`
}

type DeleteCatalogConnectionResponseObject

type DeleteCatalogConnectionResponseObject interface {
	VisitDeleteCatalogConnectionResponse(w http.ResponseWriter) error
}

type DeleteCatalogDetail204Response

type DeleteCatalogDetail204Response = NoContentResponse

func (DeleteCatalogDetail204Response) VisitDeleteCatalogDetailResponse

func (response DeleteCatalogDetail204Response) VisitDeleteCatalogDetailResponse(w http.ResponseWriter) error

type DeleteCatalogDetail401JSONResponse

type DeleteCatalogDetail401JSONResponse struct{ UnauthorizedJSONResponse }

func (DeleteCatalogDetail401JSONResponse) VisitDeleteCatalogDetailResponse

func (response DeleteCatalogDetail401JSONResponse) VisitDeleteCatalogDetailResponse(w http.ResponseWriter) error

type DeleteCatalogDetail403JSONResponse

type DeleteCatalogDetail403JSONResponse struct{ ForbiddenJSONResponse }

func (DeleteCatalogDetail403JSONResponse) VisitDeleteCatalogDetailResponse

func (response DeleteCatalogDetail403JSONResponse) VisitDeleteCatalogDetailResponse(w http.ResponseWriter) error

type DeleteCatalogDetail404JSONResponse

type DeleteCatalogDetail404JSONResponse struct{ NotFoundJSONResponse }

func (DeleteCatalogDetail404JSONResponse) VisitDeleteCatalogDetailResponse

func (response DeleteCatalogDetail404JSONResponse) VisitDeleteCatalogDetailResponse(w http.ResponseWriter) error

type DeleteCatalogDetail409JSONResponse

type DeleteCatalogDetail409JSONResponse struct{ ConflictJSONResponse }

func (DeleteCatalogDetail409JSONResponse) VisitDeleteCatalogDetailResponse

func (response DeleteCatalogDetail409JSONResponse) VisitDeleteCatalogDetailResponse(w http.ResponseWriter) error

type DeleteCatalogDetail422JSONResponse

type DeleteCatalogDetail422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (DeleteCatalogDetail422JSONResponse) VisitDeleteCatalogDetailResponse

func (response DeleteCatalogDetail422JSONResponse) VisitDeleteCatalogDetailResponse(w http.ResponseWriter) error

type DeleteCatalogDetailRequestObject

type DeleteCatalogDetailRequestObject struct {
	CatalogId openapi_types.UUID `json:"catalog_id"`
}

type DeleteCatalogDetailResponseObject

type DeleteCatalogDetailResponseObject interface {
	VisitDeleteCatalogDetailResponse(w http.ResponseWriter) error
}

type DeleteCatalogGrant204Response

type DeleteCatalogGrant204Response = NoContentResponse

func (DeleteCatalogGrant204Response) VisitDeleteCatalogGrantResponse

func (response DeleteCatalogGrant204Response) VisitDeleteCatalogGrantResponse(w http.ResponseWriter) error

type DeleteCatalogGrant401JSONResponse

type DeleteCatalogGrant401JSONResponse struct{ UnauthorizedJSONResponse }

func (DeleteCatalogGrant401JSONResponse) VisitDeleteCatalogGrantResponse

func (response DeleteCatalogGrant401JSONResponse) VisitDeleteCatalogGrantResponse(w http.ResponseWriter) error

type DeleteCatalogGrant403JSONResponse

type DeleteCatalogGrant403JSONResponse struct{ ForbiddenJSONResponse }

func (DeleteCatalogGrant403JSONResponse) VisitDeleteCatalogGrantResponse

func (response DeleteCatalogGrant403JSONResponse) VisitDeleteCatalogGrantResponse(w http.ResponseWriter) error

type DeleteCatalogGrant404JSONResponse

type DeleteCatalogGrant404JSONResponse struct{ NotFoundJSONResponse }

func (DeleteCatalogGrant404JSONResponse) VisitDeleteCatalogGrantResponse

func (response DeleteCatalogGrant404JSONResponse) VisitDeleteCatalogGrantResponse(w http.ResponseWriter) error

type DeleteCatalogGrantRequestObject

type DeleteCatalogGrantRequestObject struct {
	WorkspaceId openapi_types.UUID `json:"workspace_id"`
	CatalogId   openapi_types.UUID `json:"catalog_id"`
}

type DeleteCatalogGrantResponseObject

type DeleteCatalogGrantResponseObject interface {
	VisitDeleteCatalogGrantResponse(w http.ResponseWriter) error
}

type DeleteCatalogRequestObject

type DeleteCatalogRequestObject struct {
	ConnectionId openapi_types.UUID `json:"connection_id"`
	CatalogId    openapi_types.UUID `json:"catalog_id"`
}

type DeleteCatalogResponseObject

type DeleteCatalogResponseObject interface {
	VisitDeleteCatalogResponse(w http.ResponseWriter) error
}

type DeleteDataPolicy204Response

type DeleteDataPolicy204Response = NoContentResponse

func (DeleteDataPolicy204Response) VisitDeleteDataPolicyResponse

func (response DeleteDataPolicy204Response) VisitDeleteDataPolicyResponse(w http.ResponseWriter) error

type DeleteDataPolicy401JSONResponse

type DeleteDataPolicy401JSONResponse struct{ UnauthorizedJSONResponse }

func (DeleteDataPolicy401JSONResponse) VisitDeleteDataPolicyResponse

func (response DeleteDataPolicy401JSONResponse) VisitDeleteDataPolicyResponse(w http.ResponseWriter) error

type DeleteDataPolicy403JSONResponse

type DeleteDataPolicy403JSONResponse struct{ ForbiddenJSONResponse }

func (DeleteDataPolicy403JSONResponse) VisitDeleteDataPolicyResponse

func (response DeleteDataPolicy403JSONResponse) VisitDeleteDataPolicyResponse(w http.ResponseWriter) error

type DeleteDataPolicy404JSONResponse

type DeleteDataPolicy404JSONResponse struct{ NotFoundJSONResponse }

func (DeleteDataPolicy404JSONResponse) VisitDeleteDataPolicyResponse

func (response DeleteDataPolicy404JSONResponse) VisitDeleteDataPolicyResponse(w http.ResponseWriter) error

type DeleteDataPolicyRequestObject

type DeleteDataPolicyRequestObject struct {
	Id PathId `json:"id"`
}

type DeleteDataPolicyResponseObject

type DeleteDataPolicyResponseObject interface {
	VisitDeleteDataPolicyResponse(w http.ResponseWriter) error
}

type DeleteEngine204Response

type DeleteEngine204Response = NoContentResponse

func (DeleteEngine204Response) VisitDeleteEngineResponse

func (response DeleteEngine204Response) VisitDeleteEngineResponse(w http.ResponseWriter) error

type DeleteEngine401JSONResponse

type DeleteEngine401JSONResponse struct{ UnauthorizedJSONResponse }

func (DeleteEngine401JSONResponse) VisitDeleteEngineResponse

func (response DeleteEngine401JSONResponse) VisitDeleteEngineResponse(w http.ResponseWriter) error

type DeleteEngine403JSONResponse

type DeleteEngine403JSONResponse struct{ ForbiddenJSONResponse }

func (DeleteEngine403JSONResponse) VisitDeleteEngineResponse

func (response DeleteEngine403JSONResponse) VisitDeleteEngineResponse(w http.ResponseWriter) error

type DeleteEngine404JSONResponse

type DeleteEngine404JSONResponse struct{ NotFoundJSONResponse }

func (DeleteEngine404JSONResponse) VisitDeleteEngineResponse

func (response DeleteEngine404JSONResponse) VisitDeleteEngineResponse(w http.ResponseWriter) error

type DeleteEngine409JSONResponse

type DeleteEngine409JSONResponse struct{ ConflictJSONResponse }

func (DeleteEngine409JSONResponse) VisitDeleteEngineResponse

func (response DeleteEngine409JSONResponse) VisitDeleteEngineResponse(w http.ResponseWriter) error

type DeleteEngineRequestObject

type DeleteEngineRequestObject struct {
	Id PathId `json:"id"`
}

type DeleteEngineResponseObject

type DeleteEngineResponseObject interface {
	VisitDeleteEngineResponse(w http.ResponseWriter) error
}

type DeleteFolder204Response

type DeleteFolder204Response = NoContentResponse

func (DeleteFolder204Response) VisitDeleteFolderResponse

func (response DeleteFolder204Response) VisitDeleteFolderResponse(w http.ResponseWriter) error

type DeleteFolder401JSONResponse

type DeleteFolder401JSONResponse struct{ UnauthorizedJSONResponse }

func (DeleteFolder401JSONResponse) VisitDeleteFolderResponse

func (response DeleteFolder401JSONResponse) VisitDeleteFolderResponse(w http.ResponseWriter) error

type DeleteFolder403JSONResponse

type DeleteFolder403JSONResponse struct{ ForbiddenJSONResponse }

func (DeleteFolder403JSONResponse) VisitDeleteFolderResponse

func (response DeleteFolder403JSONResponse) VisitDeleteFolderResponse(w http.ResponseWriter) error

type DeleteFolder404JSONResponse

type DeleteFolder404JSONResponse struct{ NotFoundJSONResponse }

func (DeleteFolder404JSONResponse) VisitDeleteFolderResponse

func (response DeleteFolder404JSONResponse) VisitDeleteFolderResponse(w http.ResponseWriter) error

type DeleteFolderRequestObject

type DeleteFolderRequestObject struct {
	Id       PathId             `json:"id"`
	FolderId openapi_types.UUID `json:"folder_id"`
}

type DeleteFolderResponseObject

type DeleteFolderResponseObject interface {
	VisitDeleteFolderResponse(w http.ResponseWriter) error
}

type DeleteIdentityProvider204Response

type DeleteIdentityProvider204Response = NoContentResponse

func (DeleteIdentityProvider204Response) VisitDeleteIdentityProviderResponse

func (response DeleteIdentityProvider204Response) VisitDeleteIdentityProviderResponse(w http.ResponseWriter) error

type DeleteIdentityProvider401JSONResponse

type DeleteIdentityProvider401JSONResponse struct{ UnauthorizedJSONResponse }

func (DeleteIdentityProvider401JSONResponse) VisitDeleteIdentityProviderResponse

func (response DeleteIdentityProvider401JSONResponse) VisitDeleteIdentityProviderResponse(w http.ResponseWriter) error

type DeleteIdentityProvider403JSONResponse

type DeleteIdentityProvider403JSONResponse struct{ ForbiddenJSONResponse }

func (DeleteIdentityProvider403JSONResponse) VisitDeleteIdentityProviderResponse

func (response DeleteIdentityProvider403JSONResponse) VisitDeleteIdentityProviderResponse(w http.ResponseWriter) error

type DeleteIdentityProvider404JSONResponse

type DeleteIdentityProvider404JSONResponse struct{ NotFoundJSONResponse }

func (DeleteIdentityProvider404JSONResponse) VisitDeleteIdentityProviderResponse

func (response DeleteIdentityProvider404JSONResponse) VisitDeleteIdentityProviderResponse(w http.ResponseWriter) error

type DeleteIdentityProvider409JSONResponse

type DeleteIdentityProvider409JSONResponse struct{ ConflictJSONResponse }

func (DeleteIdentityProvider409JSONResponse) VisitDeleteIdentityProviderResponse

func (response DeleteIdentityProvider409JSONResponse) VisitDeleteIdentityProviderResponse(w http.ResponseWriter) error

type DeleteIdentityProviderParams

type DeleteIdentityProviderParams struct {
	SuspendUsers *bool `form:"suspend_users,omitempty" json:"suspend_users,omitempty"`
}

DeleteIdentityProviderParams defines parameters for DeleteIdentityProvider.

type DeleteIdentityProviderRequestObject

type DeleteIdentityProviderRequestObject struct {
	Id     PathId `json:"id"`
	Params DeleteIdentityProviderParams
}

type DeleteIdentityProviderResponseObject

type DeleteIdentityProviderResponseObject interface {
	VisitDeleteIdentityProviderResponse(w http.ResponseWriter) error
}

type DeleteRetriever204Response

type DeleteRetriever204Response = NoContentResponse

func (DeleteRetriever204Response) VisitDeleteRetrieverResponse

func (response DeleteRetriever204Response) VisitDeleteRetrieverResponse(w http.ResponseWriter) error

type DeleteRetriever401JSONResponse

type DeleteRetriever401JSONResponse struct{ UnauthorizedJSONResponse }

func (DeleteRetriever401JSONResponse) VisitDeleteRetrieverResponse

func (response DeleteRetriever401JSONResponse) VisitDeleteRetrieverResponse(w http.ResponseWriter) error

type DeleteRetriever403JSONResponse

type DeleteRetriever403JSONResponse struct{ ForbiddenJSONResponse }

func (DeleteRetriever403JSONResponse) VisitDeleteRetrieverResponse

func (response DeleteRetriever403JSONResponse) VisitDeleteRetrieverResponse(w http.ResponseWriter) error

type DeleteRetriever404JSONResponse

type DeleteRetriever404JSONResponse struct{ NotFoundJSONResponse }

func (DeleteRetriever404JSONResponse) VisitDeleteRetrieverResponse

func (response DeleteRetriever404JSONResponse) VisitDeleteRetrieverResponse(w http.ResponseWriter) error

type DeleteRetrieverRequestObject

type DeleteRetrieverRequestObject struct {
	Id          PathId             `json:"id"`
	RetrieverId openapi_types.UUID `json:"retriever_id"`
}

type DeleteRetrieverResponseObject

type DeleteRetrieverResponseObject interface {
	VisitDeleteRetrieverResponse(w http.ResponseWriter) error
}

type DeleteSavedQuery204Response

type DeleteSavedQuery204Response = NoContentResponse

func (DeleteSavedQuery204Response) VisitDeleteSavedQueryResponse

func (response DeleteSavedQuery204Response) VisitDeleteSavedQueryResponse(w http.ResponseWriter) error

type DeleteSavedQuery401JSONResponse

type DeleteSavedQuery401JSONResponse struct{ UnauthorizedJSONResponse }

func (DeleteSavedQuery401JSONResponse) VisitDeleteSavedQueryResponse

func (response DeleteSavedQuery401JSONResponse) VisitDeleteSavedQueryResponse(w http.ResponseWriter) error

type DeleteSavedQuery403JSONResponse

type DeleteSavedQuery403JSONResponse struct{ ForbiddenJSONResponse }

func (DeleteSavedQuery403JSONResponse) VisitDeleteSavedQueryResponse

func (response DeleteSavedQuery403JSONResponse) VisitDeleteSavedQueryResponse(w http.ResponseWriter) error

type DeleteSavedQuery404JSONResponse

type DeleteSavedQuery404JSONResponse struct{ NotFoundJSONResponse }

func (DeleteSavedQuery404JSONResponse) VisitDeleteSavedQueryResponse

func (response DeleteSavedQuery404JSONResponse) VisitDeleteSavedQueryResponse(w http.ResponseWriter) error

type DeleteSavedQueryRequestObject

type DeleteSavedQueryRequestObject struct {
	Id      PathId             `json:"id"`
	QueryId openapi_types.UUID `json:"query_id"`
}

type DeleteSavedQueryResponseObject

type DeleteSavedQueryResponseObject interface {
	VisitDeleteSavedQueryResponse(w http.ResponseWriter) error
}

type DeleteSearchGlossaryEntry204Response

type DeleteSearchGlossaryEntry204Response struct {
}

func (DeleteSearchGlossaryEntry204Response) VisitDeleteSearchGlossaryEntryResponse

func (response DeleteSearchGlossaryEntry204Response) VisitDeleteSearchGlossaryEntryResponse(w http.ResponseWriter) error

type DeleteSearchGlossaryEntry401JSONResponse

type DeleteSearchGlossaryEntry401JSONResponse struct{ UnauthorizedJSONResponse }

func (DeleteSearchGlossaryEntry401JSONResponse) VisitDeleteSearchGlossaryEntryResponse

func (response DeleteSearchGlossaryEntry401JSONResponse) VisitDeleteSearchGlossaryEntryResponse(w http.ResponseWriter) error

type DeleteSearchGlossaryEntry403JSONResponse

type DeleteSearchGlossaryEntry403JSONResponse struct{ ForbiddenJSONResponse }

func (DeleteSearchGlossaryEntry403JSONResponse) VisitDeleteSearchGlossaryEntryResponse

func (response DeleteSearchGlossaryEntry403JSONResponse) VisitDeleteSearchGlossaryEntryResponse(w http.ResponseWriter) error

type DeleteSearchGlossaryEntry404JSONResponse

type DeleteSearchGlossaryEntry404JSONResponse struct{ NotFoundJSONResponse }

func (DeleteSearchGlossaryEntry404JSONResponse) VisitDeleteSearchGlossaryEntryResponse

func (response DeleteSearchGlossaryEntry404JSONResponse) VisitDeleteSearchGlossaryEntryResponse(w http.ResponseWriter) error

type DeleteSearchGlossaryEntryRequestObject

type DeleteSearchGlossaryEntryRequestObject struct {
	Id      PathId             `json:"id"`
	EntryId openapi_types.UUID `json:"entry_id"`
}

type DeleteSearchGlossaryEntryResponseObject

type DeleteSearchGlossaryEntryResponseObject interface {
	VisitDeleteSearchGlossaryEntryResponse(w http.ResponseWriter) error
}

type DeleteSemanticDoc204Response

type DeleteSemanticDoc204Response = NoContentResponse

func (DeleteSemanticDoc204Response) VisitDeleteSemanticDocResponse

func (response DeleteSemanticDoc204Response) VisitDeleteSemanticDocResponse(w http.ResponseWriter) error

type DeleteSemanticDoc401JSONResponse

type DeleteSemanticDoc401JSONResponse struct{ UnauthorizedJSONResponse }

func (DeleteSemanticDoc401JSONResponse) VisitDeleteSemanticDocResponse

func (response DeleteSemanticDoc401JSONResponse) VisitDeleteSemanticDocResponse(w http.ResponseWriter) error

type DeleteSemanticDoc403JSONResponse

type DeleteSemanticDoc403JSONResponse struct{ ForbiddenJSONResponse }

func (DeleteSemanticDoc403JSONResponse) VisitDeleteSemanticDocResponse

func (response DeleteSemanticDoc403JSONResponse) VisitDeleteSemanticDocResponse(w http.ResponseWriter) error

type DeleteSemanticDoc404JSONResponse

type DeleteSemanticDoc404JSONResponse struct{ NotFoundJSONResponse }

func (DeleteSemanticDoc404JSONResponse) VisitDeleteSemanticDocResponse

func (response DeleteSemanticDoc404JSONResponse) VisitDeleteSemanticDocResponse(w http.ResponseWriter) error

type DeleteSemanticDocParams

type DeleteSemanticDocParams struct {
	CatalogId openapi_types.UUID `form:"catalog_id" json:"catalog_id"`

	// Ns The namespace, one value per level (ns=a&ns=b is a.b)
	Ns    []string `form:"ns" json:"ns"`
	Table string   `form:"table" json:"table"`

	// Column Narrow to one column; omitted returns the table-level and every column doc
	Column *string `form:"column,omitempty" json:"column,omitempty"`
}

DeleteSemanticDocParams defines parameters for DeleteSemanticDoc.

type DeleteSemanticDocRequestObject

type DeleteSemanticDocRequestObject struct {
	Id     PathId `json:"id"`
	Params DeleteSemanticDocParams
}

type DeleteSemanticDocResponseObject

type DeleteSemanticDocResponseObject interface {
	VisitDeleteSemanticDocResponse(w http.ResponseWriter) error
}

type DeleteSemanticMetric204Response

type DeleteSemanticMetric204Response = NoContentResponse

func (DeleteSemanticMetric204Response) VisitDeleteSemanticMetricResponse

func (response DeleteSemanticMetric204Response) VisitDeleteSemanticMetricResponse(w http.ResponseWriter) error

type DeleteSemanticMetric401JSONResponse

type DeleteSemanticMetric401JSONResponse struct{ UnauthorizedJSONResponse }

func (DeleteSemanticMetric401JSONResponse) VisitDeleteSemanticMetricResponse

func (response DeleteSemanticMetric401JSONResponse) VisitDeleteSemanticMetricResponse(w http.ResponseWriter) error

type DeleteSemanticMetric403JSONResponse

type DeleteSemanticMetric403JSONResponse struct{ ForbiddenJSONResponse }

func (DeleteSemanticMetric403JSONResponse) VisitDeleteSemanticMetricResponse

func (response DeleteSemanticMetric403JSONResponse) VisitDeleteSemanticMetricResponse(w http.ResponseWriter) error

type DeleteSemanticMetric404JSONResponse

type DeleteSemanticMetric404JSONResponse struct{ NotFoundJSONResponse }

func (DeleteSemanticMetric404JSONResponse) VisitDeleteSemanticMetricResponse

func (response DeleteSemanticMetric404JSONResponse) VisitDeleteSemanticMetricResponse(w http.ResponseWriter) error

type DeleteSemanticMetricRequestObject

type DeleteSemanticMetricRequestObject struct {
	Id       PathId             `json:"id"`
	MetricId openapi_types.UUID `json:"metric_id"`
}

type DeleteSemanticMetricResponseObject

type DeleteSemanticMetricResponseObject interface {
	VisitDeleteSemanticMetricResponse(w http.ResponseWriter) error
}

type DeleteSemanticModel204Response

type DeleteSemanticModel204Response = NoContentResponse

func (DeleteSemanticModel204Response) VisitDeleteSemanticModelResponse

func (response DeleteSemanticModel204Response) VisitDeleteSemanticModelResponse(w http.ResponseWriter) error

type DeleteSemanticModel401JSONResponse

type DeleteSemanticModel401JSONResponse struct{ UnauthorizedJSONResponse }

func (DeleteSemanticModel401JSONResponse) VisitDeleteSemanticModelResponse

func (response DeleteSemanticModel401JSONResponse) VisitDeleteSemanticModelResponse(w http.ResponseWriter) error

type DeleteSemanticModel403JSONResponse

type DeleteSemanticModel403JSONResponse struct{ ForbiddenJSONResponse }

func (DeleteSemanticModel403JSONResponse) VisitDeleteSemanticModelResponse

func (response DeleteSemanticModel403JSONResponse) VisitDeleteSemanticModelResponse(w http.ResponseWriter) error

type DeleteSemanticModel404JSONResponse

type DeleteSemanticModel404JSONResponse struct{ NotFoundJSONResponse }

func (DeleteSemanticModel404JSONResponse) VisitDeleteSemanticModelResponse

func (response DeleteSemanticModel404JSONResponse) VisitDeleteSemanticModelResponse(w http.ResponseWriter) error

type DeleteSemanticModelRequestObject

type DeleteSemanticModelRequestObject struct {
	Id      PathId             `json:"id"`
	ModelId openapi_types.UUID `json:"model_id"`
}

type DeleteSemanticModelResponseObject

type DeleteSemanticModelResponseObject interface {
	VisitDeleteSemanticModelResponse(w http.ResponseWriter) error
}

type DeleteServiceAccount204Response

type DeleteServiceAccount204Response = NoContentResponse

func (DeleteServiceAccount204Response) VisitDeleteServiceAccountResponse

func (response DeleteServiceAccount204Response) VisitDeleteServiceAccountResponse(w http.ResponseWriter) error

type DeleteServiceAccount401JSONResponse

type DeleteServiceAccount401JSONResponse struct{ UnauthorizedJSONResponse }

func (DeleteServiceAccount401JSONResponse) VisitDeleteServiceAccountResponse

func (response DeleteServiceAccount401JSONResponse) VisitDeleteServiceAccountResponse(w http.ResponseWriter) error

type DeleteServiceAccount404JSONResponse

type DeleteServiceAccount404JSONResponse struct{ NotFoundJSONResponse }

func (DeleteServiceAccount404JSONResponse) VisitDeleteServiceAccountResponse

func (response DeleteServiceAccount404JSONResponse) VisitDeleteServiceAccountResponse(w http.ResponseWriter) error

type DeleteServiceAccountRequestObject

type DeleteServiceAccountRequestObject struct {
	Id PathId `json:"id"`
}

type DeleteServiceAccountResponseObject

type DeleteServiceAccountResponseObject interface {
	VisitDeleteServiceAccountResponse(w http.ResponseWriter) error
}

type DeleteSpace204Response

type DeleteSpace204Response = NoContentResponse

func (DeleteSpace204Response) VisitDeleteSpaceResponse

func (response DeleteSpace204Response) VisitDeleteSpaceResponse(w http.ResponseWriter) error

type DeleteSpace401JSONResponse

type DeleteSpace401JSONResponse struct{ UnauthorizedJSONResponse }

func (DeleteSpace401JSONResponse) VisitDeleteSpaceResponse

func (response DeleteSpace401JSONResponse) VisitDeleteSpaceResponse(w http.ResponseWriter) error

type DeleteSpace403JSONResponse

type DeleteSpace403JSONResponse struct{ ForbiddenJSONResponse }

func (DeleteSpace403JSONResponse) VisitDeleteSpaceResponse

func (response DeleteSpace403JSONResponse) VisitDeleteSpaceResponse(w http.ResponseWriter) error

type DeleteSpace404JSONResponse

type DeleteSpace404JSONResponse struct{ NotFoundJSONResponse }

func (DeleteSpace404JSONResponse) VisitDeleteSpaceResponse

func (response DeleteSpace404JSONResponse) VisitDeleteSpaceResponse(w http.ResponseWriter) error

type DeleteSpace409JSONResponse

type DeleteSpace409JSONResponse struct{ ConflictJSONResponse }

func (DeleteSpace409JSONResponse) VisitDeleteSpaceResponse

func (response DeleteSpace409JSONResponse) VisitDeleteSpaceResponse(w http.ResponseWriter) error

type DeleteSpaceMember204Response

type DeleteSpaceMember204Response = NoContentResponse

func (DeleteSpaceMember204Response) VisitDeleteSpaceMemberResponse

func (response DeleteSpaceMember204Response) VisitDeleteSpaceMemberResponse(w http.ResponseWriter) error

type DeleteSpaceMember401JSONResponse

type DeleteSpaceMember401JSONResponse struct{ UnauthorizedJSONResponse }

func (DeleteSpaceMember401JSONResponse) VisitDeleteSpaceMemberResponse

func (response DeleteSpaceMember401JSONResponse) VisitDeleteSpaceMemberResponse(w http.ResponseWriter) error

type DeleteSpaceMember403JSONResponse

type DeleteSpaceMember403JSONResponse struct{ ForbiddenJSONResponse }

func (DeleteSpaceMember403JSONResponse) VisitDeleteSpaceMemberResponse

func (response DeleteSpaceMember403JSONResponse) VisitDeleteSpaceMemberResponse(w http.ResponseWriter) error

type DeleteSpaceMember404JSONResponse

type DeleteSpaceMember404JSONResponse struct{ NotFoundJSONResponse }

func (DeleteSpaceMember404JSONResponse) VisitDeleteSpaceMemberResponse

func (response DeleteSpaceMember404JSONResponse) VisitDeleteSpaceMemberResponse(w http.ResponseWriter) error

type DeleteSpaceMemberRequestObject

type DeleteSpaceMemberRequestObject struct {
	Id            PathId             `json:"id"`
	SpaceId       openapi_types.UUID `json:"space_id"`
	PrincipalType string             `json:"principal_type"`
	PrincipalId   openapi_types.UUID `json:"principal_id"`
}

type DeleteSpaceMemberResponseObject

type DeleteSpaceMemberResponseObject interface {
	VisitDeleteSpaceMemberResponse(w http.ResponseWriter) error
}

type DeleteSpaceParams

type DeleteSpaceParams struct {
	// Force Delete even when the space still has content
	Force *bool `form:"force,omitempty" json:"force,omitempty"`
}

DeleteSpaceParams defines parameters for DeleteSpace.

type DeleteSpaceRequestObject

type DeleteSpaceRequestObject struct {
	Id      PathId             `json:"id"`
	SpaceId openapi_types.UUID `json:"space_id"`
	Params  DeleteSpaceParams
}

type DeleteSpaceResponseObject

type DeleteSpaceResponseObject interface {
	VisitDeleteSpaceResponse(w http.ResponseWriter) error
}

type DeleteTableMaintenance204Response

type DeleteTableMaintenance204Response struct {
}

func (DeleteTableMaintenance204Response) VisitDeleteTableMaintenanceResponse

func (response DeleteTableMaintenance204Response) VisitDeleteTableMaintenanceResponse(w http.ResponseWriter) error

type DeleteTableMaintenance401JSONResponse

type DeleteTableMaintenance401JSONResponse struct{ UnauthorizedJSONResponse }

func (DeleteTableMaintenance401JSONResponse) VisitDeleteTableMaintenanceResponse

func (response DeleteTableMaintenance401JSONResponse) VisitDeleteTableMaintenanceResponse(w http.ResponseWriter) error

type DeleteTableMaintenance403JSONResponse

type DeleteTableMaintenance403JSONResponse struct{ ForbiddenJSONResponse }

func (DeleteTableMaintenance403JSONResponse) VisitDeleteTableMaintenanceResponse

func (response DeleteTableMaintenance403JSONResponse) VisitDeleteTableMaintenanceResponse(w http.ResponseWriter) error

type DeleteTableMaintenance404JSONResponse

type DeleteTableMaintenance404JSONResponse struct{ NotFoundJSONResponse }

func (DeleteTableMaintenance404JSONResponse) VisitDeleteTableMaintenanceResponse

func (response DeleteTableMaintenance404JSONResponse) VisitDeleteTableMaintenanceResponse(w http.ResponseWriter) error

type DeleteTableMaintenanceRequestObject

type DeleteTableMaintenanceRequestObject struct {
	CatalogId MaintenanceCatalogId `json:"catalog_id"`
	Namespace MaintenanceNamespace `json:"namespace"`
	Table     MaintenanceTable     `json:"table"`
}

type DeleteTableMaintenanceResponseObject

type DeleteTableMaintenanceResponseObject interface {
	VisitDeleteTableMaintenanceResponse(w http.ResponseWriter) error
}

type DeleteTeam204Response

type DeleteTeam204Response = NoContentResponse

func (DeleteTeam204Response) VisitDeleteTeamResponse

func (response DeleteTeam204Response) VisitDeleteTeamResponse(w http.ResponseWriter) error

type DeleteTeam401JSONResponse

type DeleteTeam401JSONResponse struct{ UnauthorizedJSONResponse }

func (DeleteTeam401JSONResponse) VisitDeleteTeamResponse

func (response DeleteTeam401JSONResponse) VisitDeleteTeamResponse(w http.ResponseWriter) error

type DeleteTeam403JSONResponse

type DeleteTeam403JSONResponse struct{ ForbiddenJSONResponse }

func (DeleteTeam403JSONResponse) VisitDeleteTeamResponse

func (response DeleteTeam403JSONResponse) VisitDeleteTeamResponse(w http.ResponseWriter) error

type DeleteTeam404JSONResponse

type DeleteTeam404JSONResponse struct{ NotFoundJSONResponse }

func (DeleteTeam404JSONResponse) VisitDeleteTeamResponse

func (response DeleteTeam404JSONResponse) VisitDeleteTeamResponse(w http.ResponseWriter) error

type DeleteTeamRequestObject

type DeleteTeamRequestObject struct {
	Id PathId `json:"id"`
}

type DeleteTeamResponseObject

type DeleteTeamResponseObject interface {
	VisitDeleteTeamResponse(w http.ResponseWriter) error
}

type DeleteWebhook204Response

type DeleteWebhook204Response struct {
}

func (DeleteWebhook204Response) VisitDeleteWebhookResponse

func (response DeleteWebhook204Response) VisitDeleteWebhookResponse(w http.ResponseWriter) error

type DeleteWebhook401JSONResponse

type DeleteWebhook401JSONResponse struct{ UnauthorizedJSONResponse }

func (DeleteWebhook401JSONResponse) VisitDeleteWebhookResponse

func (response DeleteWebhook401JSONResponse) VisitDeleteWebhookResponse(w http.ResponseWriter) error

type DeleteWebhook403JSONResponse

type DeleteWebhook403JSONResponse struct{ ForbiddenJSONResponse }

func (DeleteWebhook403JSONResponse) VisitDeleteWebhookResponse

func (response DeleteWebhook403JSONResponse) VisitDeleteWebhookResponse(w http.ResponseWriter) error

type DeleteWebhook404JSONResponse

type DeleteWebhook404JSONResponse struct{ NotFoundJSONResponse }

func (DeleteWebhook404JSONResponse) VisitDeleteWebhookResponse

func (response DeleteWebhook404JSONResponse) VisitDeleteWebhookResponse(w http.ResponseWriter) error

type DeleteWebhookRequestObject

type DeleteWebhookRequestObject struct {
	Id        PathId             `json:"id"`
	WebhookId openapi_types.UUID `json:"webhook_id"`
}

type DeleteWebhookResponseObject

type DeleteWebhookResponseObject interface {
	VisitDeleteWebhookResponse(w http.ResponseWriter) error
}

type DeleteWorkloadRule204Response

type DeleteWorkloadRule204Response struct {
}

func (DeleteWorkloadRule204Response) VisitDeleteWorkloadRuleResponse

func (response DeleteWorkloadRule204Response) VisitDeleteWorkloadRuleResponse(w http.ResponseWriter) error

type DeleteWorkloadRule401JSONResponse

type DeleteWorkloadRule401JSONResponse struct{ UnauthorizedJSONResponse }

func (DeleteWorkloadRule401JSONResponse) VisitDeleteWorkloadRuleResponse

func (response DeleteWorkloadRule401JSONResponse) VisitDeleteWorkloadRuleResponse(w http.ResponseWriter) error

type DeleteWorkloadRule403JSONResponse

type DeleteWorkloadRule403JSONResponse struct{ ForbiddenJSONResponse }

func (DeleteWorkloadRule403JSONResponse) VisitDeleteWorkloadRuleResponse

func (response DeleteWorkloadRule403JSONResponse) VisitDeleteWorkloadRuleResponse(w http.ResponseWriter) error

type DeleteWorkloadRule404JSONResponse

type DeleteWorkloadRule404JSONResponse struct{ NotFoundJSONResponse }

func (DeleteWorkloadRule404JSONResponse) VisitDeleteWorkloadRuleResponse

func (response DeleteWorkloadRule404JSONResponse) VisitDeleteWorkloadRuleResponse(w http.ResponseWriter) error

type DeleteWorkloadRuleRequestObject

type DeleteWorkloadRuleRequestObject struct {
	RuleId openapi_types.UUID `json:"rule_id"`
}

type DeleteWorkloadRuleResponseObject

type DeleteWorkloadRuleResponseObject interface {
	VisitDeleteWorkloadRuleResponse(w http.ResponseWriter) error
}

type DeleteWorkspace204Response

type DeleteWorkspace204Response = NoContentResponse

func (DeleteWorkspace204Response) VisitDeleteWorkspaceResponse

func (response DeleteWorkspace204Response) VisitDeleteWorkspaceResponse(w http.ResponseWriter) error

type DeleteWorkspace401JSONResponse

type DeleteWorkspace401JSONResponse struct{ UnauthorizedJSONResponse }

func (DeleteWorkspace401JSONResponse) VisitDeleteWorkspaceResponse

func (response DeleteWorkspace401JSONResponse) VisitDeleteWorkspaceResponse(w http.ResponseWriter) error

type DeleteWorkspace403JSONResponse

type DeleteWorkspace403JSONResponse struct{ ForbiddenJSONResponse }

func (DeleteWorkspace403JSONResponse) VisitDeleteWorkspaceResponse

func (response DeleteWorkspace403JSONResponse) VisitDeleteWorkspaceResponse(w http.ResponseWriter) error

type DeleteWorkspace404JSONResponse

type DeleteWorkspace404JSONResponse struct{ NotFoundJSONResponse }

func (DeleteWorkspace404JSONResponse) VisitDeleteWorkspaceResponse

func (response DeleteWorkspace404JSONResponse) VisitDeleteWorkspaceResponse(w http.ResponseWriter) error

type DeleteWorkspace409JSONResponse

type DeleteWorkspace409JSONResponse struct{ ConflictJSONResponse }

func (DeleteWorkspace409JSONResponse) VisitDeleteWorkspaceResponse

func (response DeleteWorkspace409JSONResponse) VisitDeleteWorkspaceResponse(w http.ResponseWriter) error

type DeleteWorkspaceRequestObject

type DeleteWorkspaceRequestObject struct {
	Id PathId `json:"id"`
}

type DeleteWorkspaceResponseObject

type DeleteWorkspaceResponseObject interface {
	VisitDeleteWorkspaceResponse(w http.ResponseWriter) error
}

type Deps

type Deps struct {
	Data          DataDeps
	Engines       EngineDeps
	Observability ObservabilityDeps
	Settings      Settings
	// Keyring seals stored credentials; nil while none is stored.
	Keyring  *crypto.Keyring
	Temporal client.Client
	Storage  *storage.S3Client
	// Assistant receives the turn runner once the server has built it; nil
	// when the assistant is not provisioned.
	Assistant *assistant.RunnerSlot
	// Identity shares the OIDC sign-in service and the identity-provider
	// tokens with the worker (#648); nil builds a service of its own.
	Identity IdentityDeps
	// WSTickets issues the single-use WebSocket tickets (#26); the WebSocket
	// handler consumes from the same store. Nil builds one.
	WSTickets *wsticket.Store
	// Monitoring fans monitoring changes out to the SSE endpoint (#733).
	Monitoring *events.Hub
	// Realtime is the shared cross-replica backbone (ADR 0022). Nil or
	// disabled keeps the caches local.
	Realtime *realtime.Client
	// DataPolicySigningKey signs the data policy bundles (ADR 0028); nil
	// while BALEIA_DATA_POLICIES is off.
	DataPolicySigningKey *rsa.PrivateKey
}

Deps is everything the API handlers need, built by the composition root (internal/app) and grouped by area (#363).

type Dialect

type Dialect = EngineDialect

Dialect defines model for Dialect.

type DialectFunction

type DialectFunction struct {
	// Call False for a keyword-like special form written without parentheses (current_date)
	Call        bool    `json:"call"`
	Description *string `json:"description,omitempty"`

	// Kind function, aggregate or operator
	Kind string `json:"kind"`
	Name string `json:"name"`

	// Signature The call shape, when the engine exposes it
	Signature *string `json:"signature,omitempty"`
}

DialectFunction defines model for DialectFunction.

type DirectoryReconcileAction

type DirectoryReconcileAction struct {
	Action *DirectoryReconcileActionAction `json:"action,omitempty"`
	Detail *string                         `json:"detail,omitempty"`
	UserId *openapi_types.UUID             `json:"user_id,omitempty"`
}

DirectoryReconcileAction defines model for DirectoryReconcileAction.

type DirectoryReconcileActionAction

type DirectoryReconcileActionAction string

DirectoryReconcileActionAction defines model for DirectoryReconcileAction.Action.

const (
	DirectoryReconcileActionActionReinstate DirectoryReconcileActionAction = "reinstate"
	DirectoryReconcileActionActionRole      DirectoryReconcileActionAction = "role"
	DirectoryReconcileActionActionSuspend   DirectoryReconcileActionAction = "suspend"
	DirectoryReconcileActionActionTeam      DirectoryReconcileActionAction = "team"
)

Defines values for DirectoryReconcileActionAction.

type DirectoryReconcileRun

type DirectoryReconcileRun struct {
	Actions    []DirectoryReconcileAction   `json:"actions"`
	Error      *string                      `json:"error,omitempty"`
	FinishedAt *time.Time                   `json:"finished_at"`
	Id         openapi_types.UUID           `json:"id"`
	Outcome    DirectoryReconcileRunOutcome `json:"outcome"`
	ProviderId openapi_types.UUID           `json:"provider_id"`
	Reinstated int                          `json:"reinstated"`
	Seen       int                          `json:"seen"`
	StartedAt  time.Time                    `json:"started_at"`
	Suspended  int                          `json:"suspended"`
}

DirectoryReconcileRun defines model for DirectoryReconcileRun.

type DirectoryReconcileRunOutcome

type DirectoryReconcileRunOutcome string

DirectoryReconcileRunOutcome defines model for DirectoryReconcileRun.Outcome.

const (
	DirectoryReconcileRunOutcomeAbortedSafety DirectoryReconcileRunOutcome = "aborted_safety"
	DirectoryReconcileRunOutcomeError         DirectoryReconcileRunOutcome = "error"
	DirectoryReconcileRunOutcomeSuccess       DirectoryReconcileRunOutcome = "success"
)

Defines values for DirectoryReconcileRunOutcome.

type DiscoverEngineCatalogs200JSONResponse

type DiscoverEngineCatalogs200JSONResponse DiscoverResult

func (DiscoverEngineCatalogs200JSONResponse) VisitDiscoverEngineCatalogsResponse

func (response DiscoverEngineCatalogs200JSONResponse) VisitDiscoverEngineCatalogsResponse(w http.ResponseWriter) error

type DiscoverEngineCatalogs401JSONResponse

type DiscoverEngineCatalogs401JSONResponse struct{ UnauthorizedJSONResponse }

func (DiscoverEngineCatalogs401JSONResponse) VisitDiscoverEngineCatalogsResponse

func (response DiscoverEngineCatalogs401JSONResponse) VisitDiscoverEngineCatalogsResponse(w http.ResponseWriter) error

type DiscoverEngineCatalogs403JSONResponse

type DiscoverEngineCatalogs403JSONResponse struct{ ForbiddenJSONResponse }

func (DiscoverEngineCatalogs403JSONResponse) VisitDiscoverEngineCatalogsResponse

func (response DiscoverEngineCatalogs403JSONResponse) VisitDiscoverEngineCatalogsResponse(w http.ResponseWriter) error

type DiscoverEngineCatalogs404JSONResponse

type DiscoverEngineCatalogs404JSONResponse struct{ NotFoundJSONResponse }

func (DiscoverEngineCatalogs404JSONResponse) VisitDiscoverEngineCatalogsResponse

func (response DiscoverEngineCatalogs404JSONResponse) VisitDiscoverEngineCatalogsResponse(w http.ResponseWriter) error

type DiscoverEngineCatalogs422JSONResponse

type DiscoverEngineCatalogs422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (DiscoverEngineCatalogs422JSONResponse) VisitDiscoverEngineCatalogsResponse

func (response DiscoverEngineCatalogs422JSONResponse) VisitDiscoverEngineCatalogsResponse(w http.ResponseWriter) error

type DiscoverEngineCatalogsRequestObject

type DiscoverEngineCatalogsRequestObject struct {
	Id PathId `json:"id"`
}

type DiscoverEngineCatalogsResponseObject

type DiscoverEngineCatalogsResponseObject interface {
	VisitDiscoverEngineCatalogsResponse(w http.ResponseWriter) error
}

type DiscoverResult

type DiscoverResult struct {
	Added     []string `json:"added"`
	Disabled  []string `json:"disabled"`
	Unchanged []string `json:"unchanged"`
}

DiscoverResult defines model for DiscoverResult.

type DryRunTableMaintenance200JSONResponse

type DryRunTableMaintenance200JSONResponse MaintenancePlan

func (DryRunTableMaintenance200JSONResponse) VisitDryRunTableMaintenanceResponse

func (response DryRunTableMaintenance200JSONResponse) VisitDryRunTableMaintenanceResponse(w http.ResponseWriter) error

type DryRunTableMaintenance401JSONResponse

type DryRunTableMaintenance401JSONResponse struct{ UnauthorizedJSONResponse }

func (DryRunTableMaintenance401JSONResponse) VisitDryRunTableMaintenanceResponse

func (response DryRunTableMaintenance401JSONResponse) VisitDryRunTableMaintenanceResponse(w http.ResponseWriter) error

type DryRunTableMaintenance403JSONResponse

type DryRunTableMaintenance403JSONResponse struct{ ForbiddenJSONResponse }

func (DryRunTableMaintenance403JSONResponse) VisitDryRunTableMaintenanceResponse

func (response DryRunTableMaintenance403JSONResponse) VisitDryRunTableMaintenanceResponse(w http.ResponseWriter) error

type DryRunTableMaintenance404JSONResponse

type DryRunTableMaintenance404JSONResponse struct{ NotFoundJSONResponse }

func (DryRunTableMaintenance404JSONResponse) VisitDryRunTableMaintenanceResponse

func (response DryRunTableMaintenance404JSONResponse) VisitDryRunTableMaintenanceResponse(w http.ResponseWriter) error

type DryRunTableMaintenance409JSONResponse

type DryRunTableMaintenance409JSONResponse struct{ ConflictJSONResponse }

func (DryRunTableMaintenance409JSONResponse) VisitDryRunTableMaintenanceResponse

func (response DryRunTableMaintenance409JSONResponse) VisitDryRunTableMaintenanceResponse(w http.ResponseWriter) error

type DryRunTableMaintenanceRequestObject

type DryRunTableMaintenanceRequestObject struct {
	CatalogId MaintenanceCatalogId `json:"catalog_id"`
	Namespace MaintenanceNamespace `json:"namespace"`
	Table     MaintenanceTable     `json:"table"`
}

type DryRunTableMaintenanceResponseObject

type DryRunTableMaintenanceResponseObject interface {
	VisitDryRunTableMaintenanceResponse(w http.ResponseWriter) error
}

type Engine

type Engine struct {
	AllowedActions *[]EngineAllowedAction `json:"allowed_actions,omitempty"`

	// Capabilities What the engine can do; null when the engine is disabled or no adapter for its kind is available yet
	Capabilities *EngineCapabilities `json:"capabilities"`

	// CatalogCount Distinct logical catalogs bound to this engine
	CatalogCount *int                 `json:"catalog_count,omitempty"`
	Class        EngineClass          `json:"class"`
	Connection   *EngineConnectionRef `json:"connection"`
	ConnectionId openapi_types.UUID   `json:"connection_id"`

	// CostRoutingEnabled Run EXPLAIN (FORMAT JSON) before a Trino SELECT and route an expensive run to heavy (#550)
	CostRoutingEnabled *bool `json:"cost_routing_enabled,omitempty"`

	// CostThresholdBytes Estimated bytes above which a Trino SELECT is heavy; cost routing does nothing while this is null (#550)
	CostThresholdBytes *int64    `json:"cost_threshold_bytes"`
	CreatedAt          time.Time `json:"created_at"`

	// CredentialsReadOnly Copied from the connection: its credentials only allow reads
	CredentialsReadOnly *bool `json:"credentials_read_only,omitempty"`

	// DataPolicies The engine runs the OPA access control with Baleia's Rego, so catalogs bound to it may carry row filters and column masks (ADR 0028)
	DataPolicies bool `json:"data_policies"`

	// Dialect How to write SQL for it; keyword and function lists are at GET /dialects/{name}
	Dialect *EngineDialect `json:"dialect"`
	Enabled bool           `json:"enabled"`

	// Health Result of the latest reachability probe; unknown before the first probe
	Health       *EngineHealth      `json:"health"`
	Id           openapi_types.UUID `json:"id"`
	IdentityMode EngineIdentityMode `json:"identity_mode"`

	// Kind Query-engine kind: trino, postgresql, mysql, …
	Kind      string     `json:"kind"`
	Name      string     `json:"name"`
	UpdatedAt *time.Time `json:"updated_at,omitempty"`

	// Version Server version reported by the engine (cached 5 minutes); null when unknown or unreachable
	Version *string `json:"version"`
}

Engine defines model for Engine.

type EngineAllowedAction

type EngineAllowedAction string

EngineAllowedAction defines model for EngineAllowedAction.

const (
	EngineAllowedActionBindInto  EngineAllowedAction = "bind_into"
	EngineAllowedActionDelete    EngineAllowedAction = "delete"
	EngineAllowedActionReconcile EngineAllowedAction = "reconcile"
	EngineAllowedActionTest      EngineAllowedAction = "test"
	EngineAllowedActionUpdate    EngineAllowedAction = "update"
	EngineAllowedActionView      EngineAllowedAction = "view"
)

Defines values for EngineAllowedAction.

type EngineCapabilities

type EngineCapabilities struct {
	ArrowNative        bool                              `json:"arrow_native"`
	CancelScope        *EngineCapabilitiesCancelScope    `json:"cancel_scope"`
	Dialect            string                            `json:"dialect"`
	IcebergMaintenance bool                              `json:"iceberg_maintenance"`
	IdentifierCase     EngineCapabilitiesIdentifierCase  `json:"identifier_case"`
	IdentityModes      []EngineCapabilitiesIdentityModes `json:"identity_modes"`

	// MaxIdentifierLength 0 when unknown
	MaxIdentifierLength int  `json:"max_identifier_length"`
	Monitoring          bool `json:"monitoring"`
	MultipleCatalogs    bool `json:"multiple_catalogs"`
	MultipleResultSets  bool `json:"multiple_result_sets"`

	// NamespaceDepth Schema depth in SQL; 0 when the engine has no schemas
	NamespaceDepth int `json:"namespace_depth"`

	// ReadOnly enforced: the engine guarantees read-only sessions; none: only a read-only database role can
	ReadOnly       EngineCapabilitiesReadOnly `json:"read_only"`
	SessionSchema  bool                       `json:"session_schema"`
	SupportsCancel bool                       `json:"supports_cancel"`

	// SupportsCatalogDdl Informational only
	SupportsCatalogDdl bool `json:"supports_catalog_ddl"`
	SupportsExplain    bool `json:"supports_explain"`
	SupportsTimeTravel bool `json:"supports_time_travel"`
	Transactions       bool `json:"transactions"`
}

EngineCapabilities What an engine can do. Capabilities never authorize anything: what a user may run is decided by policy (catalog DDL is never allowed in the editor, whatever supports_catalog_ddl says).

type EngineCapabilitiesCancelScope

type EngineCapabilitiesCancelScope string

EngineCapabilitiesCancelScope defines model for EngineCapabilities.CancelScope.

const (
	AnyProcess EngineCapabilitiesCancelScope = "any_process"
	InProcess  EngineCapabilitiesCancelScope = "in_process"
)

Defines values for EngineCapabilitiesCancelScope.

type EngineCapabilitiesIdentifierCase

type EngineCapabilitiesIdentifierCase string

EngineCapabilitiesIdentifierCase defines model for EngineCapabilities.IdentifierCase.

const (
	Lower    EngineCapabilitiesIdentifierCase = "lower"
	Preserve EngineCapabilitiesIdentifierCase = "preserve"
	Upper    EngineCapabilitiesIdentifierCase = "upper"
)

Defines values for EngineCapabilitiesIdentifierCase.

type EngineCapabilitiesIdentityModes

type EngineCapabilitiesIdentityModes string

EngineCapabilitiesIdentityModes defines model for EngineCapabilities.IdentityModes.

const (
	EngineCapabilitiesIdentityModesConnection    EngineCapabilitiesIdentityModes = "connection"
	EngineCapabilitiesIdentityModesImpersonation EngineCapabilitiesIdentityModes = "impersonation"
	EngineCapabilitiesIdentityModesPerUser       EngineCapabilitiesIdentityModes = "per_user"
)

Defines values for EngineCapabilitiesIdentityModes.

type EngineCapabilitiesReadOnly

type EngineCapabilitiesReadOnly string

EngineCapabilitiesReadOnly enforced: the engine guarantees read-only sessions; none: only a read-only database role can

const (
	EngineCapabilitiesReadOnlyEnforced EngineCapabilitiesReadOnly = "enforced"
	EngineCapabilitiesReadOnlyNone     EngineCapabilitiesReadOnly = "none"
)

Defines values for EngineCapabilitiesReadOnly.

type EngineClass

type EngineClass string

EngineClass defines model for Engine.Class.

const (
	EngineClassDirect    EngineClass = "direct"
	EngineClassFederated EngineClass = "federated"
)

Defines values for EngineClass.

type EngineConnectionRef

type EngineConnectionRef struct {
	Id   openapi_types.UUID `json:"id"`
	Name string             `json:"name"`
}

EngineConnectionRef defines model for EngineConnectionRef.

type EngineDeps

type EngineDeps struct {
	Connections *connections.Registry
	Engines     engineSource
	Kinds       engineKinds
	Dialects    *dialect.Registry
	Binder      *bindtrino.Binder
	// Dialer is the SSRF-safe dialer outbound calls go through (#12, #378).
	Dialer *connections.Dialer
}

EngineDeps are the connections, engines and catalog bindings.

type EngineDialect

type EngineDialect struct {
	// CodemirrorBase @maltzsama/lang-sql base dialect
	CodemirrorBase string `json:"codemirror_base"`

	// FormatterLanguage sql-formatter language id
	FormatterLanguage string `json:"formatter_language"`
	Name              string `json:"name"`
}

EngineDialect defines model for EngineDialect.

type EngineHealth

type EngineHealth struct {
	CheckedAt *time.Time `json:"checked_at"`
	ErrorCode *string    `json:"error_code"`

	// Status ok, unreachable or unknown
	Status string `json:"status"`
}

EngineHealth defines model for EngineHealth.

type EngineIdentityMode

type EngineIdentityMode string

EngineIdentityMode defines model for Engine.IdentityMode.

const (
	EngineIdentityModeConnection    EngineIdentityMode = "connection"
	EngineIdentityModeImpersonation EngineIdentityMode = "impersonation"
	EngineIdentityModePerUser       EngineIdentityMode = "per_user"
)

Defines values for EngineIdentityMode.

type EngineImpact

type EngineImpact struct {
	Docs                  int `json:"docs"`
	Grants                int `json:"grants"`
	ManagedBindings       int `json:"managed_bindings"`
	Metrics               int `json:"metrics"`
	NativeCatalogs        int `json:"native_catalogs"`
	RunningExecutions     int `json:"running_executions"`
	SavedQueriesTargeting int `json:"saved_queries_targeting"`
}

EngineImpact defines model for EngineImpact.

type EngineObservation

type EngineObservation struct {
	CatalogName string    `json:"catalog_name"`
	Connector   *string   `json:"connector"`
	FirstSeenAt time.Time `json:"first_seen_at"`

	// Mode managed or adopted
	Mode       string    `json:"mode"`
	ObservedAt time.Time `json:"observed_at"`
	Present    bool      `json:"present"`
}

EngineObservation defines model for EngineObservation.

type EngineQueue

type EngineQueue struct {
	Class          EngineQueueClass `json:"class"`
	MaxQueued      int              `json:"max_queued"`
	MaxRunning     int              `json:"max_running"`
	OldestWaitMs   *int             `json:"oldest_wait_ms"`
	QueueTimeoutMs int              `json:"queue_timeout_ms"`
	Queued         int              `json:"queued"`
	Running        int              `json:"running"`

	// RuntimeTimeoutMs Stored per-class runtime bound; enforcement lands in #578
	RuntimeTimeoutMs int `json:"runtime_timeout_ms"`
}

EngineQueue defines model for EngineQueue.

type EngineQueueClass

type EngineQueueClass string

EngineQueueClass defines model for EngineQueue.Class.

const (
	EngineQueueClassBackground  EngineQueueClass = "background"
	EngineQueueClassHeavy       EngineQueueClass = "heavy"
	EngineQueueClassInteractive EngineQueueClass = "interactive"
)

Defines values for EngineQueueClass.

type EngineQueues

type EngineQueues struct {
	Classes  []EngineQueue      `json:"classes"`
	EngineId openapi_types.UUID `json:"engine_id"`

	// MaxRunningTotal Ceiling across every class; null means none
	MaxRunningTotal *int `json:"max_running_total"`

	// TrinoResourceGroupsEnabled When on, Trino's resource groups hold the queue instead of Baleia's (#600)
	TrinoResourceGroupsEnabled *bool `json:"trino_resource_groups_enabled,omitempty"`
}

EngineQueues defines model for EngineQueues.

type Error

type Error struct {
	Code   ErrorCode     `json:"code"`
	Fields *[]FieldError `json:"fields,omitempty"`

	// Message English, for logs and non-UI clients; never shown translated
	Message string `json:"message"`

	// Params Structured details (for version_conflict: current_version, updated_by, updated_at)
	Params *map[string]interface{} `json:"params,omitempty"`
}

Error defines model for Error.

type ErrorCode

type ErrorCode string

ErrorCode defines model for ErrorCode.

const (
	ErrorCodeAccountSuspended          ErrorCode = "account_suspended"
	ErrorCodeAgentTokenNotAllowed      ErrorCode = "agent_token_not_allowed"
	ErrorCodeAssistantDisabled         ErrorCode = "assistant_disabled"
	ErrorCodeBadRequest                ErrorCode = "bad_request"
	ErrorCodeBindingBusy               ErrorCode = "binding_busy"
	ErrorCodeBindingDisabled           ErrorCode = "binding_disabled"
	ErrorCodeBindingExists             ErrorCode = "binding_exists"
	ErrorCodeBindingIsPrimary          ErrorCode = "binding_is_primary"
	ErrorCodeBindingNotManaged         ErrorCode = "binding_not_managed"
	ErrorCodeBindingUnsupported        ErrorCode = "binding_unsupported"
	ErrorCodeCancelFailed              ErrorCode = "cancel_failed"
	ErrorCodeCancelled                 ErrorCode = "cancelled"
	ErrorCodeCatalogNotManaged         ErrorCode = "catalog_not_managed"
	ErrorCodeCatalogReadOnly           ErrorCode = "catalog_read_only"
	ErrorCodeConcurrentChange          ErrorCode = "concurrent_change"
	ErrorCodeConflict                  ErrorCode = "conflict"
	ErrorCodeConnectionError           ErrorCode = "connection_error"
	ErrorCodeConnectionInUse           ErrorCode = "connection_in_use"
	ErrorCodeCredentialsUnreadable     ErrorCode = "credentials_unreadable"
	ErrorCodeCustomSqlForbidden        ErrorCode = "custom_sql_forbidden"
	ErrorCodeCustomSqlRequiresReadOnly ErrorCode = "custom_sql_requires_read_only"
	ErrorCodeDataPoliciesDisabled      ErrorCode = "data_policies_disabled"
	ErrorCodeDataPoliciesUnenforced    ErrorCode = "data_policies_unenforced"
	ErrorCodeDataPoliciesUnsupported   ErrorCode = "data_policies_unsupported"
	ErrorCodeDataPolicyInvalid         ErrorCode = "data_policy_invalid"
	ErrorCodeDestinationNotEligible    ErrorCode = "destination_not_eligible"
	ErrorCodeDropFailed                ErrorCode = "drop_failed"
	ErrorCodeEncryptionFailed          ErrorCode = "encryption_failed"
	ErrorCodeEncryptionUnavailable     ErrorCode = "encryption_unavailable"
	ErrorCodeEngineError               ErrorCode = "engine_error"
	ErrorCodeEngineInUse               ErrorCode = "engine_in_use"
	ErrorCodeEngineRequired            ErrorCode = "engine_required"
	ErrorCodeEngineUnavailable         ErrorCode = "engine_unavailable"
	ErrorCodeEngineUnreachable         ErrorCode = "engine_unreachable"
	ErrorCodeEngineUnsupported         ErrorCode = "engine_unsupported"
	ErrorCodeExecutionsRunning         ErrorCode = "executions_running"
	ErrorCodeFolderCycle               ErrorCode = "folder_cycle"
	ErrorCodeForbidden                 ErrorCode = "forbidden"
	ErrorCodeGrainNotAllowed           ErrorCode = "grain_not_allowed"
	ErrorCodeIdpUnavailable            ErrorCode = "idp_unavailable"
	ErrorCodeInternal                  ErrorCode = "internal"
	ErrorCodeInternalError             ErrorCode = "internal_error"
	ErrorCodeInvalidBundle             ErrorCode = "invalid_bundle"
	ErrorCodeInvalidCredentials        ErrorCode = "invalid_credentials"
	ErrorCodeInvalidDefinition         ErrorCode = "invalid_definition"
	ErrorCodeInvalidIdentifier         ErrorCode = "invalid_identifier"
	ErrorCodeInvalidSql                ErrorCode = "invalid_sql"
	ErrorCodeInvalidTimeRange          ErrorCode = "invalid_time_range"
	ErrorCodeMaintenanceExternal       ErrorCode = "maintenance_external"
	ErrorCodeNameConflict              ErrorCode = "name_conflict"
	ErrorCodeNameInUse                 ErrorCode = "name_in_use"
	ErrorCodeNotDirect                 ErrorCode = "not_direct"
	ErrorCodeNotFound                  ErrorCode = "not_found"
	ErrorCodeNotRunning                ErrorCode = "not_running"
	ErrorCodeNotSupported              ErrorCode = "not_supported"
	ErrorCodePermissionDenied          ErrorCode = "permission_denied"
	ErrorCodePropertyNotOverridable    ErrorCode = "property_not_overridable"
	ErrorCodeProviderInUse             ErrorCode = "provider_in_use"
	ErrorCodeProviderUnsupported       ErrorCode = "provider_unsupported"
	ErrorCodeQueueFull                 ErrorCode = "queue_full"
	ErrorCodeQueueTimeout              ErrorCode = "queue_timeout"
	ErrorCodeRateLimited               ErrorCode = "rate_limited"
	ErrorCodeReadOnlyUnsupported       ErrorCode = "read_only_unsupported"
	ErrorCodeRefused                   ErrorCode = "refused"
	ErrorCodeReservedName              ErrorCode = "reserved_name"
	ErrorCodeResourceExhausted         ErrorCode = "resource_exhausted"
	ErrorCodeServiceUnavailable        ErrorCode = "service_unavailable"
	ErrorCodeSlugConflict              ErrorCode = "slug_conflict"
	ErrorCodeSpaceMissing              ErrorCode = "space_missing"
	ErrorCodeSpaceNotFound             ErrorCode = "space_not_found"
	ErrorCodeSyncInProgress            ErrorCode = "sync_in_progress"
	ErrorCodeSyntax                    ErrorCode = "syntax"
	ErrorCodeTargetNotGranted          ErrorCode = "target_not_granted"
	ErrorCodeTargetRequired            ErrorCode = "target_required"
	ErrorCodeTargetUnavailable         ErrorCode = "target_unavailable"
	ErrorCodeTimeout                   ErrorCode = "timeout"
	ErrorCodeTurnRunning               ErrorCode = "turn_running"
	ErrorCodeUnauthorized              ErrorCode = "unauthorized"
	ErrorCodeUnsupportedBundleVersion  ErrorCode = "unsupported_bundle_version"
	ErrorCodeUnsupportedSyntax         ErrorCode = "unsupported_syntax"
	ErrorCodeUserInUse                 ErrorCode = "user_in_use"
	ErrorCodeUserOwnsWorkspace         ErrorCode = "user_owns_workspace"
	ErrorCodeValidationError           ErrorCode = "validation_error"
	ErrorCodeVersionConflict           ErrorCode = "version_conflict"
	ErrorCodeWorkspaceMemberNotInTeam  ErrorCode = "workspace_member_not_in_team"
	ErrorCodeWorkspaceNotFound         ErrorCode = "workspace_not_found"
	ErrorCodeWorkspaceOwnerRoleFixed   ErrorCode = "workspace_owner_role_fixed"
	ErrorCodeWorkspacePersonal         ErrorCode = "workspace_personal"
)

Defines values for ErrorCode.

type Execution

type Execution struct {
	DurationMs *int `json:"duration_ms"`

	// EngineQueryId The statement's id on its engine (a Trino query id, …). Was trino_query_id
	EngineQueryId *string            `json:"engine_query_id"`
	ErrorCode     *string            `json:"error_code"`
	FinishedAt    *time.Time         `json:"finished_at"`
	Id            openapi_types.UUID `json:"id"`

	// Origin Where the run came from: editor, agent, explore, retriever, metadata, maintenance, export, download or bi
	Origin *string `json:"origin,omitempty"`

	// Queue The workload queue of a run (#399). Present while the execution is `queued`; `position` is only the caller's own position.
	Queue *ExecutionQueue `json:"queue,omitempty"`

	// ReadOnly The target ran in a read-only session
	ReadOnly     *bool               `json:"read_only,omitempty"`
	RowsReturned *int                `json:"rows_returned"`
	SavedQueryId *openapi_types.UUID `json:"saved_query_id"`
	Sql          string              `json:"sql"`
	StartedAt    *time.Time          `json:"started_at,omitempty"`
	Status       ExecutionStatus     `json:"status"`

	// Target The target an execution ran on, as recorded when it started
	Target *ExecutionTarget `json:"target,omitempty"`

	// UserId The caller who ran it
	UserId *openapi_types.UUID `json:"user_id"`

	// UserName The runner's name (history list)
	UserName    *string            `json:"user_name"`
	WorkspaceId openapi_types.UUID `json:"workspace_id"`
}

Execution defines model for Execution.

type ExecutionDetails

type ExecutionDetails struct {
	DurationMs *int `json:"duration_ms"`

	// EngineKind The engine of the target; a Trino run has a profile
	EngineKind  *string              `json:"engine_kind"`
	ExecutionId openapi_types.UUID   `json:"execution_id"`
	Statements  []ExecutionStatement `json:"statements"`

	// Timeline The run's phases, in milliseconds; a phase is null when the engine did not report it.
	Timeline ExecutionTimeline `json:"timeline"`
}

ExecutionDetails defines model for ExecutionDetails.

type ExecutionInput

type ExecutionInput struct {
	Catalog    *string `json:"catalog,omitempty"`
	InputBytes *int    `json:"input_bytes"`
	InputRows  *int    `json:"input_rows"`
	Schema     *string `json:"schema,omitempty"`
	Table      *string `json:"table,omitempty"`
}

ExecutionInput defines model for ExecutionInput.

type ExecutionProfile

type ExecutionProfile struct {
	AnalysisMs      *int              `json:"analysis_ms"`
	CpuMs           *int              `json:"cpu_ms"`
	ExecutionMs     *int              `json:"execution_ms"`
	InputBytes      *int              `json:"input_bytes"`
	InputRows       *int              `json:"input_rows"`
	Inputs          *[]ExecutionInput `json:"inputs,omitempty"`
	OutputBytes     *int              `json:"output_bytes"`
	OutputRows      *int              `json:"output_rows"`
	PeakMemoryBytes *int              `json:"peak_memory_bytes"`
	PlanningMs      *int              `json:"planning_ms"`
	QueuedMs        *int              `json:"queued_ms"`
	SpilledBytes    *int              `json:"spilled_bytes"`
}

ExecutionProfile What the engine reported about one statement; null for a direct engine.

type ExecutionQueue

type ExecutionQueue struct {
	AdmittedAt *time.Time          `json:"admitted_at"`
	Class      ExecutionQueueClass `json:"class"`

	// Position The caller's position in the queue
	Position int       `json:"position"`
	QueuedAt time.Time `json:"queued_at"`

	// Reason Which rule or step chose the class
	Reason *string `json:"reason"`
	WaitMs int     `json:"wait_ms"`
}

ExecutionQueue The workload queue of a run (#399). Present while the execution is `queued`; `position` is only the caller's own position.

type ExecutionQueueClass

type ExecutionQueueClass string

ExecutionQueueClass defines model for ExecutionQueue.Class.

const (
	ExecutionQueueClassBackground  ExecutionQueueClass = "background"
	ExecutionQueueClassHeavy       ExecutionQueueClass = "heavy"
	ExecutionQueueClassInteractive ExecutionQueueClass = "interactive"
)

Defines values for ExecutionQueueClass.

type ExecutionRequest

type ExecutionRequest struct {
	// Priority Ask for a lower workload class (#399). It can only lower the class a rule chose, never raise it; the default is one click, interactive.
	Priority *ExecutionRequestPriority `json:"priority,omitempty"`

	// Rerun Re-run the statements of an earlier execution from from_position; the server copies them, never re-splits SQL it did not send
	Rerun *struct {
		ExecutionId  openapi_types.UUID `json:"execution_id"`
		FromPosition int                `json:"from_position"`
	} `json:"rerun,omitempty"`
	SavedQueryId *openapi_types.UUID `json:"saved_query_id"`
	Sql          string              `json:"sql"`

	// Target Where to run. binding_id names a target; catalog_id picks the catalog's only enabled binding, or the one on engine_id when it has several. Omitted, the workspace default applies, else the workspace's only target; otherwise 422 target_required.
	Target      *TargetRequest     `json:"target,omitempty"`
	WorkspaceId openapi_types.UUID `json:"workspace_id"`
}

ExecutionRequest defines model for ExecutionRequest.

type ExecutionRequestPriority

type ExecutionRequestPriority string

ExecutionRequestPriority Ask for a lower workload class (#399). It can only lower the class a rule chose, never raise it; the default is one click, interactive.

const (
	ExecutionRequestPriorityBackground ExecutionRequestPriority = "background"
)

Defines values for ExecutionRequestPriority.

type ExecutionSettings

type ExecutionSettings struct {
	TrinoUserIdentity string
	StatementTimeout  time.Duration
	ExecutionTimeout  time.Duration
	// WorkloadEnabled records the workload class of new runs (#399).
	WorkloadEnabled bool
	// TrinoResourceGroupsEnvironment is the environment the managed Trino
	// resource groups are published under (#635).
	TrinoResourceGroupsEnvironment string
	// PolarisDefaultCredentials is nil unless both halves are configured.
	PolarisDefaultCredentials map[string]string
}

ExecutionSettings shape how queries run.

type ExecutionStatement

type ExecutionStatement struct {
	DurationMs    *int               `json:"duration_ms"`
	EngineQueryId *string            `json:"engine_query_id"`
	Id            openapi_types.UUID `json:"id"`
	Position      int                `json:"position"`

	// Profile What the engine reported about one statement; null for a direct engine.
	Profile      *ExecutionProfile        `json:"profile,omitempty"`
	ResultBytes  *int                     `json:"result_bytes"`
	RowsReturned *int                     `json:"rows_returned"`
	Sql          string                   `json:"sql"`
	Status       ExecutionStatementStatus `json:"status"`
}

ExecutionStatement defines model for ExecutionStatement.

type ExecutionStatementStatus

type ExecutionStatementStatus string

ExecutionStatementStatus defines model for ExecutionStatement.Status.

const (
	ExecutionStatementStatusCancelled ExecutionStatementStatus = "cancelled"
	ExecutionStatementStatusFailed    ExecutionStatementStatus = "failed"
	ExecutionStatementStatusFinished  ExecutionStatementStatus = "finished"
	ExecutionStatementStatusPending   ExecutionStatementStatus = "pending"
	ExecutionStatementStatusRunning   ExecutionStatementStatus = "running"
	ExecutionStatementStatusSkipped   ExecutionStatementStatus = "skipped"
)

Defines values for ExecutionStatementStatus.

type ExecutionStatus

type ExecutionStatus string

ExecutionStatus defines model for Execution.Status.

const (
	ExecutionStatusCancelled ExecutionStatus = "cancelled"
	ExecutionStatusFailed    ExecutionStatus = "failed"
	ExecutionStatusFinished  ExecutionStatus = "finished"
	ExecutionStatusQueued    ExecutionStatus = "queued"
	ExecutionStatusRunning   ExecutionStatus = "running"
)

Defines values for ExecutionStatus.

type ExecutionTarget

type ExecutionTarget struct {
	BindingId     *openapi_types.UUID `json:"binding_id"`
	CatalogId     *openapi_types.UUID `json:"catalog_id"`
	CatalogName   *string             `json:"catalog_name,omitempty"`
	EngineCatalog *string             `json:"engine_catalog,omitempty"`
	EngineId      *openapi_types.UUID `json:"engine_id"`
	EngineKind    *string             `json:"engine_kind,omitempty"`
	EngineName    *string             `json:"engine_name,omitempty"`
	ReadOnly      *bool               `json:"read_only,omitempty"`
	Schema        *string             `json:"schema"`
}

ExecutionTarget The target an execution ran on, as recorded when it started

type ExecutionTimeline

type ExecutionTimeline struct {
	// EngineQueuedMs Time queued inside the engine
	EngineQueuedMs *int `json:"engine_queued_ms"`
	ExecutionMs    *int `json:"execution_ms"`
	PlanningMs     *int `json:"planning_ms"`

	// QueueWaitMs Time in Baleia's queue (A2)
	QueueWaitMs *int `json:"queue_wait_ms"`

	// TotalMs The execution's recorded duration
	TotalMs *int `json:"total_ms"`
}

ExecutionTimeline The run's phases, in milliseconds; a phase is null when the engine did not report it.

type ExplainRequest

type ExplainRequest struct {
	Sql string `json:"sql"`
}

ExplainRequest defines model for ExplainRequest.

type ExplainResult

type ExplainResult struct {
	Sql       *string `json:"sql"`
	Supported bool    `json:"supported"`
}

ExplainResult defines model for ExplainResult.

type ExplainSQL200JSONResponse

type ExplainSQL200JSONResponse ExplainResult

func (ExplainSQL200JSONResponse) VisitExplainSQLResponse

func (response ExplainSQL200JSONResponse) VisitExplainSQLResponse(w http.ResponseWriter) error

type ExplainSQL401JSONResponse

type ExplainSQL401JSONResponse struct{ UnauthorizedJSONResponse }

func (ExplainSQL401JSONResponse) VisitExplainSQLResponse

func (response ExplainSQL401JSONResponse) VisitExplainSQLResponse(w http.ResponseWriter) error

type ExplainSQL404JSONResponse

type ExplainSQL404JSONResponse struct{ NotFoundJSONResponse }

func (ExplainSQL404JSONResponse) VisitExplainSQLResponse

func (response ExplainSQL404JSONResponse) VisitExplainSQLResponse(w http.ResponseWriter) error

type ExplainSQL422JSONResponse

type ExplainSQL422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (ExplainSQL422JSONResponse) VisitExplainSQLResponse

func (response ExplainSQL422JSONResponse) VisitExplainSQLResponse(w http.ResponseWriter) error

type ExplainSQLJSONRequestBody

type ExplainSQLJSONRequestBody = ExplainRequest

ExplainSQLJSONRequestBody defines body for ExplainSQL for application/json ContentType.

type ExplainSQLRequestObject

type ExplainSQLRequestObject struct {
	Name string `json:"name"`
	Body *ExplainSQLJSONRequestBody
}

type ExplainSQLResponseObject

type ExplainSQLResponseObject interface {
	VisitExplainSQLResponse(w http.ResponseWriter) error
}

type ExploreCompileRequest

type ExploreCompileRequest struct {
	// BindingId Defaults to the base model's binding
	BindingId *openapi_types.UUID `json:"binding_id"`

	// Query The only input the semantic compiler accepts. Never carries raw SQL.
	Query ExploreQuery `json:"query"`
}

ExploreCompileRequest defines model for ExploreCompileRequest.

type ExploreCompileResult

type ExploreCompileResult struct {
	Dialect string    `json:"dialect"`
	Notes   *[]string `json:"notes,omitempty"`
	Sql     string    `json:"sql"`
}

ExploreCompileResult defines model for ExploreCompileResult.

type ExploreQuery

type ExploreQuery struct {
	Dimensions *[]string `json:"dimensions,omitempty"`
	Filters    *[]struct {
		Field  string                `json:"field"`
		Op     ExploreQueryFiltersOp `json:"op"`
		Values *[]interface{}        `json:"values,omitempty"`
	} `json:"filters,omitempty"`
	Limit   *int      `json:"limit,omitempty"`
	Metrics *[]string `json:"metrics,omitempty"`

	// Model Base model slug
	Model string `json:"model"`
	Sorts *[]struct {
		Desc  *bool  `json:"desc,omitempty"`
		Field string `json:"field"`
	} `json:"sorts,omitempty"`
	TimeGrain *string `json:"time_grain"`
}

ExploreQuery The only input the semantic compiler accepts. Never carries raw SQL.

type ExploreQueryFiltersOp

type ExploreQueryFiltersOp string

ExploreQueryFiltersOp defines model for ExploreQuery.Filters.Op.

const (
	Empty            ExploreQueryFiltersOp = "!="
	Equal            ExploreQueryFiltersOp = "="
	GreaterThan      ExploreQueryFiltersOp = ">"
	GreaterThanEqual ExploreQueryFiltersOp = ">="
	In               ExploreQueryFiltersOp = "in"
	IsNotNull        ExploreQueryFiltersOp = "is_not_null"
	IsNull           ExploreQueryFiltersOp = "is_null"
	LessThan         ExploreQueryFiltersOp = "<"
	LessThanEqual    ExploreQueryFiltersOp = "<="
	NotIn            ExploreQueryFiltersOp = "not_in"
)

Defines values for ExploreQueryFiltersOp.

type ExportAuditCSV200TextcsvResponse

type ExportAuditCSV200TextcsvResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (ExportAuditCSV200TextcsvResponse) VisitExportAuditCSVResponse

func (response ExportAuditCSV200TextcsvResponse) VisitExportAuditCSVResponse(w http.ResponseWriter) error

type ExportAuditCSV401JSONResponse

type ExportAuditCSV401JSONResponse struct{ UnauthorizedJSONResponse }

func (ExportAuditCSV401JSONResponse) VisitExportAuditCSVResponse

func (response ExportAuditCSV401JSONResponse) VisitExportAuditCSVResponse(w http.ResponseWriter) error

type ExportAuditCSV403JSONResponse

type ExportAuditCSV403JSONResponse struct{ ForbiddenJSONResponse }

func (ExportAuditCSV403JSONResponse) VisitExportAuditCSVResponse

func (response ExportAuditCSV403JSONResponse) VisitExportAuditCSVResponse(w http.ResponseWriter) error

type ExportAuditCSV422JSONResponse

type ExportAuditCSV422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (ExportAuditCSV422JSONResponse) VisitExportAuditCSVResponse

func (response ExportAuditCSV422JSONResponse) VisitExportAuditCSVResponse(w http.ResponseWriter) error

type ExportAuditCSVParams

type ExportAuditCSVParams struct {
	ResourceType *string                      `form:"resource_type,omitempty" json:"resource_type,omitempty"`
	ResourceId   *string                      `form:"resource_id,omitempty" json:"resource_id,omitempty"`
	ActorId      *string                      `form:"actor_id,omitempty" json:"actor_id,omitempty"`
	Action       *string                      `form:"action,omitempty" json:"action,omitempty"`
	Outcome      *ExportAuditCSVParamsOutcome `form:"outcome,omitempty" json:"outcome,omitempty"`
	RequestId    *string                      `form:"request_id,omitempty" json:"request_id,omitempty"`
	TraceId      *string                      `form:"trace_id,omitempty" json:"trace_id,omitempty"`
	From         *time.Time                   `form:"from,omitempty" json:"from,omitempty"`
	To           *time.Time                   `form:"to,omitempty" json:"to,omitempty"`
}

ExportAuditCSVParams defines parameters for ExportAuditCSV.

type ExportAuditCSVParamsOutcome

type ExportAuditCSVParamsOutcome string

ExportAuditCSVParamsOutcome defines parameters for ExportAuditCSV.

const (
	ExportAuditCSVParamsOutcomeAllowed ExportAuditCSVParamsOutcome = "allowed"
	ExportAuditCSVParamsOutcomeDenied  ExportAuditCSVParamsOutcome = "denied"
	ExportAuditCSVParamsOutcomeError   ExportAuditCSVParamsOutcome = "error"
)

Defines values for ExportAuditCSVParamsOutcome.

type ExportAuditCSVRequestObject

type ExportAuditCSVRequestObject struct {
	Params ExportAuditCSVParams
}

type ExportAuditCSVResponseObject

type ExportAuditCSVResponseObject interface {
	VisitExportAuditCSVResponse(w http.ResponseWriter) error
}

type ExportSpaceBundle200JSONResponse

type ExportSpaceBundle200JSONResponse Bundle

func (ExportSpaceBundle200JSONResponse) VisitExportSpaceBundleResponse

func (response ExportSpaceBundle200JSONResponse) VisitExportSpaceBundleResponse(w http.ResponseWriter) error

type ExportSpaceBundle401JSONResponse

type ExportSpaceBundle401JSONResponse struct{ UnauthorizedJSONResponse }

func (ExportSpaceBundle401JSONResponse) VisitExportSpaceBundleResponse

func (response ExportSpaceBundle401JSONResponse) VisitExportSpaceBundleResponse(w http.ResponseWriter) error

type ExportSpaceBundle403JSONResponse

type ExportSpaceBundle403JSONResponse struct{ ForbiddenJSONResponse }

func (ExportSpaceBundle403JSONResponse) VisitExportSpaceBundleResponse

func (response ExportSpaceBundle403JSONResponse) VisitExportSpaceBundleResponse(w http.ResponseWriter) error

type ExportSpaceBundle404JSONResponse

type ExportSpaceBundle404JSONResponse struct{ NotFoundJSONResponse }

func (ExportSpaceBundle404JSONResponse) VisitExportSpaceBundleResponse

func (response ExportSpaceBundle404JSONResponse) VisitExportSpaceBundleResponse(w http.ResponseWriter) error

type ExportSpaceBundleRequestObject

type ExportSpaceBundleRequestObject struct {
	Id      PathId             `json:"id"`
	SpaceId openapi_types.UUID `json:"space_id"`
}

type ExportSpaceBundleResponseObject

type ExportSpaceBundleResponseObject interface {
	VisitExportSpaceBundleResponse(w http.ResponseWriter) error
}

type Features

type Features struct {
	Agents    bool `json:"agents"`
	Assistant bool `json:"assistant"`

	// BiGateway The BI gateway listener and public URL are configured, so the BI data-source files can be generated (ADR 0017)
	BiGateway  bool `json:"bi_gateway"`
	Retrievers bool `json:"retrievers"`
}

Features defines model for Features.

type FieldCode

type FieldCode string

FieldCode defines model for FieldCode.

const (
	FieldCodeInvalidFormat FieldCode = "invalid_format"
	FieldCodeNotAllowed    FieldCode = "not_allowed"
	FieldCodeNotUnique     FieldCode = "not_unique"
	FieldCodeOutOfRange    FieldCode = "out_of_range"
	FieldCodeRequired      FieldCode = "required"
	FieldCodeTooLong       FieldCode = "too_long"
)

Defines values for FieldCode.

type FieldError

type FieldError struct {
	Code   FieldCode          `json:"code"`
	Field  string             `json:"field"`
	Params *map[string]string `json:"params,omitempty"`
}

FieldError defines model for FieldError.

type Forbidden

type Forbidden = Error

Forbidden defines model for Forbidden.

type ForbiddenJSONResponse

type ForbiddenJSONResponse Error

type GetAgent200JSONResponse

type GetAgent200JSONResponse Agent

func (GetAgent200JSONResponse) VisitGetAgentResponse

func (response GetAgent200JSONResponse) VisitGetAgentResponse(w http.ResponseWriter) error

type GetAgent401JSONResponse

type GetAgent401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetAgent401JSONResponse) VisitGetAgentResponse

func (response GetAgent401JSONResponse) VisitGetAgentResponse(w http.ResponseWriter) error

type GetAgent404JSONResponse

type GetAgent404JSONResponse struct{ NotFoundJSONResponse }

func (GetAgent404JSONResponse) VisitGetAgentResponse

func (response GetAgent404JSONResponse) VisitGetAgentResponse(w http.ResponseWriter) error

type GetAgentEligibility200JSONResponse

type GetAgentEligibility200JSONResponse []AgentCatalogEligibility

func (GetAgentEligibility200JSONResponse) VisitGetAgentEligibilityResponse

func (response GetAgentEligibility200JSONResponse) VisitGetAgentEligibilityResponse(w http.ResponseWriter) error

type GetAgentEligibility401JSONResponse

type GetAgentEligibility401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetAgentEligibility401JSONResponse) VisitGetAgentEligibilityResponse

func (response GetAgentEligibility401JSONResponse) VisitGetAgentEligibilityResponse(w http.ResponseWriter) error

type GetAgentEligibility404JSONResponse

type GetAgentEligibility404JSONResponse struct{ NotFoundJSONResponse }

func (GetAgentEligibility404JSONResponse) VisitGetAgentEligibilityResponse

func (response GetAgentEligibility404JSONResponse) VisitGetAgentEligibilityResponse(w http.ResponseWriter) error

type GetAgentEligibilityRequestObject

type GetAgentEligibilityRequestObject struct {
	AgentId PathAgentId `json:"agent_id"`
}

type GetAgentEligibilityResponseObject

type GetAgentEligibilityResponseObject interface {
	VisitGetAgentEligibilityResponse(w http.ResponseWriter) error
}

type GetAgentPolicy200JSONResponse

type GetAgentPolicy200JSONResponse AgentPolicyResponse

func (GetAgentPolicy200JSONResponse) VisitGetAgentPolicyResponse

func (response GetAgentPolicy200JSONResponse) VisitGetAgentPolicyResponse(w http.ResponseWriter) error

type GetAgentPolicy401JSONResponse

type GetAgentPolicy401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetAgentPolicy401JSONResponse) VisitGetAgentPolicyResponse

func (response GetAgentPolicy401JSONResponse) VisitGetAgentPolicyResponse(w http.ResponseWriter) error

type GetAgentPolicy404JSONResponse

type GetAgentPolicy404JSONResponse struct{ NotFoundJSONResponse }

func (GetAgentPolicy404JSONResponse) VisitGetAgentPolicyResponse

func (response GetAgentPolicy404JSONResponse) VisitGetAgentPolicyResponse(w http.ResponseWriter) error

type GetAgentPolicyRequestObject

type GetAgentPolicyRequestObject struct {
	AgentId PathAgentId `json:"agent_id"`
}

type GetAgentPolicyResponseObject

type GetAgentPolicyResponseObject interface {
	VisitGetAgentPolicyResponse(w http.ResponseWriter) error
}

type GetAgentRequestObject

type GetAgentRequestObject struct {
	AgentId PathAgentId `json:"agent_id"`
}

type GetAgentResponseObject

type GetAgentResponseObject interface {
	VisitGetAgentResponse(w http.ResponseWriter) error
}

type GetAgentsMeta200JSONResponse

type GetAgentsMeta200JSONResponse AgentsMeta

func (GetAgentsMeta200JSONResponse) VisitGetAgentsMetaResponse

func (response GetAgentsMeta200JSONResponse) VisitGetAgentsMetaResponse(w http.ResponseWriter) error

type GetAgentsMeta401JSONResponse

type GetAgentsMeta401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetAgentsMeta401JSONResponse) VisitGetAgentsMetaResponse

func (response GetAgentsMeta401JSONResponse) VisitGetAgentsMetaResponse(w http.ResponseWriter) error

type GetAgentsMeta404JSONResponse

type GetAgentsMeta404JSONResponse struct{ NotFoundJSONResponse }

func (GetAgentsMeta404JSONResponse) VisitGetAgentsMetaResponse

func (response GetAgentsMeta404JSONResponse) VisitGetAgentsMetaResponse(w http.ResponseWriter) error

type GetAgentsMetaRequestObject

type GetAgentsMetaRequestObject struct {
}

type GetAgentsMetaResponseObject

type GetAgentsMetaResponseObject interface {
	VisitGetAgentsMetaResponse(w http.ResponseWriter) error
}

type GetAssistantConversation200JSONResponse

type GetAssistantConversation200JSONResponse AssistantConversationDetail

func (GetAssistantConversation200JSONResponse) VisitGetAssistantConversationResponse

func (response GetAssistantConversation200JSONResponse) VisitGetAssistantConversationResponse(w http.ResponseWriter) error

type GetAssistantConversation401JSONResponse

type GetAssistantConversation401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetAssistantConversation401JSONResponse) VisitGetAssistantConversationResponse

func (response GetAssistantConversation401JSONResponse) VisitGetAssistantConversationResponse(w http.ResponseWriter) error

type GetAssistantConversation404JSONResponse

type GetAssistantConversation404JSONResponse struct{ NotFoundJSONResponse }

func (GetAssistantConversation404JSONResponse) VisitGetAssistantConversationResponse

func (response GetAssistantConversation404JSONResponse) VisitGetAssistantConversationResponse(w http.ResponseWriter) error

type GetAssistantConversationRequestObject

type GetAssistantConversationRequestObject struct {
	Id PathId `json:"id"`
}

type GetAssistantConversationResponseObject

type GetAssistantConversationResponseObject interface {
	VisitGetAssistantConversationResponse(w http.ResponseWriter) error
}

type GetAssistantSettings200JSONResponse

type GetAssistantSettings200JSONResponse AssistantSettings

func (GetAssistantSettings200JSONResponse) VisitGetAssistantSettingsResponse

func (response GetAssistantSettings200JSONResponse) VisitGetAssistantSettingsResponse(w http.ResponseWriter) error

type GetAssistantSettings401JSONResponse

type GetAssistantSettings401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetAssistantSettings401JSONResponse) VisitGetAssistantSettingsResponse

func (response GetAssistantSettings401JSONResponse) VisitGetAssistantSettingsResponse(w http.ResponseWriter) error

type GetAssistantSettings403JSONResponse

type GetAssistantSettings403JSONResponse struct{ ForbiddenJSONResponse }

func (GetAssistantSettings403JSONResponse) VisitGetAssistantSettingsResponse

func (response GetAssistantSettings403JSONResponse) VisitGetAssistantSettingsResponse(w http.ResponseWriter) error

type GetAssistantSettingsRequestObject

type GetAssistantSettingsRequestObject struct {
}

type GetAssistantSettingsResponseObject

type GetAssistantSettingsResponseObject interface {
	VisitGetAssistantSettingsResponse(w http.ResponseWriter) error
}

type GetAssistantStatus200JSONResponse

type GetAssistantStatus200JSONResponse AssistantStatus

func (GetAssistantStatus200JSONResponse) VisitGetAssistantStatusResponse

func (response GetAssistantStatus200JSONResponse) VisitGetAssistantStatusResponse(w http.ResponseWriter) error

type GetAssistantStatus401JSONResponse

type GetAssistantStatus401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetAssistantStatus401JSONResponse) VisitGetAssistantStatusResponse

func (response GetAssistantStatus401JSONResponse) VisitGetAssistantStatusResponse(w http.ResponseWriter) error

type GetAssistantStatusRequestObject

type GetAssistantStatusRequestObject struct {
}

type GetAssistantStatusResponseObject

type GetAssistantStatusResponseObject interface {
	VisitGetAssistantStatusResponse(w http.ResponseWriter) error
}

type GetBIGateway200JSONResponse

type GetBIGateway200JSONResponse BIGatewayStatus

func (GetBIGateway200JSONResponse) VisitGetBIGatewayResponse

func (response GetBIGateway200JSONResponse) VisitGetBIGatewayResponse(w http.ResponseWriter) error

type GetBIGateway401JSONResponse

type GetBIGateway401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetBIGateway401JSONResponse) VisitGetBIGatewayResponse

func (response GetBIGateway401JSONResponse) VisitGetBIGatewayResponse(w http.ResponseWriter) error

type GetBIGateway403JSONResponse

type GetBIGateway403JSONResponse struct{ ForbiddenJSONResponse }

func (GetBIGateway403JSONResponse) VisitGetBIGatewayResponse

func (response GetBIGateway403JSONResponse) VisitGetBIGatewayResponse(w http.ResponseWriter) error

type GetBIGatewayRequestObject

type GetBIGatewayRequestObject struct {
}

type GetBIGatewayResponseObject

type GetBIGatewayResponseObject interface {
	VisitGetBIGatewayResponse(w http.ResponseWriter) error
}

type GetCatalog200JSONResponse

type GetCatalog200JSONResponse Catalog

func (GetCatalog200JSONResponse) VisitGetCatalogResponse

func (response GetCatalog200JSONResponse) VisitGetCatalogResponse(w http.ResponseWriter) error

type GetCatalog401JSONResponse

type GetCatalog401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetCatalog401JSONResponse) VisitGetCatalogResponse

func (response GetCatalog401JSONResponse) VisitGetCatalogResponse(w http.ResponseWriter) error

type GetCatalog404JSONResponse

type GetCatalog404JSONResponse struct{ NotFoundJSONResponse }

func (GetCatalog404JSONResponse) VisitGetCatalogResponse

func (response GetCatalog404JSONResponse) VisitGetCatalogResponse(w http.ResponseWriter) error

type GetCatalogAccessImpact200JSONResponse

type GetCatalogAccessImpact200JSONResponse WorkspaceImpact

func (GetCatalogAccessImpact200JSONResponse) VisitGetCatalogAccessImpactResponse

func (response GetCatalogAccessImpact200JSONResponse) VisitGetCatalogAccessImpactResponse(w http.ResponseWriter) error

type GetCatalogAccessImpact401JSONResponse

type GetCatalogAccessImpact401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetCatalogAccessImpact401JSONResponse) VisitGetCatalogAccessImpactResponse

func (response GetCatalogAccessImpact401JSONResponse) VisitGetCatalogAccessImpactResponse(w http.ResponseWriter) error

type GetCatalogAccessImpact404JSONResponse

type GetCatalogAccessImpact404JSONResponse struct{ NotFoundJSONResponse }

func (GetCatalogAccessImpact404JSONResponse) VisitGetCatalogAccessImpactResponse

func (response GetCatalogAccessImpact404JSONResponse) VisitGetCatalogAccessImpactResponse(w http.ResponseWriter) error

type GetCatalogAccessImpactRequestObject

type GetCatalogAccessImpactRequestObject struct {
	Id        PathId             `json:"id"`
	CatalogId openapi_types.UUID `json:"catalog_id"`
}

type GetCatalogAccessImpactResponseObject

type GetCatalogAccessImpactResponseObject interface {
	VisitGetCatalogAccessImpactResponse(w http.ResponseWriter) error
}

type GetCatalogBinding200JSONResponse

type GetCatalogBinding200JSONResponse CatalogBinding

func (GetCatalogBinding200JSONResponse) VisitGetCatalogBindingResponse

func (response GetCatalogBinding200JSONResponse) VisitGetCatalogBindingResponse(w http.ResponseWriter) error

type GetCatalogBinding401JSONResponse

type GetCatalogBinding401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetCatalogBinding401JSONResponse) VisitGetCatalogBindingResponse

func (response GetCatalogBinding401JSONResponse) VisitGetCatalogBindingResponse(w http.ResponseWriter) error

type GetCatalogBinding404JSONResponse

type GetCatalogBinding404JSONResponse struct{ NotFoundJSONResponse }

func (GetCatalogBinding404JSONResponse) VisitGetCatalogBindingResponse

func (response GetCatalogBinding404JSONResponse) VisitGetCatalogBindingResponse(w http.ResponseWriter) error

type GetCatalogBindingProjection200JSONResponse

type GetCatalogBindingProjection200JSONResponse BindingProjection

func (GetCatalogBindingProjection200JSONResponse) VisitGetCatalogBindingProjectionResponse

func (response GetCatalogBindingProjection200JSONResponse) VisitGetCatalogBindingProjectionResponse(w http.ResponseWriter) error

type GetCatalogBindingProjection401JSONResponse

type GetCatalogBindingProjection401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetCatalogBindingProjection401JSONResponse) VisitGetCatalogBindingProjectionResponse

func (response GetCatalogBindingProjection401JSONResponse) VisitGetCatalogBindingProjectionResponse(w http.ResponseWriter) error

type GetCatalogBindingProjection403JSONResponse

type GetCatalogBindingProjection403JSONResponse struct{ ForbiddenJSONResponse }

func (GetCatalogBindingProjection403JSONResponse) VisitGetCatalogBindingProjectionResponse

func (response GetCatalogBindingProjection403JSONResponse) VisitGetCatalogBindingProjectionResponse(w http.ResponseWriter) error

type GetCatalogBindingProjection404JSONResponse

type GetCatalogBindingProjection404JSONResponse struct{ NotFoundJSONResponse }

func (GetCatalogBindingProjection404JSONResponse) VisitGetCatalogBindingProjectionResponse

func (response GetCatalogBindingProjection404JSONResponse) VisitGetCatalogBindingProjectionResponse(w http.ResponseWriter) error

type GetCatalogBindingProjection422JSONResponse

type GetCatalogBindingProjection422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (GetCatalogBindingProjection422JSONResponse) VisitGetCatalogBindingProjectionResponse

func (response GetCatalogBindingProjection422JSONResponse) VisitGetCatalogBindingProjectionResponse(w http.ResponseWriter) error

type GetCatalogBindingProjectionRequestObject

type GetCatalogBindingProjectionRequestObject struct {
	Id PathId `json:"id"`
}

type GetCatalogBindingProjectionResponseObject

type GetCatalogBindingProjectionResponseObject interface {
	VisitGetCatalogBindingProjectionResponse(w http.ResponseWriter) error
}

type GetCatalogBindingRequestObject

type GetCatalogBindingRequestObject struct {
	Id PathId `json:"id"`
}

type GetCatalogBindingResponseObject

type GetCatalogBindingResponseObject interface {
	VisitGetCatalogBindingResponse(w http.ResponseWriter) error
}

type GetCatalogConnection200JSONResponse

type GetCatalogConnection200JSONResponse CatalogConnection

func (GetCatalogConnection200JSONResponse) VisitGetCatalogConnectionResponse

func (response GetCatalogConnection200JSONResponse) VisitGetCatalogConnectionResponse(w http.ResponseWriter) error

type GetCatalogConnection401JSONResponse

type GetCatalogConnection401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetCatalogConnection401JSONResponse) VisitGetCatalogConnectionResponse

func (response GetCatalogConnection401JSONResponse) VisitGetCatalogConnectionResponse(w http.ResponseWriter) error

type GetCatalogConnection404JSONResponse

type GetCatalogConnection404JSONResponse struct{ NotFoundJSONResponse }

func (GetCatalogConnection404JSONResponse) VisitGetCatalogConnectionResponse

func (response GetCatalogConnection404JSONResponse) VisitGetCatalogConnectionResponse(w http.ResponseWriter) error

type GetCatalogConnectionImpact200JSONResponse

type GetCatalogConnectionImpact200JSONResponse CatalogConnectionImpact

func (GetCatalogConnectionImpact200JSONResponse) VisitGetCatalogConnectionImpactResponse

func (response GetCatalogConnectionImpact200JSONResponse) VisitGetCatalogConnectionImpactResponse(w http.ResponseWriter) error

type GetCatalogConnectionImpact401JSONResponse

type GetCatalogConnectionImpact401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetCatalogConnectionImpact401JSONResponse) VisitGetCatalogConnectionImpactResponse

func (response GetCatalogConnectionImpact401JSONResponse) VisitGetCatalogConnectionImpactResponse(w http.ResponseWriter) error

type GetCatalogConnectionImpact404JSONResponse

type GetCatalogConnectionImpact404JSONResponse struct{ NotFoundJSONResponse }

func (GetCatalogConnectionImpact404JSONResponse) VisitGetCatalogConnectionImpactResponse

func (response GetCatalogConnectionImpact404JSONResponse) VisitGetCatalogConnectionImpactResponse(w http.ResponseWriter) error

type GetCatalogConnectionImpactRequestObject

type GetCatalogConnectionImpactRequestObject struct {
	Id PathId `json:"id"`
}

type GetCatalogConnectionImpactResponseObject

type GetCatalogConnectionImpactResponseObject interface {
	VisitGetCatalogConnectionImpactResponse(w http.ResponseWriter) error
}

type GetCatalogConnectionRequestObject

type GetCatalogConnectionRequestObject struct {
	Id PathId `json:"id"`
}

type GetCatalogConnectionResponseObject

type GetCatalogConnectionResponseObject interface {
	VisitGetCatalogConnectionResponse(w http.ResponseWriter) error
}

type GetCatalogDetail200JSONResponse

type GetCatalogDetail200JSONResponse CatalogSummary

func (GetCatalogDetail200JSONResponse) VisitGetCatalogDetailResponse

func (response GetCatalogDetail200JSONResponse) VisitGetCatalogDetailResponse(w http.ResponseWriter) error

type GetCatalogDetail401JSONResponse

type GetCatalogDetail401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetCatalogDetail401JSONResponse) VisitGetCatalogDetailResponse

func (response GetCatalogDetail401JSONResponse) VisitGetCatalogDetailResponse(w http.ResponseWriter) error

type GetCatalogDetail404JSONResponse

type GetCatalogDetail404JSONResponse struct{ NotFoundJSONResponse }

func (GetCatalogDetail404JSONResponse) VisitGetCatalogDetailResponse

func (response GetCatalogDetail404JSONResponse) VisitGetCatalogDetailResponse(w http.ResponseWriter) error

type GetCatalogDetailRequestObject

type GetCatalogDetailRequestObject struct {
	CatalogId openapi_types.UUID `json:"catalog_id"`
}

type GetCatalogDetailResponseObject

type GetCatalogDetailResponseObject interface {
	VisitGetCatalogDetailResponse(w http.ResponseWriter) error
}

type GetCatalogImpact200JSONResponse

type GetCatalogImpact200JSONResponse CatalogImpact

func (GetCatalogImpact200JSONResponse) VisitGetCatalogImpactResponse

func (response GetCatalogImpact200JSONResponse) VisitGetCatalogImpactResponse(w http.ResponseWriter) error

type GetCatalogImpact401JSONResponse

type GetCatalogImpact401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetCatalogImpact401JSONResponse) VisitGetCatalogImpactResponse

func (response GetCatalogImpact401JSONResponse) VisitGetCatalogImpactResponse(w http.ResponseWriter) error

type GetCatalogImpact404JSONResponse

type GetCatalogImpact404JSONResponse struct{ NotFoundJSONResponse }

func (GetCatalogImpact404JSONResponse) VisitGetCatalogImpactResponse

func (response GetCatalogImpact404JSONResponse) VisitGetCatalogImpactResponse(w http.ResponseWriter) error

type GetCatalogImpactRequestObject

type GetCatalogImpactRequestObject struct {
	CatalogId openapi_types.UUID `json:"catalog_id"`
}

type GetCatalogImpactResponseObject

type GetCatalogImpactResponseObject interface {
	VisitGetCatalogImpactResponse(w http.ResponseWriter) error
}

type GetCatalogMaintenancePlan200JSONResponse

type GetCatalogMaintenancePlan200JSONResponse []CatalogMaintenancePlanItem

func (GetCatalogMaintenancePlan200JSONResponse) VisitGetCatalogMaintenancePlanResponse

func (response GetCatalogMaintenancePlan200JSONResponse) VisitGetCatalogMaintenancePlanResponse(w http.ResponseWriter) error

type GetCatalogMaintenancePlan401JSONResponse

type GetCatalogMaintenancePlan401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetCatalogMaintenancePlan401JSONResponse) VisitGetCatalogMaintenancePlanResponse

func (response GetCatalogMaintenancePlan401JSONResponse) VisitGetCatalogMaintenancePlanResponse(w http.ResponseWriter) error

type GetCatalogMaintenancePlan404JSONResponse

type GetCatalogMaintenancePlan404JSONResponse struct{ NotFoundJSONResponse }

func (GetCatalogMaintenancePlan404JSONResponse) VisitGetCatalogMaintenancePlanResponse

func (response GetCatalogMaintenancePlan404JSONResponse) VisitGetCatalogMaintenancePlanResponse(w http.ResponseWriter) error

type GetCatalogMaintenancePlanRequestObject

type GetCatalogMaintenancePlanRequestObject struct {
	CatalogId openapi_types.UUID `json:"catalog_id"`
}

type GetCatalogMaintenancePlanResponseObject

type GetCatalogMaintenancePlanResponseObject interface {
	VisitGetCatalogMaintenancePlanResponse(w http.ResponseWriter) error
}

type GetCatalogRequestObject

type GetCatalogRequestObject struct {
	ConnectionId openapi_types.UUID `json:"connection_id"`
	CatalogId    openapi_types.UUID `json:"catalog_id"`
}

type GetCatalogResponseObject

type GetCatalogResponseObject interface {
	VisitGetCatalogResponse(w http.ResponseWriter) error
}

type GetDataPolicy200JSONResponse

type GetDataPolicy200JSONResponse DataPolicy

func (GetDataPolicy200JSONResponse) VisitGetDataPolicyResponse

func (response GetDataPolicy200JSONResponse) VisitGetDataPolicyResponse(w http.ResponseWriter) error

type GetDataPolicy401JSONResponse

type GetDataPolicy401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetDataPolicy401JSONResponse) VisitGetDataPolicyResponse

func (response GetDataPolicy401JSONResponse) VisitGetDataPolicyResponse(w http.ResponseWriter) error

type GetDataPolicy404JSONResponse

type GetDataPolicy404JSONResponse struct{ NotFoundJSONResponse }

func (GetDataPolicy404JSONResponse) VisitGetDataPolicyResponse

func (response GetDataPolicy404JSONResponse) VisitGetDataPolicyResponse(w http.ResponseWriter) error

type GetDataPolicyRequestObject

type GetDataPolicyRequestObject struct {
	Id PathId `json:"id"`
}

type GetDataPolicyResponseObject

type GetDataPolicyResponseObject interface {
	VisitGetDataPolicyResponse(w http.ResponseWriter) error
}

type GetDataPolicyStatus200JSONResponse

type GetDataPolicyStatus200JSONResponse DataPolicyStatus

func (GetDataPolicyStatus200JSONResponse) VisitGetDataPolicyStatusResponse

func (response GetDataPolicyStatus200JSONResponse) VisitGetDataPolicyStatusResponse(w http.ResponseWriter) error

type GetDataPolicyStatus401JSONResponse

type GetDataPolicyStatus401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetDataPolicyStatus401JSONResponse) VisitGetDataPolicyStatusResponse

func (response GetDataPolicyStatus401JSONResponse) VisitGetDataPolicyStatusResponse(w http.ResponseWriter) error

type GetDataPolicyStatus403JSONResponse

type GetDataPolicyStatus403JSONResponse struct{ ForbiddenJSONResponse }

func (GetDataPolicyStatus403JSONResponse) VisitGetDataPolicyStatusResponse

func (response GetDataPolicyStatus403JSONResponse) VisitGetDataPolicyStatusResponse(w http.ResponseWriter) error

type GetDataPolicyStatusRequestObject

type GetDataPolicyStatusRequestObject struct {
}

type GetDataPolicyStatusResponseObject

type GetDataPolicyStatusResponseObject interface {
	VisitGetDataPolicyStatusResponse(w http.ResponseWriter) error
}

type GetDialect200JSONResponse

type GetDialect200JSONResponse struct {
	Body    Dialect
	Headers GetDialect200ResponseHeaders
}

func (GetDialect200JSONResponse) VisitGetDialectResponse

func (response GetDialect200JSONResponse) VisitGetDialectResponse(w http.ResponseWriter) error

type GetDialect200ResponseHeaders

type GetDialect200ResponseHeaders struct {
	CacheControl string
	ETag         string
}

type GetDialect304Response

type GetDialect304Response struct {
	Headers GetDialect304ResponseHeaders
}

func (GetDialect304Response) VisitGetDialectResponse

func (response GetDialect304Response) VisitGetDialectResponse(w http.ResponseWriter) error

type GetDialect304ResponseHeaders

type GetDialect304ResponseHeaders struct {
	ETag string
}

type GetDialect401JSONResponse

type GetDialect401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetDialect401JSONResponse) VisitGetDialectResponse

func (response GetDialect401JSONResponse) VisitGetDialectResponse(w http.ResponseWriter) error

type GetDialect404JSONResponse

type GetDialect404JSONResponse struct{ NotFoundJSONResponse }

func (GetDialect404JSONResponse) VisitGetDialectResponse

func (response GetDialect404JSONResponse) VisitGetDialectResponse(w http.ResponseWriter) error

type GetDialectParams

type GetDialectParams struct {
	IfNoneMatch *string `json:"If-None-Match,omitempty"`
}

GetDialectParams defines parameters for GetDialect.

type GetDialectRequestObject

type GetDialectRequestObject struct {
	Name   string `json:"name"`
	Params GetDialectParams
}

type GetDialectResponseObject

type GetDialectResponseObject interface {
	VisitGetDialectResponse(w http.ResponseWriter) error
}

type GetEngine200JSONResponse

type GetEngine200JSONResponse Engine

func (GetEngine200JSONResponse) VisitGetEngineResponse

func (response GetEngine200JSONResponse) VisitGetEngineResponse(w http.ResponseWriter) error

type GetEngine401JSONResponse

type GetEngine401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetEngine401JSONResponse) VisitGetEngineResponse

func (response GetEngine401JSONResponse) VisitGetEngineResponse(w http.ResponseWriter) error

type GetEngine404JSONResponse

type GetEngine404JSONResponse struct{ NotFoundJSONResponse }

func (GetEngine404JSONResponse) VisitGetEngineResponse

func (response GetEngine404JSONResponse) VisitGetEngineResponse(w http.ResponseWriter) error

type GetEngineBindingSupport200JSONResponse

type GetEngineBindingSupport200JSONResponse map[string]BindingSupport

func (GetEngineBindingSupport200JSONResponse) VisitGetEngineBindingSupportResponse

func (response GetEngineBindingSupport200JSONResponse) VisitGetEngineBindingSupportResponse(w http.ResponseWriter) error

type GetEngineBindingSupport401JSONResponse

type GetEngineBindingSupport401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetEngineBindingSupport401JSONResponse) VisitGetEngineBindingSupportResponse

func (response GetEngineBindingSupport401JSONResponse) VisitGetEngineBindingSupportResponse(w http.ResponseWriter) error

type GetEngineBindingSupport404JSONResponse

type GetEngineBindingSupport404JSONResponse struct{ NotFoundJSONResponse }

func (GetEngineBindingSupport404JSONResponse) VisitGetEngineBindingSupportResponse

func (response GetEngineBindingSupport404JSONResponse) VisitGetEngineBindingSupportResponse(w http.ResponseWriter) error

type GetEngineBindingSupportRequestObject

type GetEngineBindingSupportRequestObject struct {
	Id PathId `json:"id"`
}

type GetEngineBindingSupportResponseObject

type GetEngineBindingSupportResponseObject interface {
	VisitGetEngineBindingSupportResponse(w http.ResponseWriter) error
}

type GetEngineCluster200JSONResponse

type GetEngineCluster200JSONResponse ClusterSeries

func (GetEngineCluster200JSONResponse) VisitGetEngineClusterResponse

func (response GetEngineCluster200JSONResponse) VisitGetEngineClusterResponse(w http.ResponseWriter) error

type GetEngineCluster401JSONResponse

type GetEngineCluster401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetEngineCluster401JSONResponse) VisitGetEngineClusterResponse

func (response GetEngineCluster401JSONResponse) VisitGetEngineClusterResponse(w http.ResponseWriter) error

type GetEngineCluster404JSONResponse

type GetEngineCluster404JSONResponse struct{ NotFoundJSONResponse }

func (GetEngineCluster404JSONResponse) VisitGetEngineClusterResponse

func (response GetEngineCluster404JSONResponse) VisitGetEngineClusterResponse(w http.ResponseWriter) error

type GetEngineClusterParams

type GetEngineClusterParams struct {
	Window *string `form:"window,omitempty" json:"window,omitempty"`
}

GetEngineClusterParams defines parameters for GetEngineCluster.

type GetEngineClusterRequestObject

type GetEngineClusterRequestObject struct {
	Id     PathId `json:"id"`
	Params GetEngineClusterParams
}

type GetEngineClusterResponseObject

type GetEngineClusterResponseObject interface {
	VisitGetEngineClusterResponse(w http.ResponseWriter) error
}

type GetEngineImpact200JSONResponse

type GetEngineImpact200JSONResponse EngineImpact

func (GetEngineImpact200JSONResponse) VisitGetEngineImpactResponse

func (response GetEngineImpact200JSONResponse) VisitGetEngineImpactResponse(w http.ResponseWriter) error

type GetEngineImpact401JSONResponse

type GetEngineImpact401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetEngineImpact401JSONResponse) VisitGetEngineImpactResponse

func (response GetEngineImpact401JSONResponse) VisitGetEngineImpactResponse(w http.ResponseWriter) error

type GetEngineImpact404JSONResponse

type GetEngineImpact404JSONResponse struct{ NotFoundJSONResponse }

func (GetEngineImpact404JSONResponse) VisitGetEngineImpactResponse

func (response GetEngineImpact404JSONResponse) VisitGetEngineImpactResponse(w http.ResponseWriter) error

type GetEngineImpactRequestObject

type GetEngineImpactRequestObject struct {
	Id PathId `json:"id"`
}

type GetEngineImpactResponseObject

type GetEngineImpactResponseObject interface {
	VisitGetEngineImpactResponse(w http.ResponseWriter) error
}

type GetEngineQueues200JSONResponse

type GetEngineQueues200JSONResponse EngineQueues

func (GetEngineQueues200JSONResponse) VisitGetEngineQueuesResponse

func (response GetEngineQueues200JSONResponse) VisitGetEngineQueuesResponse(w http.ResponseWriter) error

type GetEngineQueues401JSONResponse

type GetEngineQueues401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetEngineQueues401JSONResponse) VisitGetEngineQueuesResponse

func (response GetEngineQueues401JSONResponse) VisitGetEngineQueuesResponse(w http.ResponseWriter) error

type GetEngineQueues403JSONResponse

type GetEngineQueues403JSONResponse struct{ ForbiddenJSONResponse }

func (GetEngineQueues403JSONResponse) VisitGetEngineQueuesResponse

func (response GetEngineQueues403JSONResponse) VisitGetEngineQueuesResponse(w http.ResponseWriter) error

type GetEngineQueues404JSONResponse

type GetEngineQueues404JSONResponse struct{ NotFoundJSONResponse }

func (GetEngineQueues404JSONResponse) VisitGetEngineQueuesResponse

func (response GetEngineQueues404JSONResponse) VisitGetEngineQueuesResponse(w http.ResponseWriter) error

type GetEngineQueuesRequestObject

type GetEngineQueuesRequestObject struct {
	Id PathId `json:"id"`
}

type GetEngineQueuesResponseObject

type GetEngineQueuesResponseObject interface {
	VisitGetEngineQueuesResponse(w http.ResponseWriter) error
}

type GetEngineRequestObject

type GetEngineRequestObject struct {
	Id PathId `json:"id"`
}

type GetEngineResponseObject

type GetEngineResponseObject interface {
	VisitGetEngineResponse(w http.ResponseWriter) error
}

type GetExecution200JSONResponse

type GetExecution200JSONResponse Execution

func (GetExecution200JSONResponse) VisitGetExecutionResponse

func (response GetExecution200JSONResponse) VisitGetExecutionResponse(w http.ResponseWriter) error

type GetExecution401JSONResponse

type GetExecution401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetExecution401JSONResponse) VisitGetExecutionResponse

func (response GetExecution401JSONResponse) VisitGetExecutionResponse(w http.ResponseWriter) error

type GetExecution404JSONResponse

type GetExecution404JSONResponse struct{ NotFoundJSONResponse }

func (GetExecution404JSONResponse) VisitGetExecutionResponse

func (response GetExecution404JSONResponse) VisitGetExecutionResponse(w http.ResponseWriter) error

type GetExecutionDetails200JSONResponse

type GetExecutionDetails200JSONResponse ExecutionDetails

func (GetExecutionDetails200JSONResponse) VisitGetExecutionDetailsResponse

func (response GetExecutionDetails200JSONResponse) VisitGetExecutionDetailsResponse(w http.ResponseWriter) error

type GetExecutionDetails401JSONResponse

type GetExecutionDetails401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetExecutionDetails401JSONResponse) VisitGetExecutionDetailsResponse

func (response GetExecutionDetails401JSONResponse) VisitGetExecutionDetailsResponse(w http.ResponseWriter) error

type GetExecutionDetails404JSONResponse

type GetExecutionDetails404JSONResponse struct{ NotFoundJSONResponse }

func (GetExecutionDetails404JSONResponse) VisitGetExecutionDetailsResponse

func (response GetExecutionDetails404JSONResponse) VisitGetExecutionDetailsResponse(w http.ResponseWriter) error

type GetExecutionDetailsRequestObject

type GetExecutionDetailsRequestObject struct {
	Id          PathId             `json:"id"`
	ExecutionId openapi_types.UUID `json:"execution_id"`
}

type GetExecutionDetailsResponseObject

type GetExecutionDetailsResponseObject interface {
	VisitGetExecutionDetailsResponse(w http.ResponseWriter) error
}

type GetExecutionRequestObject

type GetExecutionRequestObject struct {
	Id          PathId             `json:"id"`
	ExecutionId openapi_types.UUID `json:"execution_id"`
}

type GetExecutionResponseObject

type GetExecutionResponseObject interface {
	VisitGetExecutionResponse(w http.ResponseWriter) error
}

type GetIdentityProvider200JSONResponse

type GetIdentityProvider200JSONResponse IdentityProviderDetail

func (GetIdentityProvider200JSONResponse) VisitGetIdentityProviderResponse

func (response GetIdentityProvider200JSONResponse) VisitGetIdentityProviderResponse(w http.ResponseWriter) error

type GetIdentityProvider401JSONResponse

type GetIdentityProvider401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetIdentityProvider401JSONResponse) VisitGetIdentityProviderResponse

func (response GetIdentityProvider401JSONResponse) VisitGetIdentityProviderResponse(w http.ResponseWriter) error

type GetIdentityProvider403JSONResponse

type GetIdentityProvider403JSONResponse struct{ ForbiddenJSONResponse }

func (GetIdentityProvider403JSONResponse) VisitGetIdentityProviderResponse

func (response GetIdentityProvider403JSONResponse) VisitGetIdentityProviderResponse(w http.ResponseWriter) error

type GetIdentityProvider404JSONResponse

type GetIdentityProvider404JSONResponse struct{ NotFoundJSONResponse }

func (GetIdentityProvider404JSONResponse) VisitGetIdentityProviderResponse

func (response GetIdentityProvider404JSONResponse) VisitGetIdentityProviderResponse(w http.ResponseWriter) error

type GetIdentityProviderRequestObject

type GetIdentityProviderRequestObject struct {
	Id PathId `json:"id"`
}

type GetIdentityProviderResponseObject

type GetIdentityProviderResponseObject interface {
	VisitGetIdentityProviderResponse(w http.ResponseWriter) error
}

type GetMe200JSONResponse

type GetMe200JSONResponse Me

func (GetMe200JSONResponse) VisitGetMeResponse

func (response GetMe200JSONResponse) VisitGetMeResponse(w http.ResponseWriter) error

type GetMe401JSONResponse

type GetMe401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetMe401JSONResponse) VisitGetMeResponse

func (response GetMe401JSONResponse) VisitGetMeResponse(w http.ResponseWriter) error

type GetMeRequestObject

type GetMeRequestObject struct {
}

type GetMeResponseObject

type GetMeResponseObject interface {
	VisitGetMeResponse(w http.ResponseWriter) error
}

type GetMetadataTable200JSONResponse

type GetMetadataTable200JSONResponse MetadataTableDetail

func (GetMetadataTable200JSONResponse) VisitGetMetadataTableResponse

func (response GetMetadataTable200JSONResponse) VisitGetMetadataTableResponse(w http.ResponseWriter) error

type GetMetadataTable401JSONResponse

type GetMetadataTable401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetMetadataTable401JSONResponse) VisitGetMetadataTableResponse

func (response GetMetadataTable401JSONResponse) VisitGetMetadataTableResponse(w http.ResponseWriter) error

type GetMetadataTable404JSONResponse

type GetMetadataTable404JSONResponse struct{ NotFoundJSONResponse }

func (GetMetadataTable404JSONResponse) VisitGetMetadataTableResponse

func (response GetMetadataTable404JSONResponse) VisitGetMetadataTableResponse(w http.ResponseWriter) error

type GetMetadataTableParams

type GetMetadataTableParams struct {
	// BindingId The binding the user browses through: types are shown (display_type) and the name qualified in its engine's dialect. Default: the catalog's first enabled binding
	BindingId *openapi_types.UUID `form:"binding_id,omitempty" json:"binding_id,omitempty"`
}

GetMetadataTableParams defines parameters for GetMetadataTable.

type GetMetadataTableRequestObject

type GetMetadataTableRequestObject struct {
	Id      PathId             `json:"id"`
	TableId openapi_types.UUID `json:"table_id"`
	Params  GetMetadataTableParams
}

type GetMetadataTableResponseObject

type GetMetadataTableResponseObject interface {
	VisitGetMetadataTableResponse(w http.ResponseWriter) error
}

type GetMigration200JSONResponse

type GetMigration200JSONResponse Migration

func (GetMigration200JSONResponse) VisitGetMigrationResponse

func (response GetMigration200JSONResponse) VisitGetMigrationResponse(w http.ResponseWriter) error

type GetMigration401JSONResponse

type GetMigration401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetMigration401JSONResponse) VisitGetMigrationResponse

func (response GetMigration401JSONResponse) VisitGetMigrationResponse(w http.ResponseWriter) error

type GetMigration404JSONResponse

type GetMigration404JSONResponse struct{ NotFoundJSONResponse }

func (GetMigration404JSONResponse) VisitGetMigrationResponse

func (response GetMigration404JSONResponse) VisitGetMigrationResponse(w http.ResponseWriter) error

type GetMigrationRequestObject

type GetMigrationRequestObject struct {
	Id PathId `json:"id"`
}

type GetMigrationResponseObject

type GetMigrationResponseObject interface {
	VisitGetMigrationResponse(w http.ResponseWriter) error
}

type GetMonitoringQuery200JSONResponse

type GetMonitoringQuery200JSONResponse MonitoringQueryDetail

func (GetMonitoringQuery200JSONResponse) VisitGetMonitoringQueryResponse

func (response GetMonitoringQuery200JSONResponse) VisitGetMonitoringQueryResponse(w http.ResponseWriter) error

type GetMonitoringQuery401JSONResponse

type GetMonitoringQuery401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetMonitoringQuery401JSONResponse) VisitGetMonitoringQueryResponse

func (response GetMonitoringQuery401JSONResponse) VisitGetMonitoringQueryResponse(w http.ResponseWriter) error

type GetMonitoringQuery404JSONResponse

type GetMonitoringQuery404JSONResponse struct{ NotFoundJSONResponse }

func (GetMonitoringQuery404JSONResponse) VisitGetMonitoringQueryResponse

func (response GetMonitoringQuery404JSONResponse) VisitGetMonitoringQueryResponse(w http.ResponseWriter) error

type GetMonitoringQueryRequestObject

type GetMonitoringQueryRequestObject struct {
	Id      PathId `json:"id"`
	QueryId string `json:"query_id"`
}

type GetMonitoringQueryResponseObject

type GetMonitoringQueryResponseObject interface {
	VisitGetMonitoringQueryResponse(w http.ResponseWriter) error
}

type GetProfile200JSONResponse

type GetProfile200JSONResponse UserPublic

func (GetProfile200JSONResponse) VisitGetProfileResponse

func (response GetProfile200JSONResponse) VisitGetProfileResponse(w http.ResponseWriter) error

type GetProfile401JSONResponse

type GetProfile401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetProfile401JSONResponse) VisitGetProfileResponse

func (response GetProfile401JSONResponse) VisitGetProfileResponse(w http.ResponseWriter) error

type GetProfileRequestObject

type GetProfileRequestObject struct {
}

type GetProfileResponseObject

type GetProfileResponseObject interface {
	VisitGetProfileResponse(w http.ResponseWriter) error
}

type GetReconcileRun200JSONResponse

type GetReconcileRun200JSONResponse ReconcileRun

func (GetReconcileRun200JSONResponse) VisitGetReconcileRunResponse

func (response GetReconcileRun200JSONResponse) VisitGetReconcileRunResponse(w http.ResponseWriter) error

type GetReconcileRun401JSONResponse

type GetReconcileRun401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetReconcileRun401JSONResponse) VisitGetReconcileRunResponse

func (response GetReconcileRun401JSONResponse) VisitGetReconcileRunResponse(w http.ResponseWriter) error

type GetReconcileRun403JSONResponse

type GetReconcileRun403JSONResponse struct{ ForbiddenJSONResponse }

func (GetReconcileRun403JSONResponse) VisitGetReconcileRunResponse

func (response GetReconcileRun403JSONResponse) VisitGetReconcileRunResponse(w http.ResponseWriter) error

type GetReconcileRun404JSONResponse

type GetReconcileRun404JSONResponse struct{ NotFoundJSONResponse }

func (GetReconcileRun404JSONResponse) VisitGetReconcileRunResponse

func (response GetReconcileRun404JSONResponse) VisitGetReconcileRunResponse(w http.ResponseWriter) error

type GetReconcileRunRequestObject

type GetReconcileRunRequestObject struct {
	Id    PathId             `json:"id"`
	RunId openapi_types.UUID `json:"run_id"`
}

type GetReconcileRunResponseObject

type GetReconcileRunResponseObject interface {
	VisitGetReconcileRunResponse(w http.ResponseWriter) error
}

type GetResults200ApplicationvndApacheArrowFileResponse

type GetResults200ApplicationvndApacheArrowFileResponse struct {
	ArrowStreamApplicationvndApacheArrowFileResponse
}

func (GetResults200ApplicationvndApacheArrowFileResponse) VisitGetResultsResponse

type GetResults200ApplicationvndApacheArrowStreamResponse

type GetResults200ApplicationvndApacheArrowStreamResponse struct {
	ArrowStreamApplicationvndApacheArrowStreamResponse
}

func (GetResults200ApplicationvndApacheArrowStreamResponse) VisitGetResultsResponse

type GetResults401JSONResponse

type GetResults401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetResults401JSONResponse) VisitGetResultsResponse

func (response GetResults401JSONResponse) VisitGetResultsResponse(w http.ResponseWriter) error

type GetResults404JSONResponse

type GetResults404JSONResponse struct{ NotFoundJSONResponse }

func (GetResults404JSONResponse) VisitGetResultsResponse

func (response GetResults404JSONResponse) VisitGetResultsResponse(w http.ResponseWriter) error

type GetResults409JSONResponse

type GetResults409JSONResponse Error

func (GetResults409JSONResponse) VisitGetResultsResponse

func (response GetResults409JSONResponse) VisitGetResultsResponse(w http.ResponseWriter) error

type GetResultsRequestObject

type GetResultsRequestObject struct {
	Id          PathId             `json:"id"`
	ExecutionId openapi_types.UUID `json:"execution_id"`
}

type GetResultsResponseObject

type GetResultsResponseObject interface {
	VisitGetResultsResponse(w http.ResponseWriter) error
}

type GetRetriever200JSONResponse

type GetRetriever200JSONResponse Retriever

func (GetRetriever200JSONResponse) VisitGetRetrieverResponse

func (response GetRetriever200JSONResponse) VisitGetRetrieverResponse(w http.ResponseWriter) error

type GetRetriever401JSONResponse

type GetRetriever401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetRetriever401JSONResponse) VisitGetRetrieverResponse

func (response GetRetriever401JSONResponse) VisitGetRetrieverResponse(w http.ResponseWriter) error

type GetRetriever404JSONResponse

type GetRetriever404JSONResponse struct{ NotFoundJSONResponse }

func (GetRetriever404JSONResponse) VisitGetRetrieverResponse

func (response GetRetriever404JSONResponse) VisitGetRetrieverResponse(w http.ResponseWriter) error

type GetRetrieverHistory200JSONResponse

type GetRetrieverHistory200JSONResponse struct {
	Data       *[]RetrieverRefreshHistory `json:"data,omitempty"`
	Pagination *Pagination                `json:"pagination,omitempty"`
}

func (GetRetrieverHistory200JSONResponse) VisitGetRetrieverHistoryResponse

func (response GetRetrieverHistory200JSONResponse) VisitGetRetrieverHistoryResponse(w http.ResponseWriter) error

type GetRetrieverHistory401JSONResponse

type GetRetrieverHistory401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetRetrieverHistory401JSONResponse) VisitGetRetrieverHistoryResponse

func (response GetRetrieverHistory401JSONResponse) VisitGetRetrieverHistoryResponse(w http.ResponseWriter) error

type GetRetrieverHistory404JSONResponse

type GetRetrieverHistory404JSONResponse struct{ NotFoundJSONResponse }

func (GetRetrieverHistory404JSONResponse) VisitGetRetrieverHistoryResponse

func (response GetRetrieverHistory404JSONResponse) VisitGetRetrieverHistoryResponse(w http.ResponseWriter) error

type GetRetrieverHistoryParams

type GetRetrieverHistoryParams struct {
	Page    *QueryPage    `form:"page,omitempty" json:"page,omitempty"`
	PerPage *QueryPerPage `form:"per_page,omitempty" json:"per_page,omitempty"`
}

GetRetrieverHistoryParams defines parameters for GetRetrieverHistory.

type GetRetrieverHistoryRequestObject

type GetRetrieverHistoryRequestObject struct {
	Id          PathId             `json:"id"`
	RetrieverId openapi_types.UUID `json:"retriever_id"`
	Params      GetRetrieverHistoryParams
}

type GetRetrieverHistoryResponseObject

type GetRetrieverHistoryResponseObject interface {
	VisitGetRetrieverHistoryResponse(w http.ResponseWriter) error
}

type GetRetrieverRequestObject

type GetRetrieverRequestObject struct {
	Id          PathId             `json:"id"`
	RetrieverId openapi_types.UUID `json:"retriever_id"`
}

type GetRetrieverResponseObject

type GetRetrieverResponseObject interface {
	VisitGetRetrieverResponse(w http.ResponseWriter) error
}

type GetSavedQuery200JSONResponse

type GetSavedQuery200JSONResponse SavedQuery

func (GetSavedQuery200JSONResponse) VisitGetSavedQueryResponse

func (response GetSavedQuery200JSONResponse) VisitGetSavedQueryResponse(w http.ResponseWriter) error

type GetSavedQuery401JSONResponse

type GetSavedQuery401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetSavedQuery401JSONResponse) VisitGetSavedQueryResponse

func (response GetSavedQuery401JSONResponse) VisitGetSavedQueryResponse(w http.ResponseWriter) error

type GetSavedQuery403JSONResponse

type GetSavedQuery403JSONResponse struct{ ForbiddenJSONResponse }

func (GetSavedQuery403JSONResponse) VisitGetSavedQueryResponse

func (response GetSavedQuery403JSONResponse) VisitGetSavedQueryResponse(w http.ResponseWriter) error

type GetSavedQuery404JSONResponse

type GetSavedQuery404JSONResponse struct{ NotFoundJSONResponse }

func (GetSavedQuery404JSONResponse) VisitGetSavedQueryResponse

func (response GetSavedQuery404JSONResponse) VisitGetSavedQueryResponse(w http.ResponseWriter) error

type GetSavedQueryRequestObject

type GetSavedQueryRequestObject struct {
	Id      PathId             `json:"id"`
	QueryId openapi_types.UUID `json:"query_id"`
}

type GetSavedQueryResponseObject

type GetSavedQueryResponseObject interface {
	VisitGetSavedQueryResponse(w http.ResponseWriter) error
}

type GetSavedQueryVersion200JSONResponse

type GetSavedQueryVersion200JSONResponse ContentVersionDetail

func (GetSavedQueryVersion200JSONResponse) VisitGetSavedQueryVersionResponse

func (response GetSavedQueryVersion200JSONResponse) VisitGetSavedQueryVersionResponse(w http.ResponseWriter) error

type GetSavedQueryVersion401JSONResponse

type GetSavedQueryVersion401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetSavedQueryVersion401JSONResponse) VisitGetSavedQueryVersionResponse

func (response GetSavedQueryVersion401JSONResponse) VisitGetSavedQueryVersionResponse(w http.ResponseWriter) error

type GetSavedQueryVersion403JSONResponse

type GetSavedQueryVersion403JSONResponse struct{ ForbiddenJSONResponse }

func (GetSavedQueryVersion403JSONResponse) VisitGetSavedQueryVersionResponse

func (response GetSavedQueryVersion403JSONResponse) VisitGetSavedQueryVersionResponse(w http.ResponseWriter) error

type GetSavedQueryVersion404JSONResponse

type GetSavedQueryVersion404JSONResponse struct{ NotFoundJSONResponse }

func (GetSavedQueryVersion404JSONResponse) VisitGetSavedQueryVersionResponse

func (response GetSavedQueryVersion404JSONResponse) VisitGetSavedQueryVersionResponse(w http.ResponseWriter) error

type GetSavedQueryVersionRequestObject

type GetSavedQueryVersionRequestObject struct {
	Id      PathId             `json:"id"`
	QueryId openapi_types.UUID `json:"query_id"`
	Version int                `json:"version"`
}

type GetSavedQueryVersionResponseObject

type GetSavedQueryVersionResponseObject interface {
	VisitGetSavedQueryVersionResponse(w http.ResponseWriter) error
}

type GetSemanticMetric200JSONResponse

type GetSemanticMetric200JSONResponse SemanticMetric

func (GetSemanticMetric200JSONResponse) VisitGetSemanticMetricResponse

func (response GetSemanticMetric200JSONResponse) VisitGetSemanticMetricResponse(w http.ResponseWriter) error

type GetSemanticMetric401JSONResponse

type GetSemanticMetric401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetSemanticMetric401JSONResponse) VisitGetSemanticMetricResponse

func (response GetSemanticMetric401JSONResponse) VisitGetSemanticMetricResponse(w http.ResponseWriter) error

type GetSemanticMetric403JSONResponse

type GetSemanticMetric403JSONResponse struct{ ForbiddenJSONResponse }

func (GetSemanticMetric403JSONResponse) VisitGetSemanticMetricResponse

func (response GetSemanticMetric403JSONResponse) VisitGetSemanticMetricResponse(w http.ResponseWriter) error

type GetSemanticMetric404JSONResponse

type GetSemanticMetric404JSONResponse struct{ NotFoundJSONResponse }

func (GetSemanticMetric404JSONResponse) VisitGetSemanticMetricResponse

func (response GetSemanticMetric404JSONResponse) VisitGetSemanticMetricResponse(w http.ResponseWriter) error

type GetSemanticMetricRequestObject

type GetSemanticMetricRequestObject struct {
	Id       PathId             `json:"id"`
	MetricId openapi_types.UUID `json:"metric_id"`
}

type GetSemanticMetricResponseObject

type GetSemanticMetricResponseObject interface {
	VisitGetSemanticMetricResponse(w http.ResponseWriter) error
}

type GetSemanticMetricSql200JSONResponse

type GetSemanticMetricSql200JSONResponse SemanticMetricSQL

func (GetSemanticMetricSql200JSONResponse) VisitGetSemanticMetricSqlResponse

func (response GetSemanticMetricSql200JSONResponse) VisitGetSemanticMetricSqlResponse(w http.ResponseWriter) error

type GetSemanticMetricSql401JSONResponse

type GetSemanticMetricSql401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetSemanticMetricSql401JSONResponse) VisitGetSemanticMetricSqlResponse

func (response GetSemanticMetricSql401JSONResponse) VisitGetSemanticMetricSqlResponse(w http.ResponseWriter) error

type GetSemanticMetricSql403JSONResponse

type GetSemanticMetricSql403JSONResponse struct{ ForbiddenJSONResponse }

func (GetSemanticMetricSql403JSONResponse) VisitGetSemanticMetricSqlResponse

func (response GetSemanticMetricSql403JSONResponse) VisitGetSemanticMetricSqlResponse(w http.ResponseWriter) error

type GetSemanticMetricSql404JSONResponse

type GetSemanticMetricSql404JSONResponse struct{ NotFoundJSONResponse }

func (GetSemanticMetricSql404JSONResponse) VisitGetSemanticMetricSqlResponse

func (response GetSemanticMetricSql404JSONResponse) VisitGetSemanticMetricSqlResponse(w http.ResponseWriter) error

type GetSemanticMetricSql422JSONResponse

type GetSemanticMetricSql422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (GetSemanticMetricSql422JSONResponse) VisitGetSemanticMetricSqlResponse

func (response GetSemanticMetricSql422JSONResponse) VisitGetSemanticMetricSqlResponse(w http.ResponseWriter) error

type GetSemanticMetricSqlParams

type GetSemanticMetricSqlParams struct {
	// BindingId Defaults to the metric's binding, else the catalog's first enabled binding
	BindingId *openapi_types.UUID              `form:"binding_id,omitempty" json:"binding_id,omitempty"`
	Grain     *GetSemanticMetricSqlParamsGrain `form:"grain,omitempty" json:"grain,omitempty"`
	From      *time.Time                       `form:"from,omitempty" json:"from,omitempty"`
	To        *time.Time                       `form:"to,omitempty" json:"to,omitempty"`
}

GetSemanticMetricSqlParams defines parameters for GetSemanticMetricSql.

type GetSemanticMetricSqlParamsGrain

type GetSemanticMetricSqlParamsGrain string

GetSemanticMetricSqlParamsGrain defines parameters for GetSemanticMetricSql.

Defines values for GetSemanticMetricSqlParamsGrain.

type GetSemanticMetricSqlRequestObject

type GetSemanticMetricSqlRequestObject struct {
	Id       PathId             `json:"id"`
	MetricId openapi_types.UUID `json:"metric_id"`
	Params   GetSemanticMetricSqlParams
}

type GetSemanticMetricSqlResponseObject

type GetSemanticMetricSqlResponseObject interface {
	VisitGetSemanticMetricSqlResponse(w http.ResponseWriter) error
}

type GetSemanticMetricVersion200JSONResponse

type GetSemanticMetricVersion200JSONResponse ContentVersionDetail

func (GetSemanticMetricVersion200JSONResponse) VisitGetSemanticMetricVersionResponse

func (response GetSemanticMetricVersion200JSONResponse) VisitGetSemanticMetricVersionResponse(w http.ResponseWriter) error

type GetSemanticMetricVersion401JSONResponse

type GetSemanticMetricVersion401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetSemanticMetricVersion401JSONResponse) VisitGetSemanticMetricVersionResponse

func (response GetSemanticMetricVersion401JSONResponse) VisitGetSemanticMetricVersionResponse(w http.ResponseWriter) error

type GetSemanticMetricVersion403JSONResponse

type GetSemanticMetricVersion403JSONResponse struct{ ForbiddenJSONResponse }

func (GetSemanticMetricVersion403JSONResponse) VisitGetSemanticMetricVersionResponse

func (response GetSemanticMetricVersion403JSONResponse) VisitGetSemanticMetricVersionResponse(w http.ResponseWriter) error

type GetSemanticMetricVersion404JSONResponse

type GetSemanticMetricVersion404JSONResponse struct{ NotFoundJSONResponse }

func (GetSemanticMetricVersion404JSONResponse) VisitGetSemanticMetricVersionResponse

func (response GetSemanticMetricVersion404JSONResponse) VisitGetSemanticMetricVersionResponse(w http.ResponseWriter) error

type GetSemanticMetricVersionRequestObject

type GetSemanticMetricVersionRequestObject struct {
	Id       PathId             `json:"id"`
	MetricId openapi_types.UUID `json:"metric_id"`
	Version  int                `json:"version"`
}

type GetSemanticMetricVersionResponseObject

type GetSemanticMetricVersionResponseObject interface {
	VisitGetSemanticMetricVersionResponse(w http.ResponseWriter) error
}

type GetSemanticModel200JSONResponse

type GetSemanticModel200JSONResponse SemanticModel

func (GetSemanticModel200JSONResponse) VisitGetSemanticModelResponse

func (response GetSemanticModel200JSONResponse) VisitGetSemanticModelResponse(w http.ResponseWriter) error

type GetSemanticModel401JSONResponse

type GetSemanticModel401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetSemanticModel401JSONResponse) VisitGetSemanticModelResponse

func (response GetSemanticModel401JSONResponse) VisitGetSemanticModelResponse(w http.ResponseWriter) error

type GetSemanticModel403JSONResponse

type GetSemanticModel403JSONResponse struct{ ForbiddenJSONResponse }

func (GetSemanticModel403JSONResponse) VisitGetSemanticModelResponse

func (response GetSemanticModel403JSONResponse) VisitGetSemanticModelResponse(w http.ResponseWriter) error

type GetSemanticModel404JSONResponse

type GetSemanticModel404JSONResponse struct{ NotFoundJSONResponse }

func (GetSemanticModel404JSONResponse) VisitGetSemanticModelResponse

func (response GetSemanticModel404JSONResponse) VisitGetSemanticModelResponse(w http.ResponseWriter) error

type GetSemanticModelRequestObject

type GetSemanticModelRequestObject struct {
	Id      PathId             `json:"id"`
	ModelId openapi_types.UUID `json:"model_id"`
}

type GetSemanticModelResponseObject

type GetSemanticModelResponseObject interface {
	VisitGetSemanticModelResponse(w http.ResponseWriter) error
}

type GetSemanticModelVersion200JSONResponse

type GetSemanticModelVersion200JSONResponse ContentVersionDetail

func (GetSemanticModelVersion200JSONResponse) VisitGetSemanticModelVersionResponse

func (response GetSemanticModelVersion200JSONResponse) VisitGetSemanticModelVersionResponse(w http.ResponseWriter) error

type GetSemanticModelVersion401JSONResponse

type GetSemanticModelVersion401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetSemanticModelVersion401JSONResponse) VisitGetSemanticModelVersionResponse

func (response GetSemanticModelVersion401JSONResponse) VisitGetSemanticModelVersionResponse(w http.ResponseWriter) error

type GetSemanticModelVersion403JSONResponse

type GetSemanticModelVersion403JSONResponse struct{ ForbiddenJSONResponse }

func (GetSemanticModelVersion403JSONResponse) VisitGetSemanticModelVersionResponse

func (response GetSemanticModelVersion403JSONResponse) VisitGetSemanticModelVersionResponse(w http.ResponseWriter) error

type GetSemanticModelVersion404JSONResponse

type GetSemanticModelVersion404JSONResponse struct{ NotFoundJSONResponse }

func (GetSemanticModelVersion404JSONResponse) VisitGetSemanticModelVersionResponse

func (response GetSemanticModelVersion404JSONResponse) VisitGetSemanticModelVersionResponse(w http.ResponseWriter) error

type GetSemanticModelVersionRequestObject

type GetSemanticModelVersionRequestObject struct {
	Id      PathId             `json:"id"`
	ModelId openapi_types.UUID `json:"model_id"`
	Version int                `json:"version"`
}

type GetSemanticModelVersionResponseObject

type GetSemanticModelVersionResponseObject interface {
	VisitGetSemanticModelVersionResponse(w http.ResponseWriter) error
}

type GetServiceAccount200JSONResponse

type GetServiceAccount200JSONResponse ServiceAccount

func (GetServiceAccount200JSONResponse) VisitGetServiceAccountResponse

func (response GetServiceAccount200JSONResponse) VisitGetServiceAccountResponse(w http.ResponseWriter) error

type GetServiceAccount401JSONResponse

type GetServiceAccount401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetServiceAccount401JSONResponse) VisitGetServiceAccountResponse

func (response GetServiceAccount401JSONResponse) VisitGetServiceAccountResponse(w http.ResponseWriter) error

type GetServiceAccount404JSONResponse

type GetServiceAccount404JSONResponse struct{ NotFoundJSONResponse }

func (GetServiceAccount404JSONResponse) VisitGetServiceAccountResponse

func (response GetServiceAccount404JSONResponse) VisitGetServiceAccountResponse(w http.ResponseWriter) error

type GetServiceAccountRequestObject

type GetServiceAccountRequestObject struct {
	Id PathId `json:"id"`
}

type GetServiceAccountResponseObject

type GetServiceAccountResponseObject interface {
	VisitGetServiceAccountResponse(w http.ResponseWriter) error
}

type GetSetupStatus200JSONResponse

type GetSetupStatus200JSONResponse SetupStatus

func (GetSetupStatus200JSONResponse) VisitGetSetupStatusResponse

func (response GetSetupStatus200JSONResponse) VisitGetSetupStatusResponse(w http.ResponseWriter) error

type GetSetupStatusRequestObject

type GetSetupStatusRequestObject struct {
}

type GetSetupStatusResponseObject

type GetSetupStatusResponseObject interface {
	VisitGetSetupStatusResponse(w http.ResponseWriter) error
}

type GetSpace200JSONResponse

type GetSpace200JSONResponse Space

func (GetSpace200JSONResponse) VisitGetSpaceResponse

func (response GetSpace200JSONResponse) VisitGetSpaceResponse(w http.ResponseWriter) error

type GetSpace401JSONResponse

type GetSpace401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetSpace401JSONResponse) VisitGetSpaceResponse

func (response GetSpace401JSONResponse) VisitGetSpaceResponse(w http.ResponseWriter) error

type GetSpace404JSONResponse

type GetSpace404JSONResponse struct{ NotFoundJSONResponse }

func (GetSpace404JSONResponse) VisitGetSpaceResponse

func (response GetSpace404JSONResponse) VisitGetSpaceResponse(w http.ResponseWriter) error

type GetSpaceRequestObject

type GetSpaceRequestObject struct {
	Id      PathId             `json:"id"`
	SpaceId openapi_types.UUID `json:"space_id"`
}

type GetSpaceResponseObject

type GetSpaceResponseObject interface {
	VisitGetSpaceResponse(w http.ResponseWriter) error
}

type GetStatementResults200ApplicationvndApacheArrowFileResponse

type GetStatementResults200ApplicationvndApacheArrowFileResponse struct {
	ArrowStreamApplicationvndApacheArrowFileResponse
}

func (GetStatementResults200ApplicationvndApacheArrowFileResponse) VisitGetStatementResultsResponse

func (response GetStatementResults200ApplicationvndApacheArrowFileResponse) VisitGetStatementResultsResponse(w http.ResponseWriter) error

type GetStatementResults200ApplicationvndApacheArrowStreamResponse

type GetStatementResults200ApplicationvndApacheArrowStreamResponse struct {
	ArrowStreamApplicationvndApacheArrowStreamResponse
}

func (GetStatementResults200ApplicationvndApacheArrowStreamResponse) VisitGetStatementResultsResponse

func (response GetStatementResults200ApplicationvndApacheArrowStreamResponse) VisitGetStatementResultsResponse(w http.ResponseWriter) error

type GetStatementResults401JSONResponse

type GetStatementResults401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetStatementResults401JSONResponse) VisitGetStatementResultsResponse

func (response GetStatementResults401JSONResponse) VisitGetStatementResultsResponse(w http.ResponseWriter) error

type GetStatementResults404JSONResponse

type GetStatementResults404JSONResponse struct{ NotFoundJSONResponse }

func (GetStatementResults404JSONResponse) VisitGetStatementResultsResponse

func (response GetStatementResults404JSONResponse) VisitGetStatementResultsResponse(w http.ResponseWriter) error

type GetStatementResults409JSONResponse

type GetStatementResults409JSONResponse Error

func (GetStatementResults409JSONResponse) VisitGetStatementResultsResponse

func (response GetStatementResults409JSONResponse) VisitGetStatementResultsResponse(w http.ResponseWriter) error

type GetStatementResults422JSONResponse

type GetStatementResults422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (GetStatementResults422JSONResponse) VisitGetStatementResultsResponse

func (response GetStatementResults422JSONResponse) VisitGetStatementResultsResponse(w http.ResponseWriter) error

type GetStatementResultsParams

type GetStatementResultsParams struct {
	// ResultIndex Which stored result set of the statement (0-based); default 0
	ResultIndex *int `form:"result_index,omitempty" json:"result_index,omitempty"`

	// Format `arrow` (default) streams the stored IPC object unchanged. `csv`, `tsv` and `jsonl` convert it server-side, row by row, without materializing the result, and answer with `Content-Disposition: attachment`.
	Format *string `form:"format,omitempty" json:"format,omitempty"`

	// Offset First row to return when paging an Arrow file (0-based). With `limit`, the endpoint re-emits only the covering record batches so a client never downloads the whole result.
	Offset *int `form:"offset,omitempty" json:"offset,omitempty"`

	// Limit Maximum rows to return when paging; 0 returns the whole result.
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}

GetStatementResultsParams defines parameters for GetStatementResults.

type GetStatementResultsRequestObject

type GetStatementResultsRequestObject struct {
	Id          PathId             `json:"id"`
	ExecutionId openapi_types.UUID `json:"execution_id"`
	Position    int                `json:"position"`
	Params      GetStatementResultsParams
}

type GetStatementResultsResponseObject

type GetStatementResultsResponseObject interface {
	VisitGetStatementResultsResponse(w http.ResponseWriter) error
}

type GetSystemStatus200JSONResponse

type GetSystemStatus200JSONResponse SystemStatus

func (GetSystemStatus200JSONResponse) VisitGetSystemStatusResponse

func (response GetSystemStatus200JSONResponse) VisitGetSystemStatusResponse(w http.ResponseWriter) error

type GetSystemStatus401JSONResponse

type GetSystemStatus401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetSystemStatus401JSONResponse) VisitGetSystemStatusResponse

func (response GetSystemStatus401JSONResponse) VisitGetSystemStatusResponse(w http.ResponseWriter) error

type GetSystemStatus403JSONResponse

type GetSystemStatus403JSONResponse struct{ ForbiddenJSONResponse }

func (GetSystemStatus403JSONResponse) VisitGetSystemStatusResponse

func (response GetSystemStatus403JSONResponse) VisitGetSystemStatusResponse(w http.ResponseWriter) error

type GetSystemStatusRequestObject

type GetSystemStatusRequestObject struct {
}

type GetSystemStatusResponseObject

type GetSystemStatusResponseObject interface {
	VisitGetSystemStatusResponse(w http.ResponseWriter) error
}

type GetTableMaintenance200JSONResponse

type GetTableMaintenance200JSONResponse TableMaintenance

func (GetTableMaintenance200JSONResponse) VisitGetTableMaintenanceResponse

func (response GetTableMaintenance200JSONResponse) VisitGetTableMaintenanceResponse(w http.ResponseWriter) error

type GetTableMaintenance401JSONResponse

type GetTableMaintenance401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetTableMaintenance401JSONResponse) VisitGetTableMaintenanceResponse

func (response GetTableMaintenance401JSONResponse) VisitGetTableMaintenanceResponse(w http.ResponseWriter) error

type GetTableMaintenance404JSONResponse

type GetTableMaintenance404JSONResponse struct{ NotFoundJSONResponse }

func (GetTableMaintenance404JSONResponse) VisitGetTableMaintenanceResponse

func (response GetTableMaintenance404JSONResponse) VisitGetTableMaintenanceResponse(w http.ResponseWriter) error

type GetTableMaintenanceRequestObject

type GetTableMaintenanceRequestObject struct {
	CatalogId MaintenanceCatalogId `json:"catalog_id"`
	Namespace MaintenanceNamespace `json:"namespace"`
	Table     MaintenanceTable     `json:"table"`
}

type GetTableMaintenanceResponseObject

type GetTableMaintenanceResponseObject interface {
	VisitGetTableMaintenanceResponse(w http.ResponseWriter) error
}

type GetTeam200JSONResponse

type GetTeam200JSONResponse Team

func (GetTeam200JSONResponse) VisitGetTeamResponse

func (response GetTeam200JSONResponse) VisitGetTeamResponse(w http.ResponseWriter) error

type GetTeam401JSONResponse

type GetTeam401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetTeam401JSONResponse) VisitGetTeamResponse

func (response GetTeam401JSONResponse) VisitGetTeamResponse(w http.ResponseWriter) error

type GetTeam404JSONResponse

type GetTeam404JSONResponse struct{ NotFoundJSONResponse }

func (GetTeam404JSONResponse) VisitGetTeamResponse

func (response GetTeam404JSONResponse) VisitGetTeamResponse(w http.ResponseWriter) error

type GetTeamRequestObject

type GetTeamRequestObject struct {
	Id PathId `json:"id"`
}

type GetTeamResponseObject

type GetTeamResponseObject interface {
	VisitGetTeamResponse(w http.ResponseWriter) error
}

type GetWorkspace200JSONResponse

type GetWorkspace200JSONResponse Workspace

func (GetWorkspace200JSONResponse) VisitGetWorkspaceResponse

func (response GetWorkspace200JSONResponse) VisitGetWorkspaceResponse(w http.ResponseWriter) error

type GetWorkspace401JSONResponse

type GetWorkspace401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetWorkspace401JSONResponse) VisitGetWorkspaceResponse

func (response GetWorkspace401JSONResponse) VisitGetWorkspaceResponse(w http.ResponseWriter) error

type GetWorkspace404JSONResponse

type GetWorkspace404JSONResponse struct{ NotFoundJSONResponse }

func (GetWorkspace404JSONResponse) VisitGetWorkspaceResponse

func (response GetWorkspace404JSONResponse) VisitGetWorkspaceResponse(w http.ResponseWriter) error

type GetWorkspaceBIFile200TextResponse

type GetWorkspaceBIFile200TextResponse string

func (GetWorkspaceBIFile200TextResponse) VisitGetWorkspaceBIFileResponse

func (response GetWorkspaceBIFile200TextResponse) VisitGetWorkspaceBIFileResponse(w http.ResponseWriter) error

type GetWorkspaceBIFile401JSONResponse

type GetWorkspaceBIFile401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetWorkspaceBIFile401JSONResponse) VisitGetWorkspaceBIFileResponse

func (response GetWorkspaceBIFile401JSONResponse) VisitGetWorkspaceBIFileResponse(w http.ResponseWriter) error

type GetWorkspaceBIFile403JSONResponse

type GetWorkspaceBIFile403JSONResponse struct{ ForbiddenJSONResponse }

func (GetWorkspaceBIFile403JSONResponse) VisitGetWorkspaceBIFileResponse

func (response GetWorkspaceBIFile403JSONResponse) VisitGetWorkspaceBIFileResponse(w http.ResponseWriter) error

type GetWorkspaceBIFile404JSONResponse

type GetWorkspaceBIFile404JSONResponse struct{ NotFoundJSONResponse }

func (GetWorkspaceBIFile404JSONResponse) VisitGetWorkspaceBIFileResponse

func (response GetWorkspaceBIFile404JSONResponse) VisitGetWorkspaceBIFileResponse(w http.ResponseWriter) error

type GetWorkspaceBIFile422JSONResponse

type GetWorkspaceBIFile422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (GetWorkspaceBIFile422JSONResponse) VisitGetWorkspaceBIFileResponse

func (response GetWorkspaceBIFile422JSONResponse) VisitGetWorkspaceBIFileResponse(w http.ResponseWriter) error

type GetWorkspaceBIFileParams

type GetWorkspaceBIFileParams struct {
	// EngineId The workspace target's engine; the gateway serves Trino only
	EngineId openapi_types.UUID `form:"engine_id" json:"engine_id"`

	// Catalog The target's engine catalog name (engine_catalog_name)
	Catalog string  `form:"catalog" json:"catalog"`
	Schema  *string `form:"schema,omitempty" json:"schema,omitempty"`
	Table   *string `form:"table,omitempty" json:"table,omitempty"`
}

GetWorkspaceBIFileParams defines parameters for GetWorkspaceBIFile.

type GetWorkspaceBIFileRequestObject

type GetWorkspaceBIFileRequestObject struct {
	Id     PathId `json:"id"`
	Tool   string `json:"tool"`
	Params GetWorkspaceBIFileParams
}

type GetWorkspaceBIFileResponseObject

type GetWorkspaceBIFileResponseObject interface {
	VisitGetWorkspaceBIFileResponse(w http.ResponseWriter) error
}

type GetWorkspaceBIStatus200JSONResponse

type GetWorkspaceBIStatus200JSONResponse WorkspaceBIStatus

func (GetWorkspaceBIStatus200JSONResponse) VisitGetWorkspaceBIStatusResponse

func (response GetWorkspaceBIStatus200JSONResponse) VisitGetWorkspaceBIStatusResponse(w http.ResponseWriter) error

type GetWorkspaceBIStatus401JSONResponse

type GetWorkspaceBIStatus401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetWorkspaceBIStatus401JSONResponse) VisitGetWorkspaceBIStatusResponse

func (response GetWorkspaceBIStatus401JSONResponse) VisitGetWorkspaceBIStatusResponse(w http.ResponseWriter) error

type GetWorkspaceBIStatus404JSONResponse

type GetWorkspaceBIStatus404JSONResponse struct{ NotFoundJSONResponse }

func (GetWorkspaceBIStatus404JSONResponse) VisitGetWorkspaceBIStatusResponse

func (response GetWorkspaceBIStatus404JSONResponse) VisitGetWorkspaceBIStatusResponse(w http.ResponseWriter) error

type GetWorkspaceBIStatusRequestObject

type GetWorkspaceBIStatusRequestObject struct {
	Id PathId `json:"id"`
}

type GetWorkspaceBIStatusResponseObject

type GetWorkspaceBIStatusResponseObject interface {
	VisitGetWorkspaceBIStatusResponse(w http.ResponseWriter) error
}

type GetWorkspaceImpact200JSONResponse

type GetWorkspaceImpact200JSONResponse WorkspaceImpact

func (GetWorkspaceImpact200JSONResponse) VisitGetWorkspaceImpactResponse

func (response GetWorkspaceImpact200JSONResponse) VisitGetWorkspaceImpactResponse(w http.ResponseWriter) error

type GetWorkspaceImpact401JSONResponse

type GetWorkspaceImpact401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetWorkspaceImpact401JSONResponse) VisitGetWorkspaceImpactResponse

func (response GetWorkspaceImpact401JSONResponse) VisitGetWorkspaceImpactResponse(w http.ResponseWriter) error

type GetWorkspaceImpact404JSONResponse

type GetWorkspaceImpact404JSONResponse struct{ NotFoundJSONResponse }

func (GetWorkspaceImpact404JSONResponse) VisitGetWorkspaceImpactResponse

func (response GetWorkspaceImpact404JSONResponse) VisitGetWorkspaceImpactResponse(w http.ResponseWriter) error

type GetWorkspaceImpactRequestObject

type GetWorkspaceImpactRequestObject struct {
	Id PathId `json:"id"`
}

type GetWorkspaceImpactResponseObject

type GetWorkspaceImpactResponseObject interface {
	VisitGetWorkspaceImpactResponse(w http.ResponseWriter) error
}

type GetWorkspaceRequestObject

type GetWorkspaceRequestObject struct {
	Id PathId `json:"id"`
}

type GetWorkspaceResponseObject

type GetWorkspaceResponseObject interface {
	VisitGetWorkspaceResponse(w http.ResponseWriter) error
}

type GlobalAction

type GlobalAction string

GlobalAction defines model for GlobalAction.

const (
	CreateConnection      GlobalAction = "create_connection"
	CreateSharedWorkspace GlobalAction = "create_shared_workspace"
	CreateWorkspace       GlobalAction = "create_workspace"
	ManageAssistant       GlobalAction = "manage_assistant"
	ManageDataPolicies    GlobalAction = "manage_data_policies"
	ManageIdentity        GlobalAction = "manage_identity"
	ManageUsers           GlobalAction = "manage_users"
	ManageWorkload        GlobalAction = "manage_workload"
	ViewAllAudit          GlobalAction = "view_all_audit"
	ViewSystem            GlobalAction = "view_system"
)

Defines values for GlobalAction.

type GlueCredentials

type GlueCredentials struct {
	AccessKeyId     string `json:"access_key_id"`
	Region          string `json:"region"`
	SecretAccessKey string `json:"secret_access_key"`
}

GlueCredentials defines model for GlueCredentials.

type GrantCatalogAccess201JSONResponse

type GrantCatalogAccess201JSONResponse WorkspaceCatalogAccess

func (GrantCatalogAccess201JSONResponse) VisitGrantCatalogAccessResponse

func (response GrantCatalogAccess201JSONResponse) VisitGrantCatalogAccessResponse(w http.ResponseWriter) error

type GrantCatalogAccess401JSONResponse

type GrantCatalogAccess401JSONResponse struct{ UnauthorizedJSONResponse }

func (GrantCatalogAccess401JSONResponse) VisitGrantCatalogAccessResponse

func (response GrantCatalogAccess401JSONResponse) VisitGrantCatalogAccessResponse(w http.ResponseWriter) error

type GrantCatalogAccess403JSONResponse

type GrantCatalogAccess403JSONResponse struct{ ForbiddenJSONResponse }

func (GrantCatalogAccess403JSONResponse) VisitGrantCatalogAccessResponse

func (response GrantCatalogAccess403JSONResponse) VisitGrantCatalogAccessResponse(w http.ResponseWriter) error

type GrantCatalogAccess404JSONResponse

type GrantCatalogAccess404JSONResponse struct{ NotFoundJSONResponse }

func (GrantCatalogAccess404JSONResponse) VisitGrantCatalogAccessResponse

func (response GrantCatalogAccess404JSONResponse) VisitGrantCatalogAccessResponse(w http.ResponseWriter) error

type GrantCatalogAccess422JSONResponse

type GrantCatalogAccess422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (GrantCatalogAccess422JSONResponse) VisitGrantCatalogAccessResponse

func (response GrantCatalogAccess422JSONResponse) VisitGrantCatalogAccessResponse(w http.ResponseWriter) error

type GrantCatalogAccessJSONRequestBody

type GrantCatalogAccessJSONRequestBody = GrantCatalogAccessRequest

GrantCatalogAccessJSONRequestBody defines body for GrantCatalogAccess for application/json ContentType.

type GrantCatalogAccessRequest

type GrantCatalogAccessRequest struct {
	CatalogId openapi_types.UUID `json:"catalog_id"`
}

GrantCatalogAccessRequest defines model for GrantCatalogAccessRequest.

type GrantCatalogAccessRequestObject

type GrantCatalogAccessRequestObject struct {
	Id   PathId `json:"id"`
	Body *GrantCatalogAccessJSONRequestBody
}

type GrantCatalogAccessResponseObject

type GrantCatalogAccessResponseObject interface {
	VisitGrantCatalogAccessResponse(w http.ResponseWriter) error
}

type GrantableWorkspace

type GrantableWorkspace struct {
	Id       openapi_types.UUID `json:"id"`
	Name     string             `json:"name"`
	TeamName *string            `json:"team_name"`
	Type     string             `json:"type"`
}

GrantableWorkspace defines model for GrantableWorkspace.

type HiveCredentials

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

HiveCredentials defines model for HiveCredentials.

type IcebergCredentials

type IcebergCredentials struct {
	// ClientId OAuth2 client ID
	ClientId *string `json:"client_id,omitempty"`

	// ClientSecret OAuth2 client secret
	ClientSecret *string `json:"client_secret,omitempty"`

	// Oauth2ServerUri OAuth2 token endpoint custom
	Oauth2ServerUri *string `json:"oauth2_server_uri,omitempty"`

	// Token Bearer token
	Token *string `json:"token,omitempty"`
}

IcebergCredentials defines model for IcebergCredentials.

type IdentityDeps

type IdentityDeps struct {
	OIDC      *oidclogin.Service
	IDPTokens *idptoken.Tokens
}

IdentityDeps are the OIDC sign-in service and the store of users' identity-provider tokens (#648).

type IdentityMappingPreview

type IdentityMappingPreview struct {
	Role       IdentityMappingPreviewRole    `json:"role"`
	Teams      []IdentityTeamAssignment      `json:"teams"`
	Workspaces []IdentityWorkspaceAssignment `json:"workspaces"`
}

IdentityMappingPreview defines model for IdentityMappingPreview.

type IdentityMappingPreviewRequest

type IdentityMappingPreviewRequest struct {
	DefaultRole      *IdentityMappingPreviewRequestDefaultRole `json:"default_role,omitempty"`
	Groups           []string                                  `json:"groups"`
	RoleMapping      *[]IdentityRoleMapping                    `json:"role_mapping,omitempty"`
	TeamMapping      *[]IdentityTeamMapping                    `json:"team_mapping,omitempty"`
	WorkspaceMapping *[]IdentityWorkspaceMapping               `json:"workspace_mapping,omitempty"`
}

IdentityMappingPreviewRequest Groups and mapping rules evaluated exactly as login does.

type IdentityMappingPreviewRequestDefaultRole

type IdentityMappingPreviewRequestDefaultRole string

IdentityMappingPreviewRequestDefaultRole defines model for IdentityMappingPreviewRequest.DefaultRole.

const (
	IdentityMappingPreviewRequestDefaultRoleAdmin  IdentityMappingPreviewRequestDefaultRole = "admin"
	IdentityMappingPreviewRequestDefaultRoleMember IdentityMappingPreviewRequestDefaultRole = "member"
)

Defines values for IdentityMappingPreviewRequestDefaultRole.

type IdentityMappingPreviewRole

type IdentityMappingPreviewRole string

IdentityMappingPreviewRole defines model for IdentityMappingPreview.Role.

const (
	IdentityMappingPreviewRoleAdmin  IdentityMappingPreviewRole = "admin"
	IdentityMappingPreviewRoleMember IdentityMappingPreviewRole = "member"
)

Defines values for IdentityMappingPreviewRole.

type IdentityProvider

type IdentityProvider struct {
	CreatedAt time.Time `json:"created_at"`
	Enabled   bool      `json:"enabled"`

	// HasBindPassword An LDAP bind password is stored (never returned).
	HasBindPassword bool `json:"has_bind_password"`

	// HasClientSecret An OIDC client secret is stored (never returned).
	HasClientSecret bool               `json:"has_client_secret"`
	Id              openapi_types.UUID `json:"id"`

	// LinkedUsers Users currently linked to this provider.
	LinkedUsers int                  `json:"linked_users"`
	Name        string               `json:"name"`
	Type        IdentityProviderType `json:"type"`
	UpdatedAt   *time.Time           `json:"updated_at,omitempty"`
}

IdentityProvider defines model for IdentityProvider.

type IdentityProviderDetail

type IdentityProviderDetail struct {
	CreatedAt       time.Time          `json:"created_at"`
	Enabled         bool               `json:"enabled"`
	HasBindPassword bool               `json:"has_bind_password"`
	HasClientSecret bool               `json:"has_client_secret"`
	Id              openapi_types.UUID `json:"id"`

	// Ldap LDAP provider configuration without the bind password.
	Ldap        *LDAPConfigAdmin `json:"ldap,omitempty"`
	LinkedUsers int              `json:"linked_users"`
	Name        string           `json:"name"`

	// Oidc OIDC provider configuration without the client secret.
	Oidc      *OIDCConfigAdmin     `json:"oidc,omitempty"`
	Type      IdentityProviderType `json:"type"`
	UpdatedAt *time.Time           `json:"updated_at,omitempty"`
}

IdentityProviderDetail A provider with its redacted configuration.

type IdentityProviderTestCheck

type IdentityProviderTestCheck struct {
	// Message Short stable code; never a secret, host or raw error.
	Message *string                         `json:"message,omitempty"`
	Name    string                          `json:"name"`
	Status  IdentityProviderTestCheckStatus `json:"status"`
}

IdentityProviderTestCheck defines model for IdentityProviderTestCheck.

type IdentityProviderTestCheckStatus

type IdentityProviderTestCheckStatus string

IdentityProviderTestCheckStatus defines model for IdentityProviderTestCheck.Status.

const (
	IdentityProviderTestCheckStatusFailed  IdentityProviderTestCheckStatus = "failed"
	IdentityProviderTestCheckStatusOk      IdentityProviderTestCheckStatus = "ok"
	IdentityProviderTestCheckStatusSkipped IdentityProviderTestCheckStatus = "skipped"
)

Defines values for IdentityProviderTestCheckStatus.

type IdentityProviderTestResult

type IdentityProviderTestResult struct {
	Checks []IdentityProviderTestCheck `json:"checks"`
	Ok     bool                        `json:"ok"`
}

IdentityProviderTestResult defines model for IdentityProviderTestResult.

type IdentityProviderType

type IdentityProviderType string

IdentityProviderType defines model for IdentityProviderType.

const (
	IdentityProviderTypeLdap IdentityProviderType = "ldap"
	IdentityProviderTypeOidc IdentityProviderType = "oidc"
)

Defines values for IdentityProviderType.

type IdentityRoleMapping

type IdentityRoleMapping struct {
	Group string                  `json:"group"`
	Role  IdentityRoleMappingRole `json:"role"`
}

IdentityRoleMapping Binds a directory group to a platform role.

type IdentityRoleMappingRole

type IdentityRoleMappingRole string

IdentityRoleMappingRole defines model for IdentityRoleMapping.Role.

const (
	IdentityRoleMappingRoleAdmin  IdentityRoleMappingRole = "admin"
	IdentityRoleMappingRoleMember IdentityRoleMappingRole = "member"
)

Defines values for IdentityRoleMappingRole.

type IdentityTeamAssignment

type IdentityTeamAssignment struct {
	TeamId   string                         `json:"team_id"`
	TeamRole IdentityTeamAssignmentTeamRole `json:"team_role"`
}

IdentityTeamAssignment defines model for IdentityTeamAssignment.

type IdentityTeamAssignmentTeamRole

type IdentityTeamAssignmentTeamRole string

IdentityTeamAssignmentTeamRole defines model for IdentityTeamAssignment.TeamRole.

const (
	IdentityTeamAssignmentTeamRoleMember IdentityTeamAssignmentTeamRole = "member"
	IdentityTeamAssignmentTeamRoleOwner  IdentityTeamAssignmentTeamRole = "owner"
)

Defines values for IdentityTeamAssignmentTeamRole.

type IdentityTeamMapping

type IdentityTeamMapping struct {
	Group    string                      `json:"group"`
	TeamId   string                      `json:"team_id"`
	TeamRole IdentityTeamMappingTeamRole `json:"team_role"`
}

IdentityTeamMapping Binds a directory group to a team and role.

type IdentityTeamMappingTeamRole

type IdentityTeamMappingTeamRole string

IdentityTeamMappingTeamRole defines model for IdentityTeamMapping.TeamRole.

const (
	IdentityTeamMappingTeamRoleMember IdentityTeamMappingTeamRole = "member"
	IdentityTeamMappingTeamRoleOwner  IdentityTeamMappingTeamRole = "owner"
)

Defines values for IdentityTeamMappingTeamRole.

type IdentityWorkspaceAssignment

type IdentityWorkspaceAssignment struct {
	// Role What a member may do in Baleia in this workspace (#653, ADR 0016): viewers see content and run queries, editors also create and edit content, admins also manage the workspace. What they may read or write in its catalogs is the catalog manager's decision (ADR 0015).
	Role        WorkspaceRole `json:"role"`
	WorkspaceId string        `json:"workspace_id"`
}

IdentityWorkspaceAssignment defines model for IdentityWorkspaceAssignment.

type IdentityWorkspaceMapping

type IdentityWorkspaceMapping struct {
	Group string `json:"group"`

	// Role What a member may do in Baleia in this workspace (#653, ADR 0016): viewers see content and run queries, editors also create and edit content, admins also manage the workspace. What they may read or write in its catalogs is the catalog manager's decision (ADR 0015).
	Role        WorkspaceRole `json:"role"`
	WorkspaceId string        `json:"workspace_id"`
}

IdentityWorkspaceMapping Binds a directory group to a role in a workspace (#653), applied at each sign-in. It sets the role only: a shared workspace's members still come from its team (team_mapping). A role a workspace admin set wins over a group.

type ImportItem

type ImportItem struct {
	Action ImportItemAction `json:"action"`
	Kind   string           `json:"kind"`

	// MatchedId Destination item for UPDATE/NO_CHANGES
	MatchedId *openapi_types.UUID `json:"matched_id"`
	Message   *string             `json:"message,omitempty"`
	Slug      string              `json:"slug"`
	Title     *string             `json:"title,omitempty"`
	Warnings  *[]string           `json:"warnings,omitempty"`
}

ImportItem defines model for ImportItem.

type ImportItemAction

type ImportItemAction string

ImportItemAction defines model for ImportItem.Action.

const (
	ImportItemActionCREATE    ImportItemAction = "CREATE"
	ImportItemActionERROR     ImportItemAction = "ERROR"
	ImportItemActionNOCHANGES ImportItemAction = "NO_CHANGES"
	ImportItemActionUPDATE    ImportItemAction = "UPDATE"
)

Defines values for ImportItemAction.

type ImportReport

type ImportReport struct {
	Items []ImportItem     `json:"items"`
	Mode  ImportReportMode `json:"mode"`
	Ok    bool             `json:"ok"`
}

ImportReport defines model for ImportReport.

type ImportReportMode

type ImportReportMode string

ImportReportMode defines model for ImportReport.Mode.

const (
	ImportReportModeApply  ImportReportMode = "apply"
	ImportReportModeDryRun ImportReportMode = "dry_run"
)

Defines values for ImportReportMode.

type ImportSpaceBundle200JSONResponse

type ImportSpaceBundle200JSONResponse ImportReport

func (ImportSpaceBundle200JSONResponse) VisitImportSpaceBundleResponse

func (response ImportSpaceBundle200JSONResponse) VisitImportSpaceBundleResponse(w http.ResponseWriter) error

type ImportSpaceBundle401JSONResponse

type ImportSpaceBundle401JSONResponse struct{ UnauthorizedJSONResponse }

func (ImportSpaceBundle401JSONResponse) VisitImportSpaceBundleResponse

func (response ImportSpaceBundle401JSONResponse) VisitImportSpaceBundleResponse(w http.ResponseWriter) error

type ImportSpaceBundle403JSONResponse

type ImportSpaceBundle403JSONResponse struct{ ForbiddenJSONResponse }

func (ImportSpaceBundle403JSONResponse) VisitImportSpaceBundleResponse

func (response ImportSpaceBundle403JSONResponse) VisitImportSpaceBundleResponse(w http.ResponseWriter) error

type ImportSpaceBundle404JSONResponse

type ImportSpaceBundle404JSONResponse struct{ NotFoundJSONResponse }

func (ImportSpaceBundle404JSONResponse) VisitImportSpaceBundleResponse

func (response ImportSpaceBundle404JSONResponse) VisitImportSpaceBundleResponse(w http.ResponseWriter) error

type ImportSpaceBundle422JSONResponse

type ImportSpaceBundle422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (ImportSpaceBundle422JSONResponse) VisitImportSpaceBundleResponse

func (response ImportSpaceBundle422JSONResponse) VisitImportSpaceBundleResponse(w http.ResponseWriter) error

type ImportSpaceBundleJSONBody

type ImportSpaceBundleJSONBody map[string]interface{}

ImportSpaceBundleJSONBody defines parameters for ImportSpaceBundle.

type ImportSpaceBundleJSONRequestBody

type ImportSpaceBundleJSONRequestBody ImportSpaceBundleJSONBody

ImportSpaceBundleJSONRequestBody defines body for ImportSpaceBundle for application/json ContentType.

type ImportSpaceBundleParams

type ImportSpaceBundleParams struct {
	Mode *ImportSpaceBundleParamsMode `form:"mode,omitempty" json:"mode,omitempty"`
}

ImportSpaceBundleParams defines parameters for ImportSpaceBundle.

type ImportSpaceBundleParamsMode

type ImportSpaceBundleParamsMode string

ImportSpaceBundleParamsMode defines parameters for ImportSpaceBundle.

const (
	ImportSpaceBundleParamsModeApply  ImportSpaceBundleParamsMode = "apply"
	ImportSpaceBundleParamsModeDryRun ImportSpaceBundleParamsMode = "dry_run"
)

Defines values for ImportSpaceBundleParamsMode.

type ImportSpaceBundleRequestObject

type ImportSpaceBundleRequestObject struct {
	Id      PathId             `json:"id"`
	SpaceId openapi_types.UUID `json:"space_id"`
	Params  ImportSpaceBundleParams
	Body    *ImportSpaceBundleJSONRequestBody
}

type ImportSpaceBundleResponseObject

type ImportSpaceBundleResponseObject interface {
	VisitImportSpaceBundleResponse(w http.ResponseWriter) error
}

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 InviteUser201JSONResponse

type InviteUser201JSONResponse UserPublic

func (InviteUser201JSONResponse) VisitInviteUserResponse

func (response InviteUser201JSONResponse) VisitInviteUserResponse(w http.ResponseWriter) error

type InviteUser401JSONResponse

type InviteUser401JSONResponse struct{ UnauthorizedJSONResponse }

func (InviteUser401JSONResponse) VisitInviteUserResponse

func (response InviteUser401JSONResponse) VisitInviteUserResponse(w http.ResponseWriter) error

type InviteUser403JSONResponse

type InviteUser403JSONResponse struct{ ForbiddenJSONResponse }

func (InviteUser403JSONResponse) VisitInviteUserResponse

func (response InviteUser403JSONResponse) VisitInviteUserResponse(w http.ResponseWriter) error

type InviteUser409JSONResponse

type InviteUser409JSONResponse struct{ ConflictJSONResponse }

func (InviteUser409JSONResponse) VisitInviteUserResponse

func (response InviteUser409JSONResponse) VisitInviteUserResponse(w http.ResponseWriter) error

type InviteUserJSONRequestBody

type InviteUserJSONRequestBody = InviteUserRequest

InviteUserJSONRequestBody defines body for InviteUser for application/json ContentType.

type InviteUserRequest

type InviteUserRequest struct {
	Email openapi_types.Email   `json:"email"`
	Role  InviteUserRequestRole `json:"role"`
}

InviteUserRequest defines model for InviteUserRequest.

type InviteUserRequestObject

type InviteUserRequestObject struct {
	Body *InviteUserJSONRequestBody
}

type InviteUserRequestRole

type InviteUserRequestRole string

InviteUserRequestRole defines model for InviteUserRequest.Role.

const (
	InviteUserRequestRoleAdmin  InviteUserRequestRole = "admin"
	InviteUserRequestRoleMember InviteUserRequestRole = "member"
)

Defines values for InviteUserRequestRole.

type InviteUserResponseObject

type InviteUserResponseObject interface {
	VisitInviteUserResponse(w http.ResponseWriter) error
}

type IssueWsTicket201JSONResponse

type IssueWsTicket201JSONResponse WsTicket

func (IssueWsTicket201JSONResponse) VisitIssueWsTicketResponse

func (response IssueWsTicket201JSONResponse) VisitIssueWsTicketResponse(w http.ResponseWriter) error

type IssueWsTicket401JSONResponse

type IssueWsTicket401JSONResponse struct{ UnauthorizedJSONResponse }

func (IssueWsTicket401JSONResponse) VisitIssueWsTicketResponse

func (response IssueWsTicket401JSONResponse) VisitIssueWsTicketResponse(w http.ResponseWriter) error

type IssueWsTicketJSONRequestBody

type IssueWsTicketJSONRequestBody = WsTicketRequest

IssueWsTicketJSONRequestBody defines body for IssueWsTicket for application/json ContentType.

type IssueWsTicketRequestObject

type IssueWsTicketRequestObject struct {
	Body *IssueWsTicketJSONRequestBody
}

type IssueWsTicketResponseObject

type IssueWsTicketResponseObject interface {
	VisitIssueWsTicketResponse(w http.ResponseWriter) error
}

type JoinSuggestion

type JoinSuggestion struct {
	LastUsedAt *time.Time `json:"last_used_at"`

	// LeftColumn A column of the left table
	LeftColumn string `json:"left_column"`

	// RightColumn A column of the right table
	RightColumn string `json:"right_column"`

	// Score Frequency with a 30-day half-life decay; 0 for a foreign key
	Score  *float64             `json:"score,omitempty"`
	Source JoinSuggestionSource `json:"source"`

	// UseCount Finished statements that used it in the last 90 days; 0 for a foreign key never used
	UseCount int `json:"use_count"`
}

JoinSuggestion defines model for JoinSuggestion.

type JoinSuggestionSource

type JoinSuggestionSource string

JoinSuggestionSource defines model for JoinSuggestion.Source.

const (
	ForeignKey JoinSuggestionSource = "foreign_key"
	History    JoinSuggestionSource = "history"
)

Defines values for JoinSuggestionSource.

type KillMonitoringQuery202Response

type KillMonitoringQuery202Response struct {
}

func (KillMonitoringQuery202Response) VisitKillMonitoringQueryResponse

func (response KillMonitoringQuery202Response) VisitKillMonitoringQueryResponse(w http.ResponseWriter) error

type KillMonitoringQuery401JSONResponse

type KillMonitoringQuery401JSONResponse struct{ UnauthorizedJSONResponse }

func (KillMonitoringQuery401JSONResponse) VisitKillMonitoringQueryResponse

func (response KillMonitoringQuery401JSONResponse) VisitKillMonitoringQueryResponse(w http.ResponseWriter) error

type KillMonitoringQuery403JSONResponse

type KillMonitoringQuery403JSONResponse struct{ ForbiddenJSONResponse }

func (KillMonitoringQuery403JSONResponse) VisitKillMonitoringQueryResponse

func (response KillMonitoringQuery403JSONResponse) VisitKillMonitoringQueryResponse(w http.ResponseWriter) error

type KillMonitoringQuery404JSONResponse

type KillMonitoringQuery404JSONResponse struct{ NotFoundJSONResponse }

func (KillMonitoringQuery404JSONResponse) VisitKillMonitoringQueryResponse

func (response KillMonitoringQuery404JSONResponse) VisitKillMonitoringQueryResponse(w http.ResponseWriter) error

type KillMonitoringQuery409JSONResponse

type KillMonitoringQuery409JSONResponse struct{ ConflictJSONResponse }

func (KillMonitoringQuery409JSONResponse) VisitKillMonitoringQueryResponse

func (response KillMonitoringQuery409JSONResponse) VisitKillMonitoringQueryResponse(w http.ResponseWriter) error

type KillMonitoringQueryRequestObject

type KillMonitoringQueryRequestObject struct {
	Id      PathId `json:"id"`
	QueryId string `json:"query_id"`
}

type KillMonitoringQueryResponseObject

type KillMonitoringQueryResponseObject interface {
	VisitKillMonitoringQueryResponse(w http.ResponseWriter) error
}

type LDAPConfig

type LDAPConfig struct {
	BaseDn       string `json:"base_dn"`
	BindDn       string `json:"bind_dn"`
	BindPassword string `json:"bind_password"`

	// CaPem PEM bundle of a private CA that signed the directory's certificate. Empty uses the system roots.
	CaPem          *string                `json:"ca_pem,omitempty"`
	DefaultRole    *LDAPConfigDefaultRole `json:"default_role,omitempty"`
	EmailAttribute *string                `json:"email_attribute,omitempty"`
	GroupAttribute *string                `json:"group_attribute,omitempty"`
	NameAttribute  *string                `json:"name_attribute,omitempty"`
	NestedGroups   *bool                  `json:"nested_groups,omitempty"`
	RequiredGroup  *string                `json:"required_group,omitempty"`
	RoleMapping    *[]IdentityRoleMapping `json:"role_mapping,omitempty"`
	StartTls       *bool                  `json:"start_tls,omitempty"`
	TeamMapping    *[]IdentityTeamMapping `json:"team_mapping,omitempty"`
	TimeoutSeconds *int                   `json:"timeout_seconds,omitempty"`

	// Url ldaps:// or ldap:// (requires start_tls).
	Url string `json:"url"`

	// UserFilter Must contain exactly one {{username}} placeholder.
	UserFilter       string                      `json:"user_filter"`
	WorkspaceMapping *[]IdentityWorkspaceMapping `json:"workspace_mapping,omitempty"`
}

LDAPConfig LDAP provider configuration written once. `bind_password` is never returned.

type LDAPConfigAdmin

type LDAPConfigAdmin struct {
	BaseDn *string `json:"base_dn,omitempty"`
	BindDn *string `json:"bind_dn,omitempty"`

	// CaPem The private CA bundle; a certificate is not a secret.
	CaPem            *string                     `json:"ca_pem,omitempty"`
	DefaultRole      *LDAPConfigAdminDefaultRole `json:"default_role,omitempty"`
	EmailAttribute   *string                     `json:"email_attribute,omitempty"`
	GroupAttribute   *string                     `json:"group_attribute,omitempty"`
	NameAttribute    *string                     `json:"name_attribute,omitempty"`
	NestedGroups     *bool                       `json:"nested_groups,omitempty"`
	RequiredGroup    *string                     `json:"required_group,omitempty"`
	RoleMapping      *[]IdentityRoleMapping      `json:"role_mapping,omitempty"`
	StartTls         *bool                       `json:"start_tls,omitempty"`
	TeamMapping      *[]IdentityTeamMapping      `json:"team_mapping,omitempty"`
	TimeoutSeconds   *int                        `json:"timeout_seconds,omitempty"`
	Url              *string                     `json:"url,omitempty"`
	UserFilter       *string                     `json:"user_filter,omitempty"`
	WorkspaceMapping *[]IdentityWorkspaceMapping `json:"workspace_mapping,omitempty"`
}

LDAPConfigAdmin LDAP provider configuration without the bind password.

type LDAPConfigAdminDefaultRole

type LDAPConfigAdminDefaultRole string

LDAPConfigAdminDefaultRole defines model for LDAPConfigAdmin.DefaultRole.

const (
	LDAPConfigAdminDefaultRoleAdmin  LDAPConfigAdminDefaultRole = "admin"
	LDAPConfigAdminDefaultRoleMember LDAPConfigAdminDefaultRole = "member"
)

Defines values for LDAPConfigAdminDefaultRole.

type LDAPConfigDefaultRole

type LDAPConfigDefaultRole string

LDAPConfigDefaultRole defines model for LDAPConfig.DefaultRole.

const (
	LDAPConfigDefaultRoleAdmin  LDAPConfigDefaultRole = "admin"
	LDAPConfigDefaultRoleMember LDAPConfigDefaultRole = "member"
)

Defines values for LDAPConfigDefaultRole.

type LineageEdge

type LineageEdge struct {
	From string `json:"from"`
	To   string `json:"to"`
}

LineageEdge A dependency edge: `from` depends on `to`.

type LineageGraph

type LineageGraph struct {
	Edges []LineageEdge `json:"edges"`
	Nodes []LineageNode `json:"nodes"`
}

LineageGraph defines model for LineageGraph.

type LineageNode

type LineageNode struct {
	// Detail The catalog and namespace of a table, or the slug of content.
	Detail *string `json:"detail,omitempty"`

	// Href SPA route that opens the node.
	Href  *string         `json:"href,omitempty"`
	Id    string          `json:"id"`
	Kind  LineageNodeKind `json:"kind"`
	Label string          `json:"label"`
}

LineageNode One node of a lineage graph. `id` is opaque; it is the node reference of the next `/lineage` call.

type LineageNodeKind

type LineageNodeKind string

LineageNodeKind defines model for LineageNodeKind.

const (
	LineageNodeKindMetric     LineageNodeKind = "metric"
	LineageNodeKindModel      LineageNodeKind = "model"
	LineageNodeKindSavedQuery LineageNodeKind = "saved_query"
	LineageNodeKindTable      LineageNodeKind = "table"
)

Defines values for LineageNodeKind.

type ListAgentTokens200JSONResponse

type ListAgentTokens200JSONResponse []AgentToken

func (ListAgentTokens200JSONResponse) VisitListAgentTokensResponse

func (response ListAgentTokens200JSONResponse) VisitListAgentTokensResponse(w http.ResponseWriter) error

type ListAgentTokens401JSONResponse

type ListAgentTokens401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListAgentTokens401JSONResponse) VisitListAgentTokensResponse

func (response ListAgentTokens401JSONResponse) VisitListAgentTokensResponse(w http.ResponseWriter) error

type ListAgentTokens404JSONResponse

type ListAgentTokens404JSONResponse struct{ NotFoundJSONResponse }

func (ListAgentTokens404JSONResponse) VisitListAgentTokensResponse

func (response ListAgentTokens404JSONResponse) VisitListAgentTokensResponse(w http.ResponseWriter) error

type ListAgentTokensRequestObject

type ListAgentTokensRequestObject struct {
	AgentId PathAgentId `json:"agent_id"`
}

type ListAgentTokensResponseObject

type ListAgentTokensResponseObject interface {
	VisitListAgentTokensResponse(w http.ResponseWriter) error
}

type ListAgents200JSONResponse

type ListAgents200JSONResponse []Agent

func (ListAgents200JSONResponse) VisitListAgentsResponse

func (response ListAgents200JSONResponse) VisitListAgentsResponse(w http.ResponseWriter) error

type ListAgents401JSONResponse

type ListAgents401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListAgents401JSONResponse) VisitListAgentsResponse

func (response ListAgents401JSONResponse) VisitListAgentsResponse(w http.ResponseWriter) error

type ListAgents403JSONResponse

type ListAgents403JSONResponse struct{ ForbiddenJSONResponse }

func (ListAgents403JSONResponse) VisitListAgentsResponse

func (response ListAgents403JSONResponse) VisitListAgentsResponse(w http.ResponseWriter) error

type ListAgents404JSONResponse

type ListAgents404JSONResponse struct{ NotFoundJSONResponse }

func (ListAgents404JSONResponse) VisitListAgentsResponse

func (response ListAgents404JSONResponse) VisitListAgentsResponse(w http.ResponseWriter) error

type ListAgentsParams

type ListAgentsParams struct {
	// All Admin only: list every user's agents
	All *bool `form:"all,omitempty" json:"all,omitempty"`
}

ListAgentsParams defines parameters for ListAgents.

type ListAgentsRequestObject

type ListAgentsRequestObject struct {
	Params ListAgentsParams
}

type ListAgentsResponseObject

type ListAgentsResponseObject interface {
	VisitListAgentsResponse(w http.ResponseWriter) error
}

type ListAllCatalogs200JSONResponse

type ListAllCatalogs200JSONResponse []CatalogSummary

func (ListAllCatalogs200JSONResponse) VisitListAllCatalogsResponse

func (response ListAllCatalogs200JSONResponse) VisitListAllCatalogsResponse(w http.ResponseWriter) error

type ListAllCatalogs401JSONResponse

type ListAllCatalogs401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListAllCatalogs401JSONResponse) VisitListAllCatalogsResponse

func (response ListAllCatalogs401JSONResponse) VisitListAllCatalogsResponse(w http.ResponseWriter) error

type ListAllCatalogsParams

type ListAllCatalogsParams struct {
	Q            *string             `form:"q,omitempty" json:"q,omitempty"`
	Origin       *string             `form:"origin,omitempty" json:"origin,omitempty"`
	EngineId     *openapi_types.UUID `form:"engine_id,omitempty" json:"engine_id,omitempty"`
	ConnectionId *openapi_types.UUID `form:"connection_id,omitempty" json:"connection_id,omitempty"`
	ProviderKind *string             `form:"provider_kind,omitempty" json:"provider_kind,omitempty"`
	Attention    *bool               `form:"attention,omitempty" json:"attention,omitempty"`
	Action       *string             `form:"action,omitempty" json:"action,omitempty"`
	Limit        *int                `form:"limit,omitempty" json:"limit,omitempty"`
	Offset       *int                `form:"offset,omitempty" json:"offset,omitempty"`
}

ListAllCatalogsParams defines parameters for ListAllCatalogs.

type ListAllCatalogsRequestObject

type ListAllCatalogsRequestObject struct {
	Params ListAllCatalogsParams
}

type ListAllCatalogsResponseObject

type ListAllCatalogsResponseObject interface {
	VisitListAllCatalogsResponse(w http.ResponseWriter) error
}

type ListApiKeys200JSONResponse

type ListApiKeys200JSONResponse []ApiKey

func (ListApiKeys200JSONResponse) VisitListApiKeysResponse

func (response ListApiKeys200JSONResponse) VisitListApiKeysResponse(w http.ResponseWriter) error

type ListApiKeys401JSONResponse

type ListApiKeys401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListApiKeys401JSONResponse) VisitListApiKeysResponse

func (response ListApiKeys401JSONResponse) VisitListApiKeysResponse(w http.ResponseWriter) error

type ListApiKeysRequestObject

type ListApiKeysRequestObject struct {
}

type ListApiKeysResponseObject

type ListApiKeysResponseObject interface {
	VisitListApiKeysResponse(w http.ResponseWriter) error
}

type ListAssistantConversations200JSONResponse

type ListAssistantConversations200JSONResponse []AssistantConversation

func (ListAssistantConversations200JSONResponse) VisitListAssistantConversationsResponse

func (response ListAssistantConversations200JSONResponse) VisitListAssistantConversationsResponse(w http.ResponseWriter) error

type ListAssistantConversations401JSONResponse

type ListAssistantConversations401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListAssistantConversations401JSONResponse) VisitListAssistantConversationsResponse

func (response ListAssistantConversations401JSONResponse) VisitListAssistantConversationsResponse(w http.ResponseWriter) error

type ListAssistantConversations404JSONResponse

type ListAssistantConversations404JSONResponse struct{ NotFoundJSONResponse }

func (ListAssistantConversations404JSONResponse) VisitListAssistantConversationsResponse

func (response ListAssistantConversations404JSONResponse) VisitListAssistantConversationsResponse(w http.ResponseWriter) error

type ListAssistantConversationsParams

type ListAssistantConversationsParams struct {
	WorkspaceId openapi_types.UUID `form:"workspace_id" json:"workspace_id"`
}

ListAssistantConversationsParams defines parameters for ListAssistantConversations.

type ListAssistantConversationsRequestObject

type ListAssistantConversationsRequestObject struct {
	Params ListAssistantConversationsParams
}

type ListAssistantConversationsResponseObject

type ListAssistantConversationsResponseObject interface {
	VisitListAssistantConversationsResponse(w http.ResponseWriter) error
}

type ListAttention200JSONResponse

type ListAttention200JSONResponse []AttentionItem

func (ListAttention200JSONResponse) VisitListAttentionResponse

func (response ListAttention200JSONResponse) VisitListAttentionResponse(w http.ResponseWriter) error

type ListAttention401JSONResponse

type ListAttention401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListAttention401JSONResponse) VisitListAttentionResponse

func (response ListAttention401JSONResponse) VisitListAttentionResponse(w http.ResponseWriter) error

type ListAttentionRequestObject

type ListAttentionRequestObject struct {
}

type ListAttentionResponseObject

type ListAttentionResponseObject interface {
	VisitListAttentionResponse(w http.ResponseWriter) error
}

type ListAuditActions200JSONResponse

type ListAuditActions200JSONResponse []string

func (ListAuditActions200JSONResponse) VisitListAuditActionsResponse

func (response ListAuditActions200JSONResponse) VisitListAuditActionsResponse(w http.ResponseWriter) error

type ListAuditActions401JSONResponse

type ListAuditActions401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListAuditActions401JSONResponse) VisitListAuditActionsResponse

func (response ListAuditActions401JSONResponse) VisitListAuditActionsResponse(w http.ResponseWriter) error

type ListAuditActionsRequestObject

type ListAuditActionsRequestObject struct {
}

type ListAuditActionsResponseObject

type ListAuditActionsResponseObject interface {
	VisitListAuditActionsResponse(w http.ResponseWriter) error
}

type ListAuditEvents200JSONResponse

type ListAuditEvents200JSONResponse AuditEventPage

func (ListAuditEvents200JSONResponse) VisitListAuditEventsResponse

func (response ListAuditEvents200JSONResponse) VisitListAuditEventsResponse(w http.ResponseWriter) error

type ListAuditEvents401JSONResponse

type ListAuditEvents401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListAuditEvents401JSONResponse) VisitListAuditEventsResponse

func (response ListAuditEvents401JSONResponse) VisitListAuditEventsResponse(w http.ResponseWriter) error

type ListAuditEvents422JSONResponse

type ListAuditEvents422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (ListAuditEvents422JSONResponse) VisitListAuditEventsResponse

func (response ListAuditEvents422JSONResponse) VisitListAuditEventsResponse(w http.ResponseWriter) error

type ListAuditEventsParams

type ListAuditEventsParams struct {
	ResourceType *string                       `form:"resource_type,omitempty" json:"resource_type,omitempty"`
	ResourceId   *string                       `form:"resource_id,omitempty" json:"resource_id,omitempty"`
	ActorId      *string                       `form:"actor_id,omitempty" json:"actor_id,omitempty"`
	Action       *string                       `form:"action,omitempty" json:"action,omitempty"`
	Outcome      *ListAuditEventsParamsOutcome `form:"outcome,omitempty" json:"outcome,omitempty"`
	RequestId    *string                       `form:"request_id,omitempty" json:"request_id,omitempty"`
	TraceId      *string                       `form:"trace_id,omitempty" json:"trace_id,omitempty"`
	From         *time.Time                    `form:"from,omitempty" json:"from,omitempty"`
	To           *time.Time                    `form:"to,omitempty" json:"to,omitempty"`

	// Cursor next_cursor of the previous page
	Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
	Limit  *int    `form:"limit,omitempty" json:"limit,omitempty"`
}

ListAuditEventsParams defines parameters for ListAuditEvents.

type ListAuditEventsParamsOutcome

type ListAuditEventsParamsOutcome string

ListAuditEventsParamsOutcome defines parameters for ListAuditEvents.

const (
	ListAuditEventsParamsOutcomeAllowed ListAuditEventsParamsOutcome = "allowed"
	ListAuditEventsParamsOutcomeDenied  ListAuditEventsParamsOutcome = "denied"
	ListAuditEventsParamsOutcomeError   ListAuditEventsParamsOutcome = "error"
)

Defines values for ListAuditEventsParamsOutcome.

type ListAuditEventsRequestObject

type ListAuditEventsRequestObject struct {
	Params ListAuditEventsParams
}

type ListAuditEventsResponseObject

type ListAuditEventsResponseObject interface {
	VisitListAuditEventsResponse(w http.ResponseWriter) error
}

type ListAuthProviders200JSONResponse

type ListAuthProviders200JSONResponse []AuthProvider

func (ListAuthProviders200JSONResponse) VisitListAuthProvidersResponse

func (response ListAuthProviders200JSONResponse) VisitListAuthProvidersResponse(w http.ResponseWriter) error

type ListAuthProvidersRequestObject

type ListAuthProvidersRequestObject struct {
}

type ListAuthProvidersResponseObject

type ListAuthProvidersResponseObject interface {
	VisitListAuthProvidersResponse(w http.ResponseWriter) error
}

type ListBiKeys200JSONResponse

type ListBiKeys200JSONResponse []BiKey

func (ListBiKeys200JSONResponse) VisitListBiKeysResponse

func (response ListBiKeys200JSONResponse) VisitListBiKeysResponse(w http.ResponseWriter) error

type ListBiKeys401JSONResponse

type ListBiKeys401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListBiKeys401JSONResponse) VisitListBiKeysResponse

func (response ListBiKeys401JSONResponse) VisitListBiKeysResponse(w http.ResponseWriter) error

type ListBiKeys403JSONResponse

type ListBiKeys403JSONResponse struct{ ForbiddenJSONResponse }

func (ListBiKeys403JSONResponse) VisitListBiKeysResponse

func (response ListBiKeys403JSONResponse) VisitListBiKeysResponse(w http.ResponseWriter) error

type ListBiKeys404JSONResponse

type ListBiKeys404JSONResponse struct{ NotFoundJSONResponse }

func (ListBiKeys404JSONResponse) VisitListBiKeysResponse

func (response ListBiKeys404JSONResponse) VisitListBiKeysResponse(w http.ResponseWriter) error

type ListBiKeysRequestObject

type ListBiKeysRequestObject struct {
	Id PathId `json:"id"`
}

type ListBiKeysResponseObject

type ListBiKeysResponseObject interface {
	VisitListBiKeysResponse(w http.ResponseWriter) error
}

type ListCatalogBindings200JSONResponse

type ListCatalogBindings200JSONResponse []CatalogBinding

func (ListCatalogBindings200JSONResponse) VisitListCatalogBindingsResponse

func (response ListCatalogBindings200JSONResponse) VisitListCatalogBindingsResponse(w http.ResponseWriter) error

type ListCatalogBindings401JSONResponse

type ListCatalogBindings401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListCatalogBindings401JSONResponse) VisitListCatalogBindingsResponse

func (response ListCatalogBindings401JSONResponse) VisitListCatalogBindingsResponse(w http.ResponseWriter) error

type ListCatalogBindings404JSONResponse

type ListCatalogBindings404JSONResponse struct{ NotFoundJSONResponse }

func (ListCatalogBindings404JSONResponse) VisitListCatalogBindingsResponse

func (response ListCatalogBindings404JSONResponse) VisitListCatalogBindingsResponse(w http.ResponseWriter) error

type ListCatalogBindingsRequestObject

type ListCatalogBindingsRequestObject struct {
	Id PathId `json:"id"`
}

type ListCatalogBindingsResponseObject

type ListCatalogBindingsResponseObject interface {
	VisitListCatalogBindingsResponse(w http.ResponseWriter) error
}

type ListCatalogConnections200JSONResponse

type ListCatalogConnections200JSONResponse []CatalogConnection

func (ListCatalogConnections200JSONResponse) VisitListCatalogConnectionsResponse

func (response ListCatalogConnections200JSONResponse) VisitListCatalogConnectionsResponse(w http.ResponseWriter) error

type ListCatalogConnections401JSONResponse

type ListCatalogConnections401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListCatalogConnections401JSONResponse) VisitListCatalogConnectionsResponse

func (response ListCatalogConnections401JSONResponse) VisitListCatalogConnectionsResponse(w http.ResponseWriter) error

type ListCatalogConnections403JSONResponse

type ListCatalogConnections403JSONResponse struct{ ForbiddenJSONResponse }

func (ListCatalogConnections403JSONResponse) VisitListCatalogConnectionsResponse

func (response ListCatalogConnections403JSONResponse) VisitListCatalogConnectionsResponse(w http.ResponseWriter) error

type ListCatalogConnectionsRequestObject

type ListCatalogConnectionsRequestObject struct {
}

type ListCatalogConnectionsResponseObject

type ListCatalogConnectionsResponseObject interface {
	VisitListCatalogConnectionsResponse(w http.ResponseWriter) error
}

type ListCatalogDataPolicies200JSONResponse

type ListCatalogDataPolicies200JSONResponse CatalogDataPolicies

func (ListCatalogDataPolicies200JSONResponse) VisitListCatalogDataPoliciesResponse

func (response ListCatalogDataPolicies200JSONResponse) VisitListCatalogDataPoliciesResponse(w http.ResponseWriter) error

type ListCatalogDataPolicies401JSONResponse

type ListCatalogDataPolicies401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListCatalogDataPolicies401JSONResponse) VisitListCatalogDataPoliciesResponse

func (response ListCatalogDataPolicies401JSONResponse) VisitListCatalogDataPoliciesResponse(w http.ResponseWriter) error

type ListCatalogDataPolicies403JSONResponse

type ListCatalogDataPolicies403JSONResponse struct{ ForbiddenJSONResponse }

func (ListCatalogDataPolicies403JSONResponse) VisitListCatalogDataPoliciesResponse

func (response ListCatalogDataPolicies403JSONResponse) VisitListCatalogDataPoliciesResponse(w http.ResponseWriter) error

type ListCatalogDataPolicies404JSONResponse

type ListCatalogDataPolicies404JSONResponse struct{ NotFoundJSONResponse }

func (ListCatalogDataPolicies404JSONResponse) VisitListCatalogDataPoliciesResponse

func (response ListCatalogDataPolicies404JSONResponse) VisitListCatalogDataPoliciesResponse(w http.ResponseWriter) error

type ListCatalogDataPoliciesRequestObject

type ListCatalogDataPoliciesRequestObject struct {
	Id PathId `json:"id"`
}

type ListCatalogDataPoliciesResponseObject

type ListCatalogDataPoliciesResponseObject interface {
	VisitListCatalogDataPoliciesResponse(w http.ResponseWriter) error
}

type ListCatalogDefinerViews200JSONResponse

type ListCatalogDefinerViews200JSONResponse []DataPolicyDefinerView

func (ListCatalogDefinerViews200JSONResponse) VisitListCatalogDefinerViewsResponse

func (response ListCatalogDefinerViews200JSONResponse) VisitListCatalogDefinerViewsResponse(w http.ResponseWriter) error

type ListCatalogDefinerViews401JSONResponse

type ListCatalogDefinerViews401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListCatalogDefinerViews401JSONResponse) VisitListCatalogDefinerViewsResponse

func (response ListCatalogDefinerViews401JSONResponse) VisitListCatalogDefinerViewsResponse(w http.ResponseWriter) error

type ListCatalogDefinerViews403JSONResponse

type ListCatalogDefinerViews403JSONResponse struct{ ForbiddenJSONResponse }

func (ListCatalogDefinerViews403JSONResponse) VisitListCatalogDefinerViewsResponse

func (response ListCatalogDefinerViews403JSONResponse) VisitListCatalogDefinerViewsResponse(w http.ResponseWriter) error

type ListCatalogDefinerViews404JSONResponse

type ListCatalogDefinerViews404JSONResponse struct{ NotFoundJSONResponse }

func (ListCatalogDefinerViews404JSONResponse) VisitListCatalogDefinerViewsResponse

func (response ListCatalogDefinerViews404JSONResponse) VisitListCatalogDefinerViewsResponse(w http.ResponseWriter) error

type ListCatalogDefinerViews503JSONResponse

type ListCatalogDefinerViews503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (ListCatalogDefinerViews503JSONResponse) VisitListCatalogDefinerViewsResponse

func (response ListCatalogDefinerViews503JSONResponse) VisitListCatalogDefinerViewsResponse(w http.ResponseWriter) error

type ListCatalogDefinerViewsRequestObject

type ListCatalogDefinerViewsRequestObject struct {
	Id PathId `json:"id"`
}

type ListCatalogDefinerViewsResponseObject

type ListCatalogDefinerViewsResponseObject interface {
	VisitListCatalogDefinerViewsResponse(w http.ResponseWriter) error
}

type ListCatalogGrantItems200JSONResponse

type ListCatalogGrantItems200JSONResponse []CatalogGrantItem

func (ListCatalogGrantItems200JSONResponse) VisitListCatalogGrantItemsResponse

func (response ListCatalogGrantItems200JSONResponse) VisitListCatalogGrantItemsResponse(w http.ResponseWriter) error

type ListCatalogGrantItems401JSONResponse

type ListCatalogGrantItems401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListCatalogGrantItems401JSONResponse) VisitListCatalogGrantItemsResponse

func (response ListCatalogGrantItems401JSONResponse) VisitListCatalogGrantItemsResponse(w http.ResponseWriter) error

type ListCatalogGrantItems404JSONResponse

type ListCatalogGrantItems404JSONResponse struct{ NotFoundJSONResponse }

func (ListCatalogGrantItems404JSONResponse) VisitListCatalogGrantItemsResponse

func (response ListCatalogGrantItems404JSONResponse) VisitListCatalogGrantItemsResponse(w http.ResponseWriter) error

type ListCatalogGrantItemsParams

type ListCatalogGrantItemsParams struct {
	WorkspaceId *openapi_types.UUID `form:"workspace_id,omitempty" json:"workspace_id,omitempty"`
	CatalogId   *openapi_types.UUID `form:"catalog_id,omitempty" json:"catalog_id,omitempty"`
}

ListCatalogGrantItemsParams defines parameters for ListCatalogGrantItems.

type ListCatalogGrantItemsRequestObject

type ListCatalogGrantItemsRequestObject struct {
	Params ListCatalogGrantItemsParams
}

type ListCatalogGrantItemsResponseObject

type ListCatalogGrantItemsResponseObject interface {
	VisitListCatalogGrantItemsResponse(w http.ResponseWriter) error
}

type ListCatalogGrants200JSONResponse

type ListCatalogGrants200JSONResponse []CatalogGrant

func (ListCatalogGrants200JSONResponse) VisitListCatalogGrantsResponse

func (response ListCatalogGrants200JSONResponse) VisitListCatalogGrantsResponse(w http.ResponseWriter) error

type ListCatalogGrants401JSONResponse

type ListCatalogGrants401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListCatalogGrants401JSONResponse) VisitListCatalogGrantsResponse

func (response ListCatalogGrants401JSONResponse) VisitListCatalogGrantsResponse(w http.ResponseWriter) error

type ListCatalogGrants404JSONResponse

type ListCatalogGrants404JSONResponse struct{ NotFoundJSONResponse }

func (ListCatalogGrants404JSONResponse) VisitListCatalogGrantsResponse

func (response ListCatalogGrants404JSONResponse) VisitListCatalogGrantsResponse(w http.ResponseWriter) error

type ListCatalogGrantsRequestObject

type ListCatalogGrantsRequestObject struct {
	CatalogId openapi_types.UUID `json:"catalog_id"`
}

type ListCatalogGrantsResponseObject

type ListCatalogGrantsResponseObject interface {
	VisitListCatalogGrantsResponse(w http.ResponseWriter) error
}

type ListCatalogMetadataSyncRuns200JSONResponse

type ListCatalogMetadataSyncRuns200JSONResponse []MetadataSyncRun

func (ListCatalogMetadataSyncRuns200JSONResponse) VisitListCatalogMetadataSyncRunsResponse

func (response ListCatalogMetadataSyncRuns200JSONResponse) VisitListCatalogMetadataSyncRunsResponse(w http.ResponseWriter) error

type ListCatalogMetadataSyncRuns401JSONResponse

type ListCatalogMetadataSyncRuns401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListCatalogMetadataSyncRuns401JSONResponse) VisitListCatalogMetadataSyncRunsResponse

func (response ListCatalogMetadataSyncRuns401JSONResponse) VisitListCatalogMetadataSyncRunsResponse(w http.ResponseWriter) error

type ListCatalogMetadataSyncRuns404JSONResponse

type ListCatalogMetadataSyncRuns404JSONResponse struct{ NotFoundJSONResponse }

func (ListCatalogMetadataSyncRuns404JSONResponse) VisitListCatalogMetadataSyncRunsResponse

func (response ListCatalogMetadataSyncRuns404JSONResponse) VisitListCatalogMetadataSyncRunsResponse(w http.ResponseWriter) error

type ListCatalogMetadataSyncRunsParams

type ListCatalogMetadataSyncRunsParams struct {
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}

ListCatalogMetadataSyncRunsParams defines parameters for ListCatalogMetadataSyncRuns.

type ListCatalogMetadataSyncRunsRequestObject

type ListCatalogMetadataSyncRunsRequestObject struct {
	CatalogId openapi_types.UUID `json:"catalog_id"`
	Params    ListCatalogMetadataSyncRunsParams
}

type ListCatalogMetadataSyncRunsResponseObject

type ListCatalogMetadataSyncRunsResponseObject interface {
	VisitListCatalogMetadataSyncRunsResponse(w http.ResponseWriter) error
}

type ListCatalogs200JSONResponse

type ListCatalogs200JSONResponse []Catalog

func (ListCatalogs200JSONResponse) VisitListCatalogsResponse

func (response ListCatalogs200JSONResponse) VisitListCatalogsResponse(w http.ResponseWriter) error

type ListCatalogs401JSONResponse

type ListCatalogs401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListCatalogs401JSONResponse) VisitListCatalogsResponse

func (response ListCatalogs401JSONResponse) VisitListCatalogsResponse(w http.ResponseWriter) error

type ListCatalogs404JSONResponse

type ListCatalogs404JSONResponse struct{ NotFoundJSONResponse }

func (ListCatalogs404JSONResponse) VisitListCatalogsResponse

func (response ListCatalogs404JSONResponse) VisitListCatalogsResponse(w http.ResponseWriter) error

type ListCatalogsRequestObject

type ListCatalogsRequestObject struct {
	ConnectionId openapi_types.UUID `json:"connection_id"`
}

type ListCatalogsResponseObject

type ListCatalogsResponseObject interface {
	VisitListCatalogsResponse(w http.ResponseWriter) error
}

type ListConnectionCategories200JSONResponse

type ListConnectionCategories200JSONResponse []ConnectionCategory

func (ListConnectionCategories200JSONResponse) VisitListConnectionCategoriesResponse

func (response ListConnectionCategories200JSONResponse) VisitListConnectionCategoriesResponse(w http.ResponseWriter) error

type ListConnectionCategories401JSONResponse

type ListConnectionCategories401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListConnectionCategories401JSONResponse) VisitListConnectionCategoriesResponse

func (response ListConnectionCategories401JSONResponse) VisitListConnectionCategoriesResponse(w http.ResponseWriter) error

type ListConnectionCategoriesRequestObject

type ListConnectionCategoriesRequestObject struct {
}

type ListConnectionCategoriesResponseObject

type ListConnectionCategoriesResponseObject interface {
	VisitListConnectionCategoriesResponse(w http.ResponseWriter) error
}

type ListConnectionProviders200JSONResponse

type ListConnectionProviders200JSONResponse []ConnectionProvider

func (ListConnectionProviders200JSONResponse) VisitListConnectionProvidersResponse

func (response ListConnectionProviders200JSONResponse) VisitListConnectionProvidersResponse(w http.ResponseWriter) error

type ListConnectionProviders401JSONResponse

type ListConnectionProviders401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListConnectionProviders401JSONResponse) VisitListConnectionProvidersResponse

func (response ListConnectionProviders401JSONResponse) VisitListConnectionProvidersResponse(w http.ResponseWriter) error

type ListConnectionProvidersRequestObject

type ListConnectionProvidersRequestObject struct {
}

type ListConnectionProvidersResponseObject

type ListConnectionProvidersResponseObject interface {
	VisitListConnectionProvidersResponse(w http.ResponseWriter) error
}

type ListDataPolicyRevisions200JSONResponse

type ListDataPolicyRevisions200JSONResponse []DataPolicyRevision

func (ListDataPolicyRevisions200JSONResponse) VisitListDataPolicyRevisionsResponse

func (response ListDataPolicyRevisions200JSONResponse) VisitListDataPolicyRevisionsResponse(w http.ResponseWriter) error

type ListDataPolicyRevisions401JSONResponse

type ListDataPolicyRevisions401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListDataPolicyRevisions401JSONResponse) VisitListDataPolicyRevisionsResponse

func (response ListDataPolicyRevisions401JSONResponse) VisitListDataPolicyRevisionsResponse(w http.ResponseWriter) error

type ListDataPolicyRevisions403JSONResponse

type ListDataPolicyRevisions403JSONResponse struct{ ForbiddenJSONResponse }

func (ListDataPolicyRevisions403JSONResponse) VisitListDataPolicyRevisionsResponse

func (response ListDataPolicyRevisions403JSONResponse) VisitListDataPolicyRevisionsResponse(w http.ResponseWriter) error

type ListDataPolicyRevisionsParams

type ListDataPolicyRevisionsParams struct {
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}

ListDataPolicyRevisionsParams defines parameters for ListDataPolicyRevisions.

type ListDataPolicyRevisionsRequestObject

type ListDataPolicyRevisionsRequestObject struct {
	Params ListDataPolicyRevisionsParams
}

type ListDataPolicyRevisionsResponseObject

type ListDataPolicyRevisionsResponseObject interface {
	VisitListDataPolicyRevisionsResponse(w http.ResponseWriter) error
}

type ListDirectoryReconcileRuns200JSONResponse

type ListDirectoryReconcileRuns200JSONResponse []DirectoryReconcileRun

func (ListDirectoryReconcileRuns200JSONResponse) VisitListDirectoryReconcileRunsResponse

func (response ListDirectoryReconcileRuns200JSONResponse) VisitListDirectoryReconcileRunsResponse(w http.ResponseWriter) error

type ListDirectoryReconcileRuns401JSONResponse

type ListDirectoryReconcileRuns401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListDirectoryReconcileRuns401JSONResponse) VisitListDirectoryReconcileRunsResponse

func (response ListDirectoryReconcileRuns401JSONResponse) VisitListDirectoryReconcileRunsResponse(w http.ResponseWriter) error

type ListDirectoryReconcileRuns403JSONResponse

type ListDirectoryReconcileRuns403JSONResponse struct{ ForbiddenJSONResponse }

func (ListDirectoryReconcileRuns403JSONResponse) VisitListDirectoryReconcileRunsResponse

func (response ListDirectoryReconcileRuns403JSONResponse) VisitListDirectoryReconcileRunsResponse(w http.ResponseWriter) error

type ListDirectoryReconcileRuns422JSONResponse

type ListDirectoryReconcileRuns422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (ListDirectoryReconcileRuns422JSONResponse) VisitListDirectoryReconcileRunsResponse

func (response ListDirectoryReconcileRuns422JSONResponse) VisitListDirectoryReconcileRunsResponse(w http.ResponseWriter) error

type ListDirectoryReconcileRunsParams

type ListDirectoryReconcileRunsParams struct {
	ProviderId *openapi_types.UUID `form:"provider_id,omitempty" json:"provider_id,omitempty"`
	Limit      *int                `form:"limit,omitempty" json:"limit,omitempty"`
}

ListDirectoryReconcileRunsParams defines parameters for ListDirectoryReconcileRuns.

type ListDirectoryReconcileRunsRequestObject

type ListDirectoryReconcileRunsRequestObject struct {
	Params ListDirectoryReconcileRunsParams
}

type ListDirectoryReconcileRunsResponseObject

type ListDirectoryReconcileRunsResponseObject interface {
	VisitListDirectoryReconcileRunsResponse(w http.ResponseWriter) error
}

type ListEngineBindings200JSONResponse

type ListEngineBindings200JSONResponse []CatalogBinding

func (ListEngineBindings200JSONResponse) VisitListEngineBindingsResponse

func (response ListEngineBindings200JSONResponse) VisitListEngineBindingsResponse(w http.ResponseWriter) error

type ListEngineBindings401JSONResponse

type ListEngineBindings401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListEngineBindings401JSONResponse) VisitListEngineBindingsResponse

func (response ListEngineBindings401JSONResponse) VisitListEngineBindingsResponse(w http.ResponseWriter) error

type ListEngineBindings404JSONResponse

type ListEngineBindings404JSONResponse struct{ NotFoundJSONResponse }

func (ListEngineBindings404JSONResponse) VisitListEngineBindingsResponse

func (response ListEngineBindings404JSONResponse) VisitListEngineBindingsResponse(w http.ResponseWriter) error

type ListEngineBindingsRequestObject

type ListEngineBindingsRequestObject struct {
	Id PathId `json:"id"`
}

type ListEngineBindingsResponseObject

type ListEngineBindingsResponseObject interface {
	VisitListEngineBindingsResponse(w http.ResponseWriter) error
}

type ListEngineObservations200JSONResponse

type ListEngineObservations200JSONResponse []EngineObservation

func (ListEngineObservations200JSONResponse) VisitListEngineObservationsResponse

func (response ListEngineObservations200JSONResponse) VisitListEngineObservationsResponse(w http.ResponseWriter) error

type ListEngineObservations401JSONResponse

type ListEngineObservations401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListEngineObservations401JSONResponse) VisitListEngineObservationsResponse

func (response ListEngineObservations401JSONResponse) VisitListEngineObservationsResponse(w http.ResponseWriter) error

type ListEngineObservations404JSONResponse

type ListEngineObservations404JSONResponse struct{ NotFoundJSONResponse }

func (ListEngineObservations404JSONResponse) VisitListEngineObservationsResponse

func (response ListEngineObservations404JSONResponse) VisitListEngineObservationsResponse(w http.ResponseWriter) error

type ListEngineObservationsRequestObject

type ListEngineObservationsRequestObject struct {
	Id PathId `json:"id"`
}

type ListEngineObservationsResponseObject

type ListEngineObservationsResponseObject interface {
	VisitListEngineObservationsResponse(w http.ResponseWriter) error
}

type ListEngines200JSONResponse

type ListEngines200JSONResponse []Engine

func (ListEngines200JSONResponse) VisitListEnginesResponse

func (response ListEngines200JSONResponse) VisitListEnginesResponse(w http.ResponseWriter) error

type ListEngines401JSONResponse

type ListEngines401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListEngines401JSONResponse) VisitListEnginesResponse

func (response ListEngines401JSONResponse) VisitListEnginesResponse(w http.ResponseWriter) error

type ListEnginesRequestObject

type ListEnginesRequestObject struct {
}

type ListEnginesResponseObject

type ListEnginesResponseObject interface {
	VisitListEnginesResponse(w http.ResponseWriter) error
}

type ListExecutions200JSONResponse

type ListExecutions200JSONResponse struct {
	Data []Execution `json:"data"`

	// NextCursor Pass as cursor for the next page; null on the last one
	NextCursor *string `json:"next_cursor"`
}

func (ListExecutions200JSONResponse) VisitListExecutionsResponse

func (response ListExecutions200JSONResponse) VisitListExecutionsResponse(w http.ResponseWriter) error

type ListExecutions401JSONResponse

type ListExecutions401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListExecutions401JSONResponse) VisitListExecutionsResponse

func (response ListExecutions401JSONResponse) VisitListExecutionsResponse(w http.ResponseWriter) error

type ListExecutions422JSONResponse

type ListExecutions422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (ListExecutions422JSONResponse) VisitListExecutionsResponse

func (response ListExecutions422JSONResponse) VisitListExecutionsResponse(w http.ResponseWriter) error

type ListExecutionsParams

type ListExecutionsParams struct {
	Status *ListExecutionsParamsStatus `form:"status,omitempty" json:"status,omitempty"`

	// Class Only executions classified in this workload class (#549)
	Class *ListExecutionsParamsClass `form:"class,omitempty" json:"class,omitempty"`

	// UserId A user id, or `me` for the caller
	UserId *string `form:"user_id,omitempty" json:"user_id,omitempty"`

	// From Only executions started at or after this instant
	From *time.Time `form:"from,omitempty" json:"from,omitempty"`

	// To Only executions started at or before this instant
	To *time.Time `form:"to,omitempty" json:"to,omitempty"`

	// Q Substring of the SQL (trigram-indexed)
	Q         *string             `form:"q,omitempty" json:"q,omitempty"`
	CatalogId *openapi_types.UUID `form:"catalog_id,omitempty" json:"catalog_id,omitempty"`
	EngineId  *openapi_types.UUID `form:"engine_id,omitempty" json:"engine_id,omitempty"`

	// Cursor next_cursor of the previous page
	Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
	Limit  *int    `form:"limit,omitempty" json:"limit,omitempty"`
}

ListExecutionsParams defines parameters for ListExecutions.

type ListExecutionsParamsClass

type ListExecutionsParamsClass string

ListExecutionsParamsClass defines parameters for ListExecutions.

const (
	ListExecutionsParamsClassBackground  ListExecutionsParamsClass = "background"
	ListExecutionsParamsClassHeavy       ListExecutionsParamsClass = "heavy"
	ListExecutionsParamsClassInteractive ListExecutionsParamsClass = "interactive"
)

Defines values for ListExecutionsParamsClass.

type ListExecutionsParamsStatus

type ListExecutionsParamsStatus string

ListExecutionsParamsStatus defines parameters for ListExecutions.

const (
	ListExecutionsParamsStatusCancelled ListExecutionsParamsStatus = "cancelled"
	ListExecutionsParamsStatusFailed    ListExecutionsParamsStatus = "failed"
	ListExecutionsParamsStatusFinished  ListExecutionsParamsStatus = "finished"
	ListExecutionsParamsStatusQueued    ListExecutionsParamsStatus = "queued"
	ListExecutionsParamsStatusRunning   ListExecutionsParamsStatus = "running"
)

Defines values for ListExecutionsParamsStatus.

type ListExecutionsRequestObject

type ListExecutionsRequestObject struct {
	Id     PathId `json:"id"`
	Params ListExecutionsParams
}

type ListExecutionsResponseObject

type ListExecutionsResponseObject interface {
	VisitListExecutionsResponse(w http.ResponseWriter) error
}

type ListFolders200JSONResponse

type ListFolders200JSONResponse []QueryFolder

func (ListFolders200JSONResponse) VisitListFoldersResponse

func (response ListFolders200JSONResponse) VisitListFoldersResponse(w http.ResponseWriter) error

type ListFolders401JSONResponse

type ListFolders401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListFolders401JSONResponse) VisitListFoldersResponse

func (response ListFolders401JSONResponse) VisitListFoldersResponse(w http.ResponseWriter) error

type ListFoldersParams

type ListFoldersParams struct {
	SpaceId  *openapi_types.UUID `form:"space_id,omitempty" json:"space_id,omitempty"`
	ParentId *openapi_types.UUID `form:"parent_id,omitempty" json:"parent_id,omitempty"`
}

ListFoldersParams defines parameters for ListFolders.

type ListFoldersRequestObject

type ListFoldersRequestObject struct {
	Id     PathId `json:"id"`
	Params ListFoldersParams
}

type ListFoldersResponseObject

type ListFoldersResponseObject interface {
	VisitListFoldersResponse(w http.ResponseWriter) error
}

type ListGrantableWorkspaces200JSONResponse

type ListGrantableWorkspaces200JSONResponse []GrantableWorkspace

func (ListGrantableWorkspaces200JSONResponse) VisitListGrantableWorkspacesResponse

func (response ListGrantableWorkspaces200JSONResponse) VisitListGrantableWorkspacesResponse(w http.ResponseWriter) error

type ListGrantableWorkspaces401JSONResponse

type ListGrantableWorkspaces401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListGrantableWorkspaces401JSONResponse) VisitListGrantableWorkspacesResponse

func (response ListGrantableWorkspaces401JSONResponse) VisitListGrantableWorkspacesResponse(w http.ResponseWriter) error

type ListGrantableWorkspaces404JSONResponse

type ListGrantableWorkspaces404JSONResponse struct{ NotFoundJSONResponse }

func (ListGrantableWorkspaces404JSONResponse) VisitListGrantableWorkspacesResponse

func (response ListGrantableWorkspaces404JSONResponse) VisitListGrantableWorkspacesResponse(w http.ResponseWriter) error

type ListGrantableWorkspacesRequestObject

type ListGrantableWorkspacesRequestObject struct {
	CatalogId openapi_types.UUID `json:"catalog_id"`
}

type ListGrantableWorkspacesResponseObject

type ListGrantableWorkspacesResponseObject interface {
	VisitListGrantableWorkspacesResponse(w http.ResponseWriter) error
}

type ListIdentityProviders200JSONResponse

type ListIdentityProviders200JSONResponse []IdentityProvider

func (ListIdentityProviders200JSONResponse) VisitListIdentityProvidersResponse

func (response ListIdentityProviders200JSONResponse) VisitListIdentityProvidersResponse(w http.ResponseWriter) error

type ListIdentityProviders401JSONResponse

type ListIdentityProviders401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListIdentityProviders401JSONResponse) VisitListIdentityProvidersResponse

func (response ListIdentityProviders401JSONResponse) VisitListIdentityProvidersResponse(w http.ResponseWriter) error

type ListIdentityProviders403JSONResponse

type ListIdentityProviders403JSONResponse struct{ ForbiddenJSONResponse }

func (ListIdentityProviders403JSONResponse) VisitListIdentityProvidersResponse

func (response ListIdentityProviders403JSONResponse) VisitListIdentityProvidersResponse(w http.ResponseWriter) error

type ListIdentityProvidersRequestObject

type ListIdentityProvidersRequestObject struct {
}

type ListIdentityProvidersResponseObject

type ListIdentityProvidersResponseObject interface {
	VisitListIdentityProvidersResponse(w http.ResponseWriter) error
}

type ListJoinSuggestions200JSONResponse

type ListJoinSuggestions200JSONResponse []JoinSuggestion

func (ListJoinSuggestions200JSONResponse) VisitListJoinSuggestionsResponse

func (response ListJoinSuggestions200JSONResponse) VisitListJoinSuggestionsResponse(w http.ResponseWriter) error

type ListJoinSuggestions401JSONResponse

type ListJoinSuggestions401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListJoinSuggestions401JSONResponse) VisitListJoinSuggestionsResponse

func (response ListJoinSuggestions401JSONResponse) VisitListJoinSuggestionsResponse(w http.ResponseWriter) error

type ListJoinSuggestions404JSONResponse

type ListJoinSuggestions404JSONResponse struct{ NotFoundJSONResponse }

func (ListJoinSuggestions404JSONResponse) VisitListJoinSuggestionsResponse

func (response ListJoinSuggestions404JSONResponse) VisitListJoinSuggestionsResponse(w http.ResponseWriter) error

type ListJoinSuggestions422JSONResponse

type ListJoinSuggestions422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (ListJoinSuggestions422JSONResponse) VisitListJoinSuggestionsResponse

func (response ListJoinSuggestions422JSONResponse) VisitListJoinSuggestionsResponse(w http.ResponseWriter) error

type ListJoinSuggestionsParams

type ListJoinSuggestionsParams struct {
	LeftTable  openapi_types.UUID `form:"left_table" json:"left_table"`
	RightTable openapi_types.UUID `form:"right_table" json:"right_table"`
}

ListJoinSuggestionsParams defines parameters for ListJoinSuggestions.

type ListJoinSuggestionsRequestObject

type ListJoinSuggestionsRequestObject struct {
	Id     PathId `json:"id"`
	Params ListJoinSuggestionsParams
}

type ListJoinSuggestionsResponseObject

type ListJoinSuggestionsResponseObject interface {
	VisitListJoinSuggestionsResponse(w http.ResponseWriter) error
}

type ListLineage200JSONResponse

type ListLineage200JSONResponse LineageGraph

func (ListLineage200JSONResponse) VisitListLineageResponse

func (response ListLineage200JSONResponse) VisitListLineageResponse(w http.ResponseWriter) error

type ListLineage401JSONResponse

type ListLineage401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListLineage401JSONResponse) VisitListLineageResponse

func (response ListLineage401JSONResponse) VisitListLineageResponse(w http.ResponseWriter) error

type ListLineage404JSONResponse

type ListLineage404JSONResponse struct{ NotFoundJSONResponse }

func (ListLineage404JSONResponse) VisitListLineageResponse

func (response ListLineage404JSONResponse) VisitListLineageResponse(w http.ResponseWriter) error

type ListLineage422JSONResponse

type ListLineage422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (ListLineage422JSONResponse) VisitListLineageResponse

func (response ListLineage422JSONResponse) VisitListLineageResponse(w http.ResponseWriter) error

type ListLineageParams

type ListLineageParams struct {
	Node      string                      `form:"node" json:"node"`
	Direction *ListLineageParamsDirection `form:"direction,omitempty" json:"direction,omitempty"`
	Depth     *int                        `form:"depth,omitempty" json:"depth,omitempty"`
}

ListLineageParams defines parameters for ListLineage.

type ListLineageParamsDirection

type ListLineageParamsDirection string

ListLineageParamsDirection defines parameters for ListLineage.

const (
	Down ListLineageParamsDirection = "down"
	Up   ListLineageParamsDirection = "up"
)

Defines values for ListLineageParamsDirection.

type ListLineageRequestObject

type ListLineageRequestObject struct {
	Id     PathId `json:"id"`
	Params ListLineageParams
}

type ListLineageResponseObject

type ListLineageResponseObject interface {
	VisitListLineageResponse(w http.ResponseWriter) error
}

type ListMaintenanceRuns200JSONResponse

type ListMaintenanceRuns200JSONResponse []MaintenanceRun

func (ListMaintenanceRuns200JSONResponse) VisitListMaintenanceRunsResponse

func (response ListMaintenanceRuns200JSONResponse) VisitListMaintenanceRunsResponse(w http.ResponseWriter) error

type ListMaintenanceRuns401JSONResponse

type ListMaintenanceRuns401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListMaintenanceRuns401JSONResponse) VisitListMaintenanceRunsResponse

func (response ListMaintenanceRuns401JSONResponse) VisitListMaintenanceRunsResponse(w http.ResponseWriter) error

type ListMaintenanceRuns404JSONResponse

type ListMaintenanceRuns404JSONResponse struct{ NotFoundJSONResponse }

func (ListMaintenanceRuns404JSONResponse) VisitListMaintenanceRunsResponse

func (response ListMaintenanceRuns404JSONResponse) VisitListMaintenanceRunsResponse(w http.ResponseWriter) error

type ListMaintenanceRunsParams

type ListMaintenanceRunsParams struct {
	Trigger   *ListMaintenanceRunsParamsTrigger `form:"trigger,omitempty" json:"trigger,omitempty"`
	Operation *MaintenanceOperation             `form:"operation,omitempty" json:"operation,omitempty"`
	Status    *ListMaintenanceRunsParamsStatus  `form:"status,omitempty" json:"status,omitempty"`
	Ns        *string                           `form:"ns,omitempty" json:"ns,omitempty"`
	Table     *string                           `form:"table,omitempty" json:"table,omitempty"`
	Limit     *int                              `form:"limit,omitempty" json:"limit,omitempty"`
	Offset    *int                              `form:"offset,omitempty" json:"offset,omitempty"`
}

ListMaintenanceRunsParams defines parameters for ListMaintenanceRuns.

type ListMaintenanceRunsParamsStatus

type ListMaintenanceRunsParamsStatus string

ListMaintenanceRunsParamsStatus defines parameters for ListMaintenanceRuns.

const (
	ListMaintenanceRunsParamsStatusDryRun   ListMaintenanceRunsParamsStatus = "dry_run"
	ListMaintenanceRunsParamsStatusFailed   ListMaintenanceRunsParamsStatus = "failed"
	ListMaintenanceRunsParamsStatusFinished ListMaintenanceRunsParamsStatus = "finished"
	ListMaintenanceRunsParamsStatusGaveUp   ListMaintenanceRunsParamsStatus = "gave_up"
	ListMaintenanceRunsParamsStatusRunning  ListMaintenanceRunsParamsStatus = "running"
)

Defines values for ListMaintenanceRunsParamsStatus.

type ListMaintenanceRunsParamsTrigger

type ListMaintenanceRunsParamsTrigger string

ListMaintenanceRunsParamsTrigger defines parameters for ListMaintenanceRuns.

const (
	ListMaintenanceRunsParamsTriggerAutomatic ListMaintenanceRunsParamsTrigger = "automatic"
	ListMaintenanceRunsParamsTriggerDryRun    ListMaintenanceRunsParamsTrigger = "dry_run"
	ListMaintenanceRunsParamsTriggerManual    ListMaintenanceRunsParamsTrigger = "manual"
)

Defines values for ListMaintenanceRunsParamsTrigger.

type ListMaintenanceRunsRequestObject

type ListMaintenanceRunsRequestObject struct {
	CatalogId openapi_types.UUID `json:"catalog_id"`
	Params    ListMaintenanceRunsParams
}

type ListMaintenanceRunsResponseObject

type ListMaintenanceRunsResponseObject interface {
	VisitListMaintenanceRunsResponse(w http.ResponseWriter) error
}

type ListMetadataCatalogs200JSONResponse

type ListMetadataCatalogs200JSONResponse []MetadataCatalog

func (ListMetadataCatalogs200JSONResponse) VisitListMetadataCatalogsResponse

func (response ListMetadataCatalogs200JSONResponse) VisitListMetadataCatalogsResponse(w http.ResponseWriter) error

type ListMetadataCatalogs401JSONResponse

type ListMetadataCatalogs401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListMetadataCatalogs401JSONResponse) VisitListMetadataCatalogsResponse

func (response ListMetadataCatalogs401JSONResponse) VisitListMetadataCatalogsResponse(w http.ResponseWriter) error

type ListMetadataCatalogs404JSONResponse

type ListMetadataCatalogs404JSONResponse struct{ NotFoundJSONResponse }

func (ListMetadataCatalogs404JSONResponse) VisitListMetadataCatalogsResponse

func (response ListMetadataCatalogs404JSONResponse) VisitListMetadataCatalogsResponse(w http.ResponseWriter) error

type ListMetadataCatalogsRequestObject

type ListMetadataCatalogsRequestObject struct {
	Id PathId `json:"id"`
}

type ListMetadataCatalogsResponseObject

type ListMetadataCatalogsResponseObject interface {
	VisitListMetadataCatalogsResponse(w http.ResponseWriter) error
}

type ListMetadataFunctions200JSONResponse

type ListMetadataFunctions200JSONResponse []DialectFunction

func (ListMetadataFunctions200JSONResponse) VisitListMetadataFunctionsResponse

func (response ListMetadataFunctions200JSONResponse) VisitListMetadataFunctionsResponse(w http.ResponseWriter) error

type ListMetadataFunctions401JSONResponse

type ListMetadataFunctions401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListMetadataFunctions401JSONResponse) VisitListMetadataFunctionsResponse

func (response ListMetadataFunctions401JSONResponse) VisitListMetadataFunctionsResponse(w http.ResponseWriter) error

type ListMetadataFunctions404JSONResponse

type ListMetadataFunctions404JSONResponse struct{ NotFoundJSONResponse }

func (ListMetadataFunctions404JSONResponse) VisitListMetadataFunctionsResponse

func (response ListMetadataFunctions404JSONResponse) VisitListMetadataFunctionsResponse(w http.ResponseWriter) error

type ListMetadataFunctions422JSONResponse

type ListMetadataFunctions422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (ListMetadataFunctions422JSONResponse) VisitListMetadataFunctionsResponse

func (response ListMetadataFunctions422JSONResponse) VisitListMetadataFunctionsResponse(w http.ResponseWriter) error

type ListMetadataFunctionsParams

type ListMetadataFunctionsParams struct {
	CatalogId openapi_types.UUID  `form:"catalog_id" json:"catalog_id"`
	BindingId *openapi_types.UUID `form:"binding_id,omitempty" json:"binding_id,omitempty"`
	EngineId  *openapi_types.UUID `form:"engine_id,omitempty" json:"engine_id,omitempty"`
}

ListMetadataFunctionsParams defines parameters for ListMetadataFunctions.

type ListMetadataFunctionsRequestObject

type ListMetadataFunctionsRequestObject struct {
	Id     PathId `json:"id"`
	Params ListMetadataFunctionsParams
}

type ListMetadataFunctionsResponseObject

type ListMetadataFunctionsResponseObject interface {
	VisitListMetadataFunctionsResponse(w http.ResponseWriter) error
}

type ListMetadataNamespaces200JSONResponse

type ListMetadataNamespaces200JSONResponse MetadataNamespaceList

func (ListMetadataNamespaces200JSONResponse) VisitListMetadataNamespacesResponse

func (response ListMetadataNamespaces200JSONResponse) VisitListMetadataNamespacesResponse(w http.ResponseWriter) error

type ListMetadataNamespaces401JSONResponse

type ListMetadataNamespaces401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListMetadataNamespaces401JSONResponse) VisitListMetadataNamespacesResponse

func (response ListMetadataNamespaces401JSONResponse) VisitListMetadataNamespacesResponse(w http.ResponseWriter) error

type ListMetadataNamespaces404JSONResponse

type ListMetadataNamespaces404JSONResponse struct{ NotFoundJSONResponse }

func (ListMetadataNamespaces404JSONResponse) VisitListMetadataNamespacesResponse

func (response ListMetadataNamespaces404JSONResponse) VisitListMetadataNamespacesResponse(w http.ResponseWriter) error

type ListMetadataNamespacesParams

type ListMetadataNamespacesParams struct {
	// Parent The parent namespace, one value per level (parent=a&parent=b is a.b); a dot inside a level is part of its name
	Parent *[]string `form:"parent,omitempty" json:"parent,omitempty"`
}

ListMetadataNamespacesParams defines parameters for ListMetadataNamespaces.

type ListMetadataNamespacesRequestObject

type ListMetadataNamespacesRequestObject struct {
	Id        PathId             `json:"id"`
	CatalogId openapi_types.UUID `json:"catalog_id"`
	Params    ListMetadataNamespacesParams
}

type ListMetadataNamespacesResponseObject

type ListMetadataNamespacesResponseObject interface {
	VisitListMetadataNamespacesResponse(w http.ResponseWriter) error
}

type ListMetadataTables200JSONResponse

type ListMetadataTables200JSONResponse MetadataTablePage

func (ListMetadataTables200JSONResponse) VisitListMetadataTablesResponse

func (response ListMetadataTables200JSONResponse) VisitListMetadataTablesResponse(w http.ResponseWriter) error

type ListMetadataTables401JSONResponse

type ListMetadataTables401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListMetadataTables401JSONResponse) VisitListMetadataTablesResponse

func (response ListMetadataTables401JSONResponse) VisitListMetadataTablesResponse(w http.ResponseWriter) error

type ListMetadataTables404JSONResponse

type ListMetadataTables404JSONResponse struct{ NotFoundJSONResponse }

func (ListMetadataTables404JSONResponse) VisitListMetadataTablesResponse

func (response ListMetadataTables404JSONResponse) VisitListMetadataTablesResponse(w http.ResponseWriter) error

type ListMetadataTables422JSONResponse

type ListMetadataTables422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (ListMetadataTables422JSONResponse) VisitListMetadataTablesResponse

func (response ListMetadataTables422JSONResponse) VisitListMetadataTablesResponse(w http.ResponseWriter) error

type ListMetadataTablesParams

type ListMetadataTablesParams struct {
	// Ns The namespace, one value per level (ns=a&ns=b is a.b); none: tables without a namespace (SQLite)
	Ns *[]string `form:"ns,omitempty" json:"ns,omitempty"`

	// Cursor next_cursor of the previous page
	Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
	Limit  *int    `form:"limit,omitempty" json:"limit,omitempty"`
}

ListMetadataTablesParams defines parameters for ListMetadataTables.

type ListMetadataTablesRequestObject

type ListMetadataTablesRequestObject struct {
	Id        PathId             `json:"id"`
	CatalogId openapi_types.UUID `json:"catalog_id"`
	Params    ListMetadataTablesParams
}

type ListMetadataTablesResponseObject

type ListMetadataTablesResponseObject interface {
	VisitListMetadataTablesResponse(w http.ResponseWriter) error
}

type ListMigrationItems200JSONResponse

type ListMigrationItems200JSONResponse struct {
	Data       *[]MigrationItem `json:"data,omitempty"`
	Pagination *Pagination      `json:"pagination,omitempty"`
}

func (ListMigrationItems200JSONResponse) VisitListMigrationItemsResponse

func (response ListMigrationItems200JSONResponse) VisitListMigrationItemsResponse(w http.ResponseWriter) error

type ListMigrationItems401JSONResponse

type ListMigrationItems401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListMigrationItems401JSONResponse) VisitListMigrationItemsResponse

func (response ListMigrationItems401JSONResponse) VisitListMigrationItemsResponse(w http.ResponseWriter) error

type ListMigrationItems404JSONResponse

type ListMigrationItems404JSONResponse struct{ NotFoundJSONResponse }

func (ListMigrationItems404JSONResponse) VisitListMigrationItemsResponse

func (response ListMigrationItems404JSONResponse) VisitListMigrationItemsResponse(w http.ResponseWriter) error

type ListMigrationItemsParams

type ListMigrationItemsParams struct {
	Status  *ListMigrationItemsParamsStatus `form:"status,omitempty" json:"status,omitempty"`
	Page    *QueryPage                      `form:"page,omitempty" json:"page,omitempty"`
	PerPage *QueryPerPage                   `form:"per_page,omitempty" json:"per_page,omitempty"`
}

ListMigrationItemsParams defines parameters for ListMigrationItems.

type ListMigrationItemsParamsStatus

type ListMigrationItemsParamsStatus string

ListMigrationItemsParamsStatus defines parameters for ListMigrationItems.

const (
	ListMigrationItemsParamsStatusFailed   ListMigrationItemsParamsStatus = "failed"
	ListMigrationItemsParamsStatusFinished ListMigrationItemsParamsStatus = "finished"
	ListMigrationItemsParamsStatusPending  ListMigrationItemsParamsStatus = "pending"
	ListMigrationItemsParamsStatusRunning  ListMigrationItemsParamsStatus = "running"
	ListMigrationItemsParamsStatusSkipped  ListMigrationItemsParamsStatus = "skipped"
)

Defines values for ListMigrationItemsParamsStatus.

type ListMigrationItemsRequestObject

type ListMigrationItemsRequestObject struct {
	Id     PathId `json:"id"`
	Params ListMigrationItemsParams
}

type ListMigrationItemsResponseObject

type ListMigrationItemsResponseObject interface {
	VisitListMigrationItemsResponse(w http.ResponseWriter) error
}

type ListMigrations200JSONResponse

type ListMigrations200JSONResponse []Migration

func (ListMigrations200JSONResponse) VisitListMigrationsResponse

func (response ListMigrations200JSONResponse) VisitListMigrationsResponse(w http.ResponseWriter) error

type ListMigrations401JSONResponse

type ListMigrations401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListMigrations401JSONResponse) VisitListMigrationsResponse

func (response ListMigrations401JSONResponse) VisitListMigrationsResponse(w http.ResponseWriter) error

type ListMigrations403JSONResponse

type ListMigrations403JSONResponse struct{ ForbiddenJSONResponse }

func (ListMigrations403JSONResponse) VisitListMigrationsResponse

func (response ListMigrations403JSONResponse) VisitListMigrationsResponse(w http.ResponseWriter) error

type ListMigrationsRequestObject

type ListMigrationsRequestObject struct {
}

type ListMigrationsResponseObject

type ListMigrationsResponseObject interface {
	VisitListMigrationsResponse(w http.ResponseWriter) error
}

type ListMonitoringEngines200JSONResponse

type ListMonitoringEngines200JSONResponse []MonitoringEngine

func (ListMonitoringEngines200JSONResponse) VisitListMonitoringEnginesResponse

func (response ListMonitoringEngines200JSONResponse) VisitListMonitoringEnginesResponse(w http.ResponseWriter) error

type ListMonitoringEngines401JSONResponse

type ListMonitoringEngines401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListMonitoringEngines401JSONResponse) VisitListMonitoringEnginesResponse

func (response ListMonitoringEngines401JSONResponse) VisitListMonitoringEnginesResponse(w http.ResponseWriter) error

type ListMonitoringEnginesRequestObject

type ListMonitoringEnginesRequestObject struct {
}

type ListMonitoringEnginesResponseObject

type ListMonitoringEnginesResponseObject interface {
	VisitListMonitoringEnginesResponse(w http.ResponseWriter) error
}

type ListMonitoringQueries200JSONResponse

type ListMonitoringQueries200JSONResponse MonitoringQueryPage

func (ListMonitoringQueries200JSONResponse) VisitListMonitoringQueriesResponse

func (response ListMonitoringQueries200JSONResponse) VisitListMonitoringQueriesResponse(w http.ResponseWriter) error

type ListMonitoringQueries401JSONResponse

type ListMonitoringQueries401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListMonitoringQueries401JSONResponse) VisitListMonitoringQueriesResponse

func (response ListMonitoringQueries401JSONResponse) VisitListMonitoringQueriesResponse(w http.ResponseWriter) error

type ListMonitoringQueries403JSONResponse

type ListMonitoringQueries403JSONResponse struct{ ForbiddenJSONResponse }

func (ListMonitoringQueries403JSONResponse) VisitListMonitoringQueriesResponse

func (response ListMonitoringQueries403JSONResponse) VisitListMonitoringQueriesResponse(w http.ResponseWriter) error

type ListMonitoringQueries404JSONResponse

type ListMonitoringQueries404JSONResponse struct{ NotFoundJSONResponse }

func (ListMonitoringQueries404JSONResponse) VisitListMonitoringQueriesResponse

func (response ListMonitoringQueries404JSONResponse) VisitListMonitoringQueriesResponse(w http.ResponseWriter) error

type ListMonitoringQueriesParams

type ListMonitoringQueriesParams struct {
	State  *string `form:"state,omitempty" json:"state,omitempty"`
	Scope  *string `form:"scope,omitempty" json:"scope,omitempty"`
	Q      *string `form:"q,omitempty" json:"q,omitempty"`
	Limit  *int    `form:"limit,omitempty" json:"limit,omitempty"`
	Offset *int    `form:"offset,omitempty" json:"offset,omitempty"`
}

ListMonitoringQueriesParams defines parameters for ListMonitoringQueries.

type ListMonitoringQueriesRequestObject

type ListMonitoringQueriesRequestObject struct {
	Id     PathId `json:"id"`
	Params ListMonitoringQueriesParams
}

type ListMonitoringQueriesResponseObject

type ListMonitoringQueriesResponseObject interface {
	VisitListMonitoringQueriesResponse(w http.ResponseWriter) error
}

type ListOIDCProviders200JSONResponse

type ListOIDCProviders200JSONResponse []OIDCProvider

func (ListOIDCProviders200JSONResponse) VisitListOIDCProvidersResponse

func (response ListOIDCProviders200JSONResponse) VisitListOIDCProvidersResponse(w http.ResponseWriter) error

type ListOIDCProvidersRequestObject

type ListOIDCProvidersRequestObject struct {
}

type ListOIDCProvidersResponseObject

type ListOIDCProvidersResponseObject interface {
	VisitListOIDCProvidersResponse(w http.ResponseWriter) error
}

type ListPopularTables200JSONResponse

type ListPopularTables200JSONResponse []PopularTable

func (ListPopularTables200JSONResponse) VisitListPopularTablesResponse

func (response ListPopularTables200JSONResponse) VisitListPopularTablesResponse(w http.ResponseWriter) error

type ListPopularTables401JSONResponse

type ListPopularTables401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListPopularTables401JSONResponse) VisitListPopularTablesResponse

func (response ListPopularTables401JSONResponse) VisitListPopularTablesResponse(w http.ResponseWriter) error

type ListPopularTables404JSONResponse

type ListPopularTables404JSONResponse struct{ NotFoundJSONResponse }

func (ListPopularTables404JSONResponse) VisitListPopularTablesResponse

func (response ListPopularTables404JSONResponse) VisitListPopularTablesResponse(w http.ResponseWriter) error

type ListPopularTablesParams

type ListPopularTablesParams struct {
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}

ListPopularTablesParams defines parameters for ListPopularTables.

type ListPopularTablesRequestObject

type ListPopularTablesRequestObject struct {
	Id     PathId `json:"id"`
	Params ListPopularTablesParams
}

type ListPopularTablesResponseObject

type ListPopularTablesResponseObject interface {
	VisitListPopularTablesResponse(w http.ResponseWriter) error
}

type ListReconcileRuns200JSONResponse

type ListReconcileRuns200JSONResponse []ReconcileRun

func (ListReconcileRuns200JSONResponse) VisitListReconcileRunsResponse

func (response ListReconcileRuns200JSONResponse) VisitListReconcileRunsResponse(w http.ResponseWriter) error

type ListReconcileRuns401JSONResponse

type ListReconcileRuns401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListReconcileRuns401JSONResponse) VisitListReconcileRunsResponse

func (response ListReconcileRuns401JSONResponse) VisitListReconcileRunsResponse(w http.ResponseWriter) error

type ListReconcileRuns403JSONResponse

type ListReconcileRuns403JSONResponse struct{ ForbiddenJSONResponse }

func (ListReconcileRuns403JSONResponse) VisitListReconcileRunsResponse

func (response ListReconcileRuns403JSONResponse) VisitListReconcileRunsResponse(w http.ResponseWriter) error

type ListReconcileRuns404JSONResponse

type ListReconcileRuns404JSONResponse struct{ NotFoundJSONResponse }

func (ListReconcileRuns404JSONResponse) VisitListReconcileRunsResponse

func (response ListReconcileRuns404JSONResponse) VisitListReconcileRunsResponse(w http.ResponseWriter) error

type ListReconcileRunsParams

type ListReconcileRunsParams struct {
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}

ListReconcileRunsParams defines parameters for ListReconcileRuns.

type ListReconcileRunsRequestObject

type ListReconcileRunsRequestObject struct {
	Id     PathId `json:"id"`
	Params ListReconcileRunsParams
}

type ListReconcileRunsResponseObject

type ListReconcileRunsResponseObject interface {
	VisitListReconcileRunsResponse(w http.ResponseWriter) error
}

type ListRequestableCatalogs200JSONResponse

type ListRequestableCatalogs200JSONResponse []RequestableCatalog

func (ListRequestableCatalogs200JSONResponse) VisitListRequestableCatalogsResponse

func (response ListRequestableCatalogs200JSONResponse) VisitListRequestableCatalogsResponse(w http.ResponseWriter) error

type ListRequestableCatalogs401JSONResponse

type ListRequestableCatalogs401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListRequestableCatalogs401JSONResponse) VisitListRequestableCatalogsResponse

func (response ListRequestableCatalogs401JSONResponse) VisitListRequestableCatalogsResponse(w http.ResponseWriter) error

type ListRequestableCatalogs404JSONResponse

type ListRequestableCatalogs404JSONResponse struct{ NotFoundJSONResponse }

func (ListRequestableCatalogs404JSONResponse) VisitListRequestableCatalogsResponse

func (response ListRequestableCatalogs404JSONResponse) VisitListRequestableCatalogsResponse(w http.ResponseWriter) error

type ListRequestableCatalogsRequestObject

type ListRequestableCatalogsRequestObject struct {
	Id PathId `json:"id"`
}

type ListRequestableCatalogsResponseObject

type ListRequestableCatalogsResponseObject interface {
	VisitListRequestableCatalogsResponse(w http.ResponseWriter) error
}

type ListRetrieverDestinations200JSONResponse

type ListRetrieverDestinations200JSONResponse []RetrieverDestination

func (ListRetrieverDestinations200JSONResponse) VisitListRetrieverDestinationsResponse

func (response ListRetrieverDestinations200JSONResponse) VisitListRetrieverDestinationsResponse(w http.ResponseWriter) error

type ListRetrieverDestinations401JSONResponse

type ListRetrieverDestinations401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListRetrieverDestinations401JSONResponse) VisitListRetrieverDestinationsResponse

func (response ListRetrieverDestinations401JSONResponse) VisitListRetrieverDestinationsResponse(w http.ResponseWriter) error

type ListRetrieverDestinationsRequestObject

type ListRetrieverDestinationsRequestObject struct {
	Id PathId `json:"id"`
}

type ListRetrieverDestinationsResponseObject

type ListRetrieverDestinationsResponseObject interface {
	VisitListRetrieverDestinationsResponse(w http.ResponseWriter) error
}

type ListRetrievers200JSONResponse

type ListRetrievers200JSONResponse []Retriever

func (ListRetrievers200JSONResponse) VisitListRetrieversResponse

func (response ListRetrievers200JSONResponse) VisitListRetrieversResponse(w http.ResponseWriter) error

type ListRetrievers401JSONResponse

type ListRetrievers401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListRetrievers401JSONResponse) VisitListRetrieversResponse

func (response ListRetrievers401JSONResponse) VisitListRetrieversResponse(w http.ResponseWriter) error

type ListRetrieversRequestObject

type ListRetrieversRequestObject struct {
	Id PathId `json:"id"`
}

type ListRetrieversResponseObject

type ListRetrieversResponseObject interface {
	VisitListRetrieversResponse(w http.ResponseWriter) error
}

type ListSavedQueries200JSONResponse

type ListSavedQueries200JSONResponse []SavedQuery

func (ListSavedQueries200JSONResponse) VisitListSavedQueriesResponse

func (response ListSavedQueries200JSONResponse) VisitListSavedQueriesResponse(w http.ResponseWriter) error

type ListSavedQueries401JSONResponse

type ListSavedQueries401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListSavedQueries401JSONResponse) VisitListSavedQueriesResponse

func (response ListSavedQueries401JSONResponse) VisitListSavedQueriesResponse(w http.ResponseWriter) error

type ListSavedQueries422JSONResponse

type ListSavedQueries422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (ListSavedQueries422JSONResponse) VisitListSavedQueriesResponse

func (response ListSavedQueries422JSONResponse) VisitListSavedQueriesResponse(w http.ResponseWriter) error

type ListSavedQueriesParams

type ListSavedQueriesParams struct {
	SpaceId  *openapi_types.UUID `form:"space_id,omitempty" json:"space_id,omitempty"`
	FolderId *openapi_types.UUID `form:"folder_id,omitempty" json:"folder_id,omitempty"`

	// Q Substring of the name or slug
	Q     *string `form:"q,omitempty" json:"q,omitempty"`
	Limit *int    `form:"limit,omitempty" json:"limit,omitempty"`
}

ListSavedQueriesParams defines parameters for ListSavedQueries.

type ListSavedQueriesRequestObject

type ListSavedQueriesRequestObject struct {
	Id     PathId `json:"id"`
	Params ListSavedQueriesParams
}

type ListSavedQueriesResponseObject

type ListSavedQueriesResponseObject interface {
	VisitListSavedQueriesResponse(w http.ResponseWriter) error
}

type ListSavedQueryVersions200JSONResponse

type ListSavedQueryVersions200JSONResponse []ContentVersion

func (ListSavedQueryVersions200JSONResponse) VisitListSavedQueryVersionsResponse

func (response ListSavedQueryVersions200JSONResponse) VisitListSavedQueryVersionsResponse(w http.ResponseWriter) error

type ListSavedQueryVersions401JSONResponse

type ListSavedQueryVersions401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListSavedQueryVersions401JSONResponse) VisitListSavedQueryVersionsResponse

func (response ListSavedQueryVersions401JSONResponse) VisitListSavedQueryVersionsResponse(w http.ResponseWriter) error

type ListSavedQueryVersions403JSONResponse

type ListSavedQueryVersions403JSONResponse struct{ ForbiddenJSONResponse }

func (ListSavedQueryVersions403JSONResponse) VisitListSavedQueryVersionsResponse

func (response ListSavedQueryVersions403JSONResponse) VisitListSavedQueryVersionsResponse(w http.ResponseWriter) error

type ListSavedQueryVersions404JSONResponse

type ListSavedQueryVersions404JSONResponse struct{ NotFoundJSONResponse }

func (ListSavedQueryVersions404JSONResponse) VisitListSavedQueryVersionsResponse

func (response ListSavedQueryVersions404JSONResponse) VisitListSavedQueryVersionsResponse(w http.ResponseWriter) error

type ListSavedQueryVersionsParams

type ListSavedQueryVersionsParams struct {
	Limit  *int `form:"limit,omitempty" json:"limit,omitempty"`
	Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
}

ListSavedQueryVersionsParams defines parameters for ListSavedQueryVersions.

type ListSavedQueryVersionsRequestObject

type ListSavedQueryVersionsRequestObject struct {
	Id      PathId             `json:"id"`
	QueryId openapi_types.UUID `json:"query_id"`
	Params  ListSavedQueryVersionsParams
}

type ListSavedQueryVersionsResponseObject

type ListSavedQueryVersionsResponseObject interface {
	VisitListSavedQueryVersionsResponse(w http.ResponseWriter) error
}

type ListSearchGlossary200JSONResponse

type ListSearchGlossary200JSONResponse SearchGlossary

func (ListSearchGlossary200JSONResponse) VisitListSearchGlossaryResponse

func (response ListSearchGlossary200JSONResponse) VisitListSearchGlossaryResponse(w http.ResponseWriter) error

type ListSearchGlossary401JSONResponse

type ListSearchGlossary401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListSearchGlossary401JSONResponse) VisitListSearchGlossaryResponse

func (response ListSearchGlossary401JSONResponse) VisitListSearchGlossaryResponse(w http.ResponseWriter) error

type ListSearchGlossary404JSONResponse

type ListSearchGlossary404JSONResponse struct{ NotFoundJSONResponse }

func (ListSearchGlossary404JSONResponse) VisitListSearchGlossaryResponse

func (response ListSearchGlossary404JSONResponse) VisitListSearchGlossaryResponse(w http.ResponseWriter) error

type ListSearchGlossaryRequestObject

type ListSearchGlossaryRequestObject struct {
	Id PathId `json:"id"`
}

type ListSearchGlossaryResponseObject

type ListSearchGlossaryResponseObject interface {
	VisitListSearchGlossaryResponse(w http.ResponseWriter) error
}

type ListSemanticDocs200JSONResponse

type ListSemanticDocs200JSONResponse []SemanticDoc

func (ListSemanticDocs200JSONResponse) VisitListSemanticDocsResponse

func (response ListSemanticDocs200JSONResponse) VisitListSemanticDocsResponse(w http.ResponseWriter) error

type ListSemanticDocs401JSONResponse

type ListSemanticDocs401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListSemanticDocs401JSONResponse) VisitListSemanticDocsResponse

func (response ListSemanticDocs401JSONResponse) VisitListSemanticDocsResponse(w http.ResponseWriter) error

type ListSemanticDocs404JSONResponse

type ListSemanticDocs404JSONResponse struct{ NotFoundJSONResponse }

func (ListSemanticDocs404JSONResponse) VisitListSemanticDocsResponse

func (response ListSemanticDocs404JSONResponse) VisitListSemanticDocsResponse(w http.ResponseWriter) error

type ListSemanticDocsParams

type ListSemanticDocsParams struct {
	CatalogId openapi_types.UUID `form:"catalog_id" json:"catalog_id"`

	// Ns The namespace, one value per level (ns=a&ns=b is a.b)
	Ns    []string `form:"ns" json:"ns"`
	Table string   `form:"table" json:"table"`

	// Column Narrow to one column; omitted returns the table-level and every column doc
	Column *string `form:"column,omitempty" json:"column,omitempty"`
}

ListSemanticDocsParams defines parameters for ListSemanticDocs.

type ListSemanticDocsRequestObject

type ListSemanticDocsRequestObject struct {
	Id     PathId `json:"id"`
	Params ListSemanticDocsParams
}

type ListSemanticDocsResponseObject

type ListSemanticDocsResponseObject interface {
	VisitListSemanticDocsResponse(w http.ResponseWriter) error
}

type ListSemanticMetricVersions200JSONResponse

type ListSemanticMetricVersions200JSONResponse []ContentVersion

func (ListSemanticMetricVersions200JSONResponse) VisitListSemanticMetricVersionsResponse

func (response ListSemanticMetricVersions200JSONResponse) VisitListSemanticMetricVersionsResponse(w http.ResponseWriter) error

type ListSemanticMetricVersions401JSONResponse

type ListSemanticMetricVersions401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListSemanticMetricVersions401JSONResponse) VisitListSemanticMetricVersionsResponse

func (response ListSemanticMetricVersions401JSONResponse) VisitListSemanticMetricVersionsResponse(w http.ResponseWriter) error

type ListSemanticMetricVersions403JSONResponse

type ListSemanticMetricVersions403JSONResponse struct{ ForbiddenJSONResponse }

func (ListSemanticMetricVersions403JSONResponse) VisitListSemanticMetricVersionsResponse

func (response ListSemanticMetricVersions403JSONResponse) VisitListSemanticMetricVersionsResponse(w http.ResponseWriter) error

type ListSemanticMetricVersions404JSONResponse

type ListSemanticMetricVersions404JSONResponse struct{ NotFoundJSONResponse }

func (ListSemanticMetricVersions404JSONResponse) VisitListSemanticMetricVersionsResponse

func (response ListSemanticMetricVersions404JSONResponse) VisitListSemanticMetricVersionsResponse(w http.ResponseWriter) error

type ListSemanticMetricVersionsParams

type ListSemanticMetricVersionsParams struct {
	Limit  *int `form:"limit,omitempty" json:"limit,omitempty"`
	Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
}

ListSemanticMetricVersionsParams defines parameters for ListSemanticMetricVersions.

type ListSemanticMetricVersionsRequestObject

type ListSemanticMetricVersionsRequestObject struct {
	Id       PathId             `json:"id"`
	MetricId openapi_types.UUID `json:"metric_id"`
	Params   ListSemanticMetricVersionsParams
}

type ListSemanticMetricVersionsResponseObject

type ListSemanticMetricVersionsResponseObject interface {
	VisitListSemanticMetricVersionsResponse(w http.ResponseWriter) error
}

type ListSemanticMetrics200JSONResponse

type ListSemanticMetrics200JSONResponse []SemanticMetric

func (ListSemanticMetrics200JSONResponse) VisitListSemanticMetricsResponse

func (response ListSemanticMetrics200JSONResponse) VisitListSemanticMetricsResponse(w http.ResponseWriter) error

type ListSemanticMetrics401JSONResponse

type ListSemanticMetrics401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListSemanticMetrics401JSONResponse) VisitListSemanticMetricsResponse

func (response ListSemanticMetrics401JSONResponse) VisitListSemanticMetricsResponse(w http.ResponseWriter) error

type ListSemanticMetrics404JSONResponse

type ListSemanticMetrics404JSONResponse struct{ NotFoundJSONResponse }

func (ListSemanticMetrics404JSONResponse) VisitListSemanticMetricsResponse

func (response ListSemanticMetrics404JSONResponse) VisitListSemanticMetricsResponse(w http.ResponseWriter) error

type ListSemanticMetrics422JSONResponse

type ListSemanticMetrics422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (ListSemanticMetrics422JSONResponse) VisitListSemanticMetricsResponse

func (response ListSemanticMetrics422JSONResponse) VisitListSemanticMetricsResponse(w http.ResponseWriter) error

type ListSemanticMetricsParams

type ListSemanticMetricsParams struct {
	Q         *string             `form:"q,omitempty" json:"q,omitempty"`
	SpaceId   *openapi_types.UUID `form:"space_id,omitempty" json:"space_id,omitempty"`
	CatalogId *openapi_types.UUID `form:"catalog_id,omitempty" json:"catalog_id,omitempty"`
	Certified *bool               `form:"certified,omitempty" json:"certified,omitempty"`
	OwnerId   *openapi_types.UUID `form:"owner_id,omitempty" json:"owner_id,omitempty"`
	Limit     *int                `form:"limit,omitempty" json:"limit,omitempty"`
}

ListSemanticMetricsParams defines parameters for ListSemanticMetrics.

type ListSemanticMetricsRequestObject

type ListSemanticMetricsRequestObject struct {
	Id     PathId `json:"id"`
	Params ListSemanticMetricsParams
}

type ListSemanticMetricsResponseObject

type ListSemanticMetricsResponseObject interface {
	VisitListSemanticMetricsResponse(w http.ResponseWriter) error
}

type ListSemanticModelVersions200JSONResponse

type ListSemanticModelVersions200JSONResponse []ContentVersion

func (ListSemanticModelVersions200JSONResponse) VisitListSemanticModelVersionsResponse

func (response ListSemanticModelVersions200JSONResponse) VisitListSemanticModelVersionsResponse(w http.ResponseWriter) error

type ListSemanticModelVersions401JSONResponse

type ListSemanticModelVersions401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListSemanticModelVersions401JSONResponse) VisitListSemanticModelVersionsResponse

func (response ListSemanticModelVersions401JSONResponse) VisitListSemanticModelVersionsResponse(w http.ResponseWriter) error

type ListSemanticModelVersions403JSONResponse

type ListSemanticModelVersions403JSONResponse struct{ ForbiddenJSONResponse }

func (ListSemanticModelVersions403JSONResponse) VisitListSemanticModelVersionsResponse

func (response ListSemanticModelVersions403JSONResponse) VisitListSemanticModelVersionsResponse(w http.ResponseWriter) error

type ListSemanticModelVersions404JSONResponse

type ListSemanticModelVersions404JSONResponse struct{ NotFoundJSONResponse }

func (ListSemanticModelVersions404JSONResponse) VisitListSemanticModelVersionsResponse

func (response ListSemanticModelVersions404JSONResponse) VisitListSemanticModelVersionsResponse(w http.ResponseWriter) error

type ListSemanticModelVersionsParams

type ListSemanticModelVersionsParams struct {
	Limit  *int `form:"limit,omitempty" json:"limit,omitempty"`
	Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
}

ListSemanticModelVersionsParams defines parameters for ListSemanticModelVersions.

type ListSemanticModelVersionsRequestObject

type ListSemanticModelVersionsRequestObject struct {
	Id      PathId             `json:"id"`
	ModelId openapi_types.UUID `json:"model_id"`
	Params  ListSemanticModelVersionsParams
}

type ListSemanticModelVersionsResponseObject

type ListSemanticModelVersionsResponseObject interface {
	VisitListSemanticModelVersionsResponse(w http.ResponseWriter) error
}

type ListSemanticModels200JSONResponse

type ListSemanticModels200JSONResponse []SemanticModel

func (ListSemanticModels200JSONResponse) VisitListSemanticModelsResponse

func (response ListSemanticModels200JSONResponse) VisitListSemanticModelsResponse(w http.ResponseWriter) error

type ListSemanticModels401JSONResponse

type ListSemanticModels401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListSemanticModels401JSONResponse) VisitListSemanticModelsResponse

func (response ListSemanticModels401JSONResponse) VisitListSemanticModelsResponse(w http.ResponseWriter) error

type ListSemanticModels404JSONResponse

type ListSemanticModels404JSONResponse struct{ NotFoundJSONResponse }

func (ListSemanticModels404JSONResponse) VisitListSemanticModelsResponse

func (response ListSemanticModels404JSONResponse) VisitListSemanticModelsResponse(w http.ResponseWriter) error

type ListSemanticModels422JSONResponse

type ListSemanticModels422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (ListSemanticModels422JSONResponse) VisitListSemanticModelsResponse

func (response ListSemanticModels422JSONResponse) VisitListSemanticModelsResponse(w http.ResponseWriter) error

type ListSemanticModelsParams

type ListSemanticModelsParams struct {
	SpaceId *openapi_types.UUID `form:"space_id,omitempty" json:"space_id,omitempty"`
}

ListSemanticModelsParams defines parameters for ListSemanticModels.

type ListSemanticModelsRequestObject

type ListSemanticModelsRequestObject struct {
	Id     PathId `json:"id"`
	Params ListSemanticModelsParams
}

type ListSemanticModelsResponseObject

type ListSemanticModelsResponseObject interface {
	VisitListSemanticModelsResponse(w http.ResponseWriter) error
}

type ListSemanticTags200JSONResponse

type ListSemanticTags200JSONResponse []SemanticTag

func (ListSemanticTags200JSONResponse) VisitListSemanticTagsResponse

func (response ListSemanticTags200JSONResponse) VisitListSemanticTagsResponse(w http.ResponseWriter) error

type ListSemanticTags401JSONResponse

type ListSemanticTags401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListSemanticTags401JSONResponse) VisitListSemanticTagsResponse

func (response ListSemanticTags401JSONResponse) VisitListSemanticTagsResponse(w http.ResponseWriter) error

type ListSemanticTags404JSONResponse

type ListSemanticTags404JSONResponse struct{ NotFoundJSONResponse }

func (ListSemanticTags404JSONResponse) VisitListSemanticTagsResponse

func (response ListSemanticTags404JSONResponse) VisitListSemanticTagsResponse(w http.ResponseWriter) error

type ListSemanticTagsParams

type ListSemanticTagsParams struct {
	Q     *string `form:"q,omitempty" json:"q,omitempty"`
	Limit *int    `form:"limit,omitempty" json:"limit,omitempty"`
}

ListSemanticTagsParams defines parameters for ListSemanticTags.

type ListSemanticTagsRequestObject

type ListSemanticTagsRequestObject struct {
	Id     PathId `json:"id"`
	Params ListSemanticTagsParams
}

type ListSemanticTagsResponseObject

type ListSemanticTagsResponseObject interface {
	VisitListSemanticTagsResponse(w http.ResponseWriter) error
}

type ListServiceAccountTokens200JSONResponse

type ListServiceAccountTokens200JSONResponse []ApiKey

func (ListServiceAccountTokens200JSONResponse) VisitListServiceAccountTokensResponse

func (response ListServiceAccountTokens200JSONResponse) VisitListServiceAccountTokensResponse(w http.ResponseWriter) error

type ListServiceAccountTokens401JSONResponse

type ListServiceAccountTokens401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListServiceAccountTokens401JSONResponse) VisitListServiceAccountTokensResponse

func (response ListServiceAccountTokens401JSONResponse) VisitListServiceAccountTokensResponse(w http.ResponseWriter) error

type ListServiceAccountTokens404JSONResponse

type ListServiceAccountTokens404JSONResponse struct{ NotFoundJSONResponse }

func (ListServiceAccountTokens404JSONResponse) VisitListServiceAccountTokensResponse

func (response ListServiceAccountTokens404JSONResponse) VisitListServiceAccountTokensResponse(w http.ResponseWriter) error

type ListServiceAccountTokensRequestObject

type ListServiceAccountTokensRequestObject struct {
	Id PathId `json:"id"`
}

type ListServiceAccountTokensResponseObject

type ListServiceAccountTokensResponseObject interface {
	VisitListServiceAccountTokensResponse(w http.ResponseWriter) error
}

type ListServiceAccounts200JSONResponse

type ListServiceAccounts200JSONResponse []ServiceAccount

func (ListServiceAccounts200JSONResponse) VisitListServiceAccountsResponse

func (response ListServiceAccounts200JSONResponse) VisitListServiceAccountsResponse(w http.ResponseWriter) error

type ListServiceAccounts401JSONResponse

type ListServiceAccounts401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListServiceAccounts401JSONResponse) VisitListServiceAccountsResponse

func (response ListServiceAccounts401JSONResponse) VisitListServiceAccountsResponse(w http.ResponseWriter) error

type ListServiceAccountsRequestObject

type ListServiceAccountsRequestObject struct {
}

type ListServiceAccountsResponseObject

type ListServiceAccountsResponseObject interface {
	VisitListServiceAccountsResponse(w http.ResponseWriter) error
}

type ListSpaceMembers200JSONResponse

type ListSpaceMembers200JSONResponse []SpaceMember

func (ListSpaceMembers200JSONResponse) VisitListSpaceMembersResponse

func (response ListSpaceMembers200JSONResponse) VisitListSpaceMembersResponse(w http.ResponseWriter) error

type ListSpaceMembers401JSONResponse

type ListSpaceMembers401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListSpaceMembers401JSONResponse) VisitListSpaceMembersResponse

func (response ListSpaceMembers401JSONResponse) VisitListSpaceMembersResponse(w http.ResponseWriter) error

type ListSpaceMembers403JSONResponse

type ListSpaceMembers403JSONResponse struct{ ForbiddenJSONResponse }

func (ListSpaceMembers403JSONResponse) VisitListSpaceMembersResponse

func (response ListSpaceMembers403JSONResponse) VisitListSpaceMembersResponse(w http.ResponseWriter) error

type ListSpaceMembers404JSONResponse

type ListSpaceMembers404JSONResponse struct{ NotFoundJSONResponse }

func (ListSpaceMembers404JSONResponse) VisitListSpaceMembersResponse

func (response ListSpaceMembers404JSONResponse) VisitListSpaceMembersResponse(w http.ResponseWriter) error

type ListSpaceMembersRequestObject

type ListSpaceMembersRequestObject struct {
	Id      PathId             `json:"id"`
	SpaceId openapi_types.UUID `json:"space_id"`
}

type ListSpaceMembersResponseObject

type ListSpaceMembersResponseObject interface {
	VisitListSpaceMembersResponse(w http.ResponseWriter) error
}

type ListSpaces200JSONResponse

type ListSpaces200JSONResponse []Space

func (ListSpaces200JSONResponse) VisitListSpacesResponse

func (response ListSpaces200JSONResponse) VisitListSpacesResponse(w http.ResponseWriter) error

type ListSpaces401JSONResponse

type ListSpaces401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListSpaces401JSONResponse) VisitListSpacesResponse

func (response ListSpaces401JSONResponse) VisitListSpacesResponse(w http.ResponseWriter) error

type ListSpaces404JSONResponse

type ListSpaces404JSONResponse struct{ NotFoundJSONResponse }

func (ListSpaces404JSONResponse) VisitListSpacesResponse

func (response ListSpaces404JSONResponse) VisitListSpacesResponse(w http.ResponseWriter) error

type ListSpacesRequestObject

type ListSpacesRequestObject struct {
	Id PathId `json:"id"`
}

type ListSpacesResponseObject

type ListSpacesResponseObject interface {
	VisitListSpacesResponse(w http.ResponseWriter) error
}

type ListStatements200JSONResponse

type ListStatements200JSONResponse []QueryStatement

func (ListStatements200JSONResponse) VisitListStatementsResponse

func (response ListStatements200JSONResponse) VisitListStatementsResponse(w http.ResponseWriter) error

type ListStatements401JSONResponse

type ListStatements401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListStatements401JSONResponse) VisitListStatementsResponse

func (response ListStatements401JSONResponse) VisitListStatementsResponse(w http.ResponseWriter) error

type ListStatements404JSONResponse

type ListStatements404JSONResponse struct{ NotFoundJSONResponse }

func (ListStatements404JSONResponse) VisitListStatementsResponse

func (response ListStatements404JSONResponse) VisitListStatementsResponse(w http.ResponseWriter) error

type ListStatementsRequestObject

type ListStatementsRequestObject struct {
	Id          PathId             `json:"id"`
	ExecutionId openapi_types.UUID `json:"execution_id"`
}

type ListStatementsResponseObject

type ListStatementsResponseObject interface {
	VisitListStatementsResponse(w http.ResponseWriter) error
}

type ListTableHealth200JSONResponse

type ListTableHealth200JSONResponse []TableHealth

func (ListTableHealth200JSONResponse) VisitListTableHealthResponse

func (response ListTableHealth200JSONResponse) VisitListTableHealthResponse(w http.ResponseWriter) error

type ListTableHealth401JSONResponse

type ListTableHealth401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListTableHealth401JSONResponse) VisitListTableHealthResponse

func (response ListTableHealth401JSONResponse) VisitListTableHealthResponse(w http.ResponseWriter) error

type ListTableHealth404JSONResponse

type ListTableHealth404JSONResponse struct{ NotFoundJSONResponse }

func (ListTableHealth404JSONResponse) VisitListTableHealthResponse

func (response ListTableHealth404JSONResponse) VisitListTableHealthResponse(w http.ResponseWriter) error

type ListTableHealthParams

type ListTableHealthParams struct {
	Ns       *string `form:"ns,omitempty" json:"ns,omitempty"`
	Needs    *string `form:"needs,omitempty" json:"needs,omitempty"`
	MaxScore *int    `form:"max_score,omitempty" json:"max_score,omitempty"`
	Limit    *int    `form:"limit,omitempty" json:"limit,omitempty"`
	Offset   *int    `form:"offset,omitempty" json:"offset,omitempty"`
}

ListTableHealthParams defines parameters for ListTableHealth.

type ListTableHealthRequestObject

type ListTableHealthRequestObject struct {
	CatalogId openapi_types.UUID `json:"catalog_id"`
	Params    ListTableHealthParams
}

type ListTableHealthResponseObject

type ListTableHealthResponseObject interface {
	VisitListTableHealthResponse(w http.ResponseWriter) error
}

type ListTeamMembers200JSONResponse

type ListTeamMembers200JSONResponse []TeamMember

func (ListTeamMembers200JSONResponse) VisitListTeamMembersResponse

func (response ListTeamMembers200JSONResponse) VisitListTeamMembersResponse(w http.ResponseWriter) error

type ListTeamMembers401JSONResponse

type ListTeamMembers401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListTeamMembers401JSONResponse) VisitListTeamMembersResponse

func (response ListTeamMembers401JSONResponse) VisitListTeamMembersResponse(w http.ResponseWriter) error

type ListTeamMembers404JSONResponse

type ListTeamMembers404JSONResponse struct{ NotFoundJSONResponse }

func (ListTeamMembers404JSONResponse) VisitListTeamMembersResponse

func (response ListTeamMembers404JSONResponse) VisitListTeamMembersResponse(w http.ResponseWriter) error

type ListTeamMembersRequestObject

type ListTeamMembersRequestObject struct {
	Id PathId `json:"id"`
}

type ListTeamMembersResponseObject

type ListTeamMembersResponseObject interface {
	VisitListTeamMembersResponse(w http.ResponseWriter) error
}

type ListTeams200JSONResponse

type ListTeams200JSONResponse []Team

func (ListTeams200JSONResponse) VisitListTeamsResponse

func (response ListTeams200JSONResponse) VisitListTeamsResponse(w http.ResponseWriter) error

type ListTeams401JSONResponse

type ListTeams401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListTeams401JSONResponse) VisitListTeamsResponse

func (response ListTeams401JSONResponse) VisitListTeamsResponse(w http.ResponseWriter) error

type ListTeamsRequestObject

type ListTeamsRequestObject struct {
}

type ListTeamsResponseObject

type ListTeamsResponseObject interface {
	VisitListTeamsResponse(w http.ResponseWriter) error
}

type ListTrash200JSONResponse

type ListTrash200JSONResponse []TrashItem

func (ListTrash200JSONResponse) VisitListTrashResponse

func (response ListTrash200JSONResponse) VisitListTrashResponse(w http.ResponseWriter) error

type ListTrash401JSONResponse

type ListTrash401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListTrash401JSONResponse) VisitListTrashResponse

func (response ListTrash401JSONResponse) VisitListTrashResponse(w http.ResponseWriter) error

type ListTrash404JSONResponse

type ListTrash404JSONResponse struct{ NotFoundJSONResponse }

func (ListTrash404JSONResponse) VisitListTrashResponse

func (response ListTrash404JSONResponse) VisitListTrashResponse(w http.ResponseWriter) error

type ListTrashParams

type ListTrashParams struct {
	EntityType *ListTrashParamsEntityType `form:"entity_type,omitempty" json:"entity_type,omitempty"`
	Limit      *int                       `form:"limit,omitempty" json:"limit,omitempty"`
	Offset     *int                       `form:"offset,omitempty" json:"offset,omitempty"`
}

ListTrashParams defines parameters for ListTrash.

type ListTrashParamsEntityType

type ListTrashParamsEntityType string

ListTrashParamsEntityType defines parameters for ListTrash.

const (
	ListTrashParamsEntityTypeSavedQuery     ListTrashParamsEntityType = "saved_query"
	ListTrashParamsEntityTypeSemanticMetric ListTrashParamsEntityType = "semantic_metric"
	ListTrashParamsEntityTypeSemanticModel  ListTrashParamsEntityType = "semantic_model"
)

Defines values for ListTrashParamsEntityType.

type ListTrashRequestObject

type ListTrashRequestObject struct {
	Id     PathId `json:"id"`
	Params ListTrashParams
}

type ListTrashResponseObject

type ListTrashResponseObject interface {
	VisitListTrashResponse(w http.ResponseWriter) error
}

type ListUsers200JSONResponse

type ListUsers200JSONResponse struct {
	Data       *[]UserPublic `json:"data,omitempty"`
	Pagination *Pagination   `json:"pagination,omitempty"`
}

func (ListUsers200JSONResponse) VisitListUsersResponse

func (response ListUsers200JSONResponse) VisitListUsersResponse(w http.ResponseWriter) error

type ListUsers401JSONResponse

type ListUsers401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListUsers401JSONResponse) VisitListUsersResponse

func (response ListUsers401JSONResponse) VisitListUsersResponse(w http.ResponseWriter) error

type ListUsers403JSONResponse

type ListUsers403JSONResponse struct{ ForbiddenJSONResponse }

func (ListUsers403JSONResponse) VisitListUsersResponse

func (response ListUsers403JSONResponse) VisitListUsersResponse(w http.ResponseWriter) error

type ListUsersParams

type ListUsersParams struct {
	Page    *QueryPage    `form:"page,omitempty" json:"page,omitempty"`
	PerPage *QueryPerPage `form:"per_page,omitempty" json:"per_page,omitempty"`
}

ListUsersParams defines parameters for ListUsers.

type ListUsersRequestObject

type ListUsersRequestObject struct {
	Params ListUsersParams
}

type ListUsersResponseObject

type ListUsersResponseObject interface {
	VisitListUsersResponse(w http.ResponseWriter) error
}

type ListWebhooks200JSONResponse

type ListWebhooks200JSONResponse []Webhook

func (ListWebhooks200JSONResponse) VisitListWebhooksResponse

func (response ListWebhooks200JSONResponse) VisitListWebhooksResponse(w http.ResponseWriter) error

type ListWebhooks401JSONResponse

type ListWebhooks401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListWebhooks401JSONResponse) VisitListWebhooksResponse

func (response ListWebhooks401JSONResponse) VisitListWebhooksResponse(w http.ResponseWriter) error

type ListWebhooks403JSONResponse

type ListWebhooks403JSONResponse struct{ ForbiddenJSONResponse }

func (ListWebhooks403JSONResponse) VisitListWebhooksResponse

func (response ListWebhooks403JSONResponse) VisitListWebhooksResponse(w http.ResponseWriter) error

type ListWebhooks404JSONResponse

type ListWebhooks404JSONResponse struct{ NotFoundJSONResponse }

func (ListWebhooks404JSONResponse) VisitListWebhooksResponse

func (response ListWebhooks404JSONResponse) VisitListWebhooksResponse(w http.ResponseWriter) error

type ListWebhooksRequestObject

type ListWebhooksRequestObject struct {
	Id PathId `json:"id"`
}

type ListWebhooksResponseObject

type ListWebhooksResponseObject interface {
	VisitListWebhooksResponse(w http.ResponseWriter) error
}

type ListWorkloadRules200JSONResponse

type ListWorkloadRules200JSONResponse []WorkloadRule

func (ListWorkloadRules200JSONResponse) VisitListWorkloadRulesResponse

func (response ListWorkloadRules200JSONResponse) VisitListWorkloadRulesResponse(w http.ResponseWriter) error

type ListWorkloadRules401JSONResponse

type ListWorkloadRules401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListWorkloadRules401JSONResponse) VisitListWorkloadRulesResponse

func (response ListWorkloadRules401JSONResponse) VisitListWorkloadRulesResponse(w http.ResponseWriter) error

type ListWorkloadRules403JSONResponse

type ListWorkloadRules403JSONResponse struct{ ForbiddenJSONResponse }

func (ListWorkloadRules403JSONResponse) VisitListWorkloadRulesResponse

func (response ListWorkloadRules403JSONResponse) VisitListWorkloadRulesResponse(w http.ResponseWriter) error

type ListWorkloadRulesRequestObject

type ListWorkloadRulesRequestObject struct {
}

type ListWorkloadRulesResponseObject

type ListWorkloadRulesResponseObject interface {
	VisitListWorkloadRulesResponse(w http.ResponseWriter) error
}

type ListWorkspaceCatalogAccess200JSONResponse

type ListWorkspaceCatalogAccess200JSONResponse []WorkspaceCatalogAccess

func (ListWorkspaceCatalogAccess200JSONResponse) VisitListWorkspaceCatalogAccessResponse

func (response ListWorkspaceCatalogAccess200JSONResponse) VisitListWorkspaceCatalogAccessResponse(w http.ResponseWriter) error

type ListWorkspaceCatalogAccess401JSONResponse

type ListWorkspaceCatalogAccess401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListWorkspaceCatalogAccess401JSONResponse) VisitListWorkspaceCatalogAccessResponse

func (response ListWorkspaceCatalogAccess401JSONResponse) VisitListWorkspaceCatalogAccessResponse(w http.ResponseWriter) error

type ListWorkspaceCatalogAccess404JSONResponse

type ListWorkspaceCatalogAccess404JSONResponse struct{ NotFoundJSONResponse }

func (ListWorkspaceCatalogAccess404JSONResponse) VisitListWorkspaceCatalogAccessResponse

func (response ListWorkspaceCatalogAccess404JSONResponse) VisitListWorkspaceCatalogAccessResponse(w http.ResponseWriter) error

type ListWorkspaceCatalogAccessRequestObject

type ListWorkspaceCatalogAccessRequestObject struct {
	Id PathId `json:"id"`
}

type ListWorkspaceCatalogAccessResponseObject

type ListWorkspaceCatalogAccessResponseObject interface {
	VisitListWorkspaceCatalogAccessResponse(w http.ResponseWriter) error
}

type ListWorkspaceMembers200JSONResponse

type ListWorkspaceMembers200JSONResponse []WorkspaceMember

func (ListWorkspaceMembers200JSONResponse) VisitListWorkspaceMembersResponse

func (response ListWorkspaceMembers200JSONResponse) VisitListWorkspaceMembersResponse(w http.ResponseWriter) error

type ListWorkspaceMembers401JSONResponse

type ListWorkspaceMembers401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListWorkspaceMembers401JSONResponse) VisitListWorkspaceMembersResponse

func (response ListWorkspaceMembers401JSONResponse) VisitListWorkspaceMembersResponse(w http.ResponseWriter) error

type ListWorkspaceMembers404JSONResponse

type ListWorkspaceMembers404JSONResponse struct{ NotFoundJSONResponse }

func (ListWorkspaceMembers404JSONResponse) VisitListWorkspaceMembersResponse

func (response ListWorkspaceMembers404JSONResponse) VisitListWorkspaceMembersResponse(w http.ResponseWriter) error

type ListWorkspaceMembersRequestObject

type ListWorkspaceMembersRequestObject struct {
	Id PathId `json:"id"`
}

type ListWorkspaceMembersResponseObject

type ListWorkspaceMembersResponseObject interface {
	VisitListWorkspaceMembersResponse(w http.ResponseWriter) error
}

type ListWorkspacePrincipals200JSONResponse

type ListWorkspacePrincipals200JSONResponse []WorkspacePrincipal

func (ListWorkspacePrincipals200JSONResponse) VisitListWorkspacePrincipalsResponse

func (response ListWorkspacePrincipals200JSONResponse) VisitListWorkspacePrincipalsResponse(w http.ResponseWriter) error

type ListWorkspacePrincipals401JSONResponse

type ListWorkspacePrincipals401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListWorkspacePrincipals401JSONResponse) VisitListWorkspacePrincipalsResponse

func (response ListWorkspacePrincipals401JSONResponse) VisitListWorkspacePrincipalsResponse(w http.ResponseWriter) error

type ListWorkspacePrincipals404JSONResponse

type ListWorkspacePrincipals404JSONResponse struct{ NotFoundJSONResponse }

func (ListWorkspacePrincipals404JSONResponse) VisitListWorkspacePrincipalsResponse

func (response ListWorkspacePrincipals404JSONResponse) VisitListWorkspacePrincipalsResponse(w http.ResponseWriter) error

type ListWorkspacePrincipalsParams

type ListWorkspacePrincipalsParams struct {
	Q     *string `form:"q,omitempty" json:"q,omitempty"`
	Type  *string `form:"type,omitempty" json:"type,omitempty"`
	Limit *int    `form:"limit,omitempty" json:"limit,omitempty"`
}

ListWorkspacePrincipalsParams defines parameters for ListWorkspacePrincipals.

type ListWorkspacePrincipalsRequestObject

type ListWorkspacePrincipalsRequestObject struct {
	Id     PathId `json:"id"`
	Params ListWorkspacePrincipalsParams
}

type ListWorkspacePrincipalsResponseObject

type ListWorkspacePrincipalsResponseObject interface {
	VisitListWorkspacePrincipalsResponse(w http.ResponseWriter) error
}

type ListWorkspaceTargets200JSONResponse

type ListWorkspaceTargets200JSONResponse []WorkspaceTarget

func (ListWorkspaceTargets200JSONResponse) VisitListWorkspaceTargetsResponse

func (response ListWorkspaceTargets200JSONResponse) VisitListWorkspaceTargetsResponse(w http.ResponseWriter) error

type ListWorkspaceTargets401JSONResponse

type ListWorkspaceTargets401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListWorkspaceTargets401JSONResponse) VisitListWorkspaceTargetsResponse

func (response ListWorkspaceTargets401JSONResponse) VisitListWorkspaceTargetsResponse(w http.ResponseWriter) error

type ListWorkspaceTargets404JSONResponse

type ListWorkspaceTargets404JSONResponse struct{ NotFoundJSONResponse }

func (ListWorkspaceTargets404JSONResponse) VisitListWorkspaceTargetsResponse

func (response ListWorkspaceTargets404JSONResponse) VisitListWorkspaceTargetsResponse(w http.ResponseWriter) error

type ListWorkspaceTargetsRequestObject

type ListWorkspaceTargetsRequestObject struct {
	Id PathId `json:"id"`
}

type ListWorkspaceTargetsResponseObject

type ListWorkspaceTargetsResponseObject interface {
	VisitListWorkspaceTargetsResponse(w http.ResponseWriter) error
}

type ListWorkspaces200JSONResponse

type ListWorkspaces200JSONResponse []Workspace

func (ListWorkspaces200JSONResponse) VisitListWorkspacesResponse

func (response ListWorkspaces200JSONResponse) VisitListWorkspacesResponse(w http.ResponseWriter) error

type ListWorkspaces401JSONResponse

type ListWorkspaces401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListWorkspaces401JSONResponse) VisitListWorkspacesResponse

func (response ListWorkspaces401JSONResponse) VisitListWorkspacesResponse(w http.ResponseWriter) error

type ListWorkspacesRequestObject

type ListWorkspacesRequestObject struct {
}

type ListWorkspacesResponseObject

type ListWorkspacesResponseObject interface {
	VisitListWorkspacesResponse(w http.ResponseWriter) error
}

type Locale

type Locale string

Locale defines model for Locale.

const (
	LocaleEn   Locale = "en"
	LocalePtBR Locale = "pt-BR"
)

Defines values for Locale.

type Login200JSONResponse

type Login200JSONResponse LoginResponse

func (Login200JSONResponse) VisitLoginResponse

func (response Login200JSONResponse) VisitLoginResponse(w http.ResponseWriter) error

type Login401JSONResponse

type Login401JSONResponse struct{ UnauthorizedJSONResponse }

func (Login401JSONResponse) VisitLoginResponse

func (response Login401JSONResponse) VisitLoginResponse(w http.ResponseWriter) error

type Login403JSONResponse

type Login403JSONResponse struct{ ForbiddenJSONResponse }

func (Login403JSONResponse) VisitLoginResponse

func (response Login403JSONResponse) VisitLoginResponse(w http.ResponseWriter) error

type Login422JSONResponse

type Login422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (Login422JSONResponse) VisitLoginResponse

func (response Login422JSONResponse) VisitLoginResponse(w http.ResponseWriter) error

type Login429JSONResponse

type Login429JSONResponse struct{ TooManyRequestsJSONResponse }

func (Login429JSONResponse) VisitLoginResponse

func (response Login429JSONResponse) VisitLoginResponse(w http.ResponseWriter) error

type LoginDelay

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

LoginDelay tracks login failures per normalized e-mail and sleeps proportionally before the next attempt. It never locks an account permanently.

func NewLoginDelay

func NewLoginDelay(cfg LoginDelayConfig) *LoginDelay

NewLoginDelay builds a delay store with the given configuration.

func (*LoginDelay) Failure

func (d *LoginDelay) Failure(ctx context.Context, email string)

Failure records one failed attempt for the account.

func (*LoginDelay) Success

func (d *LoginDelay) Success(ctx context.Context, email string)

Success clears the failure history for the account.

func (*LoginDelay) Wait

func (d *LoginDelay) Wait(ctx context.Context, email string) error

Wait sleeps before evaluating an attempt when the account already has Threshold recent failures. The delay is min(2^(n-Threshold), MaxDelay) seconds. It returns the context error if the client goes away while waiting.

type LoginDelayConfig

type LoginDelayConfig struct {
	// Window is how far back failures are counted (default 15m).
	Window time.Duration
	// Threshold is the number of failures before the first delay (default 5).
	Threshold int
	// MaxDelay caps the delay (default 60s).
	MaxDelay time.Duration
	// Shared keeps the failure counters in Redis when it is enabled, so the
	// delay holds across replicas and restarts; a Redis error falls back to the
	// local map (#1032). Nil or disabled keeps them in the process only.
	Shared SharedCounter
	// MaxTracked caps the identifiers tracked locally (default 10000).
	MaxTracked int
	// Now and Sleep are injectable for tests.
	Now   func() time.Time
	Sleep func(context.Context, time.Duration) error
}

LoginDelayConfig tunes the progressive delay applied after repeated login failures for one account (#51). Zero fields use the defaults.

type LoginJSONRequestBody

type LoginJSONRequestBody = LoginRequest

LoginJSONRequestBody defines body for Login for application/json ContentType.

type LoginRequest

type LoginRequest struct {
	// Email Local login. Ignored when `provider_id` is set.
	Email    *openapi_types.Email `json:"email,omitempty"`
	Password string               `json:"password"`

	// ProviderId LDAP provider id. When set, `/auth/login` authenticates against the directory and ignores `email`.
	ProviderId *openapi_types.UUID `json:"provider_id,omitempty"`

	// Username Directory username. Required when `provider_id` is set.
	Username *string `json:"username,omitempty"`
}

LoginRequest defines model for LoginRequest.

type LoginRequestObject

type LoginRequestObject struct {
	Body *LoginJSONRequestBody
}

type LoginResponse

type LoginResponse struct {
	ExpiresAt time.Time `json:"expires_at"`

	// RefreshToken Only returned to API clients that send `X-Baleia-Client: api`. Browsers receive the refresh token in the HttpOnly `baleia_refresh` cookie.
	RefreshToken *string    `json:"refresh_token,omitempty"`
	Token        string     `json:"token"`
	User         UserPublic `json:"user"`
}

LoginResponse defines model for LoginResponse.

type LoginResponseObject

type LoginResponseObject interface {
	VisitLoginResponse(w http.ResponseWriter) error
}

type Logout204Response

type Logout204Response = NoContentResponse

func (Logout204Response) VisitLogoutResponse

func (response Logout204Response) VisitLogoutResponse(w http.ResponseWriter) error

type Logout401JSONResponse

type Logout401JSONResponse struct{ UnauthorizedJSONResponse }

func (Logout401JSONResponse) VisitLogoutResponse

func (response Logout401JSONResponse) VisitLogoutResponse(w http.ResponseWriter) error

type LogoutJSONRequestBody

type LogoutJSONRequestBody = LogoutRequest

LogoutJSONRequestBody defines body for Logout for application/json ContentType.

type LogoutRequest

type LogoutRequest struct {
	RefreshToken *string `json:"refresh_token,omitempty"`
}

LogoutRequest defines model for LogoutRequest.

type LogoutRequestObject

type LogoutRequestObject struct {
	Body *LogoutJSONRequestBody
}

type LogoutResponseObject

type LogoutResponseObject interface {
	VisitLogoutResponse(w http.ResponseWriter) error
}

type MailSender

type MailSender interface {
	Send(ctx context.Context, to, locale string, template mail.Template, data map[string]any) error
}

MailSender is the transactional e-mail surface (#67).

type MailSettings

type MailSettings struct {
	PublicURL     string
	DefaultLocale string
	SMTPHost      string
	SMTPPort      string
	SMTPUser      string
	SMTPPassword  string
	SMTPFrom      string
}

MailSettings are the transactional e-mail settings and the links they carry.

type MaintenanceCatalogId

type MaintenanceCatalogId = openapi_types.UUID

MaintenanceCatalogId defines model for MaintenanceCatalogId.

type MaintenanceLastRun

type MaintenanceLastRun struct {
	FinishedAt time.Time `json:"finished_at"`
	Operation  string    `json:"operation"`
	Status     string    `json:"status"`

	// WorkflowUrl Link to the workflow in the Temporal UI; null when no UI URL is configured
	WorkflowUrl *string `json:"workflow_url"`
}

MaintenanceLastRun The latest finished run of one maintenance operation.

type MaintenanceMode

type MaintenanceMode string

MaintenanceMode defines model for MaintenanceMode.

const (
	MaintenanceModeMaintainedElsewhere MaintenanceMode = "maintained_elsewhere"
	MaintenanceModeManaged             MaintenanceMode = "managed"
	MaintenanceModeOff                 MaintenanceMode = "off"
)

Defines values for MaintenanceMode.

type MaintenanceNamespace

type MaintenanceNamespace = string

MaintenanceNamespace defines model for MaintenanceNamespace.

type MaintenanceOperation

type MaintenanceOperation string

MaintenanceOperation defines model for MaintenanceOperation.

const (
	MaintenanceOperationExpireSnapshots   MaintenanceOperation = "expire_snapshots"
	MaintenanceOperationOptimize          MaintenanceOperation = "optimize"
	MaintenanceOperationOptimizeManifests MaintenanceOperation = "optimize_manifests"
	MaintenanceOperationRemoveOrphanFiles MaintenanceOperation = "remove_orphan_files"
)

Defines values for MaintenanceOperation.

type MaintenanceParams

type MaintenanceParams struct {
	CleanExpiredMetadata *bool  `json:"clean_expired_metadata"`
	OlderThanSeconds     *int64 `json:"older_than_seconds"`

	// PartitionFilter optimize: WHERE on partition columns
	PartitionFilter           *string   `json:"partition_filter"`
	RetainLast                *int64    `json:"retain_last"`
	RetentionSeconds          *int64    `json:"retention_seconds"`
	SkipFilesNewerThanSeconds *int64    `json:"skip_files_newer_than_seconds"`
	SortedBy                  *[]string `json:"sorted_by"`
	TargetFileSizeBytes       *int64    `json:"target_file_size_bytes"`
}

MaintenanceParams defines model for MaintenanceParams.

type MaintenancePlan

type MaintenancePlan struct {
	EvaluatedAt    time.Time             `json:"evaluated_at"`
	Plan           []MaintenancePlanStep `json:"plan"`
	PolicyRevision *int64                `json:"policy_revision"`
}

MaintenancePlan defines model for MaintenancePlan.

type MaintenancePlanStep

type MaintenancePlanStep struct {
	Due       bool                  `json:"due"`
	Operation MaintenanceOperation  `json:"operation"`
	Reason    MaintenanceReason     `json:"reason"`
	WaitsFor  *MaintenanceOperation `json:"waits_for"`
	WouldRun  bool                  `json:"would_run"`
}

MaintenancePlanStep defines model for MaintenancePlanStep.

type MaintenancePolicy

type MaintenancePolicy struct {
	ExpireSnapshots             MaintenanceSettings `json:"expire_snapshots"`
	Mode                        MaintenanceMode     `json:"mode"`
	Optimize                    MaintenanceSettings `json:"optimize"`
	OptimizeManifests           MaintenanceSettings `json:"optimize_manifests"`
	RemoveOrphanFiles           MaintenanceSettings `json:"remove_orphan_files"`
	WriterCommitIntervalSeconds int64               `json:"writer_commit_interval_seconds"`
}

MaintenancePolicy A table's maintenance parameters (#500).

type MaintenanceReason

type MaintenanceReason struct {
	Blocked        *MaintenanceReasonBlocked `json:"blocked,omitempty"`
	ElapsedSeconds *int64                    `json:"elapsed_seconds,omitempty"`

	// Fired trigger that fired, max_interval or manual
	Fired              *string             `json:"fired,omitempty"`
	LastSuccessAt      *time.Time          `json:"last_success_at,omitempty"`
	MaxIntervalSeconds *int64              `json:"max_interval_seconds,omitempty"`
	Measured           *float64            `json:"measured,omitempty"`
	MinIntervalSeconds *int64              `json:"min_interval_seconds,omitempty"`
	RequestedBy        *openapi_types.UUID `json:"requested_by,omitempty"`
	Threshold          *float64            `json:"threshold,omitempty"`
}

MaintenanceReason defines model for MaintenanceReason.

type MaintenanceReasonBlocked

type MaintenanceReasonBlocked string

MaintenanceReasonBlocked defines model for MaintenanceReason.Blocked.

const (
	MaintenanceReasonBlockedDisabled    MaintenanceReasonBlocked = "disabled"
	MaintenanceReasonBlockedMinInterval MaintenanceReasonBlocked = "min_interval"
	MaintenanceReasonBlockedMode        MaintenanceReasonBlocked = "mode"
	MaintenanceReasonBlockedNotFired    MaintenanceReasonBlocked = "not_fired"
	MaintenanceReasonBlockedRunning     MaintenanceReasonBlocked = "running"
	MaintenanceReasonBlockedWindow      MaintenanceReasonBlocked = "window"
)

Defines values for MaintenanceReasonBlocked.

type MaintenanceRun

type MaintenanceRun struct {
	Attempts     int                 `json:"attempts"`
	BindingId    *openapi_types.UUID `json:"binding_id"`
	CatalogId    openapi_types.UUID  `json:"catalog_id"`
	ErrorCode    *string             `json:"error_code"`
	ErrorMessage *string             `json:"error_message"`
	FinishedAt   *time.Time          `json:"finished_at"`
	Id           openapi_types.UUID  `json:"id"`
	Namespace    string              `json:"namespace"`
	Operations   []string            `json:"operations"`

	// Parameters The operation's settings when the run was created.
	Parameters     *map[string]interface{} `json:"parameters,omitempty"`
	PolicyRevision *int64                  `json:"policy_revision"`
	Reason         MaintenanceReason       `json:"reason"`
	Retention      *string                 `json:"retention"`
	StartedAt      time.Time               `json:"started_at"`
	StartedBy      *openapi_types.UUID     `json:"started_by"`
	Status         string                  `json:"status"`
	TableName      string                  `json:"table_name"`
	Trigger        MaintenanceRunTrigger   `json:"trigger"`
	WorkflowId     string                  `json:"workflow_id"`

	// WorkflowUrl Link to the workflow in the Temporal UI; null when no UI URL is configured
	WorkflowUrl *string `json:"workflow_url"`
}

MaintenanceRun defines model for MaintenanceRun.

type MaintenanceRunTrigger

type MaintenanceRunTrigger string

MaintenanceRunTrigger defines model for MaintenanceRun.Trigger.

const (
	MaintenanceRunTriggerAutomatic MaintenanceRunTrigger = "automatic"
	MaintenanceRunTriggerDryRun    MaintenanceRunTrigger = "dry_run"
	MaintenanceRunTriggerManual    MaintenanceRunTrigger = "manual"
)

Defines values for MaintenanceRunTrigger.

type MaintenanceSettings

type MaintenanceSettings struct {
	Enabled            bool                          `json:"enabled"`
	MaxIntervalSeconds *int64                        `json:"max_interval_seconds"`
	MinIntervalSeconds int64                         `json:"min_interval_seconds"`
	OnConflict         MaintenanceSettingsOnConflict `json:"on_conflict"`
	Params             MaintenanceParams             `json:"params"`
	TimeoutSeconds     int64                         `json:"timeout_seconds"`

	// Trigger Measured conditions that call for an operation; each operation reads only its own.
	Trigger MaintenanceTrigger `json:"trigger"`
	Window  *MaintenanceWindow `json:"window"`
}

MaintenanceSettings defines model for MaintenanceSettings.

type MaintenanceSettingsOnConflict

type MaintenanceSettingsOnConflict string

MaintenanceSettingsOnConflict defines model for MaintenanceSettings.OnConflict.

const (
	GiveUpAndReport  MaintenanceSettingsOnConflict = "give_up_and_report"
	RetryWithBackoff MaintenanceSettingsOnConflict = "retry_with_backoff"
)

Defines values for MaintenanceSettingsOnConflict.

type MaintenanceTable

type MaintenanceTable = string

MaintenanceTable defines model for MaintenanceTable.

type MaintenanceTrigger

type MaintenanceTrigger struct {
	// DeleteFiles optimize: delete files (format v2+)
	DeleteFiles *int64 `json:"delete_files"`

	// Manifests optimize_manifests: manifest count
	Manifests *int64 `json:"manifests"`

	// OldestAgeSeconds expire_snapshots: age of the oldest snapshot
	OldestAgeSeconds *int64 `json:"oldest_age_seconds"`

	// SmallFileRatio optimize: share of files below target_file_size_bytes
	SmallFileRatio *float64 `json:"small_file_ratio"`

	// Snapshots expire_snapshots: snapshot count
	Snapshots *int64 `json:"snapshots"`
}

MaintenanceTrigger Measured conditions that call for an operation; each operation reads only its own.

type MaintenanceWindow

type MaintenanceWindow struct {
	EndHour   int `json:"end_hour"`
	StartHour int `json:"start_hour"`

	// Tz IANA time zone, e.g. UTC or America/Sao_Paulo
	Tz string `json:"tz"`
}

MaintenanceWindow defines model for MaintenanceWindow.

type ManualMaintenanceRequest

type ManualMaintenanceRequest struct {
	Operation ManualMaintenanceRequestOperation `json:"operation"`
}

ManualMaintenanceRequest defines model for ManualMaintenanceRequest.

type ManualMaintenanceRequestOperation

type ManualMaintenanceRequestOperation string

ManualMaintenanceRequestOperation defines model for ManualMaintenanceRequest.Operation.

const (
	ManualMaintenanceRequestOperationExpireSnapshots   ManualMaintenanceRequestOperation = "expire_snapshots"
	ManualMaintenanceRequestOperationNextDue           ManualMaintenanceRequestOperation = "next_due"
	ManualMaintenanceRequestOperationOptimize          ManualMaintenanceRequestOperation = "optimize"
	ManualMaintenanceRequestOperationOptimizeManifests ManualMaintenanceRequestOperation = "optimize_manifests"
	ManualMaintenanceRequestOperationRemoveOrphanFiles ManualMaintenanceRequestOperation = "remove_orphan_files"
)

Defines values for ManualMaintenanceRequestOperation.

type Me

type Me struct {
	AuthProvider  MeAuthProvider      `json:"auth_provider"`
	CreatedAt     time.Time           `json:"created_at"`
	Email         openapi_types.Email `json:"email"`
	Features      Features            `json:"features"`
	GlobalActions []GlobalAction      `json:"global_actions"`
	Id            openapi_types.UUID  `json:"id"`

	// Kind A person, or a Baleia service account (#653)
	Kind *MeKind `json:"kind,omitempty"`

	// Locale UI language preference; null follows the browser (#67).
	Locale              *Locale             `json:"locale"`
	Name                string              `json:"name"`
	PersonalWorkspaceId *openapi_types.UUID `json:"personal_workspace_id"`
	Role                MeRole              `json:"role"`
	Status              MeStatus            `json:"status"`
}

Me defines model for Me.

type MeAuthProvider

type MeAuthProvider string

MeAuthProvider defines model for Me.AuthProvider.

const (
	MeAuthProviderLdap    MeAuthProvider = "ldap"
	MeAuthProviderLocal   MeAuthProvider = "local"
	MeAuthProviderOidc    MeAuthProvider = "oidc"
	MeAuthProviderService MeAuthProvider = "service"
)

Defines values for MeAuthProvider.

type MeKind

type MeKind string

MeKind A person, or a Baleia service account (#653)

const (
	MeKindHuman          MeKind = "human"
	MeKindServiceAccount MeKind = "service_account"
)

Defines values for MeKind.

type MeRole

type MeRole string

MeRole defines model for Me.Role.

const (
	MeRoleAdmin  MeRole = "admin"
	MeRoleMember MeRole = "member"
)

Defines values for MeRole.

type MeStatus

type MeStatus string

MeStatus defines model for Me.Status.

const (
	MeStatusActive    MeStatus = "active"
	MeStatusSuspended MeStatus = "suspended"
)

Defines values for MeStatus.

type MetadataCatalog

type MetadataCatalog struct {
	Bindings           []MetadataCatalogBinding          `json:"bindings"`
	Id                 openapi_types.UUID                `json:"id"`
	MetadataSyncStatus MetadataCatalogMetadataSyncStatus `json:"metadata_sync_status"`
	MetadataSyncedAt   *time.Time                        `json:"metadata_synced_at"`
	Name               string                            `json:"name"`
	Origin             MetadataCatalogOrigin             `json:"origin"`

	// ProviderKind The kind of the catalog's connection (polaris, postgresql, trino, …)
	ProviderKind string `json:"provider_kind"`

	// ReadOnly Baleia never writes to this catalog: its connection kind promises no writes, or the administrator asserted its credentials are read-only. Table health still runs; maintenance does not.
	ReadOnly bool `json:"read_only"`

	// TableHealth The catalog is a source catalog of an Iceberg-family connection: its tables get health passes and Iceberg maintenance
	TableHealth bool `json:"table_health"`
}

MetadataCatalog defines model for MetadataCatalog.

type MetadataCatalogBinding

type MetadataCatalogBinding struct {
	BindingId         openapi_types.UUID         `json:"binding_id"`
	EngineCatalogName string                     `json:"engine_catalog_name"`
	EngineId          openapi_types.UUID         `json:"engine_id"`
	EngineKind        string                     `json:"engine_kind"`
	EngineName        string                     `json:"engine_name"`
	Mode              MetadataCatalogBindingMode `json:"mode"`

	// Status The binding's sync status (CatalogBinding.sync_status)
	Status string `json:"status"`
}

MetadataCatalogBinding defines model for MetadataCatalogBinding.

type MetadataCatalogBindingMode

type MetadataCatalogBindingMode string

MetadataCatalogBindingMode defines model for MetadataCatalogBinding.Mode.

const (
	MetadataCatalogBindingModeAdopted MetadataCatalogBindingMode = "adopted"
	MetadataCatalogBindingModeManaged MetadataCatalogBindingMode = "managed"
	MetadataCatalogBindingModeNative  MetadataCatalogBindingMode = "native"
)

Defines values for MetadataCatalogBindingMode.

type MetadataCatalogMetadataSyncStatus

type MetadataCatalogMetadataSyncStatus string

MetadataCatalogMetadataSyncStatus defines model for MetadataCatalog.MetadataSyncStatus.

const (
	MetadataCatalogMetadataSyncStatusFailed   MetadataCatalogMetadataSyncStatus = "failed"
	MetadataCatalogMetadataSyncStatusFinished MetadataCatalogMetadataSyncStatus = "finished"
	MetadataCatalogMetadataSyncStatusNever    MetadataCatalogMetadataSyncStatus = "never"
	MetadataCatalogMetadataSyncStatusRunning  MetadataCatalogMetadataSyncStatus = "running"
)

Defines values for MetadataCatalogMetadataSyncStatus.

type MetadataCatalogOrigin

type MetadataCatalogOrigin string

MetadataCatalogOrigin defines model for MetadataCatalog.Origin.

const (
	MetadataCatalogOriginNative MetadataCatalogOrigin = "native"
	MetadataCatalogOriginSource MetadataCatalogOrigin = "source"
)

Defines values for MetadataCatalogOrigin.

type MetadataColumn

type MetadataColumn struct {
	Comment *string `json:"comment"`

	// DisplayType native_type in the binding's engine dialect, when Baleia can map it
	DisplayType *string      `json:"display_type"`
	Doc         *SemanticDoc `json:"doc,omitempty"`

	// LogicalType Portable semantic type (#115): boolean, int64, decimal, float64, string, date, timestamp, timestamptz, binary, json or other
	LogicalType *string `json:"logical_type,omitempty"`
	Name        string  `json:"name"`

	// NativeType The type as the source reports it
	NativeType string `json:"native_type"`
	Nullable   *bool  `json:"nullable"`
	Ordinal    int    `json:"ordinal"`

	// TypeSystem iceberg, postgresql, mysql, tsql, oracle, sqlite, clickhouse, trino, …
	TypeSystem string `json:"type_system"`
}

MetadataColumn defines model for MetadataColumn.

type MetadataFreshness

type MetadataFreshness struct {
	// MetadataSyncedAt End of the latest finished metadata pass of the catalog; null before the first one.
	MetadataSyncedAt *time.Time `json:"metadata_synced_at"`
}

MetadataFreshness defines model for MetadataFreshness.

type MetadataNamespaceList

type MetadataNamespaceList struct {
	Freshness MetadataFreshness `json:"freshness"`
	Items     []struct {
		Path []string `json:"path"`
	} `json:"items"`
}

MetadataNamespaceList defines model for MetadataNamespaceList.

type MetadataSearchResult

type MetadataSearchResult struct {
	CatalogId        openapi_types.UUID       `json:"catalog_id"`
	Column           *string                  `json:"column"`
	Kind             MetadataSearchResultKind `json:"kind"`
	MetadataSyncedAt *time.Time               `json:"metadata_synced_at"`
	Namespace        []string                 `json:"namespace"`
	NativeType       *string                  `json:"native_type"`

	// Popularity The table's popularity score in this workspace (B7, #562)
	Popularity *float64           `json:"popularity,omitempty"`
	Score      float64            `json:"score"`
	Table      string             `json:"table"`
	TableId    openapi_types.UUID `json:"table_id"`
}

MetadataSearchResult defines model for MetadataSearchResult.

type MetadataSearchResultKind

type MetadataSearchResultKind string

MetadataSearchResultKind defines model for MetadataSearchResult.Kind.

const (
	MetadataSearchResultKindColumn MetadataSearchResultKind = "column"
	MetadataSearchResultKindTable  MetadataSearchResultKind = "table"
)

Defines values for MetadataSearchResultKind.

type MetadataSyncRun

type MetadataSyncRun struct {
	CatalogId openapi_types.UUID `json:"catalog_id"`

	// ErrorCode Why a pass failed: an engine code (engine_unavailable, timeout, …), not_found, interrupted (the worker stopped mid-pass), cancelled or sync_failed. The source's own message stays in the worker's logs.
	ErrorCode  *string            `json:"error_code"`
	FinishedAt *time.Time         `json:"finished_at"`
	Id         openapi_types.UUID `json:"id"`

	// SourcePath provider: read from the catalog's own source (catalog manager, database); engine: introspected through one of its bindings.
	SourcePath    MetadataSyncRunSourcePath `json:"source_path"`
	StartedAt     time.Time                 `json:"started_at"`
	Status        MetadataSyncRunStatus     `json:"status"`
	TablesChanged *int                      `json:"tables_changed"`
	TablesRemoved *int                      `json:"tables_removed"`
	TablesSeen    *int                      `json:"tables_seen"`
}

MetadataSyncRun defines model for MetadataSyncRun.

type MetadataSyncRunSourcePath

type MetadataSyncRunSourcePath string

MetadataSyncRunSourcePath provider: read from the catalog's own source (catalog manager, database); engine: introspected through one of its bindings.

const (
	MetadataSyncRunSourcePathEngine   MetadataSyncRunSourcePath = "engine"
	MetadataSyncRunSourcePathProvider MetadataSyncRunSourcePath = "provider"
)

Defines values for MetadataSyncRunSourcePath.

type MetadataSyncRunStatus

type MetadataSyncRunStatus string

MetadataSyncRunStatus defines model for MetadataSyncRun.Status.

const (
	MetadataSyncRunStatusFailed   MetadataSyncRunStatus = "failed"
	MetadataSyncRunStatusFinished MetadataSyncRunStatus = "finished"
	MetadataSyncRunStatusRunning  MetadataSyncRunStatus = "running"
)

Defines values for MetadataSyncRunStatus.

type MetadataSyncStarted

type MetadataSyncStarted struct {
	CatalogId  openapi_types.UUID `json:"catalog_id"`
	WorkflowId string             `json:"workflow_id"`
}

MetadataSyncStarted defines model for MetadataSyncStarted.

type MetadataTableDetail

type MetadataTableDetail struct {
	// BindingId The binding display_type and qualified_name are rendered for; null when the catalog has none
	BindingId     *openapi_types.UUID     `json:"binding_id"`
	CatalogId     openapi_types.UUID      `json:"catalog_id"`
	Columns       []MetadataColumn        `json:"columns"`
	Comment       *string                 `json:"comment"`
	Doc           *SemanticDoc            `json:"doc,omitempty"`
	Freshness     MetadataFreshness       `json:"freshness"`
	Id            openapi_types.UUID      `json:"id"`
	Kind          MetadataTableDetailKind `json:"kind"`
	LastChangedAt *time.Time              `json:"last_changed_at"`
	Name          string                  `json:"name"`
	Namespace     []string                `json:"namespace"`

	// PreviewSql A SELECT that previews the table on that binding's engine (the dialect's PreviewSQL, 100 rows); null without a binding or dialect
	PreviewSql *string           `json:"preview_sql"`
	Properties map[string]string `json:"properties"`

	// QualifiedName The table's name in SQL on that binding's engine
	QualifiedName *string `json:"qualified_name"`

	// RemovedAt Set when the source no longer has the table
	RemovedAt *time.Time `json:"removed_at"`

	// Unsupported Why the source lists the table but Baleia cannot read it. Such a table has no columns and cannot be queried.
	Unsupported *MetadataTableUnsupported `json:"unsupported,omitempty"`
}

MetadataTableDetail defines model for MetadataTableDetail.

type MetadataTableDetailKind

type MetadataTableDetailKind string

MetadataTableDetailKind defines model for MetadataTableDetail.Kind.

const (
	MetadataTableDetailKindMaterializedView MetadataTableDetailKind = "materialized_view"
	MetadataTableDetailKindTable            MetadataTableDetailKind = "table"
	MetadataTableDetailKindView             MetadataTableDetailKind = "view"
)

Defines values for MetadataTableDetailKind.

type MetadataTablePage

type MetadataTablePage struct {
	Freshness MetadataFreshness      `json:"freshness"`
	Items     []MetadataTableSummary `json:"items"`

	// NextCursor Pass as cursor for the next page; null on the last one
	NextCursor *string `json:"next_cursor"`
}

MetadataTablePage defines model for MetadataTablePage.

type MetadataTableSummary

type MetadataTableSummary struct {
	Comment       *string                  `json:"comment"`
	Id            openapi_types.UUID       `json:"id"`
	Kind          MetadataTableSummaryKind `json:"kind"`
	LastChangedAt *time.Time               `json:"last_changed_at"`
	Name          string                   `json:"name"`

	// Unsupported Why the source lists the table but Baleia cannot read it. Such a table has no columns and cannot be queried.
	Unsupported *MetadataTableUnsupported `json:"unsupported,omitempty"`
}

MetadataTableSummary defines model for MetadataTableSummary.

type MetadataTableSummaryKind

type MetadataTableSummaryKind string

MetadataTableSummaryKind defines model for MetadataTableSummary.Kind.

const (
	MetadataTableSummaryKindMaterializedView MetadataTableSummaryKind = "materialized_view"
	MetadataTableSummaryKindTable            MetadataTableSummaryKind = "table"
	MetadataTableSummaryKindView             MetadataTableSummaryKind = "view"
)

Defines values for MetadataTableSummaryKind.

type MetadataTableUnsupported

type MetadataTableUnsupported struct {
	// Code table_kind: the source reports a kind of table its protocol cannot serve (detail is that kind). refused: the source refused the table when it was loaded. registration: the table is registered in a way the engine's connector does not recognize (detail is that registration).
	Code MetadataTableUnsupportedCode `json:"code"`

	// Detail The source's own table kind when code is table_kind (for example TABLE_DB_STORAGE), or the registration found when code is registration (for example table_type=DELTA)
	Detail *string `json:"detail"`
}

MetadataTableUnsupported Why the source lists the table but Baleia cannot read it. Such a table has no columns and cannot be queried.

type MetadataTableUnsupportedCode

type MetadataTableUnsupportedCode string

MetadataTableUnsupportedCode table_kind: the source reports a kind of table its protocol cannot serve (detail is that kind). refused: the source refused the table when it was loaded. registration: the table is registered in a way the engine's connector does not recognize (detail is that registration).

const (
	Refused      MetadataTableUnsupportedCode = "refused"
	Registration MetadataTableUnsupportedCode = "registration"
	TableKind    MetadataTableUnsupportedCode = "table_kind"
)

Defines values for MetadataTableUnsupportedCode.

type MiddlewareFunc

type MiddlewareFunc func(http.Handler) http.Handler

type MigrateSemanticMetricsV1JSONRequestBody

type MigrateSemanticMetricsV1JSONRequestBody = MigrateV1Request

MigrateSemanticMetricsV1JSONRequestBody defines body for MigrateSemanticMetricsV1 for application/json ContentType.

type MigrateSemanticMetricsV1RequestObject

type MigrateSemanticMetricsV1RequestObject struct {
	Id   PathId `json:"id"`
	Body *MigrateSemanticMetricsV1JSONRequestBody
}

type MigrateSemanticMetricsV1ResponseObject

type MigrateSemanticMetricsV1ResponseObject interface {
	VisitMigrateSemanticMetricsV1Response(w http.ResponseWriter) error
}

type MigrateSemanticMetricsV1200JSONResponse

type MigrateSemanticMetricsV1200JSONResponse MigrateV1Report

func (MigrateSemanticMetricsV1200JSONResponse) VisitMigrateSemanticMetricsV1Response

func (response MigrateSemanticMetricsV1200JSONResponse) VisitMigrateSemanticMetricsV1Response(w http.ResponseWriter) error

type MigrateSemanticMetricsV1401JSONResponse

type MigrateSemanticMetricsV1401JSONResponse struct{ UnauthorizedJSONResponse }

func (MigrateSemanticMetricsV1401JSONResponse) VisitMigrateSemanticMetricsV1Response

func (response MigrateSemanticMetricsV1401JSONResponse) VisitMigrateSemanticMetricsV1Response(w http.ResponseWriter) error

type MigrateSemanticMetricsV1404JSONResponse

type MigrateSemanticMetricsV1404JSONResponse struct{ NotFoundJSONResponse }

func (MigrateSemanticMetricsV1404JSONResponse) VisitMigrateSemanticMetricsV1Response

func (response MigrateSemanticMetricsV1404JSONResponse) VisitMigrateSemanticMetricsV1Response(w http.ResponseWriter) error

type MigrateV1Item

type MigrateV1Item struct {
	Action    MigrateV1ItemAction `json:"action"`
	CatalogId openapi_types.UUID  `json:"catalog_id"`

	// Columns Table columns, to choose the primary key from
	Columns []string `json:"columns"`

	// Error Detail for the error_code (English, not for headlines)
	Error *string `json:"error"`

	// ErrorCode Set with action ERROR; the UI translates it
	ErrorCode *MigrateV1ItemErrorCode `json:"error_code"`

	// Metrics v1 metric slugs that become metrics of this model
	Metrics []string `json:"metrics"`

	// ModelId Set when the model exists (UPDATE, NO_CHANGES) or was created
	ModelId    *openapi_types.UUID `json:"model_id"`
	ModelSlug  string              `json:"model_slug"`
	Namespace  []string            `json:"namespace"`
	PrimaryKey []string            `json:"primary_key"`
	SpaceId    *openapi_types.UUID `json:"space_id,omitempty"`
	Table      string              `json:"table"`
}

MigrateV1Item defines model for MigrateV1Item.

type MigrateV1ItemAction

type MigrateV1ItemAction string

MigrateV1ItemAction defines model for MigrateV1Item.Action.

const (
	MigrateV1ItemActionCREATE    MigrateV1ItemAction = "CREATE"
	MigrateV1ItemActionERROR     MigrateV1ItemAction = "ERROR"
	MigrateV1ItemActionNOCHANGES MigrateV1ItemAction = "NO_CHANGES"
	MigrateV1ItemActionUPDATE    MigrateV1ItemAction = "UPDATE"
)

Defines values for MigrateV1ItemAction.

type MigrateV1ItemErrorCode

type MigrateV1ItemErrorCode string

MigrateV1ItemErrorCode Set with action ERROR; the UI translates it

const (
	MigrateV1ItemErrorCodeCatalogNotGranted  MigrateV1ItemErrorCode = "catalog_not_granted"
	MigrateV1ItemErrorCodeInvalidDefinition  MigrateV1ItemErrorCode = "invalid_definition"
	MigrateV1ItemErrorCodeInvalidMetric      MigrateV1ItemErrorCode = "invalid_metric"
	MigrateV1ItemErrorCodePrimaryKeyInvalid  MigrateV1ItemErrorCode = "primary_key_invalid"
	MigrateV1ItemErrorCodePrimaryKeyRequired MigrateV1ItemErrorCode = "primary_key_required"
	MigrateV1ItemErrorCodeSlugConflict       MigrateV1ItemErrorCode = "slug_conflict"
	MigrateV1ItemErrorCodeSpaceForbidden     MigrateV1ItemErrorCode = "space_forbidden"
	MigrateV1ItemErrorCodeWriteFailed        MigrateV1ItemErrorCode = "write_failed"
)

Defines values for MigrateV1ItemErrorCode.

type MigrateV1Report

type MigrateV1Report struct {
	DryRun bool            `json:"dry_run"`
	Items  []MigrateV1Item `json:"items"`
}

MigrateV1Report defines model for MigrateV1Report.

type MigrateV1Request

type MigrateV1Request struct {
	// DryRun Report what would change without writing
	DryRun *bool `json:"dry_run,omitempty"`

	// Tables Per-table choices; a table without an entry uses the defaults (primary key: a column named id)
	Tables *[]MigrateV1Table `json:"tables,omitempty"`
}

MigrateV1Request defines model for MigrateV1Request.

type MigrateV1Table

type MigrateV1Table struct {
	CatalogId  openapi_types.UUID `json:"catalog_id"`
	Namespace  []string           `json:"namespace"`
	PrimaryKey []string           `json:"primary_key"`
	Table      string             `json:"table"`
}

MigrateV1Table defines model for MigrateV1Table.

type Migration

type Migration struct {
	CreatedAt                 time.Time           `json:"created_at"`
	FailedTables              *int                `json:"failed_tables,omitempty"`
	FinishedAt                *time.Time          `json:"finished_at"`
	Id                        openapi_types.UUID  `json:"id"`
	MigratedTables            *int                `json:"migrated_tables,omitempty"`
	Name                      string              `json:"name"`
	SourceType                MigrationSourceType `json:"source_type"`
	SourceUrl                 string              `json:"source_url"`
	StartedAt                 *time.Time          `json:"started_at"`
	Status                    MigrationStatus     `json:"status"`
	TargetCatalogConnectionId openapi_types.UUID  `json:"target_catalog_connection_id"`
	TemporalWorkflowId        *string             `json:"temporal_workflow_id"`
	TotalTables               *int                `json:"total_tables,omitempty"`
}

Migration defines model for Migration.

type MigrationItem

type MigrationItem struct {
	ErrorMessage    *string             `json:"error_message"`
	FinishedAt      *time.Time          `json:"finished_at"`
	Id              openapi_types.UUID  `json:"id"`
	MigrationId     openapi_types.UUID  `json:"migration_id"`
	SourceNamespace string              `json:"source_namespace"`
	SourceTable     string              `json:"source_table"`
	StartedAt       *time.Time          `json:"started_at"`
	Status          MigrationItemStatus `json:"status"`
	TargetNamespace string              `json:"target_namespace"`
	TargetTable     string              `json:"target_table"`
}

MigrationItem defines model for MigrationItem.

type MigrationItemStatus

type MigrationItemStatus string

MigrationItemStatus defines model for MigrationItem.Status.

const (
	MigrationItemStatusFailed   MigrationItemStatus = "failed"
	MigrationItemStatusFinished MigrationItemStatus = "finished"
	MigrationItemStatusPending  MigrationItemStatus = "pending"
	MigrationItemStatusRunning  MigrationItemStatus = "running"
	MigrationItemStatusSkipped  MigrationItemStatus = "skipped"
)

Defines values for MigrationItemStatus.

type MigrationSourceType

type MigrationSourceType string

MigrationSourceType defines model for Migration.SourceType.

const (
	MigrationSourceTypeNessie MigrationSourceType = "nessie"
)

Defines values for MigrationSourceType.

type MigrationStatus

type MigrationStatus string

MigrationStatus defines model for Migration.Status.

const (
	MigrationStatusCancelled MigrationStatus = "cancelled"
	MigrationStatusFailed    MigrationStatus = "failed"
	MigrationStatusFinished  MigrationStatus = "finished"
	MigrationStatusPending   MigrationStatus = "pending"
	MigrationStatusRunning   MigrationStatus = "running"
)

Defines values for MigrationStatus.

type MonitoringEngine

type MonitoringEngine struct {
	Class string             `json:"class"`
	Id    openapi_types.UUID `json:"id"`
	Kind  string             `json:"kind"`
	Name  string             `json:"name"`
}

MonitoringEngine defines model for MonitoringEngine.

type MonitoringQuery

type MonitoringQuery struct {
	Catalog     string              `json:"catalog"`
	CpuMs       *int                `json:"cpu_ms"`
	CreatedAt   time.Time           `json:"created_at"`
	ElapsedMs   *int                `json:"elapsed_ms"`
	ExecutionId *openapi_types.UUID `json:"execution_id"`
	Origin      *string             `json:"origin,omitempty"`
	OutputRows  *int                `json:"output_rows"`

	// PeakMemoryBytes Peak user memory the engine reported; null when unknown
	PeakMemoryBytes    *int64 `json:"peak_memory_bytes"`
	PhysicalInputBytes *int   `json:"physical_input_bytes"`

	// QueueClass Workload class the run was queued in (interactive, heavy, background); null for engine-direct queries
	QueueClass   *string `json:"queue_class"`
	Schema       *string `json:"schema"`
	SqlFirstLine *string `json:"sql_first_line,omitempty"`
	State        string  `json:"state"`
	TrinoQueryId string  `json:"trino_query_id"`
	User         string  `json:"user"`
}

MonitoringQuery defines model for MonitoringQuery.

type MonitoringQueryDetail

type MonitoringQueryDetail struct {
	Catalog      string              `json:"catalog"`
	CpuMs        *int                `json:"cpu_ms"`
	CreatedAt    time.Time           `json:"created_at"`
	ElapsedMs    *int                `json:"elapsed_ms"`
	ErrorMessage *string             `json:"error_message"`
	ExecutionId  *openapi_types.UUID `json:"execution_id"`
	Origin       *string             `json:"origin,omitempty"`
	OutputRows   *int                `json:"output_rows"`

	// PeakMemoryBytes Peak user memory the engine reported; null when unknown
	PeakMemoryBytes    *int64 `json:"peak_memory_bytes"`
	PhysicalInputBytes *int   `json:"physical_input_bytes"`

	// QueueClass Workload class the run was queued in (interactive, heavy, background); null for engine-direct queries
	QueueClass *string `json:"queue_class"`

	// Resources What the query used, read from the coordinator when the detail is opened (#407). Absent when the engine does not report it or no longer knows the query; a field is null when the engine leaves it out.
	Resources    *MonitoringQueryResources `json:"resources"`
	Schema       *string                   `json:"schema"`
	Sql          *string                   `json:"sql,omitempty"`
	SqlFirstLine *string                   `json:"sql_first_line,omitempty"`
	State        string                    `json:"state"`
	TrinoQueryId string                    `json:"trino_query_id"`
	User         string                    `json:"user"`
}

MonitoringQueryDetail defines model for MonitoringQueryDetail.

type MonitoringQueryPage

type MonitoringQueryPage struct {
	Items      []MonitoringQuery `json:"items"`
	NextOffset *int              `json:"next_offset"`
}

MonitoringQueryPage defines model for MonitoringQueryPage.

type MonitoringQueryResources

type MonitoringQueryResources struct {
	OutputBytes *int64 `json:"output_bytes"`
	OutputRows  *int64 `json:"output_rows"`

	// PeakMemoryBytes Peak user memory
	PeakMemoryBytes *int64 `json:"peak_memory_bytes"`

	// PlanningMs Time spent planning
	PlanningMs *int64 `json:"planning_ms"`

	// ProcessedBytes Input bytes the query processed
	ProcessedBytes *int64 `json:"processed_bytes"`

	// ProcessedRows Input rows the query processed
	ProcessedRows *int64 `json:"processed_rows"`

	// QueuedMs Time spent queued
	QueuedMs *int64 `json:"queued_ms"`
}

MonitoringQueryResources What the query used, read from the coordinator when the detail is opened (#407). Absent when the engine does not report it or no longer knows the query; a field is null when the engine leaves it out.

type NessieCredentials

type NessieCredentials struct {
	// Token Bearer token optional
	Token *string `json:"token,omitempty"`
}

NessieCredentials defines model for NessieCredentials.

type NoContentResponse

type NoContentResponse struct {
}

type NotFound

type NotFound = Error

NotFound defines model for NotFound.

type NotFoundJSONResponse

type NotFoundJSONResponse Error

type OIDCClaimsConfig

type OIDCClaimsConfig struct {
	Email   *string `json:"email,omitempty"`
	Groups  *string `json:"groups,omitempty"`
	Name    *string `json:"name,omitempty"`
	Subject *string `json:"subject,omitempty"`
}

OIDCClaimsConfig Claim names published by the provider; empty uses the standard name.

type OIDCConfig

type OIDCConfig struct {
	AllowedEmailDomains *[]string `json:"allowed_email_domains,omitempty"`

	// AutoCreate Provision unknown subjects. Default deny; requires allowed_email_domains.
	AutoCreate *bool `json:"auto_create,omitempty"`

	// Claims Claim names published by the provider; empty uses the standard name.
	Claims           *OIDCClaimsConfig           `json:"claims,omitempty"`
	ClientId         string                      `json:"client_id"`
	ClientSecret     string                      `json:"client_secret"`
	DefaultRole      *OIDCConfigDefaultRole      `json:"default_role,omitempty"`
	IssuerUrl        string                      `json:"issuer_url"`
	RoleMapping      *[]IdentityRoleMapping      `json:"role_mapping,omitempty"`
	TeamMapping      *[]IdentityTeamMapping      `json:"team_mapping,omitempty"`
	WorkspaceMapping *[]IdentityWorkspaceMapping `json:"workspace_mapping,omitempty"`
}

OIDCConfig OIDC provider configuration written once. `client_secret` is never returned.

type OIDCConfigAdmin

type OIDCConfigAdmin struct {
	AllowedEmailDomains *[]string `json:"allowed_email_domains,omitempty"`
	AutoCreate          *bool     `json:"auto_create,omitempty"`

	// Claims Claim names published by the provider; empty uses the standard name.
	Claims           *OIDCClaimsConfig           `json:"claims,omitempty"`
	ClientId         *string                     `json:"client_id,omitempty"`
	DefaultRole      *OIDCConfigAdminDefaultRole `json:"default_role,omitempty"`
	IssuerUrl        *string                     `json:"issuer_url,omitempty"`
	RoleMapping      *[]IdentityRoleMapping      `json:"role_mapping,omitempty"`
	TeamMapping      *[]IdentityTeamMapping      `json:"team_mapping,omitempty"`
	WorkspaceMapping *[]IdentityWorkspaceMapping `json:"workspace_mapping,omitempty"`
}

OIDCConfigAdmin OIDC provider configuration without the client secret.

type OIDCConfigAdminDefaultRole

type OIDCConfigAdminDefaultRole string

OIDCConfigAdminDefaultRole defines model for OIDCConfigAdmin.DefaultRole.

const (
	OIDCConfigAdminDefaultRoleAdmin  OIDCConfigAdminDefaultRole = "admin"
	OIDCConfigAdminDefaultRoleMember OIDCConfigAdminDefaultRole = "member"
)

Defines values for OIDCConfigAdminDefaultRole.

type OIDCConfigDefaultRole

type OIDCConfigDefaultRole string

OIDCConfigDefaultRole defines model for OIDCConfig.DefaultRole.

const (
	OIDCConfigDefaultRoleAdmin  OIDCConfigDefaultRole = "admin"
	OIDCConfigDefaultRoleMember OIDCConfigDefaultRole = "member"
)

Defines values for OIDCConfigDefaultRole.

type OIDCProvider

type OIDCProvider struct {
	Id   openapi_types.UUID `json:"id"`
	Name string             `json:"name"`
	Type OIDCProviderType   `json:"type"`
}

OIDCProvider Experimental OIDC identity provider (phase 4).

type OIDCProviderType

type OIDCProviderType string

OIDCProviderType defines model for OIDCProvider.Type.

const (
	OIDCProviderTypeOidc OIDCProviderType = "oidc"
)

Defines values for OIDCProviderType.

type OIDCResult

type OIDCResult struct {
	Location string
	// OIDCCookie: nil = leave it, "" = clear it, other = set it.
	OIDCCookie *string
	// RefreshCookie is set on a successful callback.
	RefreshCookie *string
}

OIDCResult carries the redirect and cookies a strict OIDC handler wants the response middleware to write. The strict handler does not receive the ResponseWriter (#280).

func OIDCResultFromContext

func OIDCResultFromContext(ctx context.Context) *OIDCResult

OIDCResultFromContext returns the per-request OIDC result, or nil.

type ObservabilityDeps

type ObservabilityDeps struct {
	Audit   audit.Recorder
	Metrics *metrics.Registry
	Logger  *slog.Logger
}

ObservabilityDeps are optional: a nil Audit records nothing, a nil Metrics registers nothing and a nil Logger discards.

type OidcCallback302Response

type OidcCallback302Response struct {
}

func (OidcCallback302Response) VisitOidcCallbackResponse

func (response OidcCallback302Response) VisitOidcCallbackResponse(w http.ResponseWriter) error

type OidcCallback503JSONResponse

type OidcCallback503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (OidcCallback503JSONResponse) VisitOidcCallbackResponse

func (response OidcCallback503JSONResponse) VisitOidcCallbackResponse(w http.ResponseWriter) error

type OidcCallbackParams

type OidcCallbackParams struct {
	Code  string `form:"code" json:"code"`
	State string `form:"state" json:"state"`
}

OidcCallbackParams defines parameters for OidcCallback.

type OidcCallbackRequestObject

type OidcCallbackRequestObject struct {
	ProviderId openapi_types.UUID `json:"provider_id"`
	Params     OidcCallbackParams
}

type OidcCallbackResponseObject

type OidcCallbackResponseObject interface {
	VisitOidcCallbackResponse(w http.ResponseWriter) error
}

type OidcRedirect302Response

type OidcRedirect302Response struct {
}

func (OidcRedirect302Response) VisitOidcRedirectResponse

func (response OidcRedirect302Response) VisitOidcRedirectResponse(w http.ResponseWriter) error

type OidcRedirect503JSONResponse

type OidcRedirect503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (OidcRedirect503JSONResponse) VisitOidcRedirectResponse

func (response OidcRedirect503JSONResponse) VisitOidcRedirectResponse(w http.ResponseWriter) error

type OidcRedirectParams

type OidcRedirectParams struct {
	// Next Relative path to return to after login.
	Next *string `form:"next,omitempty" json:"next,omitempty"`
}

OidcRedirectParams defines parameters for OidcRedirect.

type OidcRedirectRequestObject

type OidcRedirectRequestObject struct {
	ProviderId openapi_types.UUID `json:"provider_id"`
	Params     OidcRedirectParams
}

type OidcRedirectResponseObject

type OidcRedirectResponseObject interface {
	VisitOidcRedirectResponse(w http.ResponseWriter) error
}

type OpsHandlers

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

OpsHandlers serves monitoring, system status, attention items and the audit log (#365).

func (*OpsHandlers) AnalyzeCatalogTableHealth

AnalyzeCatalogTableHealth starts a health pass of one catalog now.

func (*OpsHandlers) AnalyzeTableHealth

AnalyzeTableHealth starts a health pass of one table now.

func (*OpsHandlers) CancelMigration

func (*OpsHandlers) CreateMaintenanceRun

CreateMaintenanceRun starts an Iceberg maintenance run and records it.

func (*OpsHandlers) CreateMigration

func (*OpsHandlers) DeleteTableMaintenance

DeleteTableMaintenance removes a table's parameters.

func (*OpsHandlers) DryRunTableMaintenance

DryRunTableMaintenance plans the table now without running anything.

func (*OpsHandlers) ExportAuditCSV

ExportAuditCSV streams the current filter as CSV, capped at one million rows.

func (*OpsHandlers) GetBIGateway

GetBIGateway — GET /admin/bi-gateway (#711). Admins read the global switch and the gateway readiness (#1102); a missing singleton means enabled.

func (*OpsHandlers) GetCatalogMaintenancePlan

GetCatalogMaintenancePlan plans every table of the catalog with parameters.

func (*OpsHandlers) GetEngineCluster

GetEngineCluster returns the latest snapshot and a downsampled window.

func (*OpsHandlers) GetMigration

func (*OpsHandlers) GetMonitoringQuery

GetMonitoringQuery returns the full statement of one query, scoped like the list.

func (*OpsHandlers) GetSystemStatus

GetSystemStatus — GET /admin/system/status (#260). Admins only. Each dependency is probed independently: a slow or broken section becomes `unknown` with a stable code, and the response is still 200.

func (*OpsHandlers) GetTableMaintenance

GetTableMaintenance returns a table's parameters, what its catalog allows, its recent runs and its current plan.

func (*OpsHandlers) KillMonitoringQuery

KillMonitoringQuery cancels a running query through the engine's kill.

func (*OpsHandlers) ListAuditActions

ListAuditActions returns the bounded vocabulary for the action filter.

func (*OpsHandlers) ListAuditEvents

ListAuditEvents — GET /audit/events (#45). A global admin sees every event; anyone else only the events they performed.

func (*OpsHandlers) ListMaintenanceRuns

ListMaintenanceRuns lists the runs of one catalog, newest first.

func (*OpsHandlers) ListMigrations

func (*OpsHandlers) ListMonitoringEngines

ListMonitoringEngines returns the engines with runtime monitoring the caller may view (#117).

func (*OpsHandlers) ListMonitoringQueries

ListMonitoringQueries returns query snapshots of one engine. Members see their own Trino identity; only admins may ask for everyone.

func (*OpsHandlers) ListTableHealth

ListTableHealth returns the Iceberg health rows of one logical catalog.

func (*OpsHandlers) PutBIGateway

PutBIGateway — PUT /admin/bi-gateway (#711). Admins turn the global gateway on or off at runtime; the change applies at the next request.

func (*OpsHandlers) PutTableMaintenance

PutTableMaintenance creates or replaces a table's parameters.

func (*OpsHandlers) ResolveAudit

ResolveAudit resolves ids to names, only for entities the caller can see.

func (OpsHandlers) ResolveTarget

func (h OpsHandlers) ResolveTarget(ctx context.Context, ws db.Workspace, req *TargetRequest) (queryengine.Target, error)

ResolveTarget decides where a run executes (#13):

  1. an explicit binding, or a catalog (with engine_id when it is bound to several engines);
  2. else the workspace default target;
  3. else the workspace's only target (one catalog with one binding);
  4. else 422 target_required.

The binding's catalog must be one the workspace may use (#16), else 404; the binding, engine and catalog must be enabled, else 422 target_unavailable. A grant never makes the target read-only: the engine and the catalog manager decide what may be written (#651). There is no fallback to the workspace owner's first catalog or to polaris_catalog_name.

func (*OpsHandlers) RunTableMaintenance

RunTableMaintenance runs one operation on the table now.

func (*OpsHandlers) StartMigration

func (*OpsHandlers) StreamMonitoringEvents

StreamMonitoringEvents streams a small "changed" signal when an engine's monitoring data changes (#733). The payload is not the data: the client re-fetches its filtered list on each event. Changes are written by the worker (Lens pollers) and the API (Trino event ingester); the hub already carries the cross-process hop (see internal/monitoring/events).

type OpsSettings

type OpsSettings struct {
	PluginVersion       string
	AuditExportURL      string
	SchedulesEnabled    bool
	MetadataSyncEvery   time.Duration
	ReconcileMaxActions int
	ReconcileInterval   time.Duration
	TemporalUIURL       string
	TemporalNamespace   string
}

OpsSettings are the schedules, reconciliation and platform details.

type Pagination

type Pagination struct {
	Page       int `json:"page"`
	PerPage    int `json:"per_page"`
	Total      int `json:"total"`
	TotalPages int `json:"total_pages"`
}

Pagination defines model for Pagination.

type PasswordResetConfirmBody

type PasswordResetConfirmBody struct {
	NewPassword string `json:"new_password"`
	Token       string `json:"token"`
}

PasswordResetConfirmBody defines model for PasswordResetConfirmBody.

type PasswordResetRequestBody

type PasswordResetRequestBody struct {
	Email openapi_types.Email `json:"email"`
}

PasswordResetRequestBody defines model for PasswordResetRequestBody.

type PathAgentId

type PathAgentId = openapi_types.UUID

PathAgentId defines model for PathAgentId.

type PathAgentTokenId

type PathAgentTokenId = openapi_types.UUID

PathAgentTokenId defines model for PathAgentTokenId.

type PathId

type PathId = openapi_types.UUID

PathId defines model for PathId.

type PathKeyId

type PathKeyId = openapi_types.UUID

PathKeyId defines model for PathKeyId.

type PopularTable

type PopularTable struct {
	CatalogId openapi_types.UUID `json:"catalog_id"`

	// Kind table, view or materialized_view
	Kind             string     `json:"kind"`
	LastUsedAt       time.Time  `json:"last_used_at"`
	MetadataSyncedAt *time.Time `json:"metadata_synced_at"`
	Name             string     `json:"name"`
	Namespace        []string   `json:"namespace"`

	// Score Uses with a 7-day half-life decay
	Score   float64            `json:"score"`
	TableId openapi_types.UUID `json:"table_id"`

	// Uses Finished statements that read the table in the last 30 days
	Uses int `json:"uses"`
}

PopularTable defines model for PopularTable.

type PreviewCron200JSONResponse

type PreviewCron200JSONResponse CronPreviewResult

func (PreviewCron200JSONResponse) VisitPreviewCronResponse

func (response PreviewCron200JSONResponse) VisitPreviewCronResponse(w http.ResponseWriter) error

type PreviewCron401JSONResponse

type PreviewCron401JSONResponse struct{ UnauthorizedJSONResponse }

func (PreviewCron401JSONResponse) VisitPreviewCronResponse

func (response PreviewCron401JSONResponse) VisitPreviewCronResponse(w http.ResponseWriter) error

type PreviewCron422JSONResponse

type PreviewCron422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (PreviewCron422JSONResponse) VisitPreviewCronResponse

func (response PreviewCron422JSONResponse) VisitPreviewCronResponse(w http.ResponseWriter) error

type PreviewCronJSONRequestBody

type PreviewCronJSONRequestBody = CronPreviewRequest

PreviewCronJSONRequestBody defines body for PreviewCron for application/json ContentType.

type PreviewCronRequestObject

type PreviewCronRequestObject struct {
	Body *PreviewCronJSONRequestBody
}

type PreviewCronResponseObject

type PreviewCronResponseObject interface {
	VisitPreviewCronResponse(w http.ResponseWriter) error
}

type PreviewIdentityMapping200JSONResponse

type PreviewIdentityMapping200JSONResponse IdentityMappingPreview

func (PreviewIdentityMapping200JSONResponse) VisitPreviewIdentityMappingResponse

func (response PreviewIdentityMapping200JSONResponse) VisitPreviewIdentityMappingResponse(w http.ResponseWriter) error

type PreviewIdentityMapping401JSONResponse

type PreviewIdentityMapping401JSONResponse struct{ UnauthorizedJSONResponse }

func (PreviewIdentityMapping401JSONResponse) VisitPreviewIdentityMappingResponse

func (response PreviewIdentityMapping401JSONResponse) VisitPreviewIdentityMappingResponse(w http.ResponseWriter) error

type PreviewIdentityMapping403JSONResponse

type PreviewIdentityMapping403JSONResponse struct{ ForbiddenJSONResponse }

func (PreviewIdentityMapping403JSONResponse) VisitPreviewIdentityMappingResponse

func (response PreviewIdentityMapping403JSONResponse) VisitPreviewIdentityMappingResponse(w http.ResponseWriter) error

type PreviewIdentityMapping422JSONResponse

type PreviewIdentityMapping422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (PreviewIdentityMapping422JSONResponse) VisitPreviewIdentityMappingResponse

func (response PreviewIdentityMapping422JSONResponse) VisitPreviewIdentityMappingResponse(w http.ResponseWriter) error

type PreviewIdentityMappingJSONRequestBody

type PreviewIdentityMappingJSONRequestBody = IdentityMappingPreviewRequest

PreviewIdentityMappingJSONRequestBody defines body for PreviewIdentityMapping for application/json ContentType.

type PreviewIdentityMappingRequestObject

type PreviewIdentityMappingRequestObject struct {
	Body *PreviewIdentityMappingJSONRequestBody
}

type PreviewIdentityMappingResponseObject

type PreviewIdentityMappingResponseObject interface {
	VisitPreviewIdentityMappingResponse(w http.ResponseWriter) error
}

type PublishCatalogDataPolicies201JSONResponse

type PublishCatalogDataPolicies201JSONResponse DataPolicyRevision

func (PublishCatalogDataPolicies201JSONResponse) VisitPublishCatalogDataPoliciesResponse

func (response PublishCatalogDataPolicies201JSONResponse) VisitPublishCatalogDataPoliciesResponse(w http.ResponseWriter) error

type PublishCatalogDataPolicies401JSONResponse

type PublishCatalogDataPolicies401JSONResponse struct{ UnauthorizedJSONResponse }

func (PublishCatalogDataPolicies401JSONResponse) VisitPublishCatalogDataPoliciesResponse

func (response PublishCatalogDataPolicies401JSONResponse) VisitPublishCatalogDataPoliciesResponse(w http.ResponseWriter) error

type PublishCatalogDataPolicies403JSONResponse

type PublishCatalogDataPolicies403JSONResponse struct{ ForbiddenJSONResponse }

func (PublishCatalogDataPolicies403JSONResponse) VisitPublishCatalogDataPoliciesResponse

func (response PublishCatalogDataPolicies403JSONResponse) VisitPublishCatalogDataPoliciesResponse(w http.ResponseWriter) error

type PublishCatalogDataPolicies404JSONResponse

type PublishCatalogDataPolicies404JSONResponse struct{ NotFoundJSONResponse }

func (PublishCatalogDataPolicies404JSONResponse) VisitPublishCatalogDataPoliciesResponse

func (response PublishCatalogDataPolicies404JSONResponse) VisitPublishCatalogDataPoliciesResponse(w http.ResponseWriter) error

type PublishCatalogDataPolicies409JSONResponse

type PublishCatalogDataPolicies409JSONResponse struct{ ConflictJSONResponse }

func (PublishCatalogDataPolicies409JSONResponse) VisitPublishCatalogDataPoliciesResponse

func (response PublishCatalogDataPolicies409JSONResponse) VisitPublishCatalogDataPoliciesResponse(w http.ResponseWriter) error

type PublishCatalogDataPolicies422JSONResponse

type PublishCatalogDataPolicies422JSONResponse struct{ DataPolicyRefusedJSONResponse }

func (PublishCatalogDataPolicies422JSONResponse) VisitPublishCatalogDataPoliciesResponse

func (response PublishCatalogDataPolicies422JSONResponse) VisitPublishCatalogDataPoliciesResponse(w http.ResponseWriter) error

type PublishCatalogDataPolicies503JSONResponse

type PublishCatalogDataPolicies503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (PublishCatalogDataPolicies503JSONResponse) VisitPublishCatalogDataPoliciesResponse

func (response PublishCatalogDataPolicies503JSONResponse) VisitPublishCatalogDataPoliciesResponse(w http.ResponseWriter) error

type PublishCatalogDataPoliciesRequestObject

type PublishCatalogDataPoliciesRequestObject struct {
	Id PathId `json:"id"`
}

type PublishCatalogDataPoliciesResponseObject

type PublishCatalogDataPoliciesResponseObject interface {
	VisitPublishCatalogDataPoliciesResponse(w http.ResponseWriter) error
}

type PutAgentPolicy200JSONResponse

type PutAgentPolicy200JSONResponse AgentPolicyResponse

func (PutAgentPolicy200JSONResponse) VisitPutAgentPolicyResponse

func (response PutAgentPolicy200JSONResponse) VisitPutAgentPolicyResponse(w http.ResponseWriter) error

type PutAgentPolicy401JSONResponse

type PutAgentPolicy401JSONResponse struct{ UnauthorizedJSONResponse }

func (PutAgentPolicy401JSONResponse) VisitPutAgentPolicyResponse

func (response PutAgentPolicy401JSONResponse) VisitPutAgentPolicyResponse(w http.ResponseWriter) error

type PutAgentPolicy403JSONResponse

type PutAgentPolicy403JSONResponse struct{ ForbiddenJSONResponse }

func (PutAgentPolicy403JSONResponse) VisitPutAgentPolicyResponse

func (response PutAgentPolicy403JSONResponse) VisitPutAgentPolicyResponse(w http.ResponseWriter) error

type PutAgentPolicy404JSONResponse

type PutAgentPolicy404JSONResponse struct{ NotFoundJSONResponse }

func (PutAgentPolicy404JSONResponse) VisitPutAgentPolicyResponse

func (response PutAgentPolicy404JSONResponse) VisitPutAgentPolicyResponse(w http.ResponseWriter) error

type PutAgentPolicy422JSONResponse

type PutAgentPolicy422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (PutAgentPolicy422JSONResponse) VisitPutAgentPolicyResponse

func (response PutAgentPolicy422JSONResponse) VisitPutAgentPolicyResponse(w http.ResponseWriter) error

type PutAgentPolicyJSONRequestBody

type PutAgentPolicyJSONRequestBody = AgentPolicy

PutAgentPolicyJSONRequestBody defines body for PutAgentPolicy for application/json ContentType.

type PutAgentPolicyRequestObject

type PutAgentPolicyRequestObject struct {
	AgentId PathAgentId `json:"agent_id"`
	Body    *PutAgentPolicyJSONRequestBody
}

type PutAgentPolicyResponseObject

type PutAgentPolicyResponseObject interface {
	VisitPutAgentPolicyResponse(w http.ResponseWriter) error
}

type PutAssistantSettings200JSONResponse

type PutAssistantSettings200JSONResponse AssistantSettings

func (PutAssistantSettings200JSONResponse) VisitPutAssistantSettingsResponse

func (response PutAssistantSettings200JSONResponse) VisitPutAssistantSettingsResponse(w http.ResponseWriter) error

type PutAssistantSettings401JSONResponse

type PutAssistantSettings401JSONResponse struct{ UnauthorizedJSONResponse }

func (PutAssistantSettings401JSONResponse) VisitPutAssistantSettingsResponse

func (response PutAssistantSettings401JSONResponse) VisitPutAssistantSettingsResponse(w http.ResponseWriter) error

type PutAssistantSettings403JSONResponse

type PutAssistantSettings403JSONResponse struct{ ForbiddenJSONResponse }

func (PutAssistantSettings403JSONResponse) VisitPutAssistantSettingsResponse

func (response PutAssistantSettings403JSONResponse) VisitPutAssistantSettingsResponse(w http.ResponseWriter) error

type PutAssistantSettings422JSONResponse

type PutAssistantSettings422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (PutAssistantSettings422JSONResponse) VisitPutAssistantSettingsResponse

func (response PutAssistantSettings422JSONResponse) VisitPutAssistantSettingsResponse(w http.ResponseWriter) error

type PutAssistantSettingsJSONRequestBody

type PutAssistantSettingsJSONRequestBody = UpdateAssistantSettingsRequest

PutAssistantSettingsJSONRequestBody defines body for PutAssistantSettings for application/json ContentType.

type PutAssistantSettingsRequestObject

type PutAssistantSettingsRequestObject struct {
	Body *PutAssistantSettingsJSONRequestBody
}

type PutAssistantSettingsResponseObject

type PutAssistantSettingsResponseObject interface {
	VisitPutAssistantSettingsResponse(w http.ResponseWriter) error
}

type PutBIGateway200JSONResponse

type PutBIGateway200JSONResponse BIGatewayStatus

func (PutBIGateway200JSONResponse) VisitPutBIGatewayResponse

func (response PutBIGateway200JSONResponse) VisitPutBIGatewayResponse(w http.ResponseWriter) error

type PutBIGateway401JSONResponse

type PutBIGateway401JSONResponse struct{ UnauthorizedJSONResponse }

func (PutBIGateway401JSONResponse) VisitPutBIGatewayResponse

func (response PutBIGateway401JSONResponse) VisitPutBIGatewayResponse(w http.ResponseWriter) error

type PutBIGateway403JSONResponse

type PutBIGateway403JSONResponse struct{ ForbiddenJSONResponse }

func (PutBIGateway403JSONResponse) VisitPutBIGatewayResponse

func (response PutBIGateway403JSONResponse) VisitPutBIGatewayResponse(w http.ResponseWriter) error

type PutBIGateway422JSONResponse

type PutBIGateway422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (PutBIGateway422JSONResponse) VisitPutBIGatewayResponse

func (response PutBIGateway422JSONResponse) VisitPutBIGatewayResponse(w http.ResponseWriter) error

type PutBIGatewayJSONRequestBody

type PutBIGatewayJSONRequestBody = UpdateBIGatewayRequest

PutBIGatewayJSONRequestBody defines body for PutBIGateway for application/json ContentType.

type PutBIGatewayRequestObject

type PutBIGatewayRequestObject struct {
	Body *PutBIGatewayJSONRequestBody
}

type PutBIGatewayResponseObject

type PutBIGatewayResponseObject interface {
	VisitPutBIGatewayResponse(w http.ResponseWriter) error
}

type PutEngineQueues200JSONResponse

type PutEngineQueues200JSONResponse EngineQueues

func (PutEngineQueues200JSONResponse) VisitPutEngineQueuesResponse

func (response PutEngineQueues200JSONResponse) VisitPutEngineQueuesResponse(w http.ResponseWriter) error

type PutEngineQueues401JSONResponse

type PutEngineQueues401JSONResponse struct{ UnauthorizedJSONResponse }

func (PutEngineQueues401JSONResponse) VisitPutEngineQueuesResponse

func (response PutEngineQueues401JSONResponse) VisitPutEngineQueuesResponse(w http.ResponseWriter) error

type PutEngineQueues403JSONResponse

type PutEngineQueues403JSONResponse struct{ ForbiddenJSONResponse }

func (PutEngineQueues403JSONResponse) VisitPutEngineQueuesResponse

func (response PutEngineQueues403JSONResponse) VisitPutEngineQueuesResponse(w http.ResponseWriter) error

type PutEngineQueues404JSONResponse

type PutEngineQueues404JSONResponse struct{ NotFoundJSONResponse }

func (PutEngineQueues404JSONResponse) VisitPutEngineQueuesResponse

func (response PutEngineQueues404JSONResponse) VisitPutEngineQueuesResponse(w http.ResponseWriter) error

type PutEngineQueues422JSONResponse

type PutEngineQueues422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (PutEngineQueues422JSONResponse) VisitPutEngineQueuesResponse

func (response PutEngineQueues422JSONResponse) VisitPutEngineQueuesResponse(w http.ResponseWriter) error

type PutEngineQueuesJSONRequestBody

type PutEngineQueuesJSONRequestBody = UpdateEngineQueuesRequest

PutEngineQueuesJSONRequestBody defines body for PutEngineQueues for application/json ContentType.

type PutEngineQueuesRequestObject

type PutEngineQueuesRequestObject struct {
	Id   PathId `json:"id"`
	Body *PutEngineQueuesJSONRequestBody
}

type PutEngineQueuesResponseObject

type PutEngineQueuesResponseObject interface {
	VisitPutEngineQueuesResponse(w http.ResponseWriter) error
}

type PutTableMaintenance200JSONResponse

type PutTableMaintenance200JSONResponse StoredMaintenancePolicy

func (PutTableMaintenance200JSONResponse) VisitPutTableMaintenanceResponse

func (response PutTableMaintenance200JSONResponse) VisitPutTableMaintenanceResponse(w http.ResponseWriter) error

type PutTableMaintenance401JSONResponse

type PutTableMaintenance401JSONResponse struct{ UnauthorizedJSONResponse }

func (PutTableMaintenance401JSONResponse) VisitPutTableMaintenanceResponse

func (response PutTableMaintenance401JSONResponse) VisitPutTableMaintenanceResponse(w http.ResponseWriter) error

type PutTableMaintenance403JSONResponse

type PutTableMaintenance403JSONResponse struct{ ForbiddenJSONResponse }

func (PutTableMaintenance403JSONResponse) VisitPutTableMaintenanceResponse

func (response PutTableMaintenance403JSONResponse) VisitPutTableMaintenanceResponse(w http.ResponseWriter) error

type PutTableMaintenance404JSONResponse

type PutTableMaintenance404JSONResponse struct{ NotFoundJSONResponse }

func (PutTableMaintenance404JSONResponse) VisitPutTableMaintenanceResponse

func (response PutTableMaintenance404JSONResponse) VisitPutTableMaintenanceResponse(w http.ResponseWriter) error

type PutTableMaintenance409JSONResponse

type PutTableMaintenance409JSONResponse struct{ ConflictJSONResponse }

func (PutTableMaintenance409JSONResponse) VisitPutTableMaintenanceResponse

func (response PutTableMaintenance409JSONResponse) VisitPutTableMaintenanceResponse(w http.ResponseWriter) error

type PutTableMaintenance422JSONResponse

type PutTableMaintenance422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (PutTableMaintenance422JSONResponse) VisitPutTableMaintenanceResponse

func (response PutTableMaintenance422JSONResponse) VisitPutTableMaintenanceResponse(w http.ResponseWriter) error

type PutTableMaintenanceJSONRequestBody

type PutTableMaintenanceJSONRequestBody = MaintenancePolicy

PutTableMaintenanceJSONRequestBody defines body for PutTableMaintenance for application/json ContentType.

type PutTableMaintenanceParams

type PutTableMaintenanceParams struct {
	// IfMatch The revision being replaced.
	IfMatch *string `json:"If-Match,omitempty"`
}

PutTableMaintenanceParams defines parameters for PutTableMaintenance.

type PutTableMaintenanceRequestObject

type PutTableMaintenanceRequestObject struct {
	CatalogId MaintenanceCatalogId `json:"catalog_id"`
	Namespace MaintenanceNamespace `json:"namespace"`
	Table     MaintenanceTable     `json:"table"`
	Params    PutTableMaintenanceParams
	Body      *PutTableMaintenanceJSONRequestBody
}

type PutTableMaintenanceResponseObject

type PutTableMaintenanceResponseObject interface {
	VisitPutTableMaintenanceResponse(w http.ResponseWriter) error
}

type QueryFolder

type QueryFolder struct {
	CreatedAt   time.Time           `json:"created_at"`
	Id          openapi_types.UUID  `json:"id"`
	Name        string              `json:"name"`
	ParentId    *openapi_types.UUID `json:"parent_id"`
	Slug        string              `json:"slug"`
	SpaceId     openapi_types.UUID  `json:"space_id"`
	WorkspaceId openapi_types.UUID  `json:"workspace_id"`
}

QueryFolder defines model for QueryFolder.

type QueryHandlers

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

QueryHandlers serves the query editor, saved queries, results and retrievers (#365).

func (*QueryHandlers) CancelExecution

func (*QueryHandlers) CreateFolder

func (*QueryHandlers) CreateRetriever

func (*QueryHandlers) CreateSavedQuery

func (*QueryHandlers) DeleteFolder

func (*QueryHandlers) DeleteRetriever

func (*QueryHandlers) DeleteSavedQuery

func (*QueryHandlers) GetExecution

func (*QueryHandlers) GetExecutionDetails

GetExecutionDetails — GET /workspaces/{id}/executions/{execution_id}/details Per-statement rows, bytes and duration, plus the Trino profile Lens recorded for each statement (B3, #532). A direct engine has no profile; the endpoint still reports its rows and duration.

func (*QueryHandlers) GetResults

func (*QueryHandlers) GetRetriever

func (*QueryHandlers) GetSavedQuery

func (*QueryHandlers) GetStatementResults

GetStatementResults streams a single statement's result set, scoped to the requesting workspace. Same auth and delivery model as GetResults.

func (*QueryHandlers) IssueWsTicket

IssueWsTicket mints a single-use WebSocket ticket (#26) so the client never puts the JWT in a URL.

func (*QueryHandlers) ListExecutions

func (*QueryHandlers) ListFolders

func (*QueryHandlers) ListRetrievers

func (*QueryHandlers) ListSavedQueries

func (*QueryHandlers) ListStatements

func (*QueryHandlers) PreviewCron

PreviewCron returns the next five runs from the server's parser; the browser never evaluates cron itself (#118).

func (QueryHandlers) ResolveTarget

func (h QueryHandlers) ResolveTarget(ctx context.Context, ws db.Workspace, req *TargetRequest) (queryengine.Target, error)

ResolveTarget decides where a run executes (#13):

  1. an explicit binding, or a catalog (with engine_id when it is bound to several engines);
  2. else the workspace default target;
  3. else the workspace's only target (one catalog with one binding);
  4. else 422 target_required.

The binding's catalog must be one the workspace may use (#16), else 404; the binding, engine and catalog must be enabled, else 422 target_unavailable. A grant never makes the target read-only: the engine and the catalog manager decide what may be written (#651). There is no fallback to the workspace owner's first catalog or to polaris_catalog_name.

func (*QueryHandlers) RunQuery

func (*QueryHandlers) StreamExecution

func (*QueryHandlers) UpdateFolder

UpdateFolder — PATCH /workspaces/{id}/folders/{folder_id} (#113). Renames a folder or moves its subtree within or across spaces.

func (*QueryHandlers) UpdateRetriever

func (*QueryHandlers) UpdateSavedQuery

func (*QueryHandlers) ValidateRetriever

ValidateRetriever parses the definition and explains it on the destination engine in a read-only session with the caller's identity (#118).

type QueryPage

type QueryPage = int

QueryPage defines model for QueryPage.

type QueryPerPage

type QueryPerPage = int

QueryPerPage defines model for QueryPerPage.

type QueryStatement

type QueryStatement struct {
	DurationMs *int `json:"duration_ms"`

	// EngineQueryId The statement's id on its engine. Was trino_query_id
	EngineQueryId *string `json:"engine_query_id"`

	// ErrorCode Typed reason of a failed or cancelled statement: an engine code (syntax, not_found, permission_denied, timeout, cancelled, resource_exhausted, engine_unavailable, read_only_unsupported, conflict, storage_error, internal), `editor_rejected`, or `interrupted` when the worker stopped mid-statement (its outcome on the engine is unknown).
	ErrorCode    *string `json:"error_code"`
	ErrorMessage *string `json:"error_message"`

	// ErrorNative The engine's own error identifier (SQLSTATE, Trino errorName, gRPC status)
	ErrorNative *string            `json:"error_native"`
	ExecutionId openapi_types.UUID `json:"execution_id"`
	FinishedAt  *time.Time         `json:"finished_at"`
	Id          openapi_types.UUID `json:"id"`
	Position    int                `json:"position"`
	ResultBytes *int               `json:"result_bytes"`

	// ResultCount Number of result sets produced
	ResultCount *int `json:"result_count,omitempty"`

	// ResultSets Stored results of the statement, one per result set
	ResultSets *[]struct {
		Bytes       int  `json:"bytes"`
		ResultIndex int  `json:"result_index"`
		Rows        int  `json:"rows"`
		Truncated   bool `json:"truncated"`
	} `json:"result_sets,omitempty"`
	RowsReturned *int       `json:"rows_returned"`
	Sql          string     `json:"sql"`
	StartedAt    *time.Time `json:"started_at"`

	// Status All statements of an execution run in order in one engine session. `pending` has not started yet; `skipped` never ran because an earlier statement failed, the execution was cancelled, or the worker was interrupted.
	Status    QueryStatementStatus `json:"status"`
	Truncated *bool                `json:"truncated"`

	// UpdateCount Affected rows for DML/DDL when the engine reports it
	UpdateCount *int `json:"update_count"`
}

QueryStatement defines model for QueryStatement.

type QueryStatementStatus

type QueryStatementStatus string

QueryStatementStatus All statements of an execution run in order in one engine session. `pending` has not started yet; `skipped` never ran because an earlier statement failed, the execution was cancelled, or the worker was interrupted.

const (
	QueryStatementStatusCancelled QueryStatementStatus = "cancelled"
	QueryStatementStatusFailed    QueryStatementStatus = "failed"
	QueryStatementStatusFinished  QueryStatementStatus = "finished"
	QueryStatementStatusPending   QueryStatementStatus = "pending"
	QueryStatementStatusRunning   QueryStatementStatus = "running"
	QueryStatementStatusSkipped   QueryStatementStatus = "skipped"
)

Defines values for QueryStatementStatus.

type ReconcileAction

type ReconcileAction struct {
	// Catalog The catalog's name in the engine
	Catalog   string              `json:"catalog"`
	ErrorCode *string             `json:"error_code"`
	Kind      ReconcileActionKind `json:"kind"`

	// Reason missing_in_engine, version_mismatch, binding_in_error, pending_drop, already_dropped, unprojectable, unknown
	Reason string                `json:"reason"`
	Result ReconcileActionResult `json:"result"`
}

ReconcileAction defines model for ReconcileAction.

type ReconcileActionKind

type ReconcileActionKind string

ReconcileActionKind defines model for ReconcileAction.Kind.

const (
	ReconcileActionKindCreate   ReconcileActionKind = "create"
	ReconcileActionKindDrop     ReconcileActionKind = "drop"
	ReconcileActionKindNone     ReconcileActionKind = "none"
	ReconcileActionKindRecreate ReconcileActionKind = "recreate"
)

Defines values for ReconcileActionKind.

type ReconcileActionResult

type ReconcileActionResult string

ReconcileActionResult defines model for ReconcileAction.Result.

const (
	ReconcileActionResultApplied       ReconcileActionResult = "applied"
	ReconcileActionResultFailed        ReconcileActionResult = "failed"
	ReconcileActionResultReported      ReconcileActionResult = "reported"
	ReconcileActionResultSkippedDryRun ReconcileActionResult = "skipped_dry_run"
)

Defines values for ReconcileActionResult.

type ReconcileEngine200JSONResponse

type ReconcileEngine200JSONResponse ReconcileRun

func (ReconcileEngine200JSONResponse) VisitReconcileEngineResponse

func (response ReconcileEngine200JSONResponse) VisitReconcileEngineResponse(w http.ResponseWriter) error

type ReconcileEngine401JSONResponse

type ReconcileEngine401JSONResponse struct{ UnauthorizedJSONResponse }

func (ReconcileEngine401JSONResponse) VisitReconcileEngineResponse

func (response ReconcileEngine401JSONResponse) VisitReconcileEngineResponse(w http.ResponseWriter) error

type ReconcileEngine403JSONResponse

type ReconcileEngine403JSONResponse struct{ ForbiddenJSONResponse }

func (ReconcileEngine403JSONResponse) VisitReconcileEngineResponse

func (response ReconcileEngine403JSONResponse) VisitReconcileEngineResponse(w http.ResponseWriter) error

type ReconcileEngine404JSONResponse

type ReconcileEngine404JSONResponse struct{ NotFoundJSONResponse }

func (ReconcileEngine404JSONResponse) VisitReconcileEngineResponse

func (response ReconcileEngine404JSONResponse) VisitReconcileEngineResponse(w http.ResponseWriter) error

type ReconcileEngine422JSONResponse

type ReconcileEngine422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (ReconcileEngine422JSONResponse) VisitReconcileEngineResponse

func (response ReconcileEngine422JSONResponse) VisitReconcileEngineResponse(w http.ResponseWriter) error

type ReconcileEngineParams

type ReconcileEngineParams struct {
	DryRun *bool `form:"dry_run,omitempty" json:"dry_run,omitempty"`
}

ReconcileEngineParams defines parameters for ReconcileEngine.

type ReconcileEngineRequestObject

type ReconcileEngineRequestObject struct {
	Id     PathId `json:"id"`
	Params ReconcileEngineParams
}

type ReconcileEngineResponseObject

type ReconcileEngineResponseObject interface {
	VisitReconcileEngineResponse(w http.ResponseWriter) error
}

type ReconcileRun

type ReconcileRun struct {
	Actions []ReconcileAction `json:"actions"`

	// Adopted Catalogs the engine has that Baleia does not manage: reported, never dropped
	Adopted    []string           `json:"adopted"`
	DryRun     bool               `json:"dry_run"`
	EngineId   openapi_types.UUID `json:"engine_id"`
	Error      *string            `json:"error"`
	FinishedAt time.Time          `json:"finished_at"`
	Id         openapi_types.UUID `json:"id"`

	// MaxActions BALEIA_RECONCILE_MAX_ACTIONS of the run
	MaxActions *int      `json:"max_actions"`
	StartedAt  time.Time `json:"started_at"`
}

ReconcileRun defines model for ReconcileRun.

type ReconcileTrino200JSONResponse

type ReconcileTrino200JSONResponse ReconcileRun

func (ReconcileTrino200JSONResponse) VisitReconcileTrinoResponse

func (response ReconcileTrino200JSONResponse) VisitReconcileTrinoResponse(w http.ResponseWriter) error

type ReconcileTrino401JSONResponse

type ReconcileTrino401JSONResponse struct{ UnauthorizedJSONResponse }

func (ReconcileTrino401JSONResponse) VisitReconcileTrinoResponse

func (response ReconcileTrino401JSONResponse) VisitReconcileTrinoResponse(w http.ResponseWriter) error

type ReconcileTrino403JSONResponse

type ReconcileTrino403JSONResponse struct{ ForbiddenJSONResponse }

func (ReconcileTrino403JSONResponse) VisitReconcileTrinoResponse

func (response ReconcileTrino403JSONResponse) VisitReconcileTrinoResponse(w http.ResponseWriter) error

type ReconcileTrino422JSONResponse

type ReconcileTrino422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (ReconcileTrino422JSONResponse) VisitReconcileTrinoResponse

func (response ReconcileTrino422JSONResponse) VisitReconcileTrinoResponse(w http.ResponseWriter) error

type ReconcileTrinoParams

type ReconcileTrinoParams struct {
	DryRun *bool `form:"dry_run,omitempty" json:"dry_run,omitempty"`
}

ReconcileTrinoParams defines parameters for ReconcileTrino.

type ReconcileTrinoRequestObject

type ReconcileTrinoRequestObject struct {
	Params ReconcileTrinoParams
}

type ReconcileTrinoResponseObject

type ReconcileTrinoResponseObject interface {
	VisitReconcileTrinoResponse(w http.ResponseWriter) error
}

type RefreshRequest

type RefreshRequest struct {
	// RefreshToken Optional when the `baleia_refresh` cookie is present.
	RefreshToken *string `json:"refresh_token,omitempty"`
}

RefreshRequest defines model for RefreshRequest.

type RefreshResponse

type RefreshResponse struct {
	ExpiresAt time.Time `json:"expires_at"`

	// RefreshToken Only returned to API clients that send `X-Baleia-Client: api`. Browsers receive the rotated refresh token in the HttpOnly `baleia_refresh` cookie.
	RefreshToken *string `json:"refresh_token,omitempty"`
	Token        string  `json:"token"`
}

RefreshResponse defines model for RefreshResponse.

type RefreshToken200JSONResponse

type RefreshToken200JSONResponse RefreshResponse

func (RefreshToken200JSONResponse) VisitRefreshTokenResponse

func (response RefreshToken200JSONResponse) VisitRefreshTokenResponse(w http.ResponseWriter) error

type RefreshToken401JSONResponse

type RefreshToken401JSONResponse struct{ UnauthorizedJSONResponse }

func (RefreshToken401JSONResponse) VisitRefreshTokenResponse

func (response RefreshToken401JSONResponse) VisitRefreshTokenResponse(w http.ResponseWriter) error

type RefreshTokenJSONRequestBody

type RefreshTokenJSONRequestBody = RefreshRequest

RefreshTokenJSONRequestBody defines body for RefreshToken for application/json ContentType.

type RefreshTokenRequestObject

type RefreshTokenRequestObject struct {
	Body *RefreshTokenJSONRequestBody
}

type RefreshTokenResponseObject

type RefreshTokenResponseObject interface {
	VisitRefreshTokenResponse(w http.ResponseWriter) error
}

type ReinstateUser200JSONResponse

type ReinstateUser200JSONResponse UserPublic

func (ReinstateUser200JSONResponse) VisitReinstateUserResponse

func (response ReinstateUser200JSONResponse) VisitReinstateUserResponse(w http.ResponseWriter) error

type ReinstateUser401JSONResponse

type ReinstateUser401JSONResponse struct{ UnauthorizedJSONResponse }

func (ReinstateUser401JSONResponse) VisitReinstateUserResponse

func (response ReinstateUser401JSONResponse) VisitReinstateUserResponse(w http.ResponseWriter) error

type ReinstateUser403JSONResponse

type ReinstateUser403JSONResponse struct{ ForbiddenJSONResponse }

func (ReinstateUser403JSONResponse) VisitReinstateUserResponse

func (response ReinstateUser403JSONResponse) VisitReinstateUserResponse(w http.ResponseWriter) error

type ReinstateUser404JSONResponse

type ReinstateUser404JSONResponse struct{ NotFoundJSONResponse }

func (ReinstateUser404JSONResponse) VisitReinstateUserResponse

func (response ReinstateUser404JSONResponse) VisitReinstateUserResponse(w http.ResponseWriter) error

type ReinstateUserRequestObject

type ReinstateUserRequestObject struct {
	Id PathId `json:"id"`
}

type ReinstateUserResponseObject

type ReinstateUserResponseObject interface {
	VisitReinstateUserResponse(w http.ResponseWriter) error
}

type RemoveTeamMember204Response

type RemoveTeamMember204Response = NoContentResponse

func (RemoveTeamMember204Response) VisitRemoveTeamMemberResponse

func (response RemoveTeamMember204Response) VisitRemoveTeamMemberResponse(w http.ResponseWriter) error

type RemoveTeamMember401JSONResponse

type RemoveTeamMember401JSONResponse struct{ UnauthorizedJSONResponse }

func (RemoveTeamMember401JSONResponse) VisitRemoveTeamMemberResponse

func (response RemoveTeamMember401JSONResponse) VisitRemoveTeamMemberResponse(w http.ResponseWriter) error

type RemoveTeamMember403JSONResponse

type RemoveTeamMember403JSONResponse struct{ ForbiddenJSONResponse }

func (RemoveTeamMember403JSONResponse) VisitRemoveTeamMemberResponse

func (response RemoveTeamMember403JSONResponse) VisitRemoveTeamMemberResponse(w http.ResponseWriter) error

type RemoveTeamMember404JSONResponse

type RemoveTeamMember404JSONResponse struct{ NotFoundJSONResponse }

func (RemoveTeamMember404JSONResponse) VisitRemoveTeamMemberResponse

func (response RemoveTeamMember404JSONResponse) VisitRemoveTeamMemberResponse(w http.ResponseWriter) error

type RemoveTeamMemberRequestObject

type RemoveTeamMemberRequestObject struct {
	Id     PathId             `json:"id"`
	UserId openapi_types.UUID `json:"user_id"`
}

type RemoveTeamMemberResponseObject

type RemoveTeamMemberResponseObject interface {
	VisitRemoveTeamMemberResponse(w http.ResponseWriter) error
}

type RemoveUser204Response

type RemoveUser204Response = NoContentResponse

func (RemoveUser204Response) VisitRemoveUserResponse

func (response RemoveUser204Response) VisitRemoveUserResponse(w http.ResponseWriter) error

type RemoveUser401JSONResponse

type RemoveUser401JSONResponse struct{ UnauthorizedJSONResponse }

func (RemoveUser401JSONResponse) VisitRemoveUserResponse

func (response RemoveUser401JSONResponse) VisitRemoveUserResponse(w http.ResponseWriter) error

type RemoveUser403JSONResponse

type RemoveUser403JSONResponse struct{ ForbiddenJSONResponse }

func (RemoveUser403JSONResponse) VisitRemoveUserResponse

func (response RemoveUser403JSONResponse) VisitRemoveUserResponse(w http.ResponseWriter) error

type RemoveUser404JSONResponse

type RemoveUser404JSONResponse struct{ NotFoundJSONResponse }

func (RemoveUser404JSONResponse) VisitRemoveUserResponse

func (response RemoveUser404JSONResponse) VisitRemoveUserResponse(w http.ResponseWriter) error

type RemoveUser409JSONResponse

type RemoveUser409JSONResponse struct{ ConflictJSONResponse }

func (RemoveUser409JSONResponse) VisitRemoveUserResponse

func (response RemoveUser409JSONResponse) VisitRemoveUserResponse(w http.ResponseWriter) error

type RemoveUserRequestObject

type RemoveUserRequestObject struct {
	Id PathId `json:"id"`
}

type RemoveUserResponseObject

type RemoveUserResponseObject interface {
	VisitRemoveUserResponse(w http.ResponseWriter) error
}

type RemoveWorkspaceMember204Response

type RemoveWorkspaceMember204Response = NoContentResponse

func (RemoveWorkspaceMember204Response) VisitRemoveWorkspaceMemberResponse

func (response RemoveWorkspaceMember204Response) VisitRemoveWorkspaceMemberResponse(w http.ResponseWriter) error

type RemoveWorkspaceMember401JSONResponse

type RemoveWorkspaceMember401JSONResponse struct{ UnauthorizedJSONResponse }

func (RemoveWorkspaceMember401JSONResponse) VisitRemoveWorkspaceMemberResponse

func (response RemoveWorkspaceMember401JSONResponse) VisitRemoveWorkspaceMemberResponse(w http.ResponseWriter) error

type RemoveWorkspaceMember403JSONResponse

type RemoveWorkspaceMember403JSONResponse struct{ ForbiddenJSONResponse }

func (RemoveWorkspaceMember403JSONResponse) VisitRemoveWorkspaceMemberResponse

func (response RemoveWorkspaceMember403JSONResponse) VisitRemoveWorkspaceMemberResponse(w http.ResponseWriter) error

type RemoveWorkspaceMember404JSONResponse

type RemoveWorkspaceMember404JSONResponse struct{ NotFoundJSONResponse }

func (RemoveWorkspaceMember404JSONResponse) VisitRemoveWorkspaceMemberResponse

func (response RemoveWorkspaceMember404JSONResponse) VisitRemoveWorkspaceMemberResponse(w http.ResponseWriter) error

type RemoveWorkspaceMember422JSONResponse

type RemoveWorkspaceMember422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (RemoveWorkspaceMember422JSONResponse) VisitRemoveWorkspaceMemberResponse

func (response RemoveWorkspaceMember422JSONResponse) VisitRemoveWorkspaceMemberResponse(w http.ResponseWriter) error

type RemoveWorkspaceMemberRequestObject

type RemoveWorkspaceMemberRequestObject struct {
	Id     PathId             `json:"id"`
	UserId openapi_types.UUID `json:"user_id"`
}

type RemoveWorkspaceMemberResponseObject

type RemoveWorkspaceMemberResponseObject interface {
	VisitRemoveWorkspaceMemberResponse(w http.ResponseWriter) error
}

type RenderSemanticMetric200JSONResponse

type RenderSemanticMetric200JSONResponse SemanticMetricRenderResult

func (RenderSemanticMetric200JSONResponse) VisitRenderSemanticMetricResponse

func (response RenderSemanticMetric200JSONResponse) VisitRenderSemanticMetricResponse(w http.ResponseWriter) error

type RenderSemanticMetric401JSONResponse

type RenderSemanticMetric401JSONResponse struct{ UnauthorizedJSONResponse }

func (RenderSemanticMetric401JSONResponse) VisitRenderSemanticMetricResponse

func (response RenderSemanticMetric401JSONResponse) VisitRenderSemanticMetricResponse(w http.ResponseWriter) error

type RenderSemanticMetric403JSONResponse

type RenderSemanticMetric403JSONResponse struct{ ForbiddenJSONResponse }

func (RenderSemanticMetric403JSONResponse) VisitRenderSemanticMetricResponse

func (response RenderSemanticMetric403JSONResponse) VisitRenderSemanticMetricResponse(w http.ResponseWriter) error

type RenderSemanticMetric404JSONResponse

type RenderSemanticMetric404JSONResponse struct{ NotFoundJSONResponse }

func (RenderSemanticMetric404JSONResponse) VisitRenderSemanticMetricResponse

func (response RenderSemanticMetric404JSONResponse) VisitRenderSemanticMetricResponse(w http.ResponseWriter) error

type RenderSemanticMetric422JSONResponse

type RenderSemanticMetric422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (RenderSemanticMetric422JSONResponse) VisitRenderSemanticMetricResponse

func (response RenderSemanticMetric422JSONResponse) VisitRenderSemanticMetricResponse(w http.ResponseWriter) error

type RenderSemanticMetricJSONRequestBody

type RenderSemanticMetricJSONRequestBody = SemanticMetricRenderRequest

RenderSemanticMetricJSONRequestBody defines body for RenderSemanticMetric for application/json ContentType.

type RenderSemanticMetricRequestObject

type RenderSemanticMetricRequestObject struct {
	Id   PathId `json:"id"`
	Body *RenderSemanticMetricJSONRequestBody
}

type RenderSemanticMetricResponseObject

type RenderSemanticMetricResponseObject interface {
	VisitRenderSemanticMetricResponse(w http.ResponseWriter) error
}

type RequestPasswordReset204Response

type RequestPasswordReset204Response = NoContentResponse

func (RequestPasswordReset204Response) VisitRequestPasswordResetResponse

func (response RequestPasswordReset204Response) VisitRequestPasswordResetResponse(w http.ResponseWriter) error

type RequestPasswordReset503JSONResponse

type RequestPasswordReset503JSONResponse Error

func (RequestPasswordReset503JSONResponse) VisitRequestPasswordResetResponse

func (response RequestPasswordReset503JSONResponse) VisitRequestPasswordResetResponse(w http.ResponseWriter) error

type RequestPasswordResetJSONRequestBody

type RequestPasswordResetJSONRequestBody = PasswordResetRequestBody

RequestPasswordResetJSONRequestBody defines body for RequestPasswordReset for application/json ContentType.

type RequestPasswordResetRequestObject

type RequestPasswordResetRequestObject struct {
	Body *RequestPasswordResetJSONRequestBody
}

type RequestPasswordResetResponseObject

type RequestPasswordResetResponseObject interface {
	VisitRequestPasswordResetResponse(w http.ResponseWriter) error
}

type RequestableCatalog

type RequestableCatalog struct {
	ConnectionName string             `json:"connection_name"`
	Description    *string            `json:"description"`
	Id             openapi_types.UUID `json:"id"`
	Name           string             `json:"name"`
}

RequestableCatalog defines model for RequestableCatalog.

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 ResolveAudit200JSONResponse

type ResolveAudit200JSONResponse AuditResolveResult

func (ResolveAudit200JSONResponse) VisitResolveAuditResponse

func (response ResolveAudit200JSONResponse) VisitResolveAuditResponse(w http.ResponseWriter) error

type ResolveAudit401JSONResponse

type ResolveAudit401JSONResponse struct{ UnauthorizedJSONResponse }

func (ResolveAudit401JSONResponse) VisitResolveAuditResponse

func (response ResolveAudit401JSONResponse) VisitResolveAuditResponse(w http.ResponseWriter) error

type ResolveAuditJSONRequestBody

type ResolveAuditJSONRequestBody = AuditResolveRequest

ResolveAuditJSONRequestBody defines body for ResolveAudit for application/json ContentType.

type ResolveAuditRequestObject

type ResolveAuditRequestObject struct {
	Body *ResolveAuditJSONRequestBody
}

type ResolveAuditResponseObject

type ResolveAuditResponseObject interface {
	VisitResolveAuditResponse(w http.ResponseWriter) error
}

type RestoreSavedQueryRequest

type RestoreSavedQueryRequest struct {
	// NewName Retry a restorable name conflict with this name
	NewName *string `json:"new_name"`

	// SpaceId Pick a live space when the snapshot's space is gone
	SpaceId *openapi_types.UUID `json:"space_id"`
}

RestoreSavedQueryRequest defines model for RestoreSavedQueryRequest.

type RestoreSavedQueryVersion200JSONResponse

type RestoreSavedQueryVersion200JSONResponse SavedQuery

func (RestoreSavedQueryVersion200JSONResponse) VisitRestoreSavedQueryVersionResponse

func (response RestoreSavedQueryVersion200JSONResponse) VisitRestoreSavedQueryVersionResponse(w http.ResponseWriter) error

type RestoreSavedQueryVersion401JSONResponse

type RestoreSavedQueryVersion401JSONResponse struct{ UnauthorizedJSONResponse }

func (RestoreSavedQueryVersion401JSONResponse) VisitRestoreSavedQueryVersionResponse

func (response RestoreSavedQueryVersion401JSONResponse) VisitRestoreSavedQueryVersionResponse(w http.ResponseWriter) error

type RestoreSavedQueryVersion403JSONResponse

type RestoreSavedQueryVersion403JSONResponse struct{ ForbiddenJSONResponse }

func (RestoreSavedQueryVersion403JSONResponse) VisitRestoreSavedQueryVersionResponse

func (response RestoreSavedQueryVersion403JSONResponse) VisitRestoreSavedQueryVersionResponse(w http.ResponseWriter) error

type RestoreSavedQueryVersion404JSONResponse

type RestoreSavedQueryVersion404JSONResponse struct{ NotFoundJSONResponse }

func (RestoreSavedQueryVersion404JSONResponse) VisitRestoreSavedQueryVersionResponse

func (response RestoreSavedQueryVersion404JSONResponse) VisitRestoreSavedQueryVersionResponse(w http.ResponseWriter) error

type RestoreSavedQueryVersion409JSONResponse

type RestoreSavedQueryVersion409JSONResponse struct{ ConflictJSONResponse }

func (RestoreSavedQueryVersion409JSONResponse) VisitRestoreSavedQueryVersionResponse

func (response RestoreSavedQueryVersion409JSONResponse) VisitRestoreSavedQueryVersionResponse(w http.ResponseWriter) error

type RestoreSavedQueryVersion422JSONResponse

type RestoreSavedQueryVersion422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (RestoreSavedQueryVersion422JSONResponse) VisitRestoreSavedQueryVersionResponse

func (response RestoreSavedQueryVersion422JSONResponse) VisitRestoreSavedQueryVersionResponse(w http.ResponseWriter) error

type RestoreSavedQueryVersionJSONRequestBody

type RestoreSavedQueryVersionJSONRequestBody = RestoreSavedQueryRequest

RestoreSavedQueryVersionJSONRequestBody defines body for RestoreSavedQueryVersion for application/json ContentType.

type RestoreSavedQueryVersionRequestObject

type RestoreSavedQueryVersionRequestObject struct {
	Id      PathId             `json:"id"`
	QueryId openapi_types.UUID `json:"query_id"`
	Version int                `json:"version"`
	Body    *RestoreSavedQueryVersionJSONRequestBody
}

type RestoreSavedQueryVersionResponseObject

type RestoreSavedQueryVersionResponseObject interface {
	VisitRestoreSavedQueryVersionResponse(w http.ResponseWriter) error
}

type RestoreSemanticMetricRequest

type RestoreSemanticMetricRequest struct {
	// NewSlug Retry a slug conflict with this slug
	NewSlug *string             `json:"new_slug"`
	SpaceId *openapi_types.UUID `json:"space_id"`
}

RestoreSemanticMetricRequest defines model for RestoreSemanticMetricRequest.

type RestoreSemanticMetricVersion200JSONResponse

type RestoreSemanticMetricVersion200JSONResponse SemanticMetric

func (RestoreSemanticMetricVersion200JSONResponse) VisitRestoreSemanticMetricVersionResponse

func (response RestoreSemanticMetricVersion200JSONResponse) VisitRestoreSemanticMetricVersionResponse(w http.ResponseWriter) error

type RestoreSemanticMetricVersion401JSONResponse

type RestoreSemanticMetricVersion401JSONResponse struct{ UnauthorizedJSONResponse }

func (RestoreSemanticMetricVersion401JSONResponse) VisitRestoreSemanticMetricVersionResponse

func (response RestoreSemanticMetricVersion401JSONResponse) VisitRestoreSemanticMetricVersionResponse(w http.ResponseWriter) error

type RestoreSemanticMetricVersion403JSONResponse

type RestoreSemanticMetricVersion403JSONResponse struct{ ForbiddenJSONResponse }

func (RestoreSemanticMetricVersion403JSONResponse) VisitRestoreSemanticMetricVersionResponse

func (response RestoreSemanticMetricVersion403JSONResponse) VisitRestoreSemanticMetricVersionResponse(w http.ResponseWriter) error

type RestoreSemanticMetricVersion404JSONResponse

type RestoreSemanticMetricVersion404JSONResponse struct{ NotFoundJSONResponse }

func (RestoreSemanticMetricVersion404JSONResponse) VisitRestoreSemanticMetricVersionResponse

func (response RestoreSemanticMetricVersion404JSONResponse) VisitRestoreSemanticMetricVersionResponse(w http.ResponseWriter) error

type RestoreSemanticMetricVersion409JSONResponse

type RestoreSemanticMetricVersion409JSONResponse struct{ ConflictJSONResponse }

func (RestoreSemanticMetricVersion409JSONResponse) VisitRestoreSemanticMetricVersionResponse

func (response RestoreSemanticMetricVersion409JSONResponse) VisitRestoreSemanticMetricVersionResponse(w http.ResponseWriter) error

type RestoreSemanticMetricVersion422JSONResponse

type RestoreSemanticMetricVersion422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (RestoreSemanticMetricVersion422JSONResponse) VisitRestoreSemanticMetricVersionResponse

func (response RestoreSemanticMetricVersion422JSONResponse) VisitRestoreSemanticMetricVersionResponse(w http.ResponseWriter) error

type RestoreSemanticMetricVersionJSONRequestBody

type RestoreSemanticMetricVersionJSONRequestBody = RestoreSemanticMetricRequest

RestoreSemanticMetricVersionJSONRequestBody defines body for RestoreSemanticMetricVersion for application/json ContentType.

type RestoreSemanticMetricVersionRequestObject

type RestoreSemanticMetricVersionRequestObject struct {
	Id       PathId             `json:"id"`
	MetricId openapi_types.UUID `json:"metric_id"`
	Version  int                `json:"version"`
	Body     *RestoreSemanticMetricVersionJSONRequestBody
}

type RestoreSemanticMetricVersionResponseObject

type RestoreSemanticMetricVersionResponseObject interface {
	VisitRestoreSemanticMetricVersionResponse(w http.ResponseWriter) error
}

type RestoreSemanticModelRequest

type RestoreSemanticModelRequest struct {
	// NewSlug Retry a slug conflict with this slug
	NewSlug *string             `json:"new_slug"`
	SpaceId *openapi_types.UUID `json:"space_id"`
}

RestoreSemanticModelRequest defines model for RestoreSemanticModelRequest.

type RestoreSemanticModelVersion200JSONResponse

type RestoreSemanticModelVersion200JSONResponse SemanticModel

func (RestoreSemanticModelVersion200JSONResponse) VisitRestoreSemanticModelVersionResponse

func (response RestoreSemanticModelVersion200JSONResponse) VisitRestoreSemanticModelVersionResponse(w http.ResponseWriter) error

type RestoreSemanticModelVersion401JSONResponse

type RestoreSemanticModelVersion401JSONResponse struct{ UnauthorizedJSONResponse }

func (RestoreSemanticModelVersion401JSONResponse) VisitRestoreSemanticModelVersionResponse

func (response RestoreSemanticModelVersion401JSONResponse) VisitRestoreSemanticModelVersionResponse(w http.ResponseWriter) error

type RestoreSemanticModelVersion403JSONResponse

type RestoreSemanticModelVersion403JSONResponse struct{ ForbiddenJSONResponse }

func (RestoreSemanticModelVersion403JSONResponse) VisitRestoreSemanticModelVersionResponse

func (response RestoreSemanticModelVersion403JSONResponse) VisitRestoreSemanticModelVersionResponse(w http.ResponseWriter) error

type RestoreSemanticModelVersion404JSONResponse

type RestoreSemanticModelVersion404JSONResponse struct{ NotFoundJSONResponse }

func (RestoreSemanticModelVersion404JSONResponse) VisitRestoreSemanticModelVersionResponse

func (response RestoreSemanticModelVersion404JSONResponse) VisitRestoreSemanticModelVersionResponse(w http.ResponseWriter) error

type RestoreSemanticModelVersion409JSONResponse

type RestoreSemanticModelVersion409JSONResponse struct{ ConflictJSONResponse }

func (RestoreSemanticModelVersion409JSONResponse) VisitRestoreSemanticModelVersionResponse

func (response RestoreSemanticModelVersion409JSONResponse) VisitRestoreSemanticModelVersionResponse(w http.ResponseWriter) error

type RestoreSemanticModelVersion422JSONResponse

type RestoreSemanticModelVersion422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (RestoreSemanticModelVersion422JSONResponse) VisitRestoreSemanticModelVersionResponse

func (response RestoreSemanticModelVersion422JSONResponse) VisitRestoreSemanticModelVersionResponse(w http.ResponseWriter) error

type RestoreSemanticModelVersionJSONRequestBody

type RestoreSemanticModelVersionJSONRequestBody = RestoreSemanticModelRequest

RestoreSemanticModelVersionJSONRequestBody defines body for RestoreSemanticModelVersion for application/json ContentType.

type RestoreSemanticModelVersionRequestObject

type RestoreSemanticModelVersionRequestObject struct {
	Id      PathId             `json:"id"`
	ModelId openapi_types.UUID `json:"model_id"`
	Version int                `json:"version"`
	Body    *RestoreSemanticModelVersionJSONRequestBody
}

type RestoreSemanticModelVersionResponseObject

type RestoreSemanticModelVersionResponseObject interface {
	VisitRestoreSemanticModelVersionResponse(w http.ResponseWriter) error
}

type Retriever

type Retriever struct {
	AllowedActions    *[]string             `json:"allowed_actions,omitempty"`
	CreatedAt         time.Time             `json:"created_at"`
	CreatedBy         *openapi_types.UUID   `json:"created_by,omitempty"`
	CronSchedule      string                `json:"cron_schedule"`
	DefinitionSql     string                `json:"definition_sql"`
	DestBindingId     *openapi_types.UUID   `json:"dest_binding_id,omitempty"`
	DestCatalog       string                `json:"dest_catalog"`
	DestNamespace     string                `json:"dest_namespace"`
	DestTable         string                `json:"dest_table"`
	Destination       *RetrieverDestination `json:"destination"`
	ErrorCode         *string               `json:"error_code"`
	Id                openapi_types.UUID    `json:"id"`
	LastRefreshAt     *time.Time            `json:"last_refresh_at"`
	LastRefreshStatus *string               `json:"last_refresh_status"`
	Name              string                `json:"name"`
	NextRefreshAt     *time.Time            `json:"next_refresh_at"`
	RefreshType       RetrieverRefreshType  `json:"refresh_type"`
	Status            RetrieverStatus       `json:"status"`
	UpdatedAt         *time.Time            `json:"updated_at,omitempty"`
	WorkspaceId       openapi_types.UUID    `json:"workspace_id"`
}

Retriever defines model for Retriever.

type RetrieverDestination

type RetrieverDestination struct {
	BindingId openapi_types.UUID `json:"binding_id"`
	Catalog   struct {
		Id   openapi_types.UUID `json:"id"`
		Name string             `json:"name"`
	} `json:"catalog"`
	Connector string `json:"connector"`
	Engine    struct {
		Id   openapi_types.UUID `json:"id"`
		Kind string             `json:"kind"`
		Name string             `json:"name"`
	} `json:"engine"`
	EngineCatalogName string `json:"engine_catalog_name"`
}

RetrieverDestination defines model for RetrieverDestination.

type RetrieverRefreshHistory

type RetrieverRefreshHistory struct {
	DurationMs         *int                               `json:"duration_ms"`
	ErrorCode          *string                            `json:"error_code"`
	ErrorMessage       *string                            `json:"error_message"`
	FinishedAt         *time.Time                         `json:"finished_at"`
	Id                 openapi_types.UUID                 `json:"id"`
	RefreshType        RetrieverRefreshHistoryRefreshType `json:"refresh_type"`
	RetrieverId        openapi_types.UUID                 `json:"retriever_id"`
	RowsProcessed      *int                               `json:"rows_processed"`
	StartedAt          time.Time                          `json:"started_at"`
	Status             RetrieverRefreshHistoryStatus      `json:"status"`
	TemporalWorkflowId *string                            `json:"temporal_workflow_id,omitempty"`
}

RetrieverRefreshHistory defines model for RetrieverRefreshHistory.

type RetrieverRefreshHistoryRefreshType

type RetrieverRefreshHistoryRefreshType string

RetrieverRefreshHistoryRefreshType defines model for RetrieverRefreshHistory.RefreshType.

const (
	RetrieverRefreshHistoryRefreshTypeFull        RetrieverRefreshHistoryRefreshType = "full"
	RetrieverRefreshHistoryRefreshTypeIncremental RetrieverRefreshHistoryRefreshType = "incremental"
)

Defines values for RetrieverRefreshHistoryRefreshType.

type RetrieverRefreshHistoryStatus

type RetrieverRefreshHistoryStatus string

RetrieverRefreshHistoryStatus defines model for RetrieverRefreshHistory.Status.

const (
	RetrieverRefreshHistoryStatusFailed   RetrieverRefreshHistoryStatus = "failed"
	RetrieverRefreshHistoryStatusFinished RetrieverRefreshHistoryStatus = "finished"
	RetrieverRefreshHistoryStatusRunning  RetrieverRefreshHistoryStatus = "running"
)

Defines values for RetrieverRefreshHistoryStatus.

type RetrieverRefreshType

type RetrieverRefreshType string

RetrieverRefreshType defines model for Retriever.RefreshType.

const (
	RetrieverRefreshTypeFull        RetrieverRefreshType = "full"
	RetrieverRefreshTypeIncremental RetrieverRefreshType = "incremental"
)

Defines values for RetrieverRefreshType.

type RetrieverStatus

type RetrieverStatus string

RetrieverStatus defines model for Retriever.Status.

const (
	RetrieverStatusActive RetrieverStatus = "active"
	RetrieverStatusError  RetrieverStatus = "error"
	RetrieverStatusPaused RetrieverStatus = "paused"
)

Defines values for RetrieverStatus.

type RevokeAgentToken204Response

type RevokeAgentToken204Response = NoContentResponse

func (RevokeAgentToken204Response) VisitRevokeAgentTokenResponse

func (response RevokeAgentToken204Response) VisitRevokeAgentTokenResponse(w http.ResponseWriter) error

type RevokeAgentToken401JSONResponse

type RevokeAgentToken401JSONResponse struct{ UnauthorizedJSONResponse }

func (RevokeAgentToken401JSONResponse) VisitRevokeAgentTokenResponse

func (response RevokeAgentToken401JSONResponse) VisitRevokeAgentTokenResponse(w http.ResponseWriter) error

type RevokeAgentToken404JSONResponse

type RevokeAgentToken404JSONResponse struct{ NotFoundJSONResponse }

func (RevokeAgentToken404JSONResponse) VisitRevokeAgentTokenResponse

func (response RevokeAgentToken404JSONResponse) VisitRevokeAgentTokenResponse(w http.ResponseWriter) error

type RevokeAgentTokenRequestObject

type RevokeAgentTokenRequestObject struct {
	AgentId PathAgentId      `json:"agent_id"`
	TokenId PathAgentTokenId `json:"token_id"`
}

type RevokeAgentTokenResponseObject

type RevokeAgentTokenResponseObject interface {
	VisitRevokeAgentTokenResponse(w http.ResponseWriter) error
}

type RevokeCatalogAccess204Response

type RevokeCatalogAccess204Response = NoContentResponse

func (RevokeCatalogAccess204Response) VisitRevokeCatalogAccessResponse

func (response RevokeCatalogAccess204Response) VisitRevokeCatalogAccessResponse(w http.ResponseWriter) error

type RevokeCatalogAccess401JSONResponse

type RevokeCatalogAccess401JSONResponse struct{ UnauthorizedJSONResponse }

func (RevokeCatalogAccess401JSONResponse) VisitRevokeCatalogAccessResponse

func (response RevokeCatalogAccess401JSONResponse) VisitRevokeCatalogAccessResponse(w http.ResponseWriter) error

type RevokeCatalogAccess403JSONResponse

type RevokeCatalogAccess403JSONResponse struct{ ForbiddenJSONResponse }

func (RevokeCatalogAccess403JSONResponse) VisitRevokeCatalogAccessResponse

func (response RevokeCatalogAccess403JSONResponse) VisitRevokeCatalogAccessResponse(w http.ResponseWriter) error

type RevokeCatalogAccess404JSONResponse

type RevokeCatalogAccess404JSONResponse struct{ NotFoundJSONResponse }

func (RevokeCatalogAccess404JSONResponse) VisitRevokeCatalogAccessResponse

func (response RevokeCatalogAccess404JSONResponse) VisitRevokeCatalogAccessResponse(w http.ResponseWriter) error

type RevokeCatalogAccessRequestObject

type RevokeCatalogAccessRequestObject struct {
	Id        PathId             `json:"id"`
	CatalogId openapi_types.UUID `json:"catalog_id"`
}

type RevokeCatalogAccessResponseObject

type RevokeCatalogAccessResponseObject interface {
	VisitRevokeCatalogAccessResponse(w http.ResponseWriter) error
}

type RevokeServiceAccountToken204Response

type RevokeServiceAccountToken204Response = NoContentResponse

func (RevokeServiceAccountToken204Response) VisitRevokeServiceAccountTokenResponse

func (response RevokeServiceAccountToken204Response) VisitRevokeServiceAccountTokenResponse(w http.ResponseWriter) error

type RevokeServiceAccountToken401JSONResponse

type RevokeServiceAccountToken401JSONResponse struct{ UnauthorizedJSONResponse }

func (RevokeServiceAccountToken401JSONResponse) VisitRevokeServiceAccountTokenResponse

func (response RevokeServiceAccountToken401JSONResponse) VisitRevokeServiceAccountTokenResponse(w http.ResponseWriter) error

type RevokeServiceAccountToken404JSONResponse

type RevokeServiceAccountToken404JSONResponse struct{ NotFoundJSONResponse }

func (RevokeServiceAccountToken404JSONResponse) VisitRevokeServiceAccountTokenResponse

func (response RevokeServiceAccountToken404JSONResponse) VisitRevokeServiceAccountTokenResponse(w http.ResponseWriter) error

type RevokeServiceAccountTokenRequestObject

type RevokeServiceAccountTokenRequestObject struct {
	Id      PathId             `json:"id"`
	TokenId openapi_types.UUID `json:"token_id"`
}

type RevokeServiceAccountTokenResponseObject

type RevokeServiceAccountTokenResponseObject interface {
	VisitRevokeServiceAccountTokenResponse(w http.ResponseWriter) error
}

type RollbackDataPolicyRevision201JSONResponse

type RollbackDataPolicyRevision201JSONResponse DataPolicyRevision

func (RollbackDataPolicyRevision201JSONResponse) VisitRollbackDataPolicyRevisionResponse

func (response RollbackDataPolicyRevision201JSONResponse) VisitRollbackDataPolicyRevisionResponse(w http.ResponseWriter) error

type RollbackDataPolicyRevision401JSONResponse

type RollbackDataPolicyRevision401JSONResponse struct{ UnauthorizedJSONResponse }

func (RollbackDataPolicyRevision401JSONResponse) VisitRollbackDataPolicyRevisionResponse

func (response RollbackDataPolicyRevision401JSONResponse) VisitRollbackDataPolicyRevisionResponse(w http.ResponseWriter) error

type RollbackDataPolicyRevision403JSONResponse

type RollbackDataPolicyRevision403JSONResponse struct{ ForbiddenJSONResponse }

func (RollbackDataPolicyRevision403JSONResponse) VisitRollbackDataPolicyRevisionResponse

func (response RollbackDataPolicyRevision403JSONResponse) VisitRollbackDataPolicyRevisionResponse(w http.ResponseWriter) error

type RollbackDataPolicyRevision404JSONResponse

type RollbackDataPolicyRevision404JSONResponse struct{ NotFoundJSONResponse }

func (RollbackDataPolicyRevision404JSONResponse) VisitRollbackDataPolicyRevisionResponse

func (response RollbackDataPolicyRevision404JSONResponse) VisitRollbackDataPolicyRevisionResponse(w http.ResponseWriter) error

type RollbackDataPolicyRevision409JSONResponse

type RollbackDataPolicyRevision409JSONResponse struct{ ConflictJSONResponse }

func (RollbackDataPolicyRevision409JSONResponse) VisitRollbackDataPolicyRevisionResponse

func (response RollbackDataPolicyRevision409JSONResponse) VisitRollbackDataPolicyRevisionResponse(w http.ResponseWriter) error

type RollbackDataPolicyRevision422JSONResponse

type RollbackDataPolicyRevision422JSONResponse struct{ DataPolicyRefusedJSONResponse }

func (RollbackDataPolicyRevision422JSONResponse) VisitRollbackDataPolicyRevisionResponse

func (response RollbackDataPolicyRevision422JSONResponse) VisitRollbackDataPolicyRevisionResponse(w http.ResponseWriter) error

type RollbackDataPolicyRevision503JSONResponse

type RollbackDataPolicyRevision503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (RollbackDataPolicyRevision503JSONResponse) VisitRollbackDataPolicyRevisionResponse

func (response RollbackDataPolicyRevision503JSONResponse) VisitRollbackDataPolicyRevisionResponse(w http.ResponseWriter) error

type RollbackDataPolicyRevisionRequestObject

type RollbackDataPolicyRevisionRequestObject struct {
	Id PathId `json:"id"`
}

type RollbackDataPolicyRevisionResponseObject

type RollbackDataPolicyRevisionResponseObject interface {
	VisitRollbackDataPolicyRevisionResponse(w http.ResponseWriter) error
}

type RunQuery202JSONResponse

type RunQuery202JSONResponse Execution

func (RunQuery202JSONResponse) VisitRunQueryResponse

func (response RunQuery202JSONResponse) VisitRunQueryResponse(w http.ResponseWriter) error

type RunQuery401JSONResponse

type RunQuery401JSONResponse struct{ UnauthorizedJSONResponse }

func (RunQuery401JSONResponse) VisitRunQueryResponse

func (response RunQuery401JSONResponse) VisitRunQueryResponse(w http.ResponseWriter) error

type RunQuery404JSONResponse

type RunQuery404JSONResponse struct{ NotFoundJSONResponse }

func (RunQuery404JSONResponse) VisitRunQueryResponse

func (response RunQuery404JSONResponse) VisitRunQueryResponse(w http.ResponseWriter) error

type RunQuery422JSONResponse

type RunQuery422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (RunQuery422JSONResponse) VisitRunQueryResponse

func (response RunQuery422JSONResponse) VisitRunQueryResponse(w http.ResponseWriter) error

type RunQueryJSONRequestBody

type RunQueryJSONRequestBody = ExecutionRequest

RunQueryJSONRequestBody defines body for RunQuery for application/json ContentType.

type RunQueryRequestObject

type RunQueryRequestObject struct {
	Id   PathId `json:"id"`
	Body *RunQueryJSONRequestBody
}

type RunQueryResponseObject

type RunQueryResponseObject interface {
	VisitRunQueryResponse(w http.ResponseWriter) error
}

type RunTableMaintenance202JSONResponse

type RunTableMaintenance202JSONResponse MaintenanceRun

func (RunTableMaintenance202JSONResponse) VisitRunTableMaintenanceResponse

func (response RunTableMaintenance202JSONResponse) VisitRunTableMaintenanceResponse(w http.ResponseWriter) error

type RunTableMaintenance401JSONResponse

type RunTableMaintenance401JSONResponse struct{ UnauthorizedJSONResponse }

func (RunTableMaintenance401JSONResponse) VisitRunTableMaintenanceResponse

func (response RunTableMaintenance401JSONResponse) VisitRunTableMaintenanceResponse(w http.ResponseWriter) error

type RunTableMaintenance403JSONResponse

type RunTableMaintenance403JSONResponse struct{ ForbiddenJSONResponse }

func (RunTableMaintenance403JSONResponse) VisitRunTableMaintenanceResponse

func (response RunTableMaintenance403JSONResponse) VisitRunTableMaintenanceResponse(w http.ResponseWriter) error

type RunTableMaintenance404JSONResponse

type RunTableMaintenance404JSONResponse struct{ NotFoundJSONResponse }

func (RunTableMaintenance404JSONResponse) VisitRunTableMaintenanceResponse

func (response RunTableMaintenance404JSONResponse) VisitRunTableMaintenanceResponse(w http.ResponseWriter) error

type RunTableMaintenance409JSONResponse

type RunTableMaintenance409JSONResponse struct{ ConflictJSONResponse }

func (RunTableMaintenance409JSONResponse) VisitRunTableMaintenanceResponse

func (response RunTableMaintenance409JSONResponse) VisitRunTableMaintenanceResponse(w http.ResponseWriter) error

type RunTableMaintenance422JSONResponse

type RunTableMaintenance422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (RunTableMaintenance422JSONResponse) VisitRunTableMaintenanceResponse

func (response RunTableMaintenance422JSONResponse) VisitRunTableMaintenanceResponse(w http.ResponseWriter) error

type RunTableMaintenanceJSONRequestBody

type RunTableMaintenanceJSONRequestBody = ManualMaintenanceRequest

RunTableMaintenanceJSONRequestBody defines body for RunTableMaintenance for application/json ContentType.

type RunTableMaintenanceRequestObject

type RunTableMaintenanceRequestObject struct {
	CatalogId MaintenanceCatalogId `json:"catalog_id"`
	Namespace MaintenanceNamespace `json:"namespace"`
	Table     MaintenanceTable     `json:"table"`
	Body      *RunTableMaintenanceJSONRequestBody
}

type RunTableMaintenanceResponseObject

type RunTableMaintenanceResponseObject interface {
	VisitRunTableMaintenanceResponse(w http.ResponseWriter) error
}

type SavedQuery

type SavedQuery struct {
	CreatedAt time.Time           `json:"created_at"`
	CreatedBy openapi_types.UUID  `json:"created_by"`
	FolderId  *openapi_types.UUID `json:"folder_id"`
	Id        openapi_types.UUID  `json:"id"`
	Name      string              `json:"name"`
	Slug      string              `json:"slug"`
	SpaceId   openapi_types.UUID  `json:"space_id"`
	Sql       string              `json:"sql"`
	Target    *SavedQueryTarget   `json:"target,omitempty"`
	UpdatedAt *time.Time          `json:"updated_at,omitempty"`
	UpdatedBy *openapi_types.UUID `json:"updated_by"`

	// Version Latest content version (#34); send it as expected_version on PATCH
	Version     int                `json:"version"`
	WorkspaceId openapi_types.UUID `json:"workspace_id"`
}

SavedQuery defines model for SavedQuery.

type SavedQueryTarget

type SavedQueryTarget struct {
	BindingId *openapi_types.UUID `json:"binding_id"`
	Schema    *string             `json:"schema"`
}

SavedQueryTarget defines model for SavedQueryTarget.

type SearchContent200JSONResponse

type SearchContent200JSONResponse []ContentSearchItem

func (SearchContent200JSONResponse) VisitSearchContentResponse

func (response SearchContent200JSONResponse) VisitSearchContentResponse(w http.ResponseWriter) error

type SearchContent401JSONResponse

type SearchContent401JSONResponse struct{ UnauthorizedJSONResponse }

func (SearchContent401JSONResponse) VisitSearchContentResponse

func (response SearchContent401JSONResponse) VisitSearchContentResponse(w http.ResponseWriter) error

type SearchContent404JSONResponse

type SearchContent404JSONResponse struct{ NotFoundJSONResponse }

func (SearchContent404JSONResponse) VisitSearchContentResponse

func (response SearchContent404JSONResponse) VisitSearchContentResponse(w http.ResponseWriter) error

type SearchContentParams

type SearchContentParams struct {
	Q       string              `form:"q" json:"q"`
	Kind    *string             `form:"kind,omitempty" json:"kind,omitempty"`
	SpaceId *openapi_types.UUID `form:"space_id,omitempty" json:"space_id,omitempty"`
	Limit   *int                `form:"limit,omitempty" json:"limit,omitempty"`
}

SearchContentParams defines parameters for SearchContent.

type SearchContentRequestObject

type SearchContentRequestObject struct {
	Id     PathId `json:"id"`
	Params SearchContentParams
}

type SearchContentResponseObject

type SearchContentResponseObject interface {
	VisitSearchContentResponse(w http.ResponseWriter) error
}

type SearchGlossary

type SearchGlossary struct {
	// AllowedActions `view` for every member; `edit` for editors and above
	AllowedActions []string              `json:"allowed_actions"`
	Entries        []SearchGlossaryEntry `json:"entries"`
}

SearchGlossary defines model for SearchGlossary.

type SearchGlossaryEntry

type SearchGlossaryEntry struct {
	CreatedAt time.Time          `json:"created_at"`
	Id        openapi_types.UUID `json:"id"`
	Synonyms  []string           `json:"synonyms"`

	// Term Folded: lower case, without accents
	Term string `json:"term"`
}

SearchGlossaryEntry defines model for SearchGlossaryEntry.

type SearchGlossaryEntryCreate

type SearchGlossaryEntryCreate struct {
	// Synonyms 1 to 20 words or short phrases, up to 64 characters each as typed, each with at least one letter or digit. Compared without case or accents, a synonym cannot equal the term or repeat another one; any of these answers 422.
	Synonyms []string `json:"synonyms"`

	// Term At most 64 characters as typed, and at least one letter or digit: the search ignores punctuation, so a word of punctuation could never match
	Term string `json:"term"`
}

SearchGlossaryEntryCreate defines model for SearchGlossaryEntryCreate.

type SearchGlossaryInsight

type SearchGlossaryInsight struct {
	EntryId openapi_types.UUID            `json:"entry_id"`
	Members []SearchGlossaryMemberInsight `json:"members"`
	Term    string                        `json:"term"`
}

SearchGlossaryInsight defines model for SearchGlossaryInsight.

type SearchGlossaryInsights

type SearchGlossaryInsights struct {
	Entries []SearchGlossaryInsight `json:"entries"`
}

SearchGlossaryInsights defines model for SearchGlossaryInsights.

type SearchGlossaryInsights200JSONResponse

type SearchGlossaryInsights200JSONResponse SearchGlossaryInsights

func (SearchGlossaryInsights200JSONResponse) VisitSearchGlossaryInsightsResponse

func (response SearchGlossaryInsights200JSONResponse) VisitSearchGlossaryInsightsResponse(w http.ResponseWriter) error

type SearchGlossaryInsights401JSONResponse

type SearchGlossaryInsights401JSONResponse struct{ UnauthorizedJSONResponse }

func (SearchGlossaryInsights401JSONResponse) VisitSearchGlossaryInsightsResponse

func (response SearchGlossaryInsights401JSONResponse) VisitSearchGlossaryInsightsResponse(w http.ResponseWriter) error

type SearchGlossaryInsights404JSONResponse

type SearchGlossaryInsights404JSONResponse struct{ NotFoundJSONResponse }

func (SearchGlossaryInsights404JSONResponse) VisitSearchGlossaryInsightsResponse

func (response SearchGlossaryInsights404JSONResponse) VisitSearchGlossaryInsightsResponse(w http.ResponseWriter) error

type SearchGlossaryInsightsRequestObject

type SearchGlossaryInsightsRequestObject struct {
	Id PathId `json:"id"`
}

type SearchGlossaryInsightsResponseObject

type SearchGlossaryInsightsResponseObject interface {
	VisitSearchGlossaryInsightsResponse(w http.ResponseWriter) error
}

type SearchGlossaryMemberInsight

type SearchGlossaryMemberInsight struct {
	Matches []SearchGlossaryResourceMatch `json:"matches"`

	// Suggestions Vocabulary tokens from visible model and metric labels/descriptions; suggestions are not saved automatically
	Suggestions []string `json:"suggestions"`
	Value       string   `json:"value"`
}

SearchGlossaryMemberInsight defines model for SearchGlossaryMemberInsight.

type SearchGlossaryResourceMatch

type SearchGlossaryResourceMatch struct {
	Id    openapi_types.UUID              `json:"id"`
	Kind  SearchGlossaryResourceMatchKind `json:"kind"`
	Label string                          `json:"label"`
}

SearchGlossaryResourceMatch defines model for SearchGlossaryResourceMatch.

type SearchGlossaryResourceMatchKind

type SearchGlossaryResourceMatchKind string

SearchGlossaryResourceMatchKind defines model for SearchGlossaryResourceMatch.Kind.

const (
	SearchGlossaryResourceMatchKindSemanticField  SearchGlossaryResourceMatchKind = "semantic_field"
	SearchGlossaryResourceMatchKindSemanticMetric SearchGlossaryResourceMatchKind = "semantic_metric"
	SearchGlossaryResourceMatchKindSemanticModel  SearchGlossaryResourceMatchKind = "semantic_model"
)

Defines values for SearchGlossaryResourceMatchKind.

type SearchMetadata200JSONResponse

type SearchMetadata200JSONResponse []MetadataSearchResult

func (SearchMetadata200JSONResponse) VisitSearchMetadataResponse

func (response SearchMetadata200JSONResponse) VisitSearchMetadataResponse(w http.ResponseWriter) error

type SearchMetadata401JSONResponse

type SearchMetadata401JSONResponse struct{ UnauthorizedJSONResponse }

func (SearchMetadata401JSONResponse) VisitSearchMetadataResponse

func (response SearchMetadata401JSONResponse) VisitSearchMetadataResponse(w http.ResponseWriter) error

type SearchMetadata404JSONResponse

type SearchMetadata404JSONResponse struct{ NotFoundJSONResponse }

func (SearchMetadata404JSONResponse) VisitSearchMetadataResponse

func (response SearchMetadata404JSONResponse) VisitSearchMetadataResponse(w http.ResponseWriter) error

type SearchMetadata422JSONResponse

type SearchMetadata422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (SearchMetadata422JSONResponse) VisitSearchMetadataResponse

func (response SearchMetadata422JSONResponse) VisitSearchMetadataResponse(w http.ResponseWriter) error

type SearchMetadataParams

type SearchMetadataParams struct {
	Q         string                    `form:"q" json:"q"`
	Kind      *SearchMetadataParamsKind `form:"kind,omitempty" json:"kind,omitempty"`
	CatalogId *openapi_types.UUID       `form:"catalog_id,omitempty" json:"catalog_id,omitempty"`

	// Match `fuzzy` (default) matches words, comments and misspellings; `prefix` returns only names that start with `q`
	Match *SearchMetadataParamsMatch `form:"match,omitempty" json:"match,omitempty"`

	// Tags Tables whose table-level docs carry every one of these tags
	Tags *[]string `form:"tags,omitempty" json:"tags,omitempty"`

	// Certified Filter by the `certified` tag
	Certified *bool `form:"certified,omitempty" json:"certified,omitempty"`

	// Namespace The table's namespace, one value per level (namespace=a&namespace=b is a.b); a dot inside a level is part of its name
	Namespace *[]string `form:"namespace,omitempty" json:"namespace,omitempty"`
	Limit     *int      `form:"limit,omitempty" json:"limit,omitempty"`
}

SearchMetadataParams defines parameters for SearchMetadata.

type SearchMetadataParamsKind

type SearchMetadataParamsKind string

SearchMetadataParamsKind defines parameters for SearchMetadata.

const (
	SearchMetadataParamsKindAll    SearchMetadataParamsKind = "all"
	SearchMetadataParamsKindColumn SearchMetadataParamsKind = "column"
	SearchMetadataParamsKindTable  SearchMetadataParamsKind = "table"
)

Defines values for SearchMetadataParamsKind.

type SearchMetadataParamsMatch

type SearchMetadataParamsMatch string

SearchMetadataParamsMatch defines parameters for SearchMetadata.

const (
	Fuzzy  SearchMetadataParamsMatch = "fuzzy"
	Prefix SearchMetadataParamsMatch = "prefix"
)

Defines values for SearchMetadataParamsMatch.

type SearchMetadataRequestObject

type SearchMetadataRequestObject struct {
	Id     PathId `json:"id"`
	Params SearchMetadataParams
}

type SearchMetadataResponseObject

type SearchMetadataResponseObject interface {
	VisitSearchMetadataResponse(w http.ResponseWriter) error
}

type SearchSemanticDocs200JSONResponse

type SearchSemanticDocs200JSONResponse []SemanticDocSearchResult

func (SearchSemanticDocs200JSONResponse) VisitSearchSemanticDocsResponse

func (response SearchSemanticDocs200JSONResponse) VisitSearchSemanticDocsResponse(w http.ResponseWriter) error

type SearchSemanticDocs401JSONResponse

type SearchSemanticDocs401JSONResponse struct{ UnauthorizedJSONResponse }

func (SearchSemanticDocs401JSONResponse) VisitSearchSemanticDocsResponse

func (response SearchSemanticDocs401JSONResponse) VisitSearchSemanticDocsResponse(w http.ResponseWriter) error

type SearchSemanticDocs404JSONResponse

type SearchSemanticDocs404JSONResponse struct{ NotFoundJSONResponse }

func (SearchSemanticDocs404JSONResponse) VisitSearchSemanticDocsResponse

func (response SearchSemanticDocs404JSONResponse) VisitSearchSemanticDocsResponse(w http.ResponseWriter) error

type SearchSemanticDocs422JSONResponse

type SearchSemanticDocs422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (SearchSemanticDocs422JSONResponse) VisitSearchSemanticDocsResponse

func (response SearchSemanticDocs422JSONResponse) VisitSearchSemanticDocsResponse(w http.ResponseWriter) error

type SearchSemanticDocsParams

type SearchSemanticDocsParams struct {
	Q         string              `form:"q" json:"q"`
	Tag       *string             `form:"tag,omitempty" json:"tag,omitempty"`
	Certified *bool               `form:"certified,omitempty" json:"certified,omitempty"`
	OwnerId   *openapi_types.UUID `form:"owner_id,omitempty" json:"owner_id,omitempty"`
	Limit     *int                `form:"limit,omitempty" json:"limit,omitempty"`
}

SearchSemanticDocsParams defines parameters for SearchSemanticDocs.

type SearchSemanticDocsRequestObject

type SearchSemanticDocsRequestObject struct {
	Id     PathId `json:"id"`
	Params SearchSemanticDocsParams
}

type SearchSemanticDocsResponseObject

type SearchSemanticDocsResponseObject interface {
	VisitSearchSemanticDocsResponse(w http.ResponseWriter) error
}

type SearchWorkspace200JSONResponse

type SearchWorkspace200JSONResponse WorkspaceSearchResponse

func (SearchWorkspace200JSONResponse) VisitSearchWorkspaceResponse

func (response SearchWorkspace200JSONResponse) VisitSearchWorkspaceResponse(w http.ResponseWriter) error

type SearchWorkspace401JSONResponse

type SearchWorkspace401JSONResponse struct{ UnauthorizedJSONResponse }

func (SearchWorkspace401JSONResponse) VisitSearchWorkspaceResponse

func (response SearchWorkspace401JSONResponse) VisitSearchWorkspaceResponse(w http.ResponseWriter) error

type SearchWorkspace404JSONResponse

type SearchWorkspace404JSONResponse struct{ NotFoundJSONResponse }

func (SearchWorkspace404JSONResponse) VisitSearchWorkspaceResponse

func (response SearchWorkspace404JSONResponse) VisitSearchWorkspaceResponse(w http.ResponseWriter) error

type SearchWorkspace422JSONResponse

type SearchWorkspace422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (SearchWorkspace422JSONResponse) VisitSearchWorkspaceResponse

func (response SearchWorkspace422JSONResponse) VisitSearchWorkspaceResponse(w http.ResponseWriter) error

type SearchWorkspaceParams

type SearchWorkspaceParams struct {
	Q string `form:"q" json:"q"`

	// Kind Only these kinds; every kind when omitted
	Kind *[]WorkspaceSearchKind `form:"kind,omitempty" json:"kind,omitempty"`

	// CatalogId Narrow tables, columns and docs to one catalog
	CatalogId *openapi_types.UUID `form:"catalog_id,omitempty" json:"catalog_id,omitempty"`

	// SpaceId Narrow saved queries, metrics, models and folders to one space
	SpaceId *openapi_types.UUID `form:"space_id,omitempty" json:"space_id,omitempty"`
	Limit   *int                `form:"limit,omitempty" json:"limit,omitempty"`
}

SearchWorkspaceParams defines parameters for SearchWorkspace.

type SearchWorkspaceRequestObject

type SearchWorkspaceRequestObject struct {
	Id     PathId `json:"id"`
	Params SearchWorkspaceParams
}

type SearchWorkspaceResponseObject

type SearchWorkspaceResponseObject interface {
	VisitSearchWorkspaceResponse(w http.ResponseWriter) error
}

type SemanticDoc

type SemanticDoc struct {
	AllowedActions *[]string           `json:"allowed_actions,omitempty"`
	CatalogId      openapi_types.UUID  `json:"catalog_id"`
	Certified      *bool               `json:"certified,omitempty"`
	CertifiedAt    *time.Time          `json:"certified_at"`
	CertifiedBy    *openapi_types.UUID `json:"certified_by"`

	// Column Null for a table-level doc
	Column *string `json:"column"`

	// Description Markdown, at most 20 000 characters
	Description string              `json:"description"`
	Id          openapi_types.UUID  `json:"id"`
	Namespace   []string            `json:"namespace"`
	OwnerUserId *openapi_types.UUID `json:"owner_user_id"`
	Table       string              `json:"table"`
	Tags        []string            `json:"tags"`
	UpdatedAt   time.Time           `json:"updated_at"`
	UpdatedBy   openapi_types.UUID  `json:"updated_by"`
}

SemanticDoc defines model for SemanticDoc.

type SemanticDocSearchResult

type SemanticDocSearchResult struct {
	AllowedActions *[]string           `json:"allowed_actions,omitempty"`
	CatalogId      openapi_types.UUID  `json:"catalog_id"`
	Certified      *bool               `json:"certified,omitempty"`
	CertifiedAt    *time.Time          `json:"certified_at"`
	CertifiedBy    *openapi_types.UUID `json:"certified_by"`
	Column         *string             `json:"column"`
	Description    string              `json:"description"`
	Id             openapi_types.UUID  `json:"id"`
	Namespace      []string            `json:"namespace"`
	OwnerUserId    *openapi_types.UUID `json:"owner_user_id"`
	Score          float64             `json:"score"`
	Table          string              `json:"table"`
	Tags           []string            `json:"tags"`
	UpdatedAt      time.Time           `json:"updated_at"`
	UpdatedBy      openapi_types.UUID  `json:"updated_by"`
}

SemanticDocSearchResult defines model for SemanticDocSearchResult.

type SemanticDocUpsert

type SemanticDocUpsert struct {
	// Certified Only a workspace owner or admin may set true
	Certified   *bool  `json:"certified,omitempty"`
	Description string `json:"description"`

	// ExpectedUpdatedAt Optimistic concurrency; stale → 409 version_conflict
	ExpectedUpdatedAt *time.Time          `json:"expected_updated_at"`
	OwnerUserId       *openapi_types.UUID `json:"owner_user_id"`
	Tags              *[]string           `json:"tags,omitempty"`
}

SemanticDocUpsert defines model for SemanticDocUpsert.

type SemanticHandlers

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

SemanticHandlers serves semantic models and metrics, saved content, versions and bundles (#365).

func (*SemanticHandlers) CompileExploreQuery

CompileExploreQuery — POST /workspaces/{id}/semantic/explore/compile

func (*SemanticHandlers) CreateSearchGlossaryEntry

CreateSearchGlossaryEntry — POST /workspaces/{id}/search/glossary (#943).

func (*SemanticHandlers) CreateSemanticMetric

CreateSemanticMetric — POST /workspaces/{id}/semantic/metrics

func (*SemanticHandlers) CreateSemanticModel

CreateSemanticModel — POST /workspaces/{id}/semantic/models

func (*SemanticHandlers) DeleteSearchGlossaryEntry

DeleteSearchGlossaryEntry — DELETE /workspaces/{id}/search/glossary/{entry_id} (#943).

func (*SemanticHandlers) DeleteSemanticDoc

DeleteSemanticDoc — DELETE /workspaces/{id}/semantic/docs

func (*SemanticHandlers) DeleteSemanticMetric

DeleteSemanticMetric — DELETE /workspaces/{id}/semantic/metrics/{metric_id}

func (*SemanticHandlers) DeleteSemanticModel

DeleteSemanticModel — DELETE /workspaces/{id}/semantic/models/{model_id}

func (*SemanticHandlers) ExportSpaceBundle

ExportSpaceBundle — GET /workspaces/{id}/spaces/{space_id}/export

func (*SemanticHandlers) GetSemanticMetric

GetSemanticMetric — GET /workspaces/{id}/semantic/metrics/{metric_id}

func (*SemanticHandlers) GetSemanticMetricSql

GetSemanticMetricSql — GET /workspaces/{id}/semantic/metrics/{metric_id}/sql

func (*SemanticHandlers) GetSemanticModel

GetSemanticModel — GET /workspaces/{id}/semantic/models/{model_id}

func (*SemanticHandlers) GetSemanticModelVersion

GetSemanticModelVersion — GET /workspaces/{id}/semantic/models/{model_id}/versions/{version}

func (*SemanticHandlers) ImportSpaceBundle

ImportSpaceBundle — POST /workspaces/{id}/spaces/{space_id}/import

func (*SemanticHandlers) ListSearchGlossary

ListSearchGlossary — GET /workspaces/{id}/search/glossary (#943).

func (*SemanticHandlers) ListSemanticDocs

ListSemanticDocs — GET /workspaces/{id}/semantic/docs

func (*SemanticHandlers) ListSemanticMetrics

ListSemanticMetrics — GET /workspaces/{id}/semantic/metrics

func (*SemanticHandlers) ListSemanticModelVersions

ListSemanticModelVersions — GET /workspaces/{id}/semantic/models/{model_id}/versions

func (*SemanticHandlers) ListSemanticModels

ListSemanticModels — GET /workspaces/{id}/semantic/models

func (*SemanticHandlers) ListSemanticTags

ListSemanticTags — GET /workspaces/{id}/semantic/tags (#116).

func (*SemanticHandlers) ListTrash

func (*SemanticHandlers) ListWorkspacePrincipals

ListWorkspacePrincipals — GET /workspaces/{id}/principals (#113). Any workspace member may search the people and teams they can add to a space.

func (*SemanticHandlers) MigrateSemanticMetricsV1

MigrateSemanticMetricsV1 — POST /workspaces/{id}/semantic/models/migrate-v1

Each table used by the caller's visible v1 metrics becomes a model (an existing model on the same table is reused) and each metric becomes a model metric with the same slug, so links keep resolving through the v1 page's redirect. Upsert by slug (FD16): nothing is deleted and a metric the model already has is left alone.

func (*SemanticHandlers) RenderSemanticMetric

RenderSemanticMetric — POST /workspaces/{id}/semantic/metrics/render (#115). Pure rendering: no engine call.

func (SemanticHandlers) ResolveTarget

func (h SemanticHandlers) ResolveTarget(ctx context.Context, ws db.Workspace, req *TargetRequest) (queryengine.Target, error)

ResolveTarget decides where a run executes (#13):

  1. an explicit binding, or a catalog (with engine_id when it is bound to several engines);
  2. else the workspace default target;
  3. else the workspace's only target (one catalog with one binding);
  4. else 422 target_required.

The binding's catalog must be one the workspace may use (#16), else 404; the binding, engine and catalog must be enabled, else 422 target_unavailable. A grant never makes the target read-only: the engine and the catalog manager decide what may be written (#651). There is no fallback to the workspace owner's first catalog or to polaris_catalog_name.

func (*SemanticHandlers) RestoreSemanticModelVersion

RestoreSemanticModelVersion — POST /workspaces/{id}/semantic/models/{model_id}/versions/{version}/restore

func (*SemanticHandlers) SearchContent

SearchContent — GET /workspaces/{id}/content/search (#113).

func (*SemanticHandlers) SearchGlossaryInsights

SearchGlossaryInsights reports visible semantic resources matching glossary members and proposes vocabulary already present in model labels/descriptions.

func (*SemanticHandlers) SearchSemanticDocs

SearchSemanticDocs — GET /workspaces/{id}/semantic/docs/search

func (*SemanticHandlers) SearchWorkspace

SearchWorkspace — GET /workspaces/{id}/search (#943). One ranked list over the metadata, doc and content searches, each already limited to what the caller may see.

func (*SemanticHandlers) UpdateSemanticMetric

UpdateSemanticMetric — PATCH /workspaces/{id}/semantic/metrics/{metric_id}

func (*SemanticHandlers) UpdateSemanticModel

UpdateSemanticModel — PATCH /workspaces/{id}/semantic/models/{model_id}

func (*SemanticHandlers) UpsertSemanticDoc

UpsertSemanticDoc — PUT /workspaces/{id}/semantic/docs

func (*SemanticHandlers) ValidateSemanticMetricDefinition

ValidateSemanticMetricDefinition — POST …/semantic/metrics/validate (#115).

type SemanticMetric

type SemanticMetric struct {
	AllowedActions *[]string           `json:"allowed_actions,omitempty"`
	BindingId      *openapi_types.UUID `json:"binding_id"`
	CatalogId      openapi_types.UUID  `json:"catalog_id"`
	Certified      bool                `json:"certified"`
	CertifiedAt    *time.Time          `json:"certified_at"`
	CertifiedBy    *openapi_types.UUID `json:"certified_by"`

	// Definition SimpleMetricV1: type, aggregation, column, filters, time_column, time_grains, format and custom_sql. Validated with DisallowUnknownFields.
	Definition    map[string]interface{} `json:"definition"`
	Description   *string                `json:"description,omitempty"`
	FormatVersion int                    `json:"format_version"`
	Id            openapi_types.UUID     `json:"id"`
	Label         string                 `json:"label"`
	Namespace     []string               `json:"namespace"`
	OwnerUserId   *openapi_types.UUID    `json:"owner_user_id"`
	Slug          string                 `json:"slug"`
	SpaceId       *openapi_types.UUID    `json:"space_id"`
	Table         string                 `json:"table"`
	UpdatedAt     time.Time              `json:"updated_at"`
	UpdatedBy     *openapi_types.UUID    `json:"updated_by,omitempty"`

	// Version Latest content version (#34); send it as expected_version on PATCH
	Version     int                `json:"version"`
	WorkspaceId openapi_types.UUID `json:"workspace_id"`
}

SemanticMetric defines model for SemanticMetric.

type SemanticMetricCreate

type SemanticMetricCreate struct {
	// BindingId Engine used to validate and generate; null chooses at use time
	BindingId   *openapi_types.UUID    `json:"binding_id"`
	CatalogId   openapi_types.UUID     `json:"catalog_id"`
	Certified   *bool                  `json:"certified,omitempty"`
	Definition  map[string]interface{} `json:"definition"`
	Description *string                `json:"description,omitempty"`
	Label       string                 `json:"label"`
	Namespace   []string               `json:"namespace"`
	OwnerUserId *openapi_types.UUID    `json:"owner_user_id"`
	Slug        string                 `json:"slug"`

	// SpaceId Omitted: the workspace's default space
	SpaceId *openapi_types.UUID `json:"space_id"`
	Table   string              `json:"table"`
}

SemanticMetricCreate defines model for SemanticMetricCreate.

type SemanticMetricRenderRequest

type SemanticMetricRenderRequest struct {
	BindingId  *openapi_types.UUID    `json:"binding_id"`
	CatalogId  openapi_types.UUID     `json:"catalog_id"`
	Definition map[string]interface{} `json:"definition"`
	Grain      *string                `json:"grain"`
	Namespace  []string               `json:"namespace"`
	Table      string                 `json:"table"`
}

SemanticMetricRenderRequest defines model for SemanticMetricRenderRequest.

type SemanticMetricRenderResult

type SemanticMetricRenderResult struct {
	Sql string `json:"sql"`
}

SemanticMetricRenderResult defines model for SemanticMetricRenderResult.

type SemanticMetricSQL

type SemanticMetricSQL struct {
	// Portable False when the metric uses custom_sql
	Portable bool   `json:"portable"`
	Sql      string `json:"sql"`
}

SemanticMetricSQL defines model for SemanticMetricSQL.

type SemanticMetricUpdate

type SemanticMetricUpdate struct {
	BindingId   *openapi_types.UUID     `json:"binding_id"`
	CatalogId   *openapi_types.UUID     `json:"catalog_id,omitempty"`
	Certified   *bool                   `json:"certified,omitempty"`
	Definition  *map[string]interface{} `json:"definition,omitempty"`
	Description *string                 `json:"description,omitempty"`

	// ExpectedVersion Reject with 409 version_conflict when the latest content version differs
	ExpectedVersion *int                `json:"expected_version"`
	Label           *string             `json:"label,omitempty"`
	Namespace       *[]string           `json:"namespace,omitempty"`
	OwnerUserId     *openapi_types.UUID `json:"owner_user_id"`
	Slug            *string             `json:"slug,omitempty"`
	Table           *string             `json:"table,omitempty"`
}

SemanticMetricUpdate defines model for SemanticMetricUpdate.

type SemanticMetricValidateResult

type SemanticMetricValidateResult struct {
	Ok bool `json:"ok"`
}

SemanticMetricValidateResult defines model for SemanticMetricValidateResult.

type SemanticModel

type SemanticModel struct {
	AllowedActions *[]string           `json:"allowed_actions,omitempty"`
	BindingId      *openapi_types.UUID `json:"binding_id"`
	CatalogId      openapi_types.UUID  `json:"catalog_id"`
	Certified      bool                `json:"certified"`
	CertifiedAt    *time.Time          `json:"certified_at"`
	CertifiedBy    *openapi_types.UUID `json:"certified_by"`

	// Definition Semantic model v2: source (table or SQL), primary_key, dimensions, metrics and joins. Validated with DisallowUnknownFields.
	Definition    map[string]interface{} `json:"definition"`
	Description   *string                `json:"description,omitempty"`
	FormatVersion int                    `json:"format_version"`
	Id            openapi_types.UUID     `json:"id"`
	Label         string                 `json:"label"`
	OwnerUserId   *openapi_types.UUID    `json:"owner_user_id"`
	Slug          string                 `json:"slug"`
	SpaceId       *openapi_types.UUID    `json:"space_id"`
	UpdatedAt     time.Time              `json:"updated_at"`
	UpdatedBy     *openapi_types.UUID    `json:"updated_by,omitempty"`

	// Version Latest content version (#34)
	Version     int                `json:"version"`
	WorkspaceId openapi_types.UUID `json:"workspace_id"`
}

SemanticModel defines model for SemanticModel.

type SemanticModelCreate

type SemanticModelCreate struct {
	BindingId   *openapi_types.UUID    `json:"binding_id"`
	CatalogId   openapi_types.UUID     `json:"catalog_id"`
	Certified   *bool                  `json:"certified,omitempty"`
	Definition  map[string]interface{} `json:"definition"`
	Description *string                `json:"description,omitempty"`
	Label       string                 `json:"label"`
	OwnerUserId *openapi_types.UUID    `json:"owner_user_id"`
	Slug        string                 `json:"slug"`

	// SpaceId Omitted: the workspace's default space
	SpaceId *openapi_types.UUID `json:"space_id"`
}

SemanticModelCreate defines model for SemanticModelCreate.

type SemanticModelUpdate

type SemanticModelUpdate struct {
	BindingId   *openapi_types.UUID     `json:"binding_id"`
	CatalogId   *openapi_types.UUID     `json:"catalog_id,omitempty"`
	Certified   *bool                   `json:"certified,omitempty"`
	Definition  *map[string]interface{} `json:"definition,omitempty"`
	Description *string                 `json:"description,omitempty"`

	// ExpectedVersion Reject with 409 version_conflict when the latest content version differs
	ExpectedVersion *int                `json:"expected_version"`
	Label           *string             `json:"label,omitempty"`
	OwnerUserId     *openapi_types.UUID `json:"owner_user_id"`
	Slug            *string             `json:"slug,omitempty"`
}

SemanticModelUpdate defines model for SemanticModelUpdate.

type SemanticTag

type SemanticTag struct {
	Count int    `json:"count"`
	Tag   string `json:"tag"`
}

SemanticTag defines model for SemanticTag.

type SendAssistantMessage202JSONResponse

type SendAssistantMessage202JSONResponse SendAssistantMessageResponse

func (SendAssistantMessage202JSONResponse) VisitSendAssistantMessageResponse

func (response SendAssistantMessage202JSONResponse) VisitSendAssistantMessageResponse(w http.ResponseWriter) error

type SendAssistantMessage401JSONResponse

type SendAssistantMessage401JSONResponse struct{ UnauthorizedJSONResponse }

func (SendAssistantMessage401JSONResponse) VisitSendAssistantMessageResponse

func (response SendAssistantMessage401JSONResponse) VisitSendAssistantMessageResponse(w http.ResponseWriter) error

type SendAssistantMessage404JSONResponse

type SendAssistantMessage404JSONResponse struct{ NotFoundJSONResponse }

func (SendAssistantMessage404JSONResponse) VisitSendAssistantMessageResponse

func (response SendAssistantMessage404JSONResponse) VisitSendAssistantMessageResponse(w http.ResponseWriter) error

type SendAssistantMessage409JSONResponse

type SendAssistantMessage409JSONResponse struct{ ConflictJSONResponse }

func (SendAssistantMessage409JSONResponse) VisitSendAssistantMessageResponse

func (response SendAssistantMessage409JSONResponse) VisitSendAssistantMessageResponse(w http.ResponseWriter) error

type SendAssistantMessage422JSONResponse

type SendAssistantMessage422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (SendAssistantMessage422JSONResponse) VisitSendAssistantMessageResponse

func (response SendAssistantMessage422JSONResponse) VisitSendAssistantMessageResponse(w http.ResponseWriter) error

type SendAssistantMessageJSONRequestBody

type SendAssistantMessageJSONRequestBody = SendAssistantMessageRequest

SendAssistantMessageJSONRequestBody defines body for SendAssistantMessage for application/json ContentType.

type SendAssistantMessageRequest

type SendAssistantMessageRequest struct {
	Text string `json:"text"`
}

SendAssistantMessageRequest defines model for SendAssistantMessageRequest.

type SendAssistantMessageRequestObject

type SendAssistantMessageRequestObject struct {
	Id   PathId `json:"id"`
	Body *SendAssistantMessageJSONRequestBody
}

type SendAssistantMessageResponse

type SendAssistantMessageResponse struct {
	Seq int `json:"seq"`
}

SendAssistantMessageResponse defines model for SendAssistantMessageResponse.

type SendAssistantMessageResponseObject

type SendAssistantMessageResponseObject interface {
	VisitSendAssistantMessageResponse(w http.ResponseWriter) error
}

type ServerInterface

type ServerInterface interface {
	// Assistant provider and data-sharing settings (G-admin)
	// (GET /admin/assistant/settings)
	GetAssistantSettings(w http.ResponseWriter, r *http.Request)
	// Update assistant settings; the API key is write-only (G-admin)
	// (PUT /admin/assistant/settings)
	PutAssistantSettings(w http.ResponseWriter, r *http.Request)
	// Send a one-token prompt to the configured provider (G-admin)
	// (POST /admin/assistant/test)
	TestAssistant(w http.ResponseWriter, r *http.Request)
	// Global BI gateway readiness and switch — admin only
	// (GET /admin/bi-gateway)
	GetBIGateway(w http.ResponseWriter, r *http.Request)
	// Turn the BI gateway on or off globally — admin only
	// (PUT /admin/bi-gateway)
	PutBIGateway(w http.ResponseWriter, r *http.Request)
	// Directory reconciliation runs — admin only
	// (GET /admin/directory-reconcile-runs)
	ListDirectoryReconcileRuns(w http.ResponseWriter, r *http.Request, params ListDirectoryReconcileRunsParams)
	// List configured identity providers — admin only
	// (GET /admin/identity-providers)
	ListIdentityProviders(w http.ResponseWriter, r *http.Request)
	// Create an identity provider — admin only
	// (POST /admin/identity-providers)
	CreateIdentityProvider(w http.ResponseWriter, r *http.Request)
	// Preview directory group mapping — admin only
	// (POST /admin/identity-providers/mapping-preview)
	PreviewIdentityMapping(w http.ResponseWriter, r *http.Request)
	// Test an unsaved identity provider — admin only
	// (POST /admin/identity-providers/test)
	TestIdentityProviderTransient(w http.ResponseWriter, r *http.Request)
	// Delete an identity provider — admin only
	// (DELETE /admin/identity-providers/{id})
	DeleteIdentityProvider(w http.ResponseWriter, r *http.Request, id PathId, params DeleteIdentityProviderParams)
	// Get an identity provider — admin only
	// (GET /admin/identity-providers/{id})
	GetIdentityProvider(w http.ResponseWriter, r *http.Request, id PathId)
	// Update an identity provider — admin only
	// (PATCH /admin/identity-providers/{id})
	UpdateIdentityProvider(w http.ResponseWriter, r *http.Request, id PathId)
	// Test a stored identity provider — admin only
	// (POST /admin/identity-providers/{id}/test)
	TestIdentityProvider(w http.ResponseWriter, r *http.Request, id PathId, params TestIdentityProviderParams)
	// Core system status
	// (GET /admin/system/status)
	GetSystemStatus(w http.ResponseWriter, r *http.Request)
	// List the caller's external agents (admins: all with all=true)
	// (GET /agents)
	ListAgents(w http.ResponseWriter, r *http.Request, params ListAgentsParams)
	// Create an agent owned by the caller
	// (POST /agents)
	CreateAgent(w http.ResponseWriter, r *http.Request)
	// MCP URL, token TTLs and the tool registry the agents UI needs
	// (GET /agents/meta)
	GetAgentsMeta(w http.ResponseWriter, r *http.Request)
	// Delete an agent (owner or admin)
	// (DELETE /agents/{agent_id})
	DeleteAgent(w http.ResponseWriter, r *http.Request, agentId PathAgentId)
	// Get an agent
	// (GET /agents/{agent_id})
	GetAgent(w http.ResponseWriter, r *http.Request, agentId PathAgentId)
	// Update an agent (owner; an admin may only disable it)
	// (PATCH /agents/{agent_id})
	UpdateAgent(w http.ResponseWriter, r *http.Request, agentId PathAgentId)
	// Where an agent may run, per granted catalog and hosting engine
	// (GET /agents/{agent_id}/eligibility)
	GetAgentEligibility(w http.ResponseWriter, r *http.Request, agentId PathAgentId)
	// Effective, stored and ceiling values of an agent's policy
	// (GET /agents/{agent_id}/policy)
	GetAgentPolicy(w http.ResponseWriter, r *http.Request, agentId PathAgentId)
	// Replace an agent's policy within the server ceilings
	// (PUT /agents/{agent_id}/policy)
	PutAgentPolicy(w http.ResponseWriter, r *http.Request, agentId PathAgentId)
	// List an agent's tokens (never the secret)
	// (GET /agents/{agent_id}/tokens)
	ListAgentTokens(w http.ResponseWriter, r *http.Request, agentId PathAgentId)
	// Mint a token for an agent — the secret is shown once
	// (POST /agents/{agent_id}/tokens)
	CreateAgentToken(w http.ResponseWriter, r *http.Request, agentId PathAgentId)
	// Revoke an agent token
	// (DELETE /agents/{agent_id}/tokens/{token_id})
	RevokeAgentToken(w http.ResponseWriter, r *http.Request, agentId PathAgentId, tokenId PathAgentTokenId)
	// List current user's API keys
	// (GET /api-keys)
	ListApiKeys(w http.ResponseWriter, r *http.Request)
	// Create a new API key
	// (POST /api-keys)
	CreateApiKey(w http.ResponseWriter, r *http.Request)
	// Remove an API key
	// (DELETE /api-keys/{id})
	DeleteApiKey(w http.ResponseWriter, r *http.Request, id PathId)
	// The caller's conversations in a workspace
	// (GET /assistant/conversations)
	ListAssistantConversations(w http.ResponseWriter, r *http.Request, params ListAssistantConversationsParams)
	// Start a conversation in a workspace
	// (POST /assistant/conversations)
	CreateAssistantConversation(w http.ResponseWriter, r *http.Request)
	// Delete the caller's conversation
	// (DELETE /assistant/conversations/{id})
	DeleteAssistantConversation(w http.ResponseWriter, r *http.Request, id PathId)
	// A conversation and its persisted messages
	// (GET /assistant/conversations/{id})
	GetAssistantConversation(w http.ResponseWriter, r *http.Request, id PathId)
	// Stop the running turn
	// (POST /assistant/conversations/{id}/cancel)
	CancelAssistantTurn(w http.ResponseWriter, r *http.Request, id PathId)
	// Replay persisted messages and stream the live turn (SSE)
	// (GET /assistant/conversations/{id}/events)
	StreamAssistantConversation(w http.ResponseWriter, r *http.Request, id PathId, params StreamAssistantConversationParams)
	// Send a user message; the turn runs in the background
	// (POST /assistant/conversations/{id}/messages)
	SendAssistantMessage(w http.ResponseWriter, r *http.Request, id PathId)
	// Whether the assistant is enabled and what it may share
	// (GET /assistant/status)
	GetAssistantStatus(w http.ResponseWriter, r *http.Request)
	// Items that need the caller's attention
	// (GET /attention)
	ListAttention(w http.ResponseWriter, r *http.Request)
	// The bounded audit action vocabulary
	// (GET /audit/actions)
	ListAuditActions(w http.ResponseWriter, r *http.Request)
	// Audit trail, newest first — admins see every event, others their own
	// (GET /audit/events)
	ListAuditEvents(w http.ResponseWriter, r *http.Request, params ListAuditEventsParams)
	// Export the current audit filter as CSV — admins
	// (GET /audit/events.csv)
	ExportAuditCSV(w http.ResponseWriter, r *http.Request, params ExportAuditCSVParams)
	// Resolve audit ids to names, only entities the caller can see
	// (POST /audit/resolve)
	ResolveAudit(w http.ResponseWriter, r *http.Request)
	// Authenticate and receive JWT
	// (POST /auth/login)
	Login(w http.ResponseWriter, r *http.Request)
	// Invalidate current session
	// (POST /auth/logout)
	Logout(w http.ResponseWriter, r *http.Request)
	// Return authenticated user, feature flags and global actions
	// (GET /auth/me)
	GetMe(w http.ResponseWriter, r *http.Request)
	// List configured OIDC providers
	// (GET /auth/oidc/providers)
	ListOIDCProviders(w http.ResponseWriter, r *http.Request)
	// OIDC callback — exchange code for JWT
	// (GET /auth/oidc/{provider_id}/callback)
	OidcCallback(w http.ResponseWriter, r *http.Request, providerId openapi_types.UUID, params OidcCallbackParams)
	// Redirect to OIDC provider
	// (GET /auth/oidc/{provider_id}/login)
	OidcRedirect(w http.ResponseWriter, r *http.Request, providerId openapi_types.UUID, params OidcRedirectParams)
	// Confirm password reset with token
	// (POST /auth/password-reset/confirm)
	ConfirmPasswordReset(w http.ResponseWriter, r *http.Request)
	// Request password reset link
	// (POST /auth/password-reset/request)
	RequestPasswordReset(w http.ResponseWriter, r *http.Request)
	// Enabled login providers
	// (GET /auth/providers)
	ListAuthProviders(w http.ResponseWriter, r *http.Request)
	// Exchange refresh token for new access token pair
	// (POST /auth/refresh)
	RefreshToken(w http.ResponseWriter, r *http.Request)
	// Remove a managed binding from its engine
	// (DELETE /bindings/{id})
	DeleteCatalogBinding(w http.ResponseWriter, r *http.Request, id PathId)
	// One binding with its lifecycle state, error and allowed actions
	// (GET /bindings/{id})
	GetCatalogBinding(w http.ResponseWriter, r *http.Request, id PathId)
	// Rename, reconfigure, enable or disable a managed binding
	// (PATCH /bindings/{id})
	UpdateCatalogBinding(w http.ResponseWriter, r *http.Request, id PathId)
	// Engine-side properties of a binding, secret values masked
	// (GET /bindings/{id}/projection)
	GetCatalogBindingProjection(w http.ResponseWriter, r *http.Request, id PathId)
	// Re-apply a managed binding's current projection to its engine
	// (POST /bindings/{id}/sync)
	SyncCatalogBinding(w http.ResponseWriter, r *http.Request, id PathId)
	// List the catalog connections the caller can see
	// (GET /catalog-connections)
	ListCatalogConnections(w http.ResponseWriter, r *http.Request)
	// Create a catalog connection — admin only
	// (POST /catalog-connections)
	CreateCatalogConnection(w http.ResponseWriter, r *http.Request)
	// Test connection settings before saving them
	// (POST /catalog-connections/test)
	TestConnectionDraft(w http.ResponseWriter, r *http.Request)
	// Remove a connection — admin only
	// (DELETE /catalog-connections/{id})
	DeleteCatalogConnection(w http.ResponseWriter, r *http.Request, id PathId)
	// Connection details
	// (GET /catalog-connections/{id})
	GetCatalogConnection(w http.ResponseWriter, r *http.Request, id PathId)
	// Update a connection — admin only
	// (PATCH /catalog-connections/{id})
	UpdateCatalogConnection(w http.ResponseWriter, r *http.Request, id PathId)
	// What depends on this connection before deleting it
	// (GET /catalog-connections/{id}/impact)
	GetCatalogConnectionImpact(w http.ResponseWriter, r *http.Request, id PathId)
	// Test catalog connectivity
	// (POST /catalog-connections/{id}/test)
	TestCatalogConnection(w http.ResponseWriter, r *http.Request, id PathId)
	// Active grants and pending requests the caller manages
	// (GET /catalog-grants)
	ListCatalogGrantItems(w http.ResponseWriter, r *http.Request, params ListCatalogGrantItemsParams)
	// Offer, request or directly grant a catalog to a workspace, decided by the caller's rights on each side
	// (POST /catalog-grants)
	CreateCatalogGrant(w http.ResponseWriter, r *http.Request)
	// Decline a pending request or unlink an active grant
	// (DELETE /catalog-grants/{workspace_id}/{catalog_id})
	DeleteCatalogGrant(w http.ResponseWriter, r *http.Request, workspaceId openapi_types.UUID, catalogId openapi_types.UUID)
	// Approve a pending offer or request as the other party
	// (POST /catalog-grants/{workspace_id}/{catalog_id}/approve)
	ApproveCatalogGrant(w http.ResponseWriter, r *http.Request, workspaceId openapi_types.UUID, catalogId openapi_types.UUID)
	// Logical catalogs the caller may view, with their bindings
	// (GET /catalogs)
	ListAllCatalogs(w http.ResponseWriter, r *http.Request, params ListAllCatalogsParams)
	// Disable a source catalog and deprovision its managed bindings
	// (DELETE /catalogs/{catalog_id})
	DeleteCatalogDetail(w http.ResponseWriter, r *http.Request, catalogId openapi_types.UUID)
	// One logical catalog with its bindings and counts
	// (GET /catalogs/{catalog_id})
	GetCatalogDetail(w http.ResponseWriter, r *http.Request, catalogId openapi_types.UUID)
	// Rename or re-describe a catalog (bundles and metrics reference it by name)
	// (PATCH /catalogs/{catalog_id})
	UpdateCatalogDetail(w http.ResponseWriter, r *http.Request, catalogId openapi_types.UUID)
	// Mark the catalog discoverable so workspace admins can find and request it
	// (PATCH /catalogs/{catalog_id}/discoverable)
	SetCatalogDiscoverable(w http.ResponseWriter, r *http.Request, catalogId openapi_types.UUID)
	// Workspaces a catalog owner may offer the catalog to
	// (GET /catalogs/{catalog_id}/grantable-workspaces)
	ListGrantableWorkspaces(w http.ResponseWriter, r *http.Request, catalogId openapi_types.UUID)
	// Workspace grants of this catalog
	// (GET /catalogs/{catalog_id}/grants)
	ListCatalogGrants(w http.ResponseWriter, r *http.Request, catalogId openapi_types.UUID)
	// What depends on this catalog before deleting it
	// (GET /catalogs/{catalog_id}/impact)
	GetCatalogImpact(w http.ResponseWriter, r *http.Request, catalogId openapi_types.UUID)
	// Run optimize/expire/orphan cleanup on one Iceberg table
	// (POST /catalogs/{catalog_id}/maintenance)
	CreateMaintenanceRun(w http.ResponseWriter, r *http.Request, catalogId openapi_types.UUID)
	// The current maintenance plan of every table of the catalog with parameters
	// (GET /catalogs/{catalog_id}/maintenance-plan)
	GetCatalogMaintenancePlan(w http.ResponseWriter, r *http.Request, catalogId openapi_types.UUID)
	// Maintenance runs of a catalog, newest first
	// (GET /catalogs/{catalog_id}/maintenance-runs)
	ListMaintenanceRuns(w http.ResponseWriter, r *http.Request, catalogId openapi_types.UUID, params ListMaintenanceRunsParams)
	// Refresh the catalog's metadata snapshot now
	// (POST /catalogs/{catalog_id}/metadata/sync)
	SyncCatalogMetadata(w http.ResponseWriter, r *http.Request, catalogId openapi_types.UUID)
	// Latest metadata passes of the catalog, newest first
	// (GET /catalogs/{catalog_id}/metadata/sync-runs)
	ListCatalogMetadataSyncRuns(w http.ResponseWriter, r *http.Request, catalogId openapi_types.UUID, params ListCatalogMetadataSyncRunsParams)
	// Force re-sync of a catalog against the Trino cluster
	// (POST /catalogs/{catalog_id}/sync)
	SyncCatalog(w http.ResponseWriter, r *http.Request, catalogId openapi_types.UUID)
	// Iceberg table health of a logical catalog
	// (GET /catalogs/{catalog_id}/table-health)
	ListTableHealth(w http.ResponseWriter, r *http.Request, catalogId openapi_types.UUID, params ListTableHealthParams)
	// Analyze the health of every table of an Iceberg catalog now
	// (POST /catalogs/{catalog_id}/table-health/analyze)
	AnalyzeCatalogTableHealth(w http.ResponseWriter, r *http.Request, catalogId openapi_types.UUID)
	// Remove a table's maintenance parameters: the table is no longer maintained
	// (DELETE /catalogs/{catalog_id}/tables/{namespace}/{table}/maintenance)
	DeleteTableMaintenance(w http.ResponseWriter, r *http.Request, catalogId MaintenanceCatalogId, namespace MaintenanceNamespace, table MaintenanceTable)
	// A table's maintenance parameters, recent runs and current plan
	// (GET /catalogs/{catalog_id}/tables/{namespace}/{table}/maintenance)
	GetTableMaintenance(w http.ResponseWriter, r *http.Request, catalogId MaintenanceCatalogId, namespace MaintenanceNamespace, table MaintenanceTable)
	// Create or replace a table's maintenance parameters
	// (PUT /catalogs/{catalog_id}/tables/{namespace}/{table}/maintenance)
	PutTableMaintenance(w http.ResponseWriter, r *http.Request, catalogId MaintenanceCatalogId, namespace MaintenanceNamespace, table MaintenanceTable, params PutTableMaintenanceParams)
	// What a round would run on the table now, without running it
	// (POST /catalogs/{catalog_id}/tables/{namespace}/{table}/maintenance/dry-run)
	DryRunTableMaintenance(w http.ResponseWriter, r *http.Request, catalogId MaintenanceCatalogId, namespace MaintenanceNamespace, table MaintenanceTable)
	// Run one maintenance operation on the table now
	// (POST /catalogs/{catalog_id}/tables/{namespace}/{table}/maintenance/runs)
	RunTableMaintenance(w http.ResponseWriter, r *http.Request, catalogId MaintenanceCatalogId, namespace MaintenanceNamespace, table MaintenanceTable)
	// Analyze the health of one Iceberg table now
	// (POST /catalogs/{catalog_id}/tables/{namespace}/{table}/table-health/analyze)
	AnalyzeTableHealth(w http.ResponseWriter, r *http.Request, catalogId MaintenanceCatalogId, namespace MaintenanceNamespace, table MaintenanceTable)
	// Engines a catalog is bound to (anyone who may read the catalog)
	// (GET /catalogs/{id}/bindings)
	ListCatalogBindings(w http.ResponseWriter, r *http.Request, id PathId)
	// Bind a source catalog into a federated engine
	// (POST /catalogs/{id}/bindings)
	CreateCatalogBinding(w http.ResponseWriter, r *http.Request, id PathId)
	// A catalog's data policies (owner of its connection or an admin)
	// (GET /catalogs/{id}/data-policies)
	ListCatalogDataPolicies(w http.ResponseWriter, r *http.Request, id PathId)
	// Add a row filter or column mask to one of the catalog's tables
	// (POST /catalogs/{id}/data-policies)
	CreateDataPolicy(w http.ResponseWriter, r *http.Request, id PathId)
	// SECURITY DEFINER views over the catalog's policied tables, and whose policies they apply
	// (GET /catalogs/{id}/data-policies/definer-views)
	ListCatalogDefinerViews(w http.ResponseWriter, r *http.Request, id PathId)
	// Publish the catalog's current policies in a new signed revision
	// (POST /catalogs/{id}/data-policies/publish)
	PublishCatalogDataPolicies(w http.ResponseWriter, r *http.Request, id PathId)
	// Connection categories in presentation order (ADR 0021 D.10)
	// (GET /connection-categories)
	ListConnectionCategories(w http.ResponseWriter, r *http.Request)
	// Connection kinds, their roles and config schemas (drives the connection forms)
	// (GET /connection-providers)
	ListConnectionProviders(w http.ResponseWriter, r *http.Request)
	// List catalogs registered under a connection
	// (GET /connections/{connection_id}/catalogs)
	ListCatalogs(w http.ResponseWriter, r *http.Request, connectionId openapi_types.UUID)
	// Register a catalog under a connection
	// (POST /connections/{connection_id}/catalogs)
	CreateCatalog(w http.ResponseWriter, r *http.Request, connectionId openapi_types.UUID)
	// Remove a catalog
	// (DELETE /connections/{connection_id}/catalogs/{catalog_id})
	DeleteCatalog(w http.ResponseWriter, r *http.Request, connectionId openapi_types.UUID, catalogId openapi_types.UUID)
	// Catalog details
	// (GET /connections/{connection_id}/catalogs/{catalog_id})
	GetCatalog(w http.ResponseWriter, r *http.Request, connectionId openapi_types.UUID, catalogId openapi_types.UUID)
	// Update a catalog
	// (PATCH /connections/{connection_id}/catalogs/{catalog_id})
	UpdateCatalog(w http.ResponseWriter, r *http.Request, connectionId openapi_types.UUID, catalogId openapi_types.UUID)
	// Next runs of a cron expression, from the server's parser
	// (POST /cron/preview)
	PreviewCron(w http.ResponseWriter, r *http.Request)
	// Published revisions, newest first (global admin)
	// (GET /data-policies/revisions)
	ListDataPolicyRevisions(w http.ResponseWriter, r *http.Request, params ListDataPolicyRevisionsParams)
	// Publish an earlier revision's policies again with a fresh lease (global admin)
	// (POST /data-policies/revisions/{id}/rollback)
	RollbackDataPolicyRevision(w http.ResponseWriter, r *http.Request, id PathId)
	// The published revision and each engine's integration (global admin)
	// (GET /data-policies/status)
	GetDataPolicyStatus(w http.ResponseWriter, r *http.Request)
	// Remove a data policy; it stays in force until the catalog is published
	// (DELETE /data-policies/{id})
	DeleteDataPolicy(w http.ResponseWriter, r *http.Request, id PathId)
	// One data policy
	// (GET /data-policies/{id})
	GetDataPolicy(w http.ResponseWriter, r *http.Request, id PathId)
	// Replace a data policy and check it again
	// (PUT /data-policies/{id})
	UpdateDataPolicy(w http.ResponseWriter, r *http.Request, id PathId)
	// A SQL dialect with its keyword and function lists (for the editor)
	// (GET /dialects/{name})
	GetDialect(w http.ResponseWriter, r *http.Request, name string, params GetDialectParams)
	// The dialect's EXPLAIN statement for a query
	// (POST /dialects/{name}/explain)
	ExplainSQL(w http.ResponseWriter, r *http.Request, name string)
	// Split a script into statements with the dialect's rules
	// (POST /dialects/{name}/split)
	SplitStatements(w http.ResponseWriter, r *http.Request, name string)
	// Engines the caller may see: all for an admin; else those on connections they own or hosting a catalog granted to one of their workspaces
	// (GET /engines)
	ListEngines(w http.ResponseWriter, r *http.Request)
	// Register a standalone federated engine
	// (POST /engines)
	CreateEngine(w http.ResponseWriter, r *http.Request)
	// Remove an engine (owner of its connection or an admin)
	// (DELETE /engines/{id})
	DeleteEngine(w http.ResponseWriter, r *http.Request, id PathId)
	// Engine details
	// (GET /engines/{id})
	GetEngine(w http.ResponseWriter, r *http.Request, id PathId)
	// Enable or disable an engine (owner of its connection or an admin)
	// (PATCH /engines/{id})
	UpdateEngine(w http.ResponseWriter, r *http.Request, id PathId)
	// Source kinds this engine can bind, with connectors, protected extra-property keys and reserved names
	// (GET /engines/{id}/binding-support)
	GetEngineBindingSupport(w http.ResponseWriter, r *http.Request, id PathId)
	// Catalogs bound to an engine
	// (GET /engines/{id}/bindings)
	ListEngineBindings(w http.ResponseWriter, r *http.Request, id PathId)
	// Run native-catalog discovery now (direct engines)
	// (POST /engines/{id}/discover)
	DiscoverEngineCatalogs(w http.ResponseWriter, r *http.Request, id PathId)
	// What depends on this engine before disabling or deleting it
	// (GET /engines/{id}/impact)
	GetEngineImpact(w http.ResponseWriter, r *http.Request, id PathId)
	// Cluster snapshots of an engine
	// (GET /engines/{id}/monitoring/cluster)
	GetEngineCluster(w http.ResponseWriter, r *http.Request, id PathId, params GetEngineClusterParams)
	// Stream a signal when an engine's monitoring data changes (SSE)
	// (GET /engines/{id}/monitoring/events)
	StreamMonitoringEvents(w http.ResponseWriter, r *http.Request, id PathId)
	// Query snapshots of an engine — own queries or, for admins, everyone's
	// (GET /engines/{id}/monitoring/queries)
	ListMonitoringQueries(w http.ResponseWriter, r *http.Request, id PathId, params ListMonitoringQueriesParams)
	// Full SQL, timings and error of one query
	// (GET /engines/{id}/monitoring/queries/{query_id})
	GetMonitoringQuery(w http.ResponseWriter, r *http.Request, id PathId, queryId string)
	// Cancel a running query
	// (POST /engines/{id}/monitoring/queries/{query_id})
	KillMonitoringQuery(w http.ResponseWriter, r *http.Request, id PathId, queryId string)
	// Catalogs the federated engine reported, with managed/adopted mode
	// (GET /engines/{id}/observations)
	ListEngineObservations(w http.ResponseWriter, r *http.Request, id PathId)
	// Live queue depth and capacity per class
	// (GET /engines/{id}/queues)
	GetEngineQueues(w http.ResponseWriter, r *http.Request, id PathId)
	// Set capacities, timeouts and the engine ceiling
	// (PUT /engines/{id}/queues)
	PutEngineQueues(w http.ResponseWriter, r *http.Request, id PathId)
	// Repair the engine's managed catalog drift and report the rest — admins
	// (POST /engines/{id}/reconcile)
	ReconcileEngine(w http.ResponseWriter, r *http.Request, id PathId, params ReconcileEngineParams)
	// Latest reconcile runs of the engine, newest first — admins
	// (GET /engines/{id}/reconcile-runs)
	ListReconcileRuns(w http.ResponseWriter, r *http.Request, id PathId, params ListReconcileRunsParams)
	// One reconcile run with its stored actions — admins
	// (GET /engines/{id}/reconcile-runs/{run_id})
	GetReconcileRun(w http.ResponseWriter, r *http.Request, id PathId, runId openapi_types.UUID)
	// Reach, authenticate and version the registered engine
	// (POST /engines/{id}/test)
	TestEngine(w http.ResponseWriter, r *http.Request, id PathId)
	// Current user profile
	// (GET /me)
	GetProfile(w http.ResponseWriter, r *http.Request)
	// Update current user profile
	// (PATCH /me)
	UpdateProfile(w http.ResponseWriter, r *http.Request)
	// Change current user password
	// (PATCH /me/password)
	UpdatePassword(w http.ResponseWriter, r *http.Request)
	// List migrations — admin only
	// (GET /migrations)
	ListMigrations(w http.ResponseWriter, r *http.Request)
	// Create a zero-copy migration — admin only
	// (POST /migrations)
	CreateMigration(w http.ResponseWriter, r *http.Request)
	// Migration status
	// (GET /migrations/{id})
	GetMigration(w http.ResponseWriter, r *http.Request, id PathId)
	// Cancel an ongoing migration — admin only
	// (POST /migrations/{id}/cancel)
	CancelMigration(w http.ResponseWriter, r *http.Request, id PathId)
	// List individual tables in a migration
	// (GET /migrations/{id}/items)
	ListMigrationItems(w http.ResponseWriter, r *http.Request, id PathId, params ListMigrationItemsParams)
	// Start migration execution — admin only
	// (POST /migrations/{id}/start)
	StartMigration(w http.ResponseWriter, r *http.Request, id PathId)
	// Engines with runtime monitoring the caller can view
	// (GET /monitoring/engines)
	ListMonitoringEngines(w http.ResponseWriter, r *http.Request)
	// Service accounts the caller manages: every one for a global admin, those of the workspaces they administer otherwise (#653)
	// (GET /service-accounts)
	ListServiceAccounts(w http.ResponseWriter, r *http.Request)
	// Create a service account — global admin, or workspace admin in their workspace (#653)
	// (POST /service-accounts)
	CreateServiceAccount(w http.ResponseWriter, r *http.Request)
	// Delete a service account with its tokens, agents and memberships — its managers
	// (DELETE /service-accounts/{id})
	DeleteServiceAccount(w http.ResponseWriter, r *http.Request, id PathId)
	// Get a service account — its managers
	// (GET /service-accounts/{id})
	GetServiceAccount(w http.ResponseWriter, r *http.Request, id PathId)
	// Rename, describe or link a service account to an identity provider client — its managers
	// (PATCH /service-accounts/{id})
	UpdateServiceAccount(w http.ResponseWriter, r *http.Request, id PathId)
	// The service account's Baleia tokens (never their secrets) — its managers
	// (GET /service-accounts/{id}/tokens)
	ListServiceAccountTokens(w http.ResponseWriter, r *http.Request, id PathId)
	// Issue a Baleia token for the service account, shown once — its managers
	// (POST /service-accounts/{id}/tokens)
	CreateServiceAccountToken(w http.ResponseWriter, r *http.Request, id PathId)
	// Revoke a Baleia token of the service account — its managers
	// (DELETE /service-accounts/{id}/tokens/{token_id})
	RevokeServiceAccountToken(w http.ResponseWriter, r *http.Request, id PathId, tokenId openapi_types.UUID)
	// Create first admin user
	// (POST /setup/admin)
	CreateFirstAdmin(w http.ResponseWriter, r *http.Request)
	// System configuration status
	// (GET /setup/status)
	GetSetupStatus(w http.ResponseWriter, r *http.Request)
	// List all teams
	// (GET /teams)
	ListTeams(w http.ResponseWriter, r *http.Request)
	// Create a team — admin only
	// (POST /teams)
	CreateTeam(w http.ResponseWriter, r *http.Request)
	// Remove a team — admin only
	// (DELETE /teams/{id})
	DeleteTeam(w http.ResponseWriter, r *http.Request, id PathId)
	// Team details
	// (GET /teams/{id})
	GetTeam(w http.ResponseWriter, r *http.Request, id PathId)
	// List team members
	// (GET /teams/{id}/members)
	ListTeamMembers(w http.ResponseWriter, r *http.Request, id PathId)
	// Add user to team — admin only
	// (POST /teams/{id}/members)
	AddTeamMember(w http.ResponseWriter, r *http.Request, id PathId)
	// Remove user from team — admin only
	// (DELETE /teams/{id}/members/{user_id})
	RemoveTeamMember(w http.ResponseWriter, r *http.Request, id PathId, userId openapi_types.UUID)
	// Change a team member's role — admin only
	// (PATCH /teams/{id}/members/{user_id})
	UpdateTeamMemberRole(w http.ResponseWriter, r *http.Request, id PathId, userId openapi_types.UUID)
	// Deprecated alias of POST /engines/{id}/reconcile for the default Trino engine
	// (POST /trino/reconcile)
	ReconcileTrino(w http.ResponseWriter, r *http.Request, params ReconcileTrinoParams)
	// List all users — admin only
	// (GET /users)
	ListUsers(w http.ResponseWriter, r *http.Request, params ListUsersParams)
	// Invite a new user — admin only
	// (POST /users/invite)
	InviteUser(w http.ResponseWriter, r *http.Request)
	// Remove a user — admin only
	// (DELETE /users/{id})
	RemoveUser(w http.ResponseWriter, r *http.Request, id PathId)
	// Update user role — admin only
	// (PATCH /users/{id})
	UpdateUserRole(w http.ResponseWriter, r *http.Request, id PathId)
	// Reinstate a user — admin only
	// (POST /users/{id}/reinstate)
	ReinstateUser(w http.ResponseWriter, r *http.Request, id PathId)
	// Suspend a user — admin only
	// (POST /users/{id}/suspend)
	SuspendUser(w http.ResponseWriter, r *http.Request, id PathId)
	// List the ordered workload rules
	// (GET /workload-rules)
	ListWorkloadRules(w http.ResponseWriter, r *http.Request)
	// Create a workload rule
	// (POST /workload-rules)
	CreateWorkloadRule(w http.ResponseWriter, r *http.Request)
	// Delete a workload rule
	// (DELETE /workload-rules/{rule_id})
	DeleteWorkloadRule(w http.ResponseWriter, r *http.Request, ruleId openapi_types.UUID)
	// Update a workload rule
	// (PATCH /workload-rules/{rule_id})
	UpdateWorkloadRule(w http.ResponseWriter, r *http.Request, ruleId openapi_types.UUID)
	// Classify a hypothetical run and say why
	// (POST /workload-rules:test)
	TestWorkloadRule(w http.ResponseWriter, r *http.Request)
	// List workspaces accessible to current user
	// (GET /workspaces)
	ListWorkspaces(w http.ResponseWriter, r *http.Request)
	// Create a workspace — admin only for shared
	// (POST /workspaces)
	CreateWorkspace(w http.ResponseWriter, r *http.Request)
	// Delete a shared workspace and its content — owner or admin
	// (DELETE /workspaces/{id})
	DeleteWorkspace(w http.ResponseWriter, r *http.Request, id PathId)
	// Workspace details
	// (GET /workspaces/{id})
	GetWorkspace(w http.ResponseWriter, r *http.Request, id PathId)
	// Update a workspace — workspace owners and admins
	// (PATCH /workspaces/{id})
	UpdateWorkspace(w http.ResponseWriter, r *http.Request, id PathId)
	// List the workspace's BI keys (admins: all; members: their own)
	// (GET /workspaces/{id}/bi-keys)
	ListBiKeys(w http.ResponseWriter, r *http.Request, id PathId)
	// Issue a workspace-bound BI key (the secret is shown once)
	// (POST /workspaces/{id}/bi-keys)
	CreateBiKey(w http.ResponseWriter, r *http.Request, id PathId)
	// Revoke a workspace-bound BI key
	// (DELETE /workspaces/{id}/bi-keys/{key_id})
	DeleteBiKey(w http.ResponseWriter, r *http.Request, id PathId, keyId PathKeyId)
	// BI readiness for a workspace and the caller
	// (GET /workspaces/{id}/bi-status)
	GetWorkspaceBIStatus(w http.ResponseWriter, r *http.Request, id PathId)
	// Download a Tableau (.tds) or Power BI (.pbids) data source for the gateway
	// (GET /workspaces/{id}/bi/{tool})
	GetWorkspaceBIFile(w http.ResponseWriter, r *http.Request, id PathId, tool string, params GetWorkspaceBIFileParams)
	// List the catalogs granted to the workspace — workspace members
	// (GET /workspaces/{id}/catalog-access)
	ListWorkspaceCatalogAccess(w http.ResponseWriter, r *http.Request, id PathId)
	// Grant a catalog to the workspace — needs the catalog's connection owner (or admin) and a workspace owner (or admin)
	// (POST /workspaces/{id}/catalog-access)
	GrantCatalogAccess(w http.ResponseWriter, r *http.Request, id PathId)
	// Revoke a catalog grant — same rule as granting
	// (DELETE /workspaces/{id}/catalog-access/{catalog_id})
	RevokeCatalogAccess(w http.ResponseWriter, r *http.Request, id PathId, catalogId openapi_types.UUID)
	// What revoking this catalog grant would affect — owner or admin
	// (GET /workspaces/{id}/catalog-access/{catalog_id}/impact)
	GetCatalogAccessImpact(w http.ResponseWriter, r *http.Request, id PathId, catalogId openapi_types.UUID)
	// Search saved queries, metrics and folders in the visible spaces
	// (GET /workspaces/{id}/content/search)
	SearchContent(w http.ResponseWriter, r *http.Request, id PathId, params SearchContentParams)
	// Workspace execution history, newest first
	// (GET /workspaces/{id}/executions)
	ListExecutions(w http.ResponseWriter, r *http.Request, id PathId, params ListExecutionsParams)
	// Submit a query on a target
	// (POST /workspaces/{id}/executions)
	RunQuery(w http.ResponseWriter, r *http.Request, id PathId)
	// Execution status and metadata
	// (GET /workspaces/{id}/executions/{execution_id})
	GetExecution(w http.ResponseWriter, r *http.Request, id PathId, executionId openapi_types.UUID)
	// Cancel an ongoing execution
	// (POST /workspaces/{id}/executions/{execution_id}/cancel)
	CancelExecution(w http.ResponseWriter, r *http.Request, id PathId, executionId openapi_types.UUID)
	// Per-statement rows, bytes and duration, with the engine profile
	// (GET /workspaces/{id}/executions/{execution_id}/details)
	GetExecutionDetails(w http.ResponseWriter, r *http.Request, id PathId, executionId openapi_types.UUID)
	// Execution results as Arrow IPC stream
	// (GET /workspaces/{id}/executions/{execution_id}/results)
	GetResults(w http.ResponseWriter, r *http.Request, id PathId, executionId openapi_types.UUID)
	// List individual statements in a multi-statement execution
	// (GET /workspaces/{id}/executions/{execution_id}/statements)
	ListStatements(w http.ResponseWriter, r *http.Request, id PathId, executionId openapi_types.UUID)
	// Single-statement result as Arrow IPC stream or an export
	// (GET /workspaces/{id}/executions/{execution_id}/statements/{position}/results)
	GetStatementResults(w http.ResponseWriter, r *http.Request, id PathId, executionId openapi_types.UUID, position int, params GetStatementResultsParams)
	// List folders of the spaces the caller can see
	// (GET /workspaces/{id}/folders)
	ListFolders(w http.ResponseWriter, r *http.Request, id PathId, params ListFoldersParams)
	// Create a folder in a space the caller may edit
	// (POST /workspaces/{id}/folders)
	CreateFolder(w http.ResponseWriter, r *http.Request, id PathId)
	// Remove a folder and its contents
	// (DELETE /workspaces/{id}/folders/{folder_id})
	DeleteFolder(w http.ResponseWriter, r *http.Request, id PathId, folderId openapi_types.UUID)
	// Rename a folder or move it (and its subtree) within or across spaces
	// (PATCH /workspaces/{id}/folders/{folder_id})
	UpdateFolder(w http.ResponseWriter, r *http.Request, id PathId, folderId openapi_types.UUID)
	// What a workspace delete would remove — owner or admin
	// (GET /workspaces/{id}/impact)
	GetWorkspaceImpact(w http.ResponseWriter, r *http.Request, id PathId)
	// What depends on what: the lineage graph around one node (B4)
	// (GET /workspaces/{id}/lineage)
	ListLineage(w http.ResponseWriter, r *http.Request, id PathId, params ListLineageParams)
	// List the workspace's members and their roles (#653)
	// (GET /workspaces/{id}/members)
	ListWorkspaceMembers(w http.ResponseWriter, r *http.Request, id PathId)
	// Share a personal workspace with a user, or set a team member's role, by e-mail — workspace admin only
	// (POST /workspaces/{id}/members)
	AddWorkspaceMember(w http.ResponseWriter, r *http.Request, id PathId)
	// Stop sharing a personal workspace with a user, or reset a team member to their default role — workspace admin only
	// (DELETE /workspaces/{id}/members/{user_id})
	RemoveWorkspaceMember(w http.ResponseWriter, r *http.Request, id PathId, userId openapi_types.UUID)
	// Set a member's role, or share a personal workspace with a user — workspace admin only
	// (PUT /workspaces/{id}/members/{user_id})
	SetWorkspaceMember(w http.ResponseWriter, r *http.Request, id PathId, userId openapi_types.UUID)
	// Catalogs the workspace may browse, with freshness and bindings — workspace members
	// (GET /workspaces/{id}/metadata/catalogs)
	ListMetadataCatalogs(w http.ResponseWriter, r *http.Request, id PathId)
	// Child namespaces of a namespace (none given: the top level)
	// (GET /workspaces/{id}/metadata/catalogs/{catalog_id}/namespaces)
	ListMetadataNamespaces(w http.ResponseWriter, r *http.Request, id PathId, catalogId openapi_types.UUID, params ListMetadataNamespacesParams)
	// Tables of a namespace, by name, one page at a time
	// (GET /workspaces/{id}/metadata/catalogs/{catalog_id}/tables)
	ListMetadataTables(w http.ResponseWriter, r *http.Request, id PathId, catalogId openapi_types.UUID, params ListMetadataTablesParams)
	// The connected engine's function catalog (autocomplete)
	// (GET /workspaces/{id}/metadata/functions)
	ListMetadataFunctions(w http.ResponseWriter, r *http.Request, id PathId, params ListMetadataFunctionsParams)
	// Join conditions used between two tables, best first (editor autocomplete)
	// (GET /workspaces/{id}/metadata/join-suggestions)
	ListJoinSuggestions(w http.ResponseWriter, r *http.Request, id PathId, params ListJoinSuggestionsParams)
	// Tables the workspace read most in the last 30 days (B7)
	// (GET /workspaces/{id}/metadata/popular-tables)
	ListPopularTables(w http.ResponseWriter, r *http.Request, id PathId, params ListPopularTablesParams)
	// Tables and columns whose names match, best first (autocomplete and search)
	// (GET /workspaces/{id}/metadata/search)
	SearchMetadata(w http.ResponseWriter, r *http.Request, id PathId, params SearchMetadataParams)
	// A table with its columns, typed and named for one of its catalog's bindings
	// (GET /workspaces/{id}/metadata/tables/{table_id})
	GetMetadataTable(w http.ResponseWriter, r *http.Request, id PathId, tableId openapi_types.UUID, params GetMetadataTableParams)
	// Users and teams a non-admin manager may add to a space
	// (GET /workspaces/{id}/principals)
	ListWorkspacePrincipals(w http.ResponseWriter, r *http.Request, id PathId, params ListWorkspacePrincipalsParams)
	// List saved queries of the spaces the caller can see
	// (GET /workspaces/{id}/queries)
	ListSavedQueries(w http.ResponseWriter, r *http.Request, id PathId, params ListSavedQueriesParams)
	// Save a query in a space the caller may edit
	// (POST /workspaces/{id}/queries)
	CreateSavedQuery(w http.ResponseWriter, r *http.Request, id PathId)
	// Remove a saved query
	// (DELETE /workspaces/{id}/queries/{query_id})
	DeleteSavedQuery(w http.ResponseWriter, r *http.Request, id PathId, queryId openapi_types.UUID)
	// Return a saved query
	// (GET /workspaces/{id}/queries/{query_id})
	GetSavedQuery(w http.ResponseWriter, r *http.Request, id PathId, queryId openapi_types.UUID)
	// Update a saved query
	// (PATCH /workspaces/{id}/queries/{query_id})
	UpdateSavedQuery(w http.ResponseWriter, r *http.Request, id PathId, queryId openapi_types.UUID)
	// Version history of a saved query — viewer
	// (GET /workspaces/{id}/queries/{query_id}/versions)
	ListSavedQueryVersions(w http.ResponseWriter, r *http.Request, id PathId, queryId openapi_types.UUID, params ListSavedQueryVersionsParams)
	// One saved-query version with its snapshot — viewer
	// (GET /workspaces/{id}/queries/{query_id}/versions/{version})
	GetSavedQueryVersion(w http.ResponseWriter, r *http.Request, id PathId, queryId openapi_types.UUID, version int)
	// Restore a saved query to a version — editor
	// (POST /workspaces/{id}/queries/{query_id}/versions/{version}/restore)
	RestoreSavedQueryVersion(w http.ResponseWriter, r *http.Request, id PathId, queryId openapi_types.UUID, version int)
	// Discoverable catalogs a workspace admin may request
	// (GET /workspaces/{id}/requestable-catalogs)
	ListRequestableCatalogs(w http.ResponseWriter, r *http.Request, id PathId)
	// List workspace Retrievers
	// (GET /workspaces/{id}/retrievers)
	ListRetrievers(w http.ResponseWriter, r *http.Request, id PathId)
	// Create a Retriever in the workspace
	// (POST /workspaces/{id}/retrievers)
	CreateRetriever(w http.ResponseWriter, r *http.Request, id PathId)
	// Bindings this workspace may write to (Iceberg, active, on a federated engine)
	// (GET /workspaces/{id}/retrievers/destinations)
	ListRetrieverDestinations(w http.ResponseWriter, r *http.Request, id PathId)
	// Explain the definition on the destination engine in a read-only session
	// (POST /workspaces/{id}/retrievers/validate)
	ValidateRetriever(w http.ResponseWriter, r *http.Request, id PathId)
	// Remove a Retriever
	// (DELETE /workspaces/{id}/retrievers/{retriever_id})
	DeleteRetriever(w http.ResponseWriter, r *http.Request, id PathId, retrieverId openapi_types.UUID)
	// Retriever details
	// (GET /workspaces/{id}/retrievers/{retriever_id})
	GetRetriever(w http.ResponseWriter, r *http.Request, id PathId, retrieverId openapi_types.UUID)
	// Update a Retriever
	// (PATCH /workspaces/{id}/retrievers/{retriever_id})
	UpdateRetriever(w http.ResponseWriter, r *http.Request, id PathId, retrieverId openapi_types.UUID)
	// Retriever refresh history
	// (GET /workspaces/{id}/retrievers/{retriever_id}/history)
	GetRetrieverHistory(w http.ResponseWriter, r *http.Request, id PathId, retrieverId openapi_types.UUID, params GetRetrieverHistoryParams)
	// Trigger manual Retriever refresh
	// (POST /workspaces/{id}/retrievers/{retriever_id}/refresh)
	TriggerRetrieverRefresh(w http.ResponseWriter, r *http.Request, id PathId, retrieverId openapi_types.UUID)
	// One relevance-ranked search over tables, columns, docs, saved queries, metrics, models and folders
	// (GET /workspaces/{id}/search)
	SearchWorkspace(w http.ResponseWriter, r *http.Request, id PathId, params SearchWorkspaceParams)
	// The workspace's search synonyms
	// (GET /workspaces/{id}/search/glossary)
	ListSearchGlossary(w http.ResponseWriter, r *http.Request, id PathId)
	// Add a set of synonyms
	// (POST /workspaces/{id}/search/glossary)
	CreateSearchGlossaryEntry(w http.ResponseWriter, r *http.Request, id PathId)
	// Visible model and metric matches for glossary terms
	// (GET /workspaces/{id}/search/glossary/insights)
	SearchGlossaryInsights(w http.ResponseWriter, r *http.Request, id PathId)
	// Remove a set of synonyms
	// (DELETE /workspaces/{id}/search/glossary/{entry_id})
	DeleteSearchGlossaryEntry(w http.ResponseWriter, r *http.Request, id PathId, entryId openapi_types.UUID)
	// Delete a doc — workspace editors and admins (#653)
	// (DELETE /workspaces/{id}/semantic/docs)
	DeleteSemanticDoc(w http.ResponseWriter, r *http.Request, id PathId, params DeleteSemanticDocParams)
	// Docs of one table or one column — workspace members
	// (GET /workspaces/{id}/semantic/docs)
	ListSemanticDocs(w http.ResponseWriter, r *http.Request, id PathId, params ListSemanticDocsParams)
	// Create or replace a doc — workspace editors and admins (#653)
	// (PUT /workspaces/{id}/semantic/docs)
	UpsertSemanticDoc(w http.ResponseWriter, r *http.Request, id PathId, params UpsertSemanticDocParams)
	// Search docs by text and tag — workspace members
	// (GET /workspaces/{id}/semantic/docs/search)
	SearchSemanticDocs(w http.ResponseWriter, r *http.Request, id PathId, params SearchSemanticDocsParams)
	// Compile an explore query to SQL — space viewer
	// (POST /workspaces/{id}/semantic/explore/compile)
	CompileExploreQuery(w http.ResponseWriter, r *http.Request, id PathId)
	// Metrics of the workspace — workspace members
	// (GET /workspaces/{id}/semantic/metrics)
	ListSemanticMetrics(w http.ResponseWriter, r *http.Request, id PathId, params ListSemanticMetricsParams)
	// Create and validate a metric — space editor
	// (POST /workspaces/{id}/semantic/metrics)
	CreateSemanticMetric(w http.ResponseWriter, r *http.Request, id PathId)
	// Render a metric definition to SQL — no engine call
	// (POST /workspaces/{id}/semantic/metrics/render)
	RenderSemanticMetric(w http.ResponseWriter, r *http.Request, id PathId)
	// Probe a metric definition against its engine — caller identity, read-only
	// (POST /workspaces/{id}/semantic/metrics/validate)
	ValidateSemanticMetricDefinition(w http.ResponseWriter, r *http.Request, id PathId)
	// Delete a metric — space editor
	// (DELETE /workspaces/{id}/semantic/metrics/{metric_id})
	DeleteSemanticMetric(w http.ResponseWriter, r *http.Request, id PathId, metricId openapi_types.UUID)
	// Return a metric — space viewer
	// (GET /workspaces/{id}/semantic/metrics/{metric_id})
	GetSemanticMetric(w http.ResponseWriter, r *http.Request, id PathId, metricId openapi_types.UUID)
	// Update and revalidate a metric — space editor
	// (PATCH /workspaces/{id}/semantic/metrics/{metric_id})
	UpdateSemanticMetric(w http.ResponseWriter, r *http.Request, id PathId, metricId openapi_types.UUID)
	// Render a metric to SQL for one binding — space viewer
	// (GET /workspaces/{id}/semantic/metrics/{metric_id}/sql)
	GetSemanticMetricSql(w http.ResponseWriter, r *http.Request, id PathId, metricId openapi_types.UUID, params GetSemanticMetricSqlParams)
	// Version history of a metric — viewer
	// (GET /workspaces/{id}/semantic/metrics/{metric_id}/versions)
	ListSemanticMetricVersions(w http.ResponseWriter, r *http.Request, id PathId, metricId openapi_types.UUID, params ListSemanticMetricVersionsParams)
	// One metric version with its snapshot — viewer
	// (GET /workspaces/{id}/semantic/metrics/{metric_id}/versions/{version})
	GetSemanticMetricVersion(w http.ResponseWriter, r *http.Request, id PathId, metricId openapi_types.UUID, version int)
	// Restore a metric to a version — editor
	// (POST /workspaces/{id}/semantic/metrics/{metric_id}/versions/{version}/restore)
	RestoreSemanticMetricVersion(w http.ResponseWriter, r *http.Request, id PathId, metricId openapi_types.UUID, version int)
	// Models of the workspace — workspace members
	// (GET /workspaces/{id}/semantic/models)
	ListSemanticModels(w http.ResponseWriter, r *http.Request, id PathId, params ListSemanticModelsParams)
	// Create and validate a model — space editor
	// (POST /workspaces/{id}/semantic/models)
	CreateSemanticModel(w http.ResponseWriter, r *http.Request, id PathId)
	// Migrate v1 metrics into v2 models — space editor (#91, #121)
	// (POST /workspaces/{id}/semantic/models/migrate-v1)
	MigrateSemanticMetricsV1(w http.ResponseWriter, r *http.Request, id PathId)
	// Delete a model — space editor
	// (DELETE /workspaces/{id}/semantic/models/{model_id})
	DeleteSemanticModel(w http.ResponseWriter, r *http.Request, id PathId, modelId openapi_types.UUID)
	// Return a model — space viewer
	// (GET /workspaces/{id}/semantic/models/{model_id})
	GetSemanticModel(w http.ResponseWriter, r *http.Request, id PathId, modelId openapi_types.UUID)
	// Update and revalidate a model — space editor
	// (PATCH /workspaces/{id}/semantic/models/{model_id})
	UpdateSemanticModel(w http.ResponseWriter, r *http.Request, id PathId, modelId openapi_types.UUID)
	// Version history of a model — viewer
	// (GET /workspaces/{id}/semantic/models/{model_id}/versions)
	ListSemanticModelVersions(w http.ResponseWriter, r *http.Request, id PathId, modelId openapi_types.UUID, params ListSemanticModelVersionsParams)
	// One model version with its snapshot — viewer
	// (GET /workspaces/{id}/semantic/models/{model_id}/versions/{version})
	GetSemanticModelVersion(w http.ResponseWriter, r *http.Request, id PathId, modelId openapi_types.UUID, version int)
	// Restore a model to a version — editor
	// (POST /workspaces/{id}/semantic/models/{model_id}/versions/{version}/restore)
	RestoreSemanticModelVersion(w http.ResponseWriter, r *http.Request, id PathId, modelId openapi_types.UUID, version int)
	// Tags used by docs on catalogs the workspace may use
	// (GET /workspaces/{id}/semantic/tags)
	ListSemanticTags(w http.ResponseWriter, r *http.Request, id PathId, params ListSemanticTagsParams)
	// Spaces the caller can see, with their role — workspace members
	// (GET /workspaces/{id}/spaces)
	ListSpaces(w http.ResponseWriter, r *http.Request, id PathId)
	// Create a space; the creator becomes its manager — workspace admins
	// (POST /workspaces/{id}/spaces)
	CreateSpace(w http.ResponseWriter, r *http.Request, id PathId)
	// Delete a space, its content, and its access list — manager
	// (DELETE /workspaces/{id}/spaces/{space_id})
	DeleteSpace(w http.ResponseWriter, r *http.Request, id PathId, spaceId openapi_types.UUID, params DeleteSpaceParams)
	// One space the caller can see
	// (GET /workspaces/{id}/spaces/{space_id})
	GetSpace(w http.ResponseWriter, r *http.Request, id PathId, spaceId openapi_types.UUID)
	// Rename or re-scope a space — manager
	// (PATCH /workspaces/{id}/spaces/{space_id})
	UpdateSpace(w http.ResponseWriter, r *http.Request, id PathId, spaceId openapi_types.UUID)
	// Export a space as a deterministic bundle — viewer
	// (GET /workspaces/{id}/spaces/{space_id}/export)
	ExportSpaceBundle(w http.ResponseWriter, r *http.Request, id PathId, spaceId openapi_types.UUID)
	// Import a bundle, dry-run or apply — editor
	// (POST /workspaces/{id}/spaces/{space_id}/import)
	ImportSpaceBundle(w http.ResponseWriter, r *http.Request, id PathId, spaceId openapi_types.UUID, params ImportSpaceBundleParams)
	// The space's access list — viewer
	// (GET /workspaces/{id}/spaces/{space_id}/members)
	ListSpaceMembers(w http.ResponseWriter, r *http.Request, id PathId, spaceId openapi_types.UUID)
	// Remove a user/team entry — manager
	// (DELETE /workspaces/{id}/spaces/{space_id}/members/{principal_type}/{principal_id})
	DeleteSpaceMember(w http.ResponseWriter, r *http.Request, id PathId, spaceId openapi_types.UUID, principalType string, principalId openapi_types.UUID)
	// Grant or raise a user/team role — manager
	// (PUT /workspaces/{id}/spaces/{space_id}/members/{principal_type}/{principal_id})
	SetSpaceMember(w http.ResponseWriter, r *http.Request, id PathId, spaceId openapi_types.UUID, principalType string, principalId openapi_types.UUID)
	// Where the workspace can run queries — workspace members
	// (GET /workspaces/{id}/targets)
	ListWorkspaceTargets(w http.ResponseWriter, r *http.Request, id PathId)
	// Deleted content that has not been restored — workspace members
	// (GET /workspaces/{id}/trash)
	ListTrash(w http.ResponseWriter, r *http.Request, id PathId, params ListTrashParams)
	// List a workspace's webhooks
	// (GET /workspaces/{id}/webhooks)
	ListWebhooks(w http.ResponseWriter, r *http.Request, id PathId)
	// Register a webhook; the HMAC secret is returned once
	// (POST /workspaces/{id}/webhooks)
	CreateWebhook(w http.ResponseWriter, r *http.Request, id PathId)
	// Delete a webhook
	// (DELETE /workspaces/{id}/webhooks/{webhook_id})
	DeleteWebhook(w http.ResponseWriter, r *http.Request, id PathId, webhookId openapi_types.UUID)
	// Issue a single-use WebSocket ticket (30 seconds)
	// (POST /ws-tickets)
	IssueWsTicket(w http.ResponseWriter, r *http.Request)
	// WebSocket for real-time execution progress
	// (GET /ws/workspaces/{id}/executions/{execution_id})
	StreamExecution(w http.ResponseWriter, r *http.Request, id PathId, executionId openapi_types.UUID, params StreamExecutionParams)
}

ServerInterface represents all server handlers.

func NewStrictHandler

func NewStrictHandler(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc) ServerInterface

func NewStrictHandlerWithOptions

func NewStrictHandlerWithOptions(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc, options StrictHTTPServerOptions) ServerInterface

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

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

AddTeamMember operation middleware

func (*ServerInterfaceWrapper) AddWorkspaceMember

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

AddWorkspaceMember operation middleware

func (*ServerInterfaceWrapper) AnalyzeCatalogTableHealth

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

AnalyzeCatalogTableHealth operation middleware

func (*ServerInterfaceWrapper) AnalyzeTableHealth

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

AnalyzeTableHealth operation middleware

func (*ServerInterfaceWrapper) ApproveCatalogGrant

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

ApproveCatalogGrant operation middleware

func (*ServerInterfaceWrapper) CancelAssistantTurn

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

CancelAssistantTurn operation middleware

func (*ServerInterfaceWrapper) CancelExecution

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

CancelExecution operation middleware

func (*ServerInterfaceWrapper) CancelMigration

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

CancelMigration operation middleware

func (*ServerInterfaceWrapper) CompileExploreQuery

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

CompileExploreQuery operation middleware

func (*ServerInterfaceWrapper) ConfirmPasswordReset

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

ConfirmPasswordReset operation middleware

func (*ServerInterfaceWrapper) CreateAgent

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

CreateAgent operation middleware

func (*ServerInterfaceWrapper) CreateAgentToken

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

CreateAgentToken operation middleware

func (*ServerInterfaceWrapper) CreateApiKey

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

CreateApiKey operation middleware

func (*ServerInterfaceWrapper) CreateAssistantConversation

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

CreateAssistantConversation operation middleware

func (*ServerInterfaceWrapper) CreateBiKey

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

CreateBiKey operation middleware

func (*ServerInterfaceWrapper) CreateCatalog

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

CreateCatalog operation middleware

func (*ServerInterfaceWrapper) CreateCatalogBinding

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

CreateCatalogBinding operation middleware

func (*ServerInterfaceWrapper) CreateCatalogConnection

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

CreateCatalogConnection operation middleware

func (*ServerInterfaceWrapper) CreateCatalogGrant

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

CreateCatalogGrant operation middleware

func (*ServerInterfaceWrapper) CreateDataPolicy

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

CreateDataPolicy operation middleware

func (*ServerInterfaceWrapper) CreateEngine

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

CreateEngine operation middleware

func (*ServerInterfaceWrapper) CreateFirstAdmin

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

CreateFirstAdmin operation middleware

func (*ServerInterfaceWrapper) CreateFolder

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

CreateFolder operation middleware

func (*ServerInterfaceWrapper) CreateIdentityProvider

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

CreateIdentityProvider operation middleware

func (*ServerInterfaceWrapper) CreateMaintenanceRun

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

CreateMaintenanceRun operation middleware

func (*ServerInterfaceWrapper) CreateMigration

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

CreateMigration operation middleware

func (*ServerInterfaceWrapper) CreateRetriever

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

CreateRetriever operation middleware

func (*ServerInterfaceWrapper) CreateSavedQuery

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

CreateSavedQuery operation middleware

func (*ServerInterfaceWrapper) CreateSearchGlossaryEntry

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

CreateSearchGlossaryEntry operation middleware

func (*ServerInterfaceWrapper) CreateSemanticMetric

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

CreateSemanticMetric operation middleware

func (*ServerInterfaceWrapper) CreateSemanticModel

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

CreateSemanticModel operation middleware

func (*ServerInterfaceWrapper) CreateServiceAccount

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

CreateServiceAccount operation middleware

func (*ServerInterfaceWrapper) CreateServiceAccountToken

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

CreateServiceAccountToken operation middleware

func (*ServerInterfaceWrapper) CreateSpace

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

CreateSpace operation middleware

func (*ServerInterfaceWrapper) CreateTeam

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

CreateTeam operation middleware

func (*ServerInterfaceWrapper) CreateWebhook

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

CreateWebhook operation middleware

func (*ServerInterfaceWrapper) CreateWorkloadRule

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

CreateWorkloadRule operation middleware

func (*ServerInterfaceWrapper) CreateWorkspace

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

CreateWorkspace operation middleware

func (*ServerInterfaceWrapper) DeleteAgent

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

DeleteAgent operation middleware

func (*ServerInterfaceWrapper) DeleteApiKey

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

DeleteApiKey operation middleware

func (*ServerInterfaceWrapper) DeleteAssistantConversation

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

DeleteAssistantConversation operation middleware

func (*ServerInterfaceWrapper) DeleteBiKey

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

DeleteBiKey operation middleware

func (*ServerInterfaceWrapper) DeleteCatalog

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

DeleteCatalog operation middleware

func (*ServerInterfaceWrapper) DeleteCatalogBinding

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

DeleteCatalogBinding operation middleware

func (*ServerInterfaceWrapper) DeleteCatalogConnection

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

DeleteCatalogConnection operation middleware

func (*ServerInterfaceWrapper) DeleteCatalogDetail

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

DeleteCatalogDetail operation middleware

func (*ServerInterfaceWrapper) DeleteCatalogGrant

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

DeleteCatalogGrant operation middleware

func (*ServerInterfaceWrapper) DeleteDataPolicy

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

DeleteDataPolicy operation middleware

func (*ServerInterfaceWrapper) DeleteEngine

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

DeleteEngine operation middleware

func (*ServerInterfaceWrapper) DeleteFolder

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

DeleteFolder operation middleware

func (*ServerInterfaceWrapper) DeleteIdentityProvider

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

DeleteIdentityProvider operation middleware

func (*ServerInterfaceWrapper) DeleteRetriever

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

DeleteRetriever operation middleware

func (*ServerInterfaceWrapper) DeleteSavedQuery

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

DeleteSavedQuery operation middleware

func (*ServerInterfaceWrapper) DeleteSearchGlossaryEntry

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

DeleteSearchGlossaryEntry operation middleware

func (*ServerInterfaceWrapper) DeleteSemanticDoc

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

DeleteSemanticDoc operation middleware

func (*ServerInterfaceWrapper) DeleteSemanticMetric

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

DeleteSemanticMetric operation middleware

func (*ServerInterfaceWrapper) DeleteSemanticModel

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

DeleteSemanticModel operation middleware

func (*ServerInterfaceWrapper) DeleteServiceAccount

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

DeleteServiceAccount operation middleware

func (*ServerInterfaceWrapper) DeleteSpace

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

DeleteSpace operation middleware

func (*ServerInterfaceWrapper) DeleteSpaceMember

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

DeleteSpaceMember operation middleware

func (*ServerInterfaceWrapper) DeleteTableMaintenance

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

DeleteTableMaintenance operation middleware

func (*ServerInterfaceWrapper) DeleteTeam

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

DeleteTeam operation middleware

func (*ServerInterfaceWrapper) DeleteWebhook

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

DeleteWebhook operation middleware

func (*ServerInterfaceWrapper) DeleteWorkloadRule

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

DeleteWorkloadRule operation middleware

func (*ServerInterfaceWrapper) DeleteWorkspace

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

DeleteWorkspace operation middleware

func (*ServerInterfaceWrapper) DiscoverEngineCatalogs

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

DiscoverEngineCatalogs operation middleware

func (*ServerInterfaceWrapper) DryRunTableMaintenance

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

DryRunTableMaintenance operation middleware

func (*ServerInterfaceWrapper) ExplainSQL

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

ExplainSQL operation middleware

func (*ServerInterfaceWrapper) ExportAuditCSV

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

ExportAuditCSV operation middleware

func (*ServerInterfaceWrapper) ExportSpaceBundle

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

ExportSpaceBundle operation middleware

func (*ServerInterfaceWrapper) GetAgent

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

GetAgent operation middleware

func (*ServerInterfaceWrapper) GetAgentEligibility

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

GetAgentEligibility operation middleware

func (*ServerInterfaceWrapper) GetAgentPolicy

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

GetAgentPolicy operation middleware

func (*ServerInterfaceWrapper) GetAgentsMeta

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

GetAgentsMeta operation middleware

func (*ServerInterfaceWrapper) GetAssistantConversation

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

GetAssistantConversation operation middleware

func (*ServerInterfaceWrapper) GetAssistantSettings

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

GetAssistantSettings operation middleware

func (*ServerInterfaceWrapper) GetAssistantStatus

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

GetAssistantStatus operation middleware

func (*ServerInterfaceWrapper) GetBIGateway

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

GetBIGateway operation middleware

func (*ServerInterfaceWrapper) GetCatalog

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

GetCatalog operation middleware

func (*ServerInterfaceWrapper) GetCatalogAccessImpact

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

GetCatalogAccessImpact operation middleware

func (*ServerInterfaceWrapper) GetCatalogBinding

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

GetCatalogBinding operation middleware

func (*ServerInterfaceWrapper) GetCatalogBindingProjection

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

GetCatalogBindingProjection operation middleware

func (*ServerInterfaceWrapper) GetCatalogConnection

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

GetCatalogConnection operation middleware

func (*ServerInterfaceWrapper) GetCatalogConnectionImpact

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

GetCatalogConnectionImpact operation middleware

func (*ServerInterfaceWrapper) GetCatalogDetail

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

GetCatalogDetail operation middleware

func (*ServerInterfaceWrapper) GetCatalogImpact

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

GetCatalogImpact operation middleware

func (*ServerInterfaceWrapper) GetCatalogMaintenancePlan

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

GetCatalogMaintenancePlan operation middleware

func (*ServerInterfaceWrapper) GetDataPolicy

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

GetDataPolicy operation middleware

func (*ServerInterfaceWrapper) GetDataPolicyStatus

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

GetDataPolicyStatus operation middleware

func (*ServerInterfaceWrapper) GetDialect

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

GetDialect operation middleware

func (*ServerInterfaceWrapper) GetEngine

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

GetEngine operation middleware

func (*ServerInterfaceWrapper) GetEngineBindingSupport

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

GetEngineBindingSupport operation middleware

func (*ServerInterfaceWrapper) GetEngineCluster

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

GetEngineCluster operation middleware

func (*ServerInterfaceWrapper) GetEngineImpact

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

GetEngineImpact operation middleware

func (*ServerInterfaceWrapper) GetEngineQueues

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

GetEngineQueues operation middleware

func (*ServerInterfaceWrapper) GetExecution

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

GetExecution operation middleware

func (*ServerInterfaceWrapper) GetExecutionDetails

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

GetExecutionDetails operation middleware

func (*ServerInterfaceWrapper) GetIdentityProvider

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

GetIdentityProvider operation middleware

func (*ServerInterfaceWrapper) GetMe

GetMe operation middleware

func (*ServerInterfaceWrapper) GetMetadataTable

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

GetMetadataTable operation middleware

func (*ServerInterfaceWrapper) GetMigration

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

GetMigration operation middleware

func (*ServerInterfaceWrapper) GetMonitoringQuery

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

GetMonitoringQuery operation middleware

func (*ServerInterfaceWrapper) GetProfile

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

GetProfile operation middleware

func (*ServerInterfaceWrapper) GetReconcileRun

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

GetReconcileRun operation middleware

func (*ServerInterfaceWrapper) GetResults

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

GetResults operation middleware

func (*ServerInterfaceWrapper) GetRetriever

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

GetRetriever operation middleware

func (*ServerInterfaceWrapper) GetRetrieverHistory

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

GetRetrieverHistory operation middleware

func (*ServerInterfaceWrapper) GetSavedQuery

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

GetSavedQuery operation middleware

func (*ServerInterfaceWrapper) GetSavedQueryVersion

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

GetSavedQueryVersion operation middleware

func (*ServerInterfaceWrapper) GetSemanticMetric

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

GetSemanticMetric operation middleware

func (*ServerInterfaceWrapper) GetSemanticMetricSql

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

GetSemanticMetricSql operation middleware

func (*ServerInterfaceWrapper) GetSemanticMetricVersion

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

GetSemanticMetricVersion operation middleware

func (*ServerInterfaceWrapper) GetSemanticModel

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

GetSemanticModel operation middleware

func (*ServerInterfaceWrapper) GetSemanticModelVersion

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

GetSemanticModelVersion operation middleware

func (*ServerInterfaceWrapper) GetServiceAccount

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

GetServiceAccount operation middleware

func (*ServerInterfaceWrapper) GetSetupStatus

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

GetSetupStatus operation middleware

func (*ServerInterfaceWrapper) GetSpace

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

GetSpace operation middleware

func (*ServerInterfaceWrapper) GetStatementResults

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

GetStatementResults operation middleware

func (*ServerInterfaceWrapper) GetSystemStatus

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

GetSystemStatus operation middleware

func (*ServerInterfaceWrapper) GetTableMaintenance

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

GetTableMaintenance operation middleware

func (*ServerInterfaceWrapper) GetTeam

GetTeam operation middleware

func (*ServerInterfaceWrapper) GetWorkspace

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

GetWorkspace operation middleware

func (*ServerInterfaceWrapper) GetWorkspaceBIFile

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

GetWorkspaceBIFile operation middleware

func (*ServerInterfaceWrapper) GetWorkspaceBIStatus

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

GetWorkspaceBIStatus operation middleware

func (*ServerInterfaceWrapper) GetWorkspaceImpact

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

GetWorkspaceImpact operation middleware

func (*ServerInterfaceWrapper) GrantCatalogAccess

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

GrantCatalogAccess operation middleware

func (*ServerInterfaceWrapper) ImportSpaceBundle

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

ImportSpaceBundle operation middleware

func (*ServerInterfaceWrapper) InviteUser

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

InviteUser operation middleware

func (*ServerInterfaceWrapper) IssueWsTicket

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

IssueWsTicket operation middleware

func (*ServerInterfaceWrapper) KillMonitoringQuery

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

KillMonitoringQuery operation middleware

func (*ServerInterfaceWrapper) ListAgentTokens

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

ListAgentTokens operation middleware

func (*ServerInterfaceWrapper) ListAgents

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

ListAgents operation middleware

func (*ServerInterfaceWrapper) ListAllCatalogs

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

ListAllCatalogs operation middleware

func (*ServerInterfaceWrapper) ListApiKeys

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

ListApiKeys operation middleware

func (*ServerInterfaceWrapper) ListAssistantConversations

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

ListAssistantConversations operation middleware

func (*ServerInterfaceWrapper) ListAttention

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

ListAttention operation middleware

func (*ServerInterfaceWrapper) ListAuditActions

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

ListAuditActions operation middleware

func (*ServerInterfaceWrapper) ListAuditEvents

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

ListAuditEvents operation middleware

func (*ServerInterfaceWrapper) ListAuthProviders

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

ListAuthProviders operation middleware

func (*ServerInterfaceWrapper) ListBiKeys

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

ListBiKeys operation middleware

func (*ServerInterfaceWrapper) ListCatalogBindings

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

ListCatalogBindings operation middleware

func (*ServerInterfaceWrapper) ListCatalogConnections

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

ListCatalogConnections operation middleware

func (*ServerInterfaceWrapper) ListCatalogDataPolicies

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

ListCatalogDataPolicies operation middleware

func (*ServerInterfaceWrapper) ListCatalogDefinerViews

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

ListCatalogDefinerViews operation middleware

func (*ServerInterfaceWrapper) ListCatalogGrantItems

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

ListCatalogGrantItems operation middleware

func (*ServerInterfaceWrapper) ListCatalogGrants

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

ListCatalogGrants operation middleware

func (*ServerInterfaceWrapper) ListCatalogMetadataSyncRuns

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

ListCatalogMetadataSyncRuns operation middleware

func (*ServerInterfaceWrapper) ListCatalogs

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

ListCatalogs operation middleware

func (*ServerInterfaceWrapper) ListConnectionCategories

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

ListConnectionCategories operation middleware

func (*ServerInterfaceWrapper) ListConnectionProviders

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

ListConnectionProviders operation middleware

func (*ServerInterfaceWrapper) ListDataPolicyRevisions

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

ListDataPolicyRevisions operation middleware

func (*ServerInterfaceWrapper) ListDirectoryReconcileRuns

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

ListDirectoryReconcileRuns operation middleware

func (*ServerInterfaceWrapper) ListEngineBindings

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

ListEngineBindings operation middleware

func (*ServerInterfaceWrapper) ListEngineObservations

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

ListEngineObservations operation middleware

func (*ServerInterfaceWrapper) ListEngines

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

ListEngines operation middleware

func (*ServerInterfaceWrapper) ListExecutions

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

ListExecutions operation middleware

func (*ServerInterfaceWrapper) ListFolders

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

ListFolders operation middleware

func (*ServerInterfaceWrapper) ListGrantableWorkspaces

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

ListGrantableWorkspaces operation middleware

func (*ServerInterfaceWrapper) ListIdentityProviders

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

ListIdentityProviders operation middleware

func (*ServerInterfaceWrapper) ListJoinSuggestions

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

ListJoinSuggestions operation middleware

func (*ServerInterfaceWrapper) ListLineage

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

ListLineage operation middleware

func (*ServerInterfaceWrapper) ListMaintenanceRuns

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

ListMaintenanceRuns operation middleware

func (*ServerInterfaceWrapper) ListMetadataCatalogs

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

ListMetadataCatalogs operation middleware

func (*ServerInterfaceWrapper) ListMetadataFunctions

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

ListMetadataFunctions operation middleware

func (*ServerInterfaceWrapper) ListMetadataNamespaces

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

ListMetadataNamespaces operation middleware

func (*ServerInterfaceWrapper) ListMetadataTables

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

ListMetadataTables operation middleware

func (*ServerInterfaceWrapper) ListMigrationItems

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

ListMigrationItems operation middleware

func (*ServerInterfaceWrapper) ListMigrations

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

ListMigrations operation middleware

func (*ServerInterfaceWrapper) ListMonitoringEngines

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

ListMonitoringEngines operation middleware

func (*ServerInterfaceWrapper) ListMonitoringQueries

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

ListMonitoringQueries operation middleware

func (*ServerInterfaceWrapper) ListOIDCProviders

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

ListOIDCProviders operation middleware

func (*ServerInterfaceWrapper) ListPopularTables

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

ListPopularTables operation middleware

func (*ServerInterfaceWrapper) ListReconcileRuns

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

ListReconcileRuns operation middleware

func (*ServerInterfaceWrapper) ListRequestableCatalogs

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

ListRequestableCatalogs operation middleware

func (*ServerInterfaceWrapper) ListRetrieverDestinations

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

ListRetrieverDestinations operation middleware

func (*ServerInterfaceWrapper) ListRetrievers

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

ListRetrievers operation middleware

func (*ServerInterfaceWrapper) ListSavedQueries

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

ListSavedQueries operation middleware

func (*ServerInterfaceWrapper) ListSavedQueryVersions

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

ListSavedQueryVersions operation middleware

func (*ServerInterfaceWrapper) ListSearchGlossary

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

ListSearchGlossary operation middleware

func (*ServerInterfaceWrapper) ListSemanticDocs

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

ListSemanticDocs operation middleware

func (*ServerInterfaceWrapper) ListSemanticMetricVersions

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

ListSemanticMetricVersions operation middleware

func (*ServerInterfaceWrapper) ListSemanticMetrics

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

ListSemanticMetrics operation middleware

func (*ServerInterfaceWrapper) ListSemanticModelVersions

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

ListSemanticModelVersions operation middleware

func (*ServerInterfaceWrapper) ListSemanticModels

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

ListSemanticModels operation middleware

func (*ServerInterfaceWrapper) ListSemanticTags

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

ListSemanticTags operation middleware

func (*ServerInterfaceWrapper) ListServiceAccountTokens

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

ListServiceAccountTokens operation middleware

func (*ServerInterfaceWrapper) ListServiceAccounts

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

ListServiceAccounts operation middleware

func (*ServerInterfaceWrapper) ListSpaceMembers

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

ListSpaceMembers operation middleware

func (*ServerInterfaceWrapper) ListSpaces

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

ListSpaces operation middleware

func (*ServerInterfaceWrapper) ListStatements

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

ListStatements operation middleware

func (*ServerInterfaceWrapper) ListTableHealth

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

ListTableHealth 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) ListTrash

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

ListTrash operation middleware

func (*ServerInterfaceWrapper) ListUsers

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

ListUsers operation middleware

func (*ServerInterfaceWrapper) ListWebhooks

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

ListWebhooks operation middleware

func (*ServerInterfaceWrapper) ListWorkloadRules

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

ListWorkloadRules operation middleware

func (*ServerInterfaceWrapper) ListWorkspaceCatalogAccess

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

ListWorkspaceCatalogAccess operation middleware

func (*ServerInterfaceWrapper) ListWorkspaceMembers

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

ListWorkspaceMembers operation middleware

func (*ServerInterfaceWrapper) ListWorkspacePrincipals

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

ListWorkspacePrincipals operation middleware

func (*ServerInterfaceWrapper) ListWorkspaceTargets

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

ListWorkspaceTargets 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) MigrateSemanticMetricsV1

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

MigrateSemanticMetricsV1 operation middleware

func (*ServerInterfaceWrapper) OidcCallback

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

OidcCallback operation middleware

func (*ServerInterfaceWrapper) OidcRedirect

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

OidcRedirect operation middleware

func (*ServerInterfaceWrapper) PreviewCron

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

PreviewCron operation middleware

func (*ServerInterfaceWrapper) PreviewIdentityMapping

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

PreviewIdentityMapping operation middleware

func (*ServerInterfaceWrapper) PublishCatalogDataPolicies

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

PublishCatalogDataPolicies operation middleware

func (*ServerInterfaceWrapper) PutAgentPolicy

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

PutAgentPolicy operation middleware

func (*ServerInterfaceWrapper) PutAssistantSettings

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

PutAssistantSettings operation middleware

func (*ServerInterfaceWrapper) PutBIGateway

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

PutBIGateway operation middleware

func (*ServerInterfaceWrapper) PutEngineQueues

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

PutEngineQueues operation middleware

func (*ServerInterfaceWrapper) PutTableMaintenance

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

PutTableMaintenance operation middleware

func (*ServerInterfaceWrapper) ReconcileEngine

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

ReconcileEngine operation middleware

func (*ServerInterfaceWrapper) ReconcileTrino

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

ReconcileTrino operation middleware

func (*ServerInterfaceWrapper) RefreshToken

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

RefreshToken operation middleware

func (*ServerInterfaceWrapper) ReinstateUser

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

ReinstateUser operation middleware

func (*ServerInterfaceWrapper) RemoveTeamMember

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

RemoveTeamMember operation middleware

func (*ServerInterfaceWrapper) RemoveUser

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

RemoveUser operation middleware

func (*ServerInterfaceWrapper) RemoveWorkspaceMember

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

RemoveWorkspaceMember operation middleware

func (*ServerInterfaceWrapper) RenderSemanticMetric

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

RenderSemanticMetric operation middleware

func (*ServerInterfaceWrapper) RequestPasswordReset

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

RequestPasswordReset operation middleware

func (*ServerInterfaceWrapper) ResolveAudit

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

ResolveAudit operation middleware

func (*ServerInterfaceWrapper) RestoreSavedQueryVersion

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

RestoreSavedQueryVersion operation middleware

func (*ServerInterfaceWrapper) RestoreSemanticMetricVersion

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

RestoreSemanticMetricVersion operation middleware

func (*ServerInterfaceWrapper) RestoreSemanticModelVersion

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

RestoreSemanticModelVersion operation middleware

func (*ServerInterfaceWrapper) RevokeAgentToken

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

RevokeAgentToken operation middleware

func (*ServerInterfaceWrapper) RevokeCatalogAccess

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

RevokeCatalogAccess operation middleware

func (*ServerInterfaceWrapper) RevokeServiceAccountToken

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

RevokeServiceAccountToken operation middleware

func (*ServerInterfaceWrapper) RollbackDataPolicyRevision

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

RollbackDataPolicyRevision operation middleware

func (*ServerInterfaceWrapper) RunQuery

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

RunQuery operation middleware

func (*ServerInterfaceWrapper) RunTableMaintenance

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

RunTableMaintenance operation middleware

func (*ServerInterfaceWrapper) SearchContent

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

SearchContent operation middleware

func (*ServerInterfaceWrapper) SearchGlossaryInsights

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

SearchGlossaryInsights operation middleware

func (*ServerInterfaceWrapper) SearchMetadata

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

SearchMetadata operation middleware

func (*ServerInterfaceWrapper) SearchSemanticDocs

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

SearchSemanticDocs operation middleware

func (*ServerInterfaceWrapper) SearchWorkspace

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

SearchWorkspace operation middleware

func (*ServerInterfaceWrapper) SendAssistantMessage

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

SendAssistantMessage operation middleware

func (*ServerInterfaceWrapper) SetCatalogDiscoverable

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

SetCatalogDiscoverable operation middleware

func (*ServerInterfaceWrapper) SetSpaceMember

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

SetSpaceMember operation middleware

func (*ServerInterfaceWrapper) SetWorkspaceMember

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

SetWorkspaceMember operation middleware

func (*ServerInterfaceWrapper) SplitStatements

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

SplitStatements operation middleware

func (*ServerInterfaceWrapper) StartMigration

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

StartMigration operation middleware

func (*ServerInterfaceWrapper) StreamAssistantConversation

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

StreamAssistantConversation operation middleware

func (*ServerInterfaceWrapper) StreamExecution

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

StreamExecution operation middleware

func (*ServerInterfaceWrapper) StreamMonitoringEvents

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

StreamMonitoringEvents operation middleware

func (*ServerInterfaceWrapper) SuspendUser

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

SuspendUser operation middleware

func (*ServerInterfaceWrapper) SyncCatalog

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

SyncCatalog operation middleware

func (*ServerInterfaceWrapper) SyncCatalogBinding

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

SyncCatalogBinding operation middleware

func (*ServerInterfaceWrapper) SyncCatalogMetadata

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

SyncCatalogMetadata operation middleware

func (*ServerInterfaceWrapper) TestAssistant

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

TestAssistant operation middleware

func (*ServerInterfaceWrapper) TestCatalogConnection

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

TestCatalogConnection operation middleware

func (*ServerInterfaceWrapper) TestConnectionDraft

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

TestConnectionDraft operation middleware

func (*ServerInterfaceWrapper) TestEngine

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

TestEngine operation middleware

func (*ServerInterfaceWrapper) TestIdentityProvider

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

TestIdentityProvider operation middleware

func (*ServerInterfaceWrapper) TestIdentityProviderTransient

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

TestIdentityProviderTransient operation middleware

func (*ServerInterfaceWrapper) TestWorkloadRule

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

TestWorkloadRule operation middleware

func (*ServerInterfaceWrapper) TriggerRetrieverRefresh

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

TriggerRetrieverRefresh operation middleware

func (*ServerInterfaceWrapper) UpdateAgent

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

UpdateAgent operation middleware

func (*ServerInterfaceWrapper) UpdateCatalog

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

UpdateCatalog operation middleware

func (*ServerInterfaceWrapper) UpdateCatalogBinding

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

UpdateCatalogBinding operation middleware

func (*ServerInterfaceWrapper) UpdateCatalogConnection

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

UpdateCatalogConnection operation middleware

func (*ServerInterfaceWrapper) UpdateCatalogDetail

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

UpdateCatalogDetail operation middleware

func (*ServerInterfaceWrapper) UpdateDataPolicy

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

UpdateDataPolicy operation middleware

func (*ServerInterfaceWrapper) UpdateEngine

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

UpdateEngine operation middleware

func (*ServerInterfaceWrapper) UpdateFolder

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

UpdateFolder operation middleware

func (*ServerInterfaceWrapper) UpdateIdentityProvider

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

UpdateIdentityProvider operation middleware

func (*ServerInterfaceWrapper) UpdatePassword

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

UpdatePassword operation middleware

func (*ServerInterfaceWrapper) UpdateProfile

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

UpdateProfile operation middleware

func (*ServerInterfaceWrapper) UpdateRetriever

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

UpdateRetriever operation middleware

func (*ServerInterfaceWrapper) UpdateSavedQuery

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

UpdateSavedQuery operation middleware

func (*ServerInterfaceWrapper) UpdateSemanticMetric

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

UpdateSemanticMetric operation middleware

func (*ServerInterfaceWrapper) UpdateSemanticModel

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

UpdateSemanticModel operation middleware

func (*ServerInterfaceWrapper) UpdateServiceAccount

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

UpdateServiceAccount operation middleware

func (*ServerInterfaceWrapper) UpdateSpace

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

UpdateSpace operation middleware

func (*ServerInterfaceWrapper) UpdateTeamMemberRole

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

UpdateTeamMemberRole operation middleware

func (*ServerInterfaceWrapper) UpdateUserRole

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

UpdateUserRole operation middleware

func (*ServerInterfaceWrapper) UpdateWorkloadRule

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

UpdateWorkloadRule operation middleware

func (*ServerInterfaceWrapper) UpdateWorkspace

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

UpdateWorkspace operation middleware

func (*ServerInterfaceWrapper) UpsertSemanticDoc

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

UpsertSemanticDoc operation middleware

func (*ServerInterfaceWrapper) ValidateRetriever

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

ValidateRetriever operation middleware

func (*ServerInterfaceWrapper) ValidateSemanticMetricDefinition

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

ValidateSemanticMetricDefinition operation middleware

type ServiceAccount

type ServiceAccount struct {
	AllowedActions *[]ServiceAccountAllowedActions `json:"allowed_actions,omitempty"`

	// ClientId The identity provider's client it signs in as
	ClientId    *string   `json:"client_id"`
	CreatedAt   time.Time `json:"created_at"`
	Description *string   `json:"description"`

	// Email Synthetic, never mailed; the address to share a workspace with it
	Email string `json:"email"`

	// HomeWorkspaceId Created in this workspace; its admins manage it
	HomeWorkspaceId    *openapi_types.UUID  `json:"home_workspace_id"`
	Id                 openapi_types.UUID   `json:"id"`
	IdentityProviderId *openapi_types.UUID  `json:"identity_provider_id"`
	Name               string               `json:"name"`
	Status             ServiceAccountStatus `json:"status"`
}

ServiceAccount A non-human principal agents and other clients sign in as. It has workspace roles like a person and never the global admin role. It signs in with a Baleia token (an API key, header X-Api-Key) or, when linked to an identity provider, with that provider's client-credentials access token, which is then also its identity towards per-user catalogs (ADR 0015).

type ServiceAccountAllowedActions

type ServiceAccountAllowedActions string

ServiceAccountAllowedActions defines model for ServiceAccount.AllowedActions.

const (
	Delete       ServiceAccountAllowedActions = "delete"
	ManageTokens ServiceAccountAllowedActions = "manage_tokens"
	Update       ServiceAccountAllowedActions = "update"
	View         ServiceAccountAllowedActions = "view"
)

Defines values for ServiceAccountAllowedActions.

type ServiceAccountStatus

type ServiceAccountStatus string

ServiceAccountStatus defines model for ServiceAccount.Status.

const (
	ServiceAccountStatusActive    ServiceAccountStatus = "active"
	ServiceAccountStatusSuspended ServiceAccountStatus = "suspended"
)

Defines values for ServiceAccountStatus.

type ServiceUnavailable

type ServiceUnavailable = Error

ServiceUnavailable defines model for ServiceUnavailable.

type ServiceUnavailableJSONResponse

type ServiceUnavailableJSONResponse Error

type SetCatalogDiscoverable200JSONResponse

type SetCatalogDiscoverable200JSONResponse Catalog

func (SetCatalogDiscoverable200JSONResponse) VisitSetCatalogDiscoverableResponse

func (response SetCatalogDiscoverable200JSONResponse) VisitSetCatalogDiscoverableResponse(w http.ResponseWriter) error

type SetCatalogDiscoverable401JSONResponse

type SetCatalogDiscoverable401JSONResponse struct{ UnauthorizedJSONResponse }

func (SetCatalogDiscoverable401JSONResponse) VisitSetCatalogDiscoverableResponse

func (response SetCatalogDiscoverable401JSONResponse) VisitSetCatalogDiscoverableResponse(w http.ResponseWriter) error

type SetCatalogDiscoverable403JSONResponse

type SetCatalogDiscoverable403JSONResponse struct{ ForbiddenJSONResponse }

func (SetCatalogDiscoverable403JSONResponse) VisitSetCatalogDiscoverableResponse

func (response SetCatalogDiscoverable403JSONResponse) VisitSetCatalogDiscoverableResponse(w http.ResponseWriter) error

type SetCatalogDiscoverable404JSONResponse

type SetCatalogDiscoverable404JSONResponse struct{ NotFoundJSONResponse }

func (SetCatalogDiscoverable404JSONResponse) VisitSetCatalogDiscoverableResponse

func (response SetCatalogDiscoverable404JSONResponse) VisitSetCatalogDiscoverableResponse(w http.ResponseWriter) error

type SetCatalogDiscoverableJSONBody

type SetCatalogDiscoverableJSONBody struct {
	Discoverable bool `json:"discoverable"`
}

SetCatalogDiscoverableJSONBody defines parameters for SetCatalogDiscoverable.

type SetCatalogDiscoverableJSONRequestBody

type SetCatalogDiscoverableJSONRequestBody SetCatalogDiscoverableJSONBody

SetCatalogDiscoverableJSONRequestBody defines body for SetCatalogDiscoverable for application/json ContentType.

type SetCatalogDiscoverableRequestObject

type SetCatalogDiscoverableRequestObject struct {
	CatalogId openapi_types.UUID `json:"catalog_id"`
	Body      *SetCatalogDiscoverableJSONRequestBody
}

type SetCatalogDiscoverableResponseObject

type SetCatalogDiscoverableResponseObject interface {
	VisitSetCatalogDiscoverableResponse(w http.ResponseWriter) error
}

type SetSpaceMember200JSONResponse

type SetSpaceMember200JSONResponse SpaceMember

func (SetSpaceMember200JSONResponse) VisitSetSpaceMemberResponse

func (response SetSpaceMember200JSONResponse) VisitSetSpaceMemberResponse(w http.ResponseWriter) error

type SetSpaceMember401JSONResponse

type SetSpaceMember401JSONResponse struct{ UnauthorizedJSONResponse }

func (SetSpaceMember401JSONResponse) VisitSetSpaceMemberResponse

func (response SetSpaceMember401JSONResponse) VisitSetSpaceMemberResponse(w http.ResponseWriter) error

type SetSpaceMember403JSONResponse

type SetSpaceMember403JSONResponse struct{ ForbiddenJSONResponse }

func (SetSpaceMember403JSONResponse) VisitSetSpaceMemberResponse

func (response SetSpaceMember403JSONResponse) VisitSetSpaceMemberResponse(w http.ResponseWriter) error

type SetSpaceMember404JSONResponse

type SetSpaceMember404JSONResponse struct{ NotFoundJSONResponse }

func (SetSpaceMember404JSONResponse) VisitSetSpaceMemberResponse

func (response SetSpaceMember404JSONResponse) VisitSetSpaceMemberResponse(w http.ResponseWriter) error

type SetSpaceMember422JSONResponse

type SetSpaceMember422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (SetSpaceMember422JSONResponse) VisitSetSpaceMemberResponse

func (response SetSpaceMember422JSONResponse) VisitSetSpaceMemberResponse(w http.ResponseWriter) error

type SetSpaceMemberJSONRequestBody

type SetSpaceMemberJSONRequestBody = SetSpaceMemberRequest

SetSpaceMemberJSONRequestBody defines body for SetSpaceMember for application/json ContentType.

type SetSpaceMemberRequest

type SetSpaceMemberRequest struct {
	Role SetSpaceMemberRequestRole `json:"role"`
}

SetSpaceMemberRequest defines model for SetSpaceMemberRequest.

type SetSpaceMemberRequestObject

type SetSpaceMemberRequestObject struct {
	Id            PathId             `json:"id"`
	SpaceId       openapi_types.UUID `json:"space_id"`
	PrincipalType string             `json:"principal_type"`
	PrincipalId   openapi_types.UUID `json:"principal_id"`
	Body          *SetSpaceMemberJSONRequestBody
}

type SetSpaceMemberRequestRole

type SetSpaceMemberRequestRole string

SetSpaceMemberRequestRole defines model for SetSpaceMemberRequest.Role.

const (
	SetSpaceMemberRequestRoleEditor  SetSpaceMemberRequestRole = "editor"
	SetSpaceMemberRequestRoleManager SetSpaceMemberRequestRole = "manager"
	SetSpaceMemberRequestRoleViewer  SetSpaceMemberRequestRole = "viewer"
)

Defines values for SetSpaceMemberRequestRole.

type SetSpaceMemberResponseObject

type SetSpaceMemberResponseObject interface {
	VisitSetSpaceMemberResponse(w http.ResponseWriter) error
}

type SetWorkspaceMember200JSONResponse

type SetWorkspaceMember200JSONResponse WorkspaceMember

func (SetWorkspaceMember200JSONResponse) VisitSetWorkspaceMemberResponse

func (response SetWorkspaceMember200JSONResponse) VisitSetWorkspaceMemberResponse(w http.ResponseWriter) error

type SetWorkspaceMember401JSONResponse

type SetWorkspaceMember401JSONResponse struct{ UnauthorizedJSONResponse }

func (SetWorkspaceMember401JSONResponse) VisitSetWorkspaceMemberResponse

func (response SetWorkspaceMember401JSONResponse) VisitSetWorkspaceMemberResponse(w http.ResponseWriter) error

type SetWorkspaceMember403JSONResponse

type SetWorkspaceMember403JSONResponse struct{ ForbiddenJSONResponse }

func (SetWorkspaceMember403JSONResponse) VisitSetWorkspaceMemberResponse

func (response SetWorkspaceMember403JSONResponse) VisitSetWorkspaceMemberResponse(w http.ResponseWriter) error

type SetWorkspaceMember404JSONResponse

type SetWorkspaceMember404JSONResponse struct{ NotFoundJSONResponse }

func (SetWorkspaceMember404JSONResponse) VisitSetWorkspaceMemberResponse

func (response SetWorkspaceMember404JSONResponse) VisitSetWorkspaceMemberResponse(w http.ResponseWriter) error

type SetWorkspaceMember422JSONResponse

type SetWorkspaceMember422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (SetWorkspaceMember422JSONResponse) VisitSetWorkspaceMemberResponse

func (response SetWorkspaceMember422JSONResponse) VisitSetWorkspaceMemberResponse(w http.ResponseWriter) error

type SetWorkspaceMemberJSONRequestBody

type SetWorkspaceMemberJSONRequestBody = SetWorkspaceMemberRequest

SetWorkspaceMemberJSONRequestBody defines body for SetWorkspaceMember for application/json ContentType.

type SetWorkspaceMemberRequest

type SetWorkspaceMemberRequest struct {
	// Role What a member may do in Baleia in this workspace (#653, ADR 0016): viewers see content and run queries, editors also create and edit content, admins also manage the workspace. What they may read or write in its catalogs is the catalog manager's decision (ADR 0015).
	Role WorkspaceRole `json:"role"`
}

SetWorkspaceMemberRequest defines model for SetWorkspaceMemberRequest.

type SetWorkspaceMemberRequestObject

type SetWorkspaceMemberRequestObject struct {
	Id     PathId             `json:"id"`
	UserId openapi_types.UUID `json:"user_id"`
	Body   *SetWorkspaceMemberJSONRequestBody
}

type SetWorkspaceMemberResponseObject

type SetWorkspaceMemberResponseObject interface {
	VisitSetWorkspaceMemberResponse(w http.ResponseWriter) error
}

type Settings

type Settings struct {
	Auth        AuthSettings
	Mail        MailSettings
	Agents      AgentSettings
	Execution   ExecutionSettings
	Ops         OpsSettings
	Connections ConnectionSettings
	BIGateway   BIGatewaySettings
	DataPolicy  DataPolicySettings
}

Settings is the part of the configuration the handlers read, resolved once at the wiring site (#363): defaults are already applied, so a handler never sees a zero lifetime. The zero Settings is what a handler built without configuration sees: no agents, no SMTP, no schedules, packaged ceilings.

func SettingsFromConfig

func SettingsFromConfig(c *config.Config) Settings

SettingsFromConfig resolves the handler settings from the process config.

type SetupStatus

type SetupStatus struct {
	IsConfigured bool   `json:"is_configured"`
	Version      string `json:"version"`
}

SetupStatus defines model for SetupStatus.

type SharedCounter

type SharedCounter interface {
	Enabled() bool
	CounterIncr(ctx context.Context, key string, window time.Duration) (int64, error)
	CounterGet(ctx context.Context, key string) (int64, error)
	CounterReset(ctx context.Context, key string) error
}

SharedCounter is the cross-replica failure counter; *realtime.Client implements it.

type Space

type Space struct {
	AllowedActions *[]string           `json:"allowed_actions,omitempty"`
	Counts         *SpaceCounts        `json:"counts,omitempty"`
	CreatedAt      time.Time           `json:"created_at"`
	CreatedBy      *openapi_types.UUID `json:"created_by"`
	DefaultRole    SpaceDefaultRole    `json:"default_role"`
	Description    *string             `json:"description"`
	Id             openapi_types.UUID  `json:"id"`
	IsDefault      bool                `json:"is_default"`

	// MyRole The caller's effective role (list and get only)
	MyRole      *SpaceMyRole       `json:"my_role"`
	Name        string             `json:"name"`
	Slug        string             `json:"slug"`
	UpdatedAt   *time.Time         `json:"updated_at,omitempty"`
	Visibility  SpaceVisibility    `json:"visibility"`
	WorkspaceId openapi_types.UUID `json:"workspace_id"`
}

Space defines model for Space.

type SpaceCounts

type SpaceCounts struct {
	Folders         *int `json:"folders,omitempty"`
	SavedQueries    *int `json:"saved_queries,omitempty"`
	SemanticMetrics *int `json:"semantic_metrics,omitempty"`
	SemanticModels  *int `json:"semantic_models,omitempty"`
}

SpaceCounts defines model for SpaceCounts.

type SpaceDefaultRole

type SpaceDefaultRole string

SpaceDefaultRole defines model for Space.DefaultRole.

const (
	SpaceDefaultRoleEditor SpaceDefaultRole = "editor"
	SpaceDefaultRoleViewer SpaceDefaultRole = "viewer"
)

Defines values for SpaceDefaultRole.

type SpaceMember

type SpaceMember struct {
	GrantedAt     *time.Time               `json:"granted_at,omitempty"`
	GrantedBy     *openapi_types.UUID      `json:"granted_by"`
	PrincipalId   openapi_types.UUID       `json:"principal_id"`
	PrincipalType SpaceMemberPrincipalType `json:"principal_type"`
	Role          SpaceMemberRole          `json:"role"`
}

SpaceMember defines model for SpaceMember.

type SpaceMemberPrincipalType

type SpaceMemberPrincipalType string

SpaceMemberPrincipalType defines model for SpaceMember.PrincipalType.

const (
	SpaceMemberPrincipalTypeTeam SpaceMemberPrincipalType = "team"
	SpaceMemberPrincipalTypeUser SpaceMemberPrincipalType = "user"
)

Defines values for SpaceMemberPrincipalType.

type SpaceMemberRole

type SpaceMemberRole string

SpaceMemberRole defines model for SpaceMember.Role.

const (
	SpaceMemberRoleEditor  SpaceMemberRole = "editor"
	SpaceMemberRoleManager SpaceMemberRole = "manager"
	SpaceMemberRoleViewer  SpaceMemberRole = "viewer"
)

Defines values for SpaceMemberRole.

type SpaceMyRole

type SpaceMyRole string

SpaceMyRole The caller's effective role (list and get only)

const (
	SpaceMyRoleEditor  SpaceMyRole = "editor"
	SpaceMyRoleManager SpaceMyRole = "manager"
	SpaceMyRoleViewer  SpaceMyRole = "viewer"
)

Defines values for SpaceMyRole.

type SpaceVisibility

type SpaceVisibility string

SpaceVisibility defines model for Space.Visibility.

const (
	SpaceVisibilityRestricted SpaceVisibility = "restricted"
	SpaceVisibilityWorkspace  SpaceVisibility = "workspace"
)

Defines values for SpaceVisibility.

type SplitStatements200JSONResponse

type SplitStatements200JSONResponse []StatementSpan

func (SplitStatements200JSONResponse) VisitSplitStatementsResponse

func (response SplitStatements200JSONResponse) VisitSplitStatementsResponse(w http.ResponseWriter) error

type SplitStatements401JSONResponse

type SplitStatements401JSONResponse struct{ UnauthorizedJSONResponse }

func (SplitStatements401JSONResponse) VisitSplitStatementsResponse

func (response SplitStatements401JSONResponse) VisitSplitStatementsResponse(w http.ResponseWriter) error

type SplitStatements404JSONResponse

type SplitStatements404JSONResponse struct{ NotFoundJSONResponse }

func (SplitStatements404JSONResponse) VisitSplitStatementsResponse

func (response SplitStatements404JSONResponse) VisitSplitStatementsResponse(w http.ResponseWriter) error

type SplitStatements422JSONResponse

type SplitStatements422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (SplitStatements422JSONResponse) VisitSplitStatementsResponse

func (response SplitStatements422JSONResponse) VisitSplitStatementsResponse(w http.ResponseWriter) error

type SplitStatementsJSONRequestBody

type SplitStatementsJSONRequestBody = SplitStatementsRequest

SplitStatementsJSONRequestBody defines body for SplitStatements for application/json ContentType.

type SplitStatementsRequest

type SplitStatementsRequest struct {
	Sql string `json:"sql"`
}

SplitStatementsRequest defines model for SplitStatementsRequest.

type SplitStatementsRequestObject

type SplitStatementsRequestObject struct {
	Name string `json:"name"`
	Body *SplitStatementsJSONRequestBody
}

type SplitStatementsResponseObject

type SplitStatementsResponseObject interface {
	VisitSplitStatementsResponse(w http.ResponseWriter) error
}

type SqlCredentials

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

SqlCredentials defines model for SqlCredentials.

type StartMigration202JSONResponse

type StartMigration202JSONResponse Migration

func (StartMigration202JSONResponse) VisitStartMigrationResponse

func (response StartMigration202JSONResponse) VisitStartMigrationResponse(w http.ResponseWriter) error

type StartMigration401JSONResponse

type StartMigration401JSONResponse struct{ UnauthorizedJSONResponse }

func (StartMigration401JSONResponse) VisitStartMigrationResponse

func (response StartMigration401JSONResponse) VisitStartMigrationResponse(w http.ResponseWriter) error

type StartMigration403JSONResponse

type StartMigration403JSONResponse struct{ ForbiddenJSONResponse }

func (StartMigration403JSONResponse) VisitStartMigrationResponse

func (response StartMigration403JSONResponse) VisitStartMigrationResponse(w http.ResponseWriter) error

type StartMigration404JSONResponse

type StartMigration404JSONResponse struct{ NotFoundJSONResponse }

func (StartMigration404JSONResponse) VisitStartMigrationResponse

func (response StartMigration404JSONResponse) VisitStartMigrationResponse(w http.ResponseWriter) error

type StartMigrationRequestObject

type StartMigrationRequestObject struct {
	Id PathId `json:"id"`
}

type StartMigrationResponseObject

type StartMigrationResponseObject interface {
	VisitStartMigrationResponse(w http.ResponseWriter) error
}

type StatementSpan

type StatementSpan struct {
	End   int `json:"end"`
	Start int `json:"start"`
}

StatementSpan One statement, as offsets into the submitted SQL in UTF-16 code units (JavaScript string indices), end exclusive

type StoredMaintenancePolicy

type StoredMaintenancePolicy struct {
	CreatedAt                   time.Time           `json:"created_at"`
	ExpireSnapshots             MaintenanceSettings `json:"expire_snapshots"`
	Mode                        MaintenanceMode     `json:"mode"`
	Optimize                    MaintenanceSettings `json:"optimize"`
	OptimizeManifests           MaintenanceSettings `json:"optimize_manifests"`
	RemoveOrphanFiles           MaintenanceSettings `json:"remove_orphan_files"`
	Revision                    int64               `json:"revision"`
	UpdatedAt                   time.Time           `json:"updated_at"`
	UpdatedBy                   *openapi_types.UUID `json:"updated_by"`
	WriterCommitIntervalSeconds int64               `json:"writer_commit_interval_seconds"`
}

StoredMaintenancePolicy defines model for StoredMaintenancePolicy.

type StreamAssistantConversation200TexteventStreamResponse

type StreamAssistantConversation200TexteventStreamResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (StreamAssistantConversation200TexteventStreamResponse) VisitStreamAssistantConversationResponse

func (response StreamAssistantConversation200TexteventStreamResponse) VisitStreamAssistantConversationResponse(w http.ResponseWriter) error

type StreamAssistantConversation401JSONResponse

type StreamAssistantConversation401JSONResponse struct{ UnauthorizedJSONResponse }

func (StreamAssistantConversation401JSONResponse) VisitStreamAssistantConversationResponse

func (response StreamAssistantConversation401JSONResponse) VisitStreamAssistantConversationResponse(w http.ResponseWriter) error

type StreamAssistantConversation404JSONResponse

type StreamAssistantConversation404JSONResponse struct{ NotFoundJSONResponse }

func (StreamAssistantConversation404JSONResponse) VisitStreamAssistantConversationResponse

func (response StreamAssistantConversation404JSONResponse) VisitStreamAssistantConversationResponse(w http.ResponseWriter) error

type StreamAssistantConversationParams

type StreamAssistantConversationParams struct {
	AfterSeq *int `form:"after_seq,omitempty" json:"after_seq,omitempty"`
}

StreamAssistantConversationParams defines parameters for StreamAssistantConversation.

type StreamAssistantConversationRequestObject

type StreamAssistantConversationRequestObject struct {
	Id     PathId `json:"id"`
	Params StreamAssistantConversationParams
}

type StreamAssistantConversationResponseObject

type StreamAssistantConversationResponseObject interface {
	VisitStreamAssistantConversationResponse(w http.ResponseWriter) error
}

type StreamExecution101Response

type StreamExecution101Response struct {
}

func (StreamExecution101Response) VisitStreamExecutionResponse

func (response StreamExecution101Response) VisitStreamExecutionResponse(w http.ResponseWriter) error

type StreamExecution401JSONResponse

type StreamExecution401JSONResponse struct{ UnauthorizedJSONResponse }

func (StreamExecution401JSONResponse) VisitStreamExecutionResponse

func (response StreamExecution401JSONResponse) VisitStreamExecutionResponse(w http.ResponseWriter) error

type StreamExecutionParams

type StreamExecutionParams struct {
	Ticket string `form:"ticket" json:"ticket"`
}

StreamExecutionParams defines parameters for StreamExecution.

type StreamExecutionRequestObject

type StreamExecutionRequestObject struct {
	Id          PathId             `json:"id"`
	ExecutionId openapi_types.UUID `json:"execution_id"`
	Params      StreamExecutionParams
}

type StreamExecutionResponseObject

type StreamExecutionResponseObject interface {
	VisitStreamExecutionResponse(w http.ResponseWriter) error
}

type StreamMonitoringEvents200TexteventStreamResponse

type StreamMonitoringEvents200TexteventStreamResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (StreamMonitoringEvents200TexteventStreamResponse) VisitStreamMonitoringEventsResponse

func (response StreamMonitoringEvents200TexteventStreamResponse) VisitStreamMonitoringEventsResponse(w http.ResponseWriter) error

type StreamMonitoringEvents401JSONResponse

type StreamMonitoringEvents401JSONResponse struct{ UnauthorizedJSONResponse }

func (StreamMonitoringEvents401JSONResponse) VisitStreamMonitoringEventsResponse

func (response StreamMonitoringEvents401JSONResponse) VisitStreamMonitoringEventsResponse(w http.ResponseWriter) error

type StreamMonitoringEvents403JSONResponse

type StreamMonitoringEvents403JSONResponse struct{ ForbiddenJSONResponse }

func (StreamMonitoringEvents403JSONResponse) VisitStreamMonitoringEventsResponse

func (response StreamMonitoringEvents403JSONResponse) VisitStreamMonitoringEventsResponse(w http.ResponseWriter) error

type StreamMonitoringEvents404JSONResponse

type StreamMonitoringEvents404JSONResponse struct{ NotFoundJSONResponse }

func (StreamMonitoringEvents404JSONResponse) VisitStreamMonitoringEventsResponse

func (response StreamMonitoringEvents404JSONResponse) VisitStreamMonitoringEventsResponse(w http.ResponseWriter) error

type StreamMonitoringEventsRequestObject

type StreamMonitoringEventsRequestObject struct {
	Id PathId `json:"id"`
}

type StreamMonitoringEventsResponseObject

type StreamMonitoringEventsResponseObject interface {
	VisitStreamMonitoringEventsResponse(w http.ResponseWriter) error
}

type StrictHTTPServerOptions

type StrictHTTPServerOptions struct {
	RequestErrorHandlerFunc  func(w http.ResponseWriter, r *http.Request, err error)
	ResponseErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}

type StrictServerInterface

type StrictServerInterface interface {
	// Assistant provider and data-sharing settings (G-admin)
	// (GET /admin/assistant/settings)
	GetAssistantSettings(ctx context.Context, request GetAssistantSettingsRequestObject) (GetAssistantSettingsResponseObject, error)
	// Update assistant settings; the API key is write-only (G-admin)
	// (PUT /admin/assistant/settings)
	PutAssistantSettings(ctx context.Context, request PutAssistantSettingsRequestObject) (PutAssistantSettingsResponseObject, error)
	// Send a one-token prompt to the configured provider (G-admin)
	// (POST /admin/assistant/test)
	TestAssistant(ctx context.Context, request TestAssistantRequestObject) (TestAssistantResponseObject, error)
	// Global BI gateway readiness and switch — admin only
	// (GET /admin/bi-gateway)
	GetBIGateway(ctx context.Context, request GetBIGatewayRequestObject) (GetBIGatewayResponseObject, error)
	// Turn the BI gateway on or off globally — admin only
	// (PUT /admin/bi-gateway)
	PutBIGateway(ctx context.Context, request PutBIGatewayRequestObject) (PutBIGatewayResponseObject, error)
	// Directory reconciliation runs — admin only
	// (GET /admin/directory-reconcile-runs)
	ListDirectoryReconcileRuns(ctx context.Context, request ListDirectoryReconcileRunsRequestObject) (ListDirectoryReconcileRunsResponseObject, error)
	// List configured identity providers — admin only
	// (GET /admin/identity-providers)
	ListIdentityProviders(ctx context.Context, request ListIdentityProvidersRequestObject) (ListIdentityProvidersResponseObject, error)
	// Create an identity provider — admin only
	// (POST /admin/identity-providers)
	CreateIdentityProvider(ctx context.Context, request CreateIdentityProviderRequestObject) (CreateIdentityProviderResponseObject, error)
	// Preview directory group mapping — admin only
	// (POST /admin/identity-providers/mapping-preview)
	PreviewIdentityMapping(ctx context.Context, request PreviewIdentityMappingRequestObject) (PreviewIdentityMappingResponseObject, error)
	// Test an unsaved identity provider — admin only
	// (POST /admin/identity-providers/test)
	TestIdentityProviderTransient(ctx context.Context, request TestIdentityProviderTransientRequestObject) (TestIdentityProviderTransientResponseObject, error)
	// Delete an identity provider — admin only
	// (DELETE /admin/identity-providers/{id})
	DeleteIdentityProvider(ctx context.Context, request DeleteIdentityProviderRequestObject) (DeleteIdentityProviderResponseObject, error)
	// Get an identity provider — admin only
	// (GET /admin/identity-providers/{id})
	GetIdentityProvider(ctx context.Context, request GetIdentityProviderRequestObject) (GetIdentityProviderResponseObject, error)
	// Update an identity provider — admin only
	// (PATCH /admin/identity-providers/{id})
	UpdateIdentityProvider(ctx context.Context, request UpdateIdentityProviderRequestObject) (UpdateIdentityProviderResponseObject, error)
	// Test a stored identity provider — admin only
	// (POST /admin/identity-providers/{id}/test)
	TestIdentityProvider(ctx context.Context, request TestIdentityProviderRequestObject) (TestIdentityProviderResponseObject, error)
	// Core system status
	// (GET /admin/system/status)
	GetSystemStatus(ctx context.Context, request GetSystemStatusRequestObject) (GetSystemStatusResponseObject, error)
	// List the caller's external agents (admins: all with all=true)
	// (GET /agents)
	ListAgents(ctx context.Context, request ListAgentsRequestObject) (ListAgentsResponseObject, error)
	// Create an agent owned by the caller
	// (POST /agents)
	CreateAgent(ctx context.Context, request CreateAgentRequestObject) (CreateAgentResponseObject, error)
	// MCP URL, token TTLs and the tool registry the agents UI needs
	// (GET /agents/meta)
	GetAgentsMeta(ctx context.Context, request GetAgentsMetaRequestObject) (GetAgentsMetaResponseObject, error)
	// Delete an agent (owner or admin)
	// (DELETE /agents/{agent_id})
	DeleteAgent(ctx context.Context, request DeleteAgentRequestObject) (DeleteAgentResponseObject, error)
	// Get an agent
	// (GET /agents/{agent_id})
	GetAgent(ctx context.Context, request GetAgentRequestObject) (GetAgentResponseObject, error)
	// Update an agent (owner; an admin may only disable it)
	// (PATCH /agents/{agent_id})
	UpdateAgent(ctx context.Context, request UpdateAgentRequestObject) (UpdateAgentResponseObject, error)
	// Where an agent may run, per granted catalog and hosting engine
	// (GET /agents/{agent_id}/eligibility)
	GetAgentEligibility(ctx context.Context, request GetAgentEligibilityRequestObject) (GetAgentEligibilityResponseObject, error)
	// Effective, stored and ceiling values of an agent's policy
	// (GET /agents/{agent_id}/policy)
	GetAgentPolicy(ctx context.Context, request GetAgentPolicyRequestObject) (GetAgentPolicyResponseObject, error)
	// Replace an agent's policy within the server ceilings
	// (PUT /agents/{agent_id}/policy)
	PutAgentPolicy(ctx context.Context, request PutAgentPolicyRequestObject) (PutAgentPolicyResponseObject, error)
	// List an agent's tokens (never the secret)
	// (GET /agents/{agent_id}/tokens)
	ListAgentTokens(ctx context.Context, request ListAgentTokensRequestObject) (ListAgentTokensResponseObject, error)
	// Mint a token for an agent — the secret is shown once
	// (POST /agents/{agent_id}/tokens)
	CreateAgentToken(ctx context.Context, request CreateAgentTokenRequestObject) (CreateAgentTokenResponseObject, error)
	// Revoke an agent token
	// (DELETE /agents/{agent_id}/tokens/{token_id})
	RevokeAgentToken(ctx context.Context, request RevokeAgentTokenRequestObject) (RevokeAgentTokenResponseObject, error)
	// List current user's API keys
	// (GET /api-keys)
	ListApiKeys(ctx context.Context, request ListApiKeysRequestObject) (ListApiKeysResponseObject, error)
	// Create a new API key
	// (POST /api-keys)
	CreateApiKey(ctx context.Context, request CreateApiKeyRequestObject) (CreateApiKeyResponseObject, error)
	// Remove an API key
	// (DELETE /api-keys/{id})
	DeleteApiKey(ctx context.Context, request DeleteApiKeyRequestObject) (DeleteApiKeyResponseObject, error)
	// The caller's conversations in a workspace
	// (GET /assistant/conversations)
	ListAssistantConversations(ctx context.Context, request ListAssistantConversationsRequestObject) (ListAssistantConversationsResponseObject, error)
	// Start a conversation in a workspace
	// (POST /assistant/conversations)
	CreateAssistantConversation(ctx context.Context, request CreateAssistantConversationRequestObject) (CreateAssistantConversationResponseObject, error)
	// Delete the caller's conversation
	// (DELETE /assistant/conversations/{id})
	DeleteAssistantConversation(ctx context.Context, request DeleteAssistantConversationRequestObject) (DeleteAssistantConversationResponseObject, error)
	// A conversation and its persisted messages
	// (GET /assistant/conversations/{id})
	GetAssistantConversation(ctx context.Context, request GetAssistantConversationRequestObject) (GetAssistantConversationResponseObject, error)
	// Stop the running turn
	// (POST /assistant/conversations/{id}/cancel)
	CancelAssistantTurn(ctx context.Context, request CancelAssistantTurnRequestObject) (CancelAssistantTurnResponseObject, error)
	// Replay persisted messages and stream the live turn (SSE)
	// (GET /assistant/conversations/{id}/events)
	StreamAssistantConversation(ctx context.Context, request StreamAssistantConversationRequestObject) (StreamAssistantConversationResponseObject, error)
	// Send a user message; the turn runs in the background
	// (POST /assistant/conversations/{id}/messages)
	SendAssistantMessage(ctx context.Context, request SendAssistantMessageRequestObject) (SendAssistantMessageResponseObject, error)
	// Whether the assistant is enabled and what it may share
	// (GET /assistant/status)
	GetAssistantStatus(ctx context.Context, request GetAssistantStatusRequestObject) (GetAssistantStatusResponseObject, error)
	// Items that need the caller's attention
	// (GET /attention)
	ListAttention(ctx context.Context, request ListAttentionRequestObject) (ListAttentionResponseObject, error)
	// The bounded audit action vocabulary
	// (GET /audit/actions)
	ListAuditActions(ctx context.Context, request ListAuditActionsRequestObject) (ListAuditActionsResponseObject, error)
	// Audit trail, newest first — admins see every event, others their own
	// (GET /audit/events)
	ListAuditEvents(ctx context.Context, request ListAuditEventsRequestObject) (ListAuditEventsResponseObject, error)
	// Export the current audit filter as CSV — admins
	// (GET /audit/events.csv)
	ExportAuditCSV(ctx context.Context, request ExportAuditCSVRequestObject) (ExportAuditCSVResponseObject, error)
	// Resolve audit ids to names, only entities the caller can see
	// (POST /audit/resolve)
	ResolveAudit(ctx context.Context, request ResolveAuditRequestObject) (ResolveAuditResponseObject, error)
	// Authenticate and receive JWT
	// (POST /auth/login)
	Login(ctx context.Context, request LoginRequestObject) (LoginResponseObject, error)
	// Invalidate current session
	// (POST /auth/logout)
	Logout(ctx context.Context, request LogoutRequestObject) (LogoutResponseObject, error)
	// Return authenticated user, feature flags and global actions
	// (GET /auth/me)
	GetMe(ctx context.Context, request GetMeRequestObject) (GetMeResponseObject, error)
	// List configured OIDC providers
	// (GET /auth/oidc/providers)
	ListOIDCProviders(ctx context.Context, request ListOIDCProvidersRequestObject) (ListOIDCProvidersResponseObject, error)
	// OIDC callback — exchange code for JWT
	// (GET /auth/oidc/{provider_id}/callback)
	OidcCallback(ctx context.Context, request OidcCallbackRequestObject) (OidcCallbackResponseObject, error)
	// Redirect to OIDC provider
	// (GET /auth/oidc/{provider_id}/login)
	OidcRedirect(ctx context.Context, request OidcRedirectRequestObject) (OidcRedirectResponseObject, error)
	// Confirm password reset with token
	// (POST /auth/password-reset/confirm)
	ConfirmPasswordReset(ctx context.Context, request ConfirmPasswordResetRequestObject) (ConfirmPasswordResetResponseObject, error)
	// Request password reset link
	// (POST /auth/password-reset/request)
	RequestPasswordReset(ctx context.Context, request RequestPasswordResetRequestObject) (RequestPasswordResetResponseObject, error)
	// Enabled login providers
	// (GET /auth/providers)
	ListAuthProviders(ctx context.Context, request ListAuthProvidersRequestObject) (ListAuthProvidersResponseObject, error)
	// Exchange refresh token for new access token pair
	// (POST /auth/refresh)
	RefreshToken(ctx context.Context, request RefreshTokenRequestObject) (RefreshTokenResponseObject, error)
	// Remove a managed binding from its engine
	// (DELETE /bindings/{id})
	DeleteCatalogBinding(ctx context.Context, request DeleteCatalogBindingRequestObject) (DeleteCatalogBindingResponseObject, error)
	// One binding with its lifecycle state, error and allowed actions
	// (GET /bindings/{id})
	GetCatalogBinding(ctx context.Context, request GetCatalogBindingRequestObject) (GetCatalogBindingResponseObject, error)
	// Rename, reconfigure, enable or disable a managed binding
	// (PATCH /bindings/{id})
	UpdateCatalogBinding(ctx context.Context, request UpdateCatalogBindingRequestObject) (UpdateCatalogBindingResponseObject, error)
	// Engine-side properties of a binding, secret values masked
	// (GET /bindings/{id}/projection)
	GetCatalogBindingProjection(ctx context.Context, request GetCatalogBindingProjectionRequestObject) (GetCatalogBindingProjectionResponseObject, error)
	// Re-apply a managed binding's current projection to its engine
	// (POST /bindings/{id}/sync)
	SyncCatalogBinding(ctx context.Context, request SyncCatalogBindingRequestObject) (SyncCatalogBindingResponseObject, error)
	// List the catalog connections the caller can see
	// (GET /catalog-connections)
	ListCatalogConnections(ctx context.Context, request ListCatalogConnectionsRequestObject) (ListCatalogConnectionsResponseObject, error)
	// Create a catalog connection — admin only
	// (POST /catalog-connections)
	CreateCatalogConnection(ctx context.Context, request CreateCatalogConnectionRequestObject) (CreateCatalogConnectionResponseObject, error)
	// Test connection settings before saving them
	// (POST /catalog-connections/test)
	TestConnectionDraft(ctx context.Context, request TestConnectionDraftRequestObject) (TestConnectionDraftResponseObject, error)
	// Remove a connection — admin only
	// (DELETE /catalog-connections/{id})
	DeleteCatalogConnection(ctx context.Context, request DeleteCatalogConnectionRequestObject) (DeleteCatalogConnectionResponseObject, error)
	// Connection details
	// (GET /catalog-connections/{id})
	GetCatalogConnection(ctx context.Context, request GetCatalogConnectionRequestObject) (GetCatalogConnectionResponseObject, error)
	// Update a connection — admin only
	// (PATCH /catalog-connections/{id})
	UpdateCatalogConnection(ctx context.Context, request UpdateCatalogConnectionRequestObject) (UpdateCatalogConnectionResponseObject, error)
	// What depends on this connection before deleting it
	// (GET /catalog-connections/{id}/impact)
	GetCatalogConnectionImpact(ctx context.Context, request GetCatalogConnectionImpactRequestObject) (GetCatalogConnectionImpactResponseObject, error)
	// Test catalog connectivity
	// (POST /catalog-connections/{id}/test)
	TestCatalogConnection(ctx context.Context, request TestCatalogConnectionRequestObject) (TestCatalogConnectionResponseObject, error)
	// Active grants and pending requests the caller manages
	// (GET /catalog-grants)
	ListCatalogGrantItems(ctx context.Context, request ListCatalogGrantItemsRequestObject) (ListCatalogGrantItemsResponseObject, error)
	// Offer, request or directly grant a catalog to a workspace, decided by the caller's rights on each side
	// (POST /catalog-grants)
	CreateCatalogGrant(ctx context.Context, request CreateCatalogGrantRequestObject) (CreateCatalogGrantResponseObject, error)
	// Decline a pending request or unlink an active grant
	// (DELETE /catalog-grants/{workspace_id}/{catalog_id})
	DeleteCatalogGrant(ctx context.Context, request DeleteCatalogGrantRequestObject) (DeleteCatalogGrantResponseObject, error)
	// Approve a pending offer or request as the other party
	// (POST /catalog-grants/{workspace_id}/{catalog_id}/approve)
	ApproveCatalogGrant(ctx context.Context, request ApproveCatalogGrantRequestObject) (ApproveCatalogGrantResponseObject, error)
	// Logical catalogs the caller may view, with their bindings
	// (GET /catalogs)
	ListAllCatalogs(ctx context.Context, request ListAllCatalogsRequestObject) (ListAllCatalogsResponseObject, error)
	// Disable a source catalog and deprovision its managed bindings
	// (DELETE /catalogs/{catalog_id})
	DeleteCatalogDetail(ctx context.Context, request DeleteCatalogDetailRequestObject) (DeleteCatalogDetailResponseObject, error)
	// One logical catalog with its bindings and counts
	// (GET /catalogs/{catalog_id})
	GetCatalogDetail(ctx context.Context, request GetCatalogDetailRequestObject) (GetCatalogDetailResponseObject, error)
	// Rename or re-describe a catalog (bundles and metrics reference it by name)
	// (PATCH /catalogs/{catalog_id})
	UpdateCatalogDetail(ctx context.Context, request UpdateCatalogDetailRequestObject) (UpdateCatalogDetailResponseObject, error)
	// Mark the catalog discoverable so workspace admins can find and request it
	// (PATCH /catalogs/{catalog_id}/discoverable)
	SetCatalogDiscoverable(ctx context.Context, request SetCatalogDiscoverableRequestObject) (SetCatalogDiscoverableResponseObject, error)
	// Workspaces a catalog owner may offer the catalog to
	// (GET /catalogs/{catalog_id}/grantable-workspaces)
	ListGrantableWorkspaces(ctx context.Context, request ListGrantableWorkspacesRequestObject) (ListGrantableWorkspacesResponseObject, error)
	// Workspace grants of this catalog
	// (GET /catalogs/{catalog_id}/grants)
	ListCatalogGrants(ctx context.Context, request ListCatalogGrantsRequestObject) (ListCatalogGrantsResponseObject, error)
	// What depends on this catalog before deleting it
	// (GET /catalogs/{catalog_id}/impact)
	GetCatalogImpact(ctx context.Context, request GetCatalogImpactRequestObject) (GetCatalogImpactResponseObject, error)
	// Run optimize/expire/orphan cleanup on one Iceberg table
	// (POST /catalogs/{catalog_id}/maintenance)
	CreateMaintenanceRun(ctx context.Context, request CreateMaintenanceRunRequestObject) (CreateMaintenanceRunResponseObject, error)
	// The current maintenance plan of every table of the catalog with parameters
	// (GET /catalogs/{catalog_id}/maintenance-plan)
	GetCatalogMaintenancePlan(ctx context.Context, request GetCatalogMaintenancePlanRequestObject) (GetCatalogMaintenancePlanResponseObject, error)
	// Maintenance runs of a catalog, newest first
	// (GET /catalogs/{catalog_id}/maintenance-runs)
	ListMaintenanceRuns(ctx context.Context, request ListMaintenanceRunsRequestObject) (ListMaintenanceRunsResponseObject, error)
	// Refresh the catalog's metadata snapshot now
	// (POST /catalogs/{catalog_id}/metadata/sync)
	SyncCatalogMetadata(ctx context.Context, request SyncCatalogMetadataRequestObject) (SyncCatalogMetadataResponseObject, error)
	// Latest metadata passes of the catalog, newest first
	// (GET /catalogs/{catalog_id}/metadata/sync-runs)
	ListCatalogMetadataSyncRuns(ctx context.Context, request ListCatalogMetadataSyncRunsRequestObject) (ListCatalogMetadataSyncRunsResponseObject, error)
	// Force re-sync of a catalog against the Trino cluster
	// (POST /catalogs/{catalog_id}/sync)
	SyncCatalog(ctx context.Context, request SyncCatalogRequestObject) (SyncCatalogResponseObject, error)
	// Iceberg table health of a logical catalog
	// (GET /catalogs/{catalog_id}/table-health)
	ListTableHealth(ctx context.Context, request ListTableHealthRequestObject) (ListTableHealthResponseObject, error)
	// Analyze the health of every table of an Iceberg catalog now
	// (POST /catalogs/{catalog_id}/table-health/analyze)
	AnalyzeCatalogTableHealth(ctx context.Context, request AnalyzeCatalogTableHealthRequestObject) (AnalyzeCatalogTableHealthResponseObject, error)
	// Remove a table's maintenance parameters: the table is no longer maintained
	// (DELETE /catalogs/{catalog_id}/tables/{namespace}/{table}/maintenance)
	DeleteTableMaintenance(ctx context.Context, request DeleteTableMaintenanceRequestObject) (DeleteTableMaintenanceResponseObject, error)
	// A table's maintenance parameters, recent runs and current plan
	// (GET /catalogs/{catalog_id}/tables/{namespace}/{table}/maintenance)
	GetTableMaintenance(ctx context.Context, request GetTableMaintenanceRequestObject) (GetTableMaintenanceResponseObject, error)
	// Create or replace a table's maintenance parameters
	// (PUT /catalogs/{catalog_id}/tables/{namespace}/{table}/maintenance)
	PutTableMaintenance(ctx context.Context, request PutTableMaintenanceRequestObject) (PutTableMaintenanceResponseObject, error)
	// What a round would run on the table now, without running it
	// (POST /catalogs/{catalog_id}/tables/{namespace}/{table}/maintenance/dry-run)
	DryRunTableMaintenance(ctx context.Context, request DryRunTableMaintenanceRequestObject) (DryRunTableMaintenanceResponseObject, error)
	// Run one maintenance operation on the table now
	// (POST /catalogs/{catalog_id}/tables/{namespace}/{table}/maintenance/runs)
	RunTableMaintenance(ctx context.Context, request RunTableMaintenanceRequestObject) (RunTableMaintenanceResponseObject, error)
	// Analyze the health of one Iceberg table now
	// (POST /catalogs/{catalog_id}/tables/{namespace}/{table}/table-health/analyze)
	AnalyzeTableHealth(ctx context.Context, request AnalyzeTableHealthRequestObject) (AnalyzeTableHealthResponseObject, error)
	// Engines a catalog is bound to (anyone who may read the catalog)
	// (GET /catalogs/{id}/bindings)
	ListCatalogBindings(ctx context.Context, request ListCatalogBindingsRequestObject) (ListCatalogBindingsResponseObject, error)
	// Bind a source catalog into a federated engine
	// (POST /catalogs/{id}/bindings)
	CreateCatalogBinding(ctx context.Context, request CreateCatalogBindingRequestObject) (CreateCatalogBindingResponseObject, error)
	// A catalog's data policies (owner of its connection or an admin)
	// (GET /catalogs/{id}/data-policies)
	ListCatalogDataPolicies(ctx context.Context, request ListCatalogDataPoliciesRequestObject) (ListCatalogDataPoliciesResponseObject, error)
	// Add a row filter or column mask to one of the catalog's tables
	// (POST /catalogs/{id}/data-policies)
	CreateDataPolicy(ctx context.Context, request CreateDataPolicyRequestObject) (CreateDataPolicyResponseObject, error)
	// SECURITY DEFINER views over the catalog's policied tables, and whose policies they apply
	// (GET /catalogs/{id}/data-policies/definer-views)
	ListCatalogDefinerViews(ctx context.Context, request ListCatalogDefinerViewsRequestObject) (ListCatalogDefinerViewsResponseObject, error)
	// Publish the catalog's current policies in a new signed revision
	// (POST /catalogs/{id}/data-policies/publish)
	PublishCatalogDataPolicies(ctx context.Context, request PublishCatalogDataPoliciesRequestObject) (PublishCatalogDataPoliciesResponseObject, error)
	// Connection categories in presentation order (ADR 0021 D.10)
	// (GET /connection-categories)
	ListConnectionCategories(ctx context.Context, request ListConnectionCategoriesRequestObject) (ListConnectionCategoriesResponseObject, error)
	// Connection kinds, their roles and config schemas (drives the connection forms)
	// (GET /connection-providers)
	ListConnectionProviders(ctx context.Context, request ListConnectionProvidersRequestObject) (ListConnectionProvidersResponseObject, error)
	// List catalogs registered under a connection
	// (GET /connections/{connection_id}/catalogs)
	ListCatalogs(ctx context.Context, request ListCatalogsRequestObject) (ListCatalogsResponseObject, error)
	// Register a catalog under a connection
	// (POST /connections/{connection_id}/catalogs)
	CreateCatalog(ctx context.Context, request CreateCatalogRequestObject) (CreateCatalogResponseObject, error)
	// Remove a catalog
	// (DELETE /connections/{connection_id}/catalogs/{catalog_id})
	DeleteCatalog(ctx context.Context, request DeleteCatalogRequestObject) (DeleteCatalogResponseObject, error)
	// Catalog details
	// (GET /connections/{connection_id}/catalogs/{catalog_id})
	GetCatalog(ctx context.Context, request GetCatalogRequestObject) (GetCatalogResponseObject, error)
	// Update a catalog
	// (PATCH /connections/{connection_id}/catalogs/{catalog_id})
	UpdateCatalog(ctx context.Context, request UpdateCatalogRequestObject) (UpdateCatalogResponseObject, error)
	// Next runs of a cron expression, from the server's parser
	// (POST /cron/preview)
	PreviewCron(ctx context.Context, request PreviewCronRequestObject) (PreviewCronResponseObject, error)
	// Published revisions, newest first (global admin)
	// (GET /data-policies/revisions)
	ListDataPolicyRevisions(ctx context.Context, request ListDataPolicyRevisionsRequestObject) (ListDataPolicyRevisionsResponseObject, error)
	// Publish an earlier revision's policies again with a fresh lease (global admin)
	// (POST /data-policies/revisions/{id}/rollback)
	RollbackDataPolicyRevision(ctx context.Context, request RollbackDataPolicyRevisionRequestObject) (RollbackDataPolicyRevisionResponseObject, error)
	// The published revision and each engine's integration (global admin)
	// (GET /data-policies/status)
	GetDataPolicyStatus(ctx context.Context, request GetDataPolicyStatusRequestObject) (GetDataPolicyStatusResponseObject, error)
	// Remove a data policy; it stays in force until the catalog is published
	// (DELETE /data-policies/{id})
	DeleteDataPolicy(ctx context.Context, request DeleteDataPolicyRequestObject) (DeleteDataPolicyResponseObject, error)
	// One data policy
	// (GET /data-policies/{id})
	GetDataPolicy(ctx context.Context, request GetDataPolicyRequestObject) (GetDataPolicyResponseObject, error)
	// Replace a data policy and check it again
	// (PUT /data-policies/{id})
	UpdateDataPolicy(ctx context.Context, request UpdateDataPolicyRequestObject) (UpdateDataPolicyResponseObject, error)
	// A SQL dialect with its keyword and function lists (for the editor)
	// (GET /dialects/{name})
	GetDialect(ctx context.Context, request GetDialectRequestObject) (GetDialectResponseObject, error)
	// The dialect's EXPLAIN statement for a query
	// (POST /dialects/{name}/explain)
	ExplainSQL(ctx context.Context, request ExplainSQLRequestObject) (ExplainSQLResponseObject, error)
	// Split a script into statements with the dialect's rules
	// (POST /dialects/{name}/split)
	SplitStatements(ctx context.Context, request SplitStatementsRequestObject) (SplitStatementsResponseObject, error)
	// Engines the caller may see: all for an admin; else those on connections they own or hosting a catalog granted to one of their workspaces
	// (GET /engines)
	ListEngines(ctx context.Context, request ListEnginesRequestObject) (ListEnginesResponseObject, error)
	// Register a standalone federated engine
	// (POST /engines)
	CreateEngine(ctx context.Context, request CreateEngineRequestObject) (CreateEngineResponseObject, error)
	// Remove an engine (owner of its connection or an admin)
	// (DELETE /engines/{id})
	DeleteEngine(ctx context.Context, request DeleteEngineRequestObject) (DeleteEngineResponseObject, error)
	// Engine details
	// (GET /engines/{id})
	GetEngine(ctx context.Context, request GetEngineRequestObject) (GetEngineResponseObject, error)
	// Enable or disable an engine (owner of its connection or an admin)
	// (PATCH /engines/{id})
	UpdateEngine(ctx context.Context, request UpdateEngineRequestObject) (UpdateEngineResponseObject, error)
	// Source kinds this engine can bind, with connectors, protected extra-property keys and reserved names
	// (GET /engines/{id}/binding-support)
	GetEngineBindingSupport(ctx context.Context, request GetEngineBindingSupportRequestObject) (GetEngineBindingSupportResponseObject, error)
	// Catalogs bound to an engine
	// (GET /engines/{id}/bindings)
	ListEngineBindings(ctx context.Context, request ListEngineBindingsRequestObject) (ListEngineBindingsResponseObject, error)
	// Run native-catalog discovery now (direct engines)
	// (POST /engines/{id}/discover)
	DiscoverEngineCatalogs(ctx context.Context, request DiscoverEngineCatalogsRequestObject) (DiscoverEngineCatalogsResponseObject, error)
	// What depends on this engine before disabling or deleting it
	// (GET /engines/{id}/impact)
	GetEngineImpact(ctx context.Context, request GetEngineImpactRequestObject) (GetEngineImpactResponseObject, error)
	// Cluster snapshots of an engine
	// (GET /engines/{id}/monitoring/cluster)
	GetEngineCluster(ctx context.Context, request GetEngineClusterRequestObject) (GetEngineClusterResponseObject, error)
	// Stream a signal when an engine's monitoring data changes (SSE)
	// (GET /engines/{id}/monitoring/events)
	StreamMonitoringEvents(ctx context.Context, request StreamMonitoringEventsRequestObject) (StreamMonitoringEventsResponseObject, error)
	// Query snapshots of an engine — own queries or, for admins, everyone's
	// (GET /engines/{id}/monitoring/queries)
	ListMonitoringQueries(ctx context.Context, request ListMonitoringQueriesRequestObject) (ListMonitoringQueriesResponseObject, error)
	// Full SQL, timings and error of one query
	// (GET /engines/{id}/monitoring/queries/{query_id})
	GetMonitoringQuery(ctx context.Context, request GetMonitoringQueryRequestObject) (GetMonitoringQueryResponseObject, error)
	// Cancel a running query
	// (POST /engines/{id}/monitoring/queries/{query_id})
	KillMonitoringQuery(ctx context.Context, request KillMonitoringQueryRequestObject) (KillMonitoringQueryResponseObject, error)
	// Catalogs the federated engine reported, with managed/adopted mode
	// (GET /engines/{id}/observations)
	ListEngineObservations(ctx context.Context, request ListEngineObservationsRequestObject) (ListEngineObservationsResponseObject, error)
	// Live queue depth and capacity per class
	// (GET /engines/{id}/queues)
	GetEngineQueues(ctx context.Context, request GetEngineQueuesRequestObject) (GetEngineQueuesResponseObject, error)
	// Set capacities, timeouts and the engine ceiling
	// (PUT /engines/{id}/queues)
	PutEngineQueues(ctx context.Context, request PutEngineQueuesRequestObject) (PutEngineQueuesResponseObject, error)
	// Repair the engine's managed catalog drift and report the rest — admins
	// (POST /engines/{id}/reconcile)
	ReconcileEngine(ctx context.Context, request ReconcileEngineRequestObject) (ReconcileEngineResponseObject, error)
	// Latest reconcile runs of the engine, newest first — admins
	// (GET /engines/{id}/reconcile-runs)
	ListReconcileRuns(ctx context.Context, request ListReconcileRunsRequestObject) (ListReconcileRunsResponseObject, error)
	// One reconcile run with its stored actions — admins
	// (GET /engines/{id}/reconcile-runs/{run_id})
	GetReconcileRun(ctx context.Context, request GetReconcileRunRequestObject) (GetReconcileRunResponseObject, error)
	// Reach, authenticate and version the registered engine
	// (POST /engines/{id}/test)
	TestEngine(ctx context.Context, request TestEngineRequestObject) (TestEngineResponseObject, error)
	// Current user profile
	// (GET /me)
	GetProfile(ctx context.Context, request GetProfileRequestObject) (GetProfileResponseObject, error)
	// Update current user profile
	// (PATCH /me)
	UpdateProfile(ctx context.Context, request UpdateProfileRequestObject) (UpdateProfileResponseObject, error)
	// Change current user password
	// (PATCH /me/password)
	UpdatePassword(ctx context.Context, request UpdatePasswordRequestObject) (UpdatePasswordResponseObject, error)
	// List migrations — admin only
	// (GET /migrations)
	ListMigrations(ctx context.Context, request ListMigrationsRequestObject) (ListMigrationsResponseObject, error)
	// Create a zero-copy migration — admin only
	// (POST /migrations)
	CreateMigration(ctx context.Context, request CreateMigrationRequestObject) (CreateMigrationResponseObject, error)
	// Migration status
	// (GET /migrations/{id})
	GetMigration(ctx context.Context, request GetMigrationRequestObject) (GetMigrationResponseObject, error)
	// Cancel an ongoing migration — admin only
	// (POST /migrations/{id}/cancel)
	CancelMigration(ctx context.Context, request CancelMigrationRequestObject) (CancelMigrationResponseObject, error)
	// List individual tables in a migration
	// (GET /migrations/{id}/items)
	ListMigrationItems(ctx context.Context, request ListMigrationItemsRequestObject) (ListMigrationItemsResponseObject, error)
	// Start migration execution — admin only
	// (POST /migrations/{id}/start)
	StartMigration(ctx context.Context, request StartMigrationRequestObject) (StartMigrationResponseObject, error)
	// Engines with runtime monitoring the caller can view
	// (GET /monitoring/engines)
	ListMonitoringEngines(ctx context.Context, request ListMonitoringEnginesRequestObject) (ListMonitoringEnginesResponseObject, error)
	// Service accounts the caller manages: every one for a global admin, those of the workspaces they administer otherwise (#653)
	// (GET /service-accounts)
	ListServiceAccounts(ctx context.Context, request ListServiceAccountsRequestObject) (ListServiceAccountsResponseObject, error)
	// Create a service account — global admin, or workspace admin in their workspace (#653)
	// (POST /service-accounts)
	CreateServiceAccount(ctx context.Context, request CreateServiceAccountRequestObject) (CreateServiceAccountResponseObject, error)
	// Delete a service account with its tokens, agents and memberships — its managers
	// (DELETE /service-accounts/{id})
	DeleteServiceAccount(ctx context.Context, request DeleteServiceAccountRequestObject) (DeleteServiceAccountResponseObject, error)
	// Get a service account — its managers
	// (GET /service-accounts/{id})
	GetServiceAccount(ctx context.Context, request GetServiceAccountRequestObject) (GetServiceAccountResponseObject, error)
	// Rename, describe or link a service account to an identity provider client — its managers
	// (PATCH /service-accounts/{id})
	UpdateServiceAccount(ctx context.Context, request UpdateServiceAccountRequestObject) (UpdateServiceAccountResponseObject, error)
	// The service account's Baleia tokens (never their secrets) — its managers
	// (GET /service-accounts/{id}/tokens)
	ListServiceAccountTokens(ctx context.Context, request ListServiceAccountTokensRequestObject) (ListServiceAccountTokensResponseObject, error)
	// Issue a Baleia token for the service account, shown once — its managers
	// (POST /service-accounts/{id}/tokens)
	CreateServiceAccountToken(ctx context.Context, request CreateServiceAccountTokenRequestObject) (CreateServiceAccountTokenResponseObject, error)
	// Revoke a Baleia token of the service account — its managers
	// (DELETE /service-accounts/{id}/tokens/{token_id})
	RevokeServiceAccountToken(ctx context.Context, request RevokeServiceAccountTokenRequestObject) (RevokeServiceAccountTokenResponseObject, error)
	// Create first admin user
	// (POST /setup/admin)
	CreateFirstAdmin(ctx context.Context, request CreateFirstAdminRequestObject) (CreateFirstAdminResponseObject, error)
	// System configuration status
	// (GET /setup/status)
	GetSetupStatus(ctx context.Context, request GetSetupStatusRequestObject) (GetSetupStatusResponseObject, error)
	// List all teams
	// (GET /teams)
	ListTeams(ctx context.Context, request ListTeamsRequestObject) (ListTeamsResponseObject, error)
	// Create a team — admin only
	// (POST /teams)
	CreateTeam(ctx context.Context, request CreateTeamRequestObject) (CreateTeamResponseObject, error)
	// Remove a team — admin only
	// (DELETE /teams/{id})
	DeleteTeam(ctx context.Context, request DeleteTeamRequestObject) (DeleteTeamResponseObject, error)
	// Team details
	// (GET /teams/{id})
	GetTeam(ctx context.Context, request GetTeamRequestObject) (GetTeamResponseObject, error)
	// List team members
	// (GET /teams/{id}/members)
	ListTeamMembers(ctx context.Context, request ListTeamMembersRequestObject) (ListTeamMembersResponseObject, error)
	// Add user to team — admin only
	// (POST /teams/{id}/members)
	AddTeamMember(ctx context.Context, request AddTeamMemberRequestObject) (AddTeamMemberResponseObject, error)
	// Remove user from team — admin only
	// (DELETE /teams/{id}/members/{user_id})
	RemoveTeamMember(ctx context.Context, request RemoveTeamMemberRequestObject) (RemoveTeamMemberResponseObject, error)
	// Change a team member's role — admin only
	// (PATCH /teams/{id}/members/{user_id})
	UpdateTeamMemberRole(ctx context.Context, request UpdateTeamMemberRoleRequestObject) (UpdateTeamMemberRoleResponseObject, error)
	// Deprecated alias of POST /engines/{id}/reconcile for the default Trino engine
	// (POST /trino/reconcile)
	ReconcileTrino(ctx context.Context, request ReconcileTrinoRequestObject) (ReconcileTrinoResponseObject, error)
	// List all users — admin only
	// (GET /users)
	ListUsers(ctx context.Context, request ListUsersRequestObject) (ListUsersResponseObject, error)
	// Invite a new user — admin only
	// (POST /users/invite)
	InviteUser(ctx context.Context, request InviteUserRequestObject) (InviteUserResponseObject, error)
	// Remove a user — admin only
	// (DELETE /users/{id})
	RemoveUser(ctx context.Context, request RemoveUserRequestObject) (RemoveUserResponseObject, error)
	// Update user role — admin only
	// (PATCH /users/{id})
	UpdateUserRole(ctx context.Context, request UpdateUserRoleRequestObject) (UpdateUserRoleResponseObject, error)
	// Reinstate a user — admin only
	// (POST /users/{id}/reinstate)
	ReinstateUser(ctx context.Context, request ReinstateUserRequestObject) (ReinstateUserResponseObject, error)
	// Suspend a user — admin only
	// (POST /users/{id}/suspend)
	SuspendUser(ctx context.Context, request SuspendUserRequestObject) (SuspendUserResponseObject, error)
	// List the ordered workload rules
	// (GET /workload-rules)
	ListWorkloadRules(ctx context.Context, request ListWorkloadRulesRequestObject) (ListWorkloadRulesResponseObject, error)
	// Create a workload rule
	// (POST /workload-rules)
	CreateWorkloadRule(ctx context.Context, request CreateWorkloadRuleRequestObject) (CreateWorkloadRuleResponseObject, error)
	// Delete a workload rule
	// (DELETE /workload-rules/{rule_id})
	DeleteWorkloadRule(ctx context.Context, request DeleteWorkloadRuleRequestObject) (DeleteWorkloadRuleResponseObject, error)
	// Update a workload rule
	// (PATCH /workload-rules/{rule_id})
	UpdateWorkloadRule(ctx context.Context, request UpdateWorkloadRuleRequestObject) (UpdateWorkloadRuleResponseObject, error)
	// Classify a hypothetical run and say why
	// (POST /workload-rules:test)
	TestWorkloadRule(ctx context.Context, request TestWorkloadRuleRequestObject) (TestWorkloadRuleResponseObject, error)
	// List workspaces accessible to current user
	// (GET /workspaces)
	ListWorkspaces(ctx context.Context, request ListWorkspacesRequestObject) (ListWorkspacesResponseObject, error)
	// Create a workspace — admin only for shared
	// (POST /workspaces)
	CreateWorkspace(ctx context.Context, request CreateWorkspaceRequestObject) (CreateWorkspaceResponseObject, error)
	// Delete a shared workspace and its content — owner or admin
	// (DELETE /workspaces/{id})
	DeleteWorkspace(ctx context.Context, request DeleteWorkspaceRequestObject) (DeleteWorkspaceResponseObject, error)
	// Workspace details
	// (GET /workspaces/{id})
	GetWorkspace(ctx context.Context, request GetWorkspaceRequestObject) (GetWorkspaceResponseObject, error)
	// Update a workspace — workspace owners and admins
	// (PATCH /workspaces/{id})
	UpdateWorkspace(ctx context.Context, request UpdateWorkspaceRequestObject) (UpdateWorkspaceResponseObject, error)
	// List the workspace's BI keys (admins: all; members: their own)
	// (GET /workspaces/{id}/bi-keys)
	ListBiKeys(ctx context.Context, request ListBiKeysRequestObject) (ListBiKeysResponseObject, error)
	// Issue a workspace-bound BI key (the secret is shown once)
	// (POST /workspaces/{id}/bi-keys)
	CreateBiKey(ctx context.Context, request CreateBiKeyRequestObject) (CreateBiKeyResponseObject, error)
	// Revoke a workspace-bound BI key
	// (DELETE /workspaces/{id}/bi-keys/{key_id})
	DeleteBiKey(ctx context.Context, request DeleteBiKeyRequestObject) (DeleteBiKeyResponseObject, error)
	// BI readiness for a workspace and the caller
	// (GET /workspaces/{id}/bi-status)
	GetWorkspaceBIStatus(ctx context.Context, request GetWorkspaceBIStatusRequestObject) (GetWorkspaceBIStatusResponseObject, error)
	// Download a Tableau (.tds) or Power BI (.pbids) data source for the gateway
	// (GET /workspaces/{id}/bi/{tool})
	GetWorkspaceBIFile(ctx context.Context, request GetWorkspaceBIFileRequestObject) (GetWorkspaceBIFileResponseObject, error)
	// List the catalogs granted to the workspace — workspace members
	// (GET /workspaces/{id}/catalog-access)
	ListWorkspaceCatalogAccess(ctx context.Context, request ListWorkspaceCatalogAccessRequestObject) (ListWorkspaceCatalogAccessResponseObject, error)
	// Grant a catalog to the workspace — needs the catalog's connection owner (or admin) and a workspace owner (or admin)
	// (POST /workspaces/{id}/catalog-access)
	GrantCatalogAccess(ctx context.Context, request GrantCatalogAccessRequestObject) (GrantCatalogAccessResponseObject, error)
	// Revoke a catalog grant — same rule as granting
	// (DELETE /workspaces/{id}/catalog-access/{catalog_id})
	RevokeCatalogAccess(ctx context.Context, request RevokeCatalogAccessRequestObject) (RevokeCatalogAccessResponseObject, error)
	// What revoking this catalog grant would affect — owner or admin
	// (GET /workspaces/{id}/catalog-access/{catalog_id}/impact)
	GetCatalogAccessImpact(ctx context.Context, request GetCatalogAccessImpactRequestObject) (GetCatalogAccessImpactResponseObject, error)
	// Search saved queries, metrics and folders in the visible spaces
	// (GET /workspaces/{id}/content/search)
	SearchContent(ctx context.Context, request SearchContentRequestObject) (SearchContentResponseObject, error)
	// Workspace execution history, newest first
	// (GET /workspaces/{id}/executions)
	ListExecutions(ctx context.Context, request ListExecutionsRequestObject) (ListExecutionsResponseObject, error)
	// Submit a query on a target
	// (POST /workspaces/{id}/executions)
	RunQuery(ctx context.Context, request RunQueryRequestObject) (RunQueryResponseObject, error)
	// Execution status and metadata
	// (GET /workspaces/{id}/executions/{execution_id})
	GetExecution(ctx context.Context, request GetExecutionRequestObject) (GetExecutionResponseObject, error)
	// Cancel an ongoing execution
	// (POST /workspaces/{id}/executions/{execution_id}/cancel)
	CancelExecution(ctx context.Context, request CancelExecutionRequestObject) (CancelExecutionResponseObject, error)
	// Per-statement rows, bytes and duration, with the engine profile
	// (GET /workspaces/{id}/executions/{execution_id}/details)
	GetExecutionDetails(ctx context.Context, request GetExecutionDetailsRequestObject) (GetExecutionDetailsResponseObject, error)
	// Execution results as Arrow IPC stream
	// (GET /workspaces/{id}/executions/{execution_id}/results)
	GetResults(ctx context.Context, request GetResultsRequestObject) (GetResultsResponseObject, error)
	// List individual statements in a multi-statement execution
	// (GET /workspaces/{id}/executions/{execution_id}/statements)
	ListStatements(ctx context.Context, request ListStatementsRequestObject) (ListStatementsResponseObject, error)
	// Single-statement result as Arrow IPC stream or an export
	// (GET /workspaces/{id}/executions/{execution_id}/statements/{position}/results)
	GetStatementResults(ctx context.Context, request GetStatementResultsRequestObject) (GetStatementResultsResponseObject, error)
	// List folders of the spaces the caller can see
	// (GET /workspaces/{id}/folders)
	ListFolders(ctx context.Context, request ListFoldersRequestObject) (ListFoldersResponseObject, error)
	// Create a folder in a space the caller may edit
	// (POST /workspaces/{id}/folders)
	CreateFolder(ctx context.Context, request CreateFolderRequestObject) (CreateFolderResponseObject, error)
	// Remove a folder and its contents
	// (DELETE /workspaces/{id}/folders/{folder_id})
	DeleteFolder(ctx context.Context, request DeleteFolderRequestObject) (DeleteFolderResponseObject, error)
	// Rename a folder or move it (and its subtree) within or across spaces
	// (PATCH /workspaces/{id}/folders/{folder_id})
	UpdateFolder(ctx context.Context, request UpdateFolderRequestObject) (UpdateFolderResponseObject, error)
	// What a workspace delete would remove — owner or admin
	// (GET /workspaces/{id}/impact)
	GetWorkspaceImpact(ctx context.Context, request GetWorkspaceImpactRequestObject) (GetWorkspaceImpactResponseObject, error)
	// What depends on what: the lineage graph around one node (B4)
	// (GET /workspaces/{id}/lineage)
	ListLineage(ctx context.Context, request ListLineageRequestObject) (ListLineageResponseObject, error)
	// List the workspace's members and their roles (#653)
	// (GET /workspaces/{id}/members)
	ListWorkspaceMembers(ctx context.Context, request ListWorkspaceMembersRequestObject) (ListWorkspaceMembersResponseObject, error)
	// Share a personal workspace with a user, or set a team member's role, by e-mail — workspace admin only
	// (POST /workspaces/{id}/members)
	AddWorkspaceMember(ctx context.Context, request AddWorkspaceMemberRequestObject) (AddWorkspaceMemberResponseObject, error)
	// Stop sharing a personal workspace with a user, or reset a team member to their default role — workspace admin only
	// (DELETE /workspaces/{id}/members/{user_id})
	RemoveWorkspaceMember(ctx context.Context, request RemoveWorkspaceMemberRequestObject) (RemoveWorkspaceMemberResponseObject, error)
	// Set a member's role, or share a personal workspace with a user — workspace admin only
	// (PUT /workspaces/{id}/members/{user_id})
	SetWorkspaceMember(ctx context.Context, request SetWorkspaceMemberRequestObject) (SetWorkspaceMemberResponseObject, error)
	// Catalogs the workspace may browse, with freshness and bindings — workspace members
	// (GET /workspaces/{id}/metadata/catalogs)
	ListMetadataCatalogs(ctx context.Context, request ListMetadataCatalogsRequestObject) (ListMetadataCatalogsResponseObject, error)
	// Child namespaces of a namespace (none given: the top level)
	// (GET /workspaces/{id}/metadata/catalogs/{catalog_id}/namespaces)
	ListMetadataNamespaces(ctx context.Context, request ListMetadataNamespacesRequestObject) (ListMetadataNamespacesResponseObject, error)
	// Tables of a namespace, by name, one page at a time
	// (GET /workspaces/{id}/metadata/catalogs/{catalog_id}/tables)
	ListMetadataTables(ctx context.Context, request ListMetadataTablesRequestObject) (ListMetadataTablesResponseObject, error)
	// The connected engine's function catalog (autocomplete)
	// (GET /workspaces/{id}/metadata/functions)
	ListMetadataFunctions(ctx context.Context, request ListMetadataFunctionsRequestObject) (ListMetadataFunctionsResponseObject, error)
	// Join conditions used between two tables, best first (editor autocomplete)
	// (GET /workspaces/{id}/metadata/join-suggestions)
	ListJoinSuggestions(ctx context.Context, request ListJoinSuggestionsRequestObject) (ListJoinSuggestionsResponseObject, error)
	// Tables the workspace read most in the last 30 days (B7)
	// (GET /workspaces/{id}/metadata/popular-tables)
	ListPopularTables(ctx context.Context, request ListPopularTablesRequestObject) (ListPopularTablesResponseObject, error)
	// Tables and columns whose names match, best first (autocomplete and search)
	// (GET /workspaces/{id}/metadata/search)
	SearchMetadata(ctx context.Context, request SearchMetadataRequestObject) (SearchMetadataResponseObject, error)
	// A table with its columns, typed and named for one of its catalog's bindings
	// (GET /workspaces/{id}/metadata/tables/{table_id})
	GetMetadataTable(ctx context.Context, request GetMetadataTableRequestObject) (GetMetadataTableResponseObject, error)
	// Users and teams a non-admin manager may add to a space
	// (GET /workspaces/{id}/principals)
	ListWorkspacePrincipals(ctx context.Context, request ListWorkspacePrincipalsRequestObject) (ListWorkspacePrincipalsResponseObject, error)
	// List saved queries of the spaces the caller can see
	// (GET /workspaces/{id}/queries)
	ListSavedQueries(ctx context.Context, request ListSavedQueriesRequestObject) (ListSavedQueriesResponseObject, error)
	// Save a query in a space the caller may edit
	// (POST /workspaces/{id}/queries)
	CreateSavedQuery(ctx context.Context, request CreateSavedQueryRequestObject) (CreateSavedQueryResponseObject, error)
	// Remove a saved query
	// (DELETE /workspaces/{id}/queries/{query_id})
	DeleteSavedQuery(ctx context.Context, request DeleteSavedQueryRequestObject) (DeleteSavedQueryResponseObject, error)
	// Return a saved query
	// (GET /workspaces/{id}/queries/{query_id})
	GetSavedQuery(ctx context.Context, request GetSavedQueryRequestObject) (GetSavedQueryResponseObject, error)
	// Update a saved query
	// (PATCH /workspaces/{id}/queries/{query_id})
	UpdateSavedQuery(ctx context.Context, request UpdateSavedQueryRequestObject) (UpdateSavedQueryResponseObject, error)
	// Version history of a saved query — viewer
	// (GET /workspaces/{id}/queries/{query_id}/versions)
	ListSavedQueryVersions(ctx context.Context, request ListSavedQueryVersionsRequestObject) (ListSavedQueryVersionsResponseObject, error)
	// One saved-query version with its snapshot — viewer
	// (GET /workspaces/{id}/queries/{query_id}/versions/{version})
	GetSavedQueryVersion(ctx context.Context, request GetSavedQueryVersionRequestObject) (GetSavedQueryVersionResponseObject, error)
	// Restore a saved query to a version — editor
	// (POST /workspaces/{id}/queries/{query_id}/versions/{version}/restore)
	RestoreSavedQueryVersion(ctx context.Context, request RestoreSavedQueryVersionRequestObject) (RestoreSavedQueryVersionResponseObject, error)
	// Discoverable catalogs a workspace admin may request
	// (GET /workspaces/{id}/requestable-catalogs)
	ListRequestableCatalogs(ctx context.Context, request ListRequestableCatalogsRequestObject) (ListRequestableCatalogsResponseObject, error)
	// List workspace Retrievers
	// (GET /workspaces/{id}/retrievers)
	ListRetrievers(ctx context.Context, request ListRetrieversRequestObject) (ListRetrieversResponseObject, error)
	// Create a Retriever in the workspace
	// (POST /workspaces/{id}/retrievers)
	CreateRetriever(ctx context.Context, request CreateRetrieverRequestObject) (CreateRetrieverResponseObject, error)
	// Bindings this workspace may write to (Iceberg, active, on a federated engine)
	// (GET /workspaces/{id}/retrievers/destinations)
	ListRetrieverDestinations(ctx context.Context, request ListRetrieverDestinationsRequestObject) (ListRetrieverDestinationsResponseObject, error)
	// Explain the definition on the destination engine in a read-only session
	// (POST /workspaces/{id}/retrievers/validate)
	ValidateRetriever(ctx context.Context, request ValidateRetrieverRequestObject) (ValidateRetrieverResponseObject, error)
	// Remove a Retriever
	// (DELETE /workspaces/{id}/retrievers/{retriever_id})
	DeleteRetriever(ctx context.Context, request DeleteRetrieverRequestObject) (DeleteRetrieverResponseObject, error)
	// Retriever details
	// (GET /workspaces/{id}/retrievers/{retriever_id})
	GetRetriever(ctx context.Context, request GetRetrieverRequestObject) (GetRetrieverResponseObject, error)
	// Update a Retriever
	// (PATCH /workspaces/{id}/retrievers/{retriever_id})
	UpdateRetriever(ctx context.Context, request UpdateRetrieverRequestObject) (UpdateRetrieverResponseObject, error)
	// Retriever refresh history
	// (GET /workspaces/{id}/retrievers/{retriever_id}/history)
	GetRetrieverHistory(ctx context.Context, request GetRetrieverHistoryRequestObject) (GetRetrieverHistoryResponseObject, error)
	// Trigger manual Retriever refresh
	// (POST /workspaces/{id}/retrievers/{retriever_id}/refresh)
	TriggerRetrieverRefresh(ctx context.Context, request TriggerRetrieverRefreshRequestObject) (TriggerRetrieverRefreshResponseObject, error)
	// One relevance-ranked search over tables, columns, docs, saved queries, metrics, models and folders
	// (GET /workspaces/{id}/search)
	SearchWorkspace(ctx context.Context, request SearchWorkspaceRequestObject) (SearchWorkspaceResponseObject, error)
	// The workspace's search synonyms
	// (GET /workspaces/{id}/search/glossary)
	ListSearchGlossary(ctx context.Context, request ListSearchGlossaryRequestObject) (ListSearchGlossaryResponseObject, error)
	// Add a set of synonyms
	// (POST /workspaces/{id}/search/glossary)
	CreateSearchGlossaryEntry(ctx context.Context, request CreateSearchGlossaryEntryRequestObject) (CreateSearchGlossaryEntryResponseObject, error)
	// Visible model and metric matches for glossary terms
	// (GET /workspaces/{id}/search/glossary/insights)
	SearchGlossaryInsights(ctx context.Context, request SearchGlossaryInsightsRequestObject) (SearchGlossaryInsightsResponseObject, error)
	// Remove a set of synonyms
	// (DELETE /workspaces/{id}/search/glossary/{entry_id})
	DeleteSearchGlossaryEntry(ctx context.Context, request DeleteSearchGlossaryEntryRequestObject) (DeleteSearchGlossaryEntryResponseObject, error)
	// Delete a doc — workspace editors and admins (#653)
	// (DELETE /workspaces/{id}/semantic/docs)
	DeleteSemanticDoc(ctx context.Context, request DeleteSemanticDocRequestObject) (DeleteSemanticDocResponseObject, error)
	// Docs of one table or one column — workspace members
	// (GET /workspaces/{id}/semantic/docs)
	ListSemanticDocs(ctx context.Context, request ListSemanticDocsRequestObject) (ListSemanticDocsResponseObject, error)
	// Create or replace a doc — workspace editors and admins (#653)
	// (PUT /workspaces/{id}/semantic/docs)
	UpsertSemanticDoc(ctx context.Context, request UpsertSemanticDocRequestObject) (UpsertSemanticDocResponseObject, error)
	// Search docs by text and tag — workspace members
	// (GET /workspaces/{id}/semantic/docs/search)
	SearchSemanticDocs(ctx context.Context, request SearchSemanticDocsRequestObject) (SearchSemanticDocsResponseObject, error)
	// Compile an explore query to SQL — space viewer
	// (POST /workspaces/{id}/semantic/explore/compile)
	CompileExploreQuery(ctx context.Context, request CompileExploreQueryRequestObject) (CompileExploreQueryResponseObject, error)
	// Metrics of the workspace — workspace members
	// (GET /workspaces/{id}/semantic/metrics)
	ListSemanticMetrics(ctx context.Context, request ListSemanticMetricsRequestObject) (ListSemanticMetricsResponseObject, error)
	// Create and validate a metric — space editor
	// (POST /workspaces/{id}/semantic/metrics)
	CreateSemanticMetric(ctx context.Context, request CreateSemanticMetricRequestObject) (CreateSemanticMetricResponseObject, error)
	// Render a metric definition to SQL — no engine call
	// (POST /workspaces/{id}/semantic/metrics/render)
	RenderSemanticMetric(ctx context.Context, request RenderSemanticMetricRequestObject) (RenderSemanticMetricResponseObject, error)
	// Probe a metric definition against its engine — caller identity, read-only
	// (POST /workspaces/{id}/semantic/metrics/validate)
	ValidateSemanticMetricDefinition(ctx context.Context, request ValidateSemanticMetricDefinitionRequestObject) (ValidateSemanticMetricDefinitionResponseObject, error)
	// Delete a metric — space editor
	// (DELETE /workspaces/{id}/semantic/metrics/{metric_id})
	DeleteSemanticMetric(ctx context.Context, request DeleteSemanticMetricRequestObject) (DeleteSemanticMetricResponseObject, error)
	// Return a metric — space viewer
	// (GET /workspaces/{id}/semantic/metrics/{metric_id})
	GetSemanticMetric(ctx context.Context, request GetSemanticMetricRequestObject) (GetSemanticMetricResponseObject, error)
	// Update and revalidate a metric — space editor
	// (PATCH /workspaces/{id}/semantic/metrics/{metric_id})
	UpdateSemanticMetric(ctx context.Context, request UpdateSemanticMetricRequestObject) (UpdateSemanticMetricResponseObject, error)
	// Render a metric to SQL for one binding — space viewer
	// (GET /workspaces/{id}/semantic/metrics/{metric_id}/sql)
	GetSemanticMetricSql(ctx context.Context, request GetSemanticMetricSqlRequestObject) (GetSemanticMetricSqlResponseObject, error)
	// Version history of a metric — viewer
	// (GET /workspaces/{id}/semantic/metrics/{metric_id}/versions)
	ListSemanticMetricVersions(ctx context.Context, request ListSemanticMetricVersionsRequestObject) (ListSemanticMetricVersionsResponseObject, error)
	// One metric version with its snapshot — viewer
	// (GET /workspaces/{id}/semantic/metrics/{metric_id}/versions/{version})
	GetSemanticMetricVersion(ctx context.Context, request GetSemanticMetricVersionRequestObject) (GetSemanticMetricVersionResponseObject, error)
	// Restore a metric to a version — editor
	// (POST /workspaces/{id}/semantic/metrics/{metric_id}/versions/{version}/restore)
	RestoreSemanticMetricVersion(ctx context.Context, request RestoreSemanticMetricVersionRequestObject) (RestoreSemanticMetricVersionResponseObject, error)
	// Models of the workspace — workspace members
	// (GET /workspaces/{id}/semantic/models)
	ListSemanticModels(ctx context.Context, request ListSemanticModelsRequestObject) (ListSemanticModelsResponseObject, error)
	// Create and validate a model — space editor
	// (POST /workspaces/{id}/semantic/models)
	CreateSemanticModel(ctx context.Context, request CreateSemanticModelRequestObject) (CreateSemanticModelResponseObject, error)
	// Migrate v1 metrics into v2 models — space editor (#91, #121)
	// (POST /workspaces/{id}/semantic/models/migrate-v1)
	MigrateSemanticMetricsV1(ctx context.Context, request MigrateSemanticMetricsV1RequestObject) (MigrateSemanticMetricsV1ResponseObject, error)
	// Delete a model — space editor
	// (DELETE /workspaces/{id}/semantic/models/{model_id})
	DeleteSemanticModel(ctx context.Context, request DeleteSemanticModelRequestObject) (DeleteSemanticModelResponseObject, error)
	// Return a model — space viewer
	// (GET /workspaces/{id}/semantic/models/{model_id})
	GetSemanticModel(ctx context.Context, request GetSemanticModelRequestObject) (GetSemanticModelResponseObject, error)
	// Update and revalidate a model — space editor
	// (PATCH /workspaces/{id}/semantic/models/{model_id})
	UpdateSemanticModel(ctx context.Context, request UpdateSemanticModelRequestObject) (UpdateSemanticModelResponseObject, error)
	// Version history of a model — viewer
	// (GET /workspaces/{id}/semantic/models/{model_id}/versions)
	ListSemanticModelVersions(ctx context.Context, request ListSemanticModelVersionsRequestObject) (ListSemanticModelVersionsResponseObject, error)
	// One model version with its snapshot — viewer
	// (GET /workspaces/{id}/semantic/models/{model_id}/versions/{version})
	GetSemanticModelVersion(ctx context.Context, request GetSemanticModelVersionRequestObject) (GetSemanticModelVersionResponseObject, error)
	// Restore a model to a version — editor
	// (POST /workspaces/{id}/semantic/models/{model_id}/versions/{version}/restore)
	RestoreSemanticModelVersion(ctx context.Context, request RestoreSemanticModelVersionRequestObject) (RestoreSemanticModelVersionResponseObject, error)
	// Tags used by docs on catalogs the workspace may use
	// (GET /workspaces/{id}/semantic/tags)
	ListSemanticTags(ctx context.Context, request ListSemanticTagsRequestObject) (ListSemanticTagsResponseObject, error)
	// Spaces the caller can see, with their role — workspace members
	// (GET /workspaces/{id}/spaces)
	ListSpaces(ctx context.Context, request ListSpacesRequestObject) (ListSpacesResponseObject, error)
	// Create a space; the creator becomes its manager — workspace admins
	// (POST /workspaces/{id}/spaces)
	CreateSpace(ctx context.Context, request CreateSpaceRequestObject) (CreateSpaceResponseObject, error)
	// Delete a space, its content, and its access list — manager
	// (DELETE /workspaces/{id}/spaces/{space_id})
	DeleteSpace(ctx context.Context, request DeleteSpaceRequestObject) (DeleteSpaceResponseObject, error)
	// One space the caller can see
	// (GET /workspaces/{id}/spaces/{space_id})
	GetSpace(ctx context.Context, request GetSpaceRequestObject) (GetSpaceResponseObject, error)
	// Rename or re-scope a space — manager
	// (PATCH /workspaces/{id}/spaces/{space_id})
	UpdateSpace(ctx context.Context, request UpdateSpaceRequestObject) (UpdateSpaceResponseObject, error)
	// Export a space as a deterministic bundle — viewer
	// (GET /workspaces/{id}/spaces/{space_id}/export)
	ExportSpaceBundle(ctx context.Context, request ExportSpaceBundleRequestObject) (ExportSpaceBundleResponseObject, error)
	// Import a bundle, dry-run or apply — editor
	// (POST /workspaces/{id}/spaces/{space_id}/import)
	ImportSpaceBundle(ctx context.Context, request ImportSpaceBundleRequestObject) (ImportSpaceBundleResponseObject, error)
	// The space's access list — viewer
	// (GET /workspaces/{id}/spaces/{space_id}/members)
	ListSpaceMembers(ctx context.Context, request ListSpaceMembersRequestObject) (ListSpaceMembersResponseObject, error)
	// Remove a user/team entry — manager
	// (DELETE /workspaces/{id}/spaces/{space_id}/members/{principal_type}/{principal_id})
	DeleteSpaceMember(ctx context.Context, request DeleteSpaceMemberRequestObject) (DeleteSpaceMemberResponseObject, error)
	// Grant or raise a user/team role — manager
	// (PUT /workspaces/{id}/spaces/{space_id}/members/{principal_type}/{principal_id})
	SetSpaceMember(ctx context.Context, request SetSpaceMemberRequestObject) (SetSpaceMemberResponseObject, error)
	// Where the workspace can run queries — workspace members
	// (GET /workspaces/{id}/targets)
	ListWorkspaceTargets(ctx context.Context, request ListWorkspaceTargetsRequestObject) (ListWorkspaceTargetsResponseObject, error)
	// Deleted content that has not been restored — workspace members
	// (GET /workspaces/{id}/trash)
	ListTrash(ctx context.Context, request ListTrashRequestObject) (ListTrashResponseObject, error)
	// List a workspace's webhooks
	// (GET /workspaces/{id}/webhooks)
	ListWebhooks(ctx context.Context, request ListWebhooksRequestObject) (ListWebhooksResponseObject, error)
	// Register a webhook; the HMAC secret is returned once
	// (POST /workspaces/{id}/webhooks)
	CreateWebhook(ctx context.Context, request CreateWebhookRequestObject) (CreateWebhookResponseObject, error)
	// Delete a webhook
	// (DELETE /workspaces/{id}/webhooks/{webhook_id})
	DeleteWebhook(ctx context.Context, request DeleteWebhookRequestObject) (DeleteWebhookResponseObject, error)
	// Issue a single-use WebSocket ticket (30 seconds)
	// (POST /ws-tickets)
	IssueWsTicket(ctx context.Context, request IssueWsTicketRequestObject) (IssueWsTicketResponseObject, error)
	// WebSocket for real-time execution progress
	// (GET /ws/workspaces/{id}/executions/{execution_id})
	StreamExecution(ctx context.Context, request StreamExecutionRequestObject) (StreamExecutionResponseObject, error)
}

StrictServerInterface represents all server handlers.

type SuspendUser200JSONResponse

type SuspendUser200JSONResponse UserPublic

func (SuspendUser200JSONResponse) VisitSuspendUserResponse

func (response SuspendUser200JSONResponse) VisitSuspendUserResponse(w http.ResponseWriter) error

type SuspendUser401JSONResponse

type SuspendUser401JSONResponse struct{ UnauthorizedJSONResponse }

func (SuspendUser401JSONResponse) VisitSuspendUserResponse

func (response SuspendUser401JSONResponse) VisitSuspendUserResponse(w http.ResponseWriter) error

type SuspendUser403JSONResponse

type SuspendUser403JSONResponse struct{ ForbiddenJSONResponse }

func (SuspendUser403JSONResponse) VisitSuspendUserResponse

func (response SuspendUser403JSONResponse) VisitSuspendUserResponse(w http.ResponseWriter) error

type SuspendUser404JSONResponse

type SuspendUser404JSONResponse struct{ NotFoundJSONResponse }

func (SuspendUser404JSONResponse) VisitSuspendUserResponse

func (response SuspendUser404JSONResponse) VisitSuspendUserResponse(w http.ResponseWriter) error

type SuspendUserJSONRequestBody

type SuspendUserJSONRequestBody = SuspendUserRequest

SuspendUserJSONRequestBody defines body for SuspendUser for application/json ContentType.

type SuspendUserRequest

type SuspendUserRequest struct {
	Reason *SuspendUserRequestReason `json:"reason,omitempty"`
}

SuspendUserRequest defines model for SuspendUserRequest.

type SuspendUserRequestObject

type SuspendUserRequestObject struct {
	Id   PathId `json:"id"`
	Body *SuspendUserJSONRequestBody
}

type SuspendUserRequestReason

type SuspendUserRequestReason string

SuspendUserRequestReason defines model for SuspendUserRequest.Reason.

const (
	SuspendUserRequestReasonAdmin  SuspendUserRequestReason = "admin"
	SuspendUserRequestReasonPolicy SuspendUserRequestReason = "policy"
)

Defines values for SuspendUserRequestReason.

type SuspendUserResponseObject

type SuspendUserResponseObject interface {
	VisitSuspendUserResponse(w http.ResponseWriter) error
}

type SyncCatalog200JSONResponse

type SyncCatalog200JSONResponse Catalog

func (SyncCatalog200JSONResponse) VisitSyncCatalogResponse

func (response SyncCatalog200JSONResponse) VisitSyncCatalogResponse(w http.ResponseWriter) error

type SyncCatalog401JSONResponse

type SyncCatalog401JSONResponse struct{ UnauthorizedJSONResponse }

func (SyncCatalog401JSONResponse) VisitSyncCatalogResponse

func (response SyncCatalog401JSONResponse) VisitSyncCatalogResponse(w http.ResponseWriter) error

type SyncCatalog403JSONResponse

type SyncCatalog403JSONResponse struct{ ForbiddenJSONResponse }

func (SyncCatalog403JSONResponse) VisitSyncCatalogResponse

func (response SyncCatalog403JSONResponse) VisitSyncCatalogResponse(w http.ResponseWriter) error

type SyncCatalog404JSONResponse

type SyncCatalog404JSONResponse struct{ NotFoundJSONResponse }

func (SyncCatalog404JSONResponse) VisitSyncCatalogResponse

func (response SyncCatalog404JSONResponse) VisitSyncCatalogResponse(w http.ResponseWriter) error

type SyncCatalog409JSONResponse

type SyncCatalog409JSONResponse Catalog

func (SyncCatalog409JSONResponse) VisitSyncCatalogResponse

func (response SyncCatalog409JSONResponse) VisitSyncCatalogResponse(w http.ResponseWriter) error

type SyncCatalog422JSONResponse

type SyncCatalog422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (SyncCatalog422JSONResponse) VisitSyncCatalogResponse

func (response SyncCatalog422JSONResponse) VisitSyncCatalogResponse(w http.ResponseWriter) error

type SyncCatalogBinding200JSONResponse

type SyncCatalogBinding200JSONResponse CatalogBinding

func (SyncCatalogBinding200JSONResponse) VisitSyncCatalogBindingResponse

func (response SyncCatalogBinding200JSONResponse) VisitSyncCatalogBindingResponse(w http.ResponseWriter) error

type SyncCatalogBinding401JSONResponse

type SyncCatalogBinding401JSONResponse struct{ UnauthorizedJSONResponse }

func (SyncCatalogBinding401JSONResponse) VisitSyncCatalogBindingResponse

func (response SyncCatalogBinding401JSONResponse) VisitSyncCatalogBindingResponse(w http.ResponseWriter) error

type SyncCatalogBinding403JSONResponse

type SyncCatalogBinding403JSONResponse struct{ ForbiddenJSONResponse }

func (SyncCatalogBinding403JSONResponse) VisitSyncCatalogBindingResponse

func (response SyncCatalogBinding403JSONResponse) VisitSyncCatalogBindingResponse(w http.ResponseWriter) error

type SyncCatalogBinding404JSONResponse

type SyncCatalogBinding404JSONResponse struct{ NotFoundJSONResponse }

func (SyncCatalogBinding404JSONResponse) VisitSyncCatalogBindingResponse

func (response SyncCatalogBinding404JSONResponse) VisitSyncCatalogBindingResponse(w http.ResponseWriter) error

type SyncCatalogBinding409JSONResponse

type SyncCatalogBinding409JSONResponse CatalogBinding

func (SyncCatalogBinding409JSONResponse) VisitSyncCatalogBindingResponse

func (response SyncCatalogBinding409JSONResponse) VisitSyncCatalogBindingResponse(w http.ResponseWriter) error

type SyncCatalogBinding422JSONResponse

type SyncCatalogBinding422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (SyncCatalogBinding422JSONResponse) VisitSyncCatalogBindingResponse

func (response SyncCatalogBinding422JSONResponse) VisitSyncCatalogBindingResponse(w http.ResponseWriter) error

type SyncCatalogBindingRequestObject

type SyncCatalogBindingRequestObject struct {
	Id PathId `json:"id"`
}

type SyncCatalogBindingResponseObject

type SyncCatalogBindingResponseObject interface {
	VisitSyncCatalogBindingResponse(w http.ResponseWriter) error
}

type SyncCatalogMetadata202JSONResponse

type SyncCatalogMetadata202JSONResponse MetadataSyncStarted

func (SyncCatalogMetadata202JSONResponse) VisitSyncCatalogMetadataResponse

func (response SyncCatalogMetadata202JSONResponse) VisitSyncCatalogMetadataResponse(w http.ResponseWriter) error

type SyncCatalogMetadata401JSONResponse

type SyncCatalogMetadata401JSONResponse struct{ UnauthorizedJSONResponse }

func (SyncCatalogMetadata401JSONResponse) VisitSyncCatalogMetadataResponse

func (response SyncCatalogMetadata401JSONResponse) VisitSyncCatalogMetadataResponse(w http.ResponseWriter) error

type SyncCatalogMetadata403JSONResponse

type SyncCatalogMetadata403JSONResponse struct{ ForbiddenJSONResponse }

func (SyncCatalogMetadata403JSONResponse) VisitSyncCatalogMetadataResponse

func (response SyncCatalogMetadata403JSONResponse) VisitSyncCatalogMetadataResponse(w http.ResponseWriter) error

type SyncCatalogMetadata404JSONResponse

type SyncCatalogMetadata404JSONResponse struct{ NotFoundJSONResponse }

func (SyncCatalogMetadata404JSONResponse) VisitSyncCatalogMetadataResponse

func (response SyncCatalogMetadata404JSONResponse) VisitSyncCatalogMetadataResponse(w http.ResponseWriter) error

type SyncCatalogMetadata409JSONResponse

type SyncCatalogMetadata409JSONResponse Error

func (SyncCatalogMetadata409JSONResponse) VisitSyncCatalogMetadataResponse

func (response SyncCatalogMetadata409JSONResponse) VisitSyncCatalogMetadataResponse(w http.ResponseWriter) error

type SyncCatalogMetadataRequestObject

type SyncCatalogMetadataRequestObject struct {
	CatalogId openapi_types.UUID `json:"catalog_id"`
}

type SyncCatalogMetadataResponseObject

type SyncCatalogMetadataResponseObject interface {
	VisitSyncCatalogMetadataResponse(w http.ResponseWriter) error
}

type SyncCatalogRequestObject

type SyncCatalogRequestObject struct {
	CatalogId openapi_types.UUID `json:"catalog_id"`
}

type SyncCatalogResponseObject

type SyncCatalogResponseObject interface {
	VisitSyncCatalogResponse(w http.ResponseWriter) error
}

type SystemStatus

type SystemStatus struct {
	// AuditExport A platform section. A slow or broken probe is `unknown` with a stable `error_code`.
	AuditExport SystemStatusResource `json:"audit_export"`
	Baleia      SystemStatusSection  `json:"baleia"`

	// Bindings A platform section. A slow or broken probe is `unknown` with a stable `error_code`.
	Bindings SystemStatusResource `json:"bindings"`
	Database SystemStatusSection  `json:"database"`

	// Engines A platform section. A slow or broken probe is `unknown` with a stable `error_code`.
	Engines SystemStatusResource `json:"engines"`

	// Metadata A platform section. A slow or broken probe is `unknown` with a stable `error_code`.
	Metadata      SystemStatusResource `json:"metadata"`
	ObjectStorage SystemStatusSection  `json:"object_storage"`

	// Plugin A platform section. A slow or broken probe is `unknown` with a stable `error_code`.
	Plugin SystemStatusResource `json:"plugin"`

	// Reconcile A platform section. A slow or broken probe is `unknown` with a stable `error_code`.
	Reconcile SystemStatusResource `json:"reconcile"`

	// Schedules A platform section. A slow or broken probe is `unknown` with a stable `error_code`.
	Schedules SystemStatusResource `json:"schedules"`
	Smtp      SystemStatusSection  `json:"smtp"`
	Temporal  SystemStatusSection  `json:"temporal"`
}

SystemStatus defines model for SystemStatus.

type SystemStatusItem

type SystemStatusItem struct {
	// Detail Short bounded detail; never a host, credential or raw error.
	Detail *string                `json:"detail,omitempty"`
	Name   string                 `json:"name"`
	Status SystemStatusItemStatus `json:"status"`
	Value  *int64                 `json:"value,omitempty"`
}

SystemStatusItem One platform component inside a status section.

type SystemStatusItemStatus

type SystemStatusItemStatus string

SystemStatusItemStatus defines model for SystemStatusItem.Status.

const (
	SystemStatusItemStatusDegraded    SystemStatusItemStatus = "degraded"
	SystemStatusItemStatusMissing     SystemStatusItemStatus = "missing"
	SystemStatusItemStatusOk          SystemStatusItemStatus = "ok"
	SystemStatusItemStatusUnknown     SystemStatusItemStatus = "unknown"
	SystemStatusItemStatusUnreachable SystemStatusItemStatus = "unreachable"
)

Defines values for SystemStatusItemStatus.

type SystemStatusResource

type SystemStatusResource struct {
	// ErrorCode Stable code; never a raw error.
	ErrorCode *string                    `json:"error_code,omitempty"`
	Items     *[]SystemStatusItem        `json:"items,omitempty"`
	Status    SystemStatusResourceStatus `json:"status"`
}

SystemStatusResource A platform section. A slow or broken probe is `unknown` with a stable `error_code`.

type SystemStatusResourceStatus

type SystemStatusResourceStatus string

SystemStatusResourceStatus defines model for SystemStatusResource.Status.

const (
	SystemStatusResourceStatusDegraded SystemStatusResourceStatus = "degraded"
	SystemStatusResourceStatusMissing  SystemStatusResourceStatus = "missing"
	SystemStatusResourceStatusOk       SystemStatusResourceStatus = "ok"
	SystemStatusResourceStatusUnknown  SystemStatusResourceStatus = "unknown"
)

Defines values for SystemStatusResourceStatus.

type SystemStatusSection

type SystemStatusSection struct {
	Commit     *string `json:"commit,omitempty"`
	Configured *bool   `json:"configured,omitempty"`

	// ErrorCode Stable code for an unknown section; never a raw error, host or credential.
	ErrorCode        *string                   `json:"error_code,omitempty"`
	LatencyMs        *int                      `json:"latency_ms,omitempty"`
	MigrationVersion *int64                    `json:"migration_version,omitempty"`
	StartedAt        *time.Time                `json:"started_at,omitempty"`
	Status           SystemStatusSectionStatus `json:"status"`
	Version          *string                   `json:"version,omitempty"`
}

SystemStatusSection defines model for SystemStatusSection.

type SystemStatusSectionStatus

type SystemStatusSectionStatus string

SystemStatusSectionStatus defines model for SystemStatusSection.Status.

const (
	Ok      SystemStatusSectionStatus = "ok"
	Unknown SystemStatusSectionStatus = "unknown"
)

Defines values for SystemStatusSectionStatus.

type TTLStore

type TTLStore[T any] struct {
	// contains filtered or unexported fields
}

TTLStore is the in-process cache. It is the fallback when the shared Redis layer is disabled (ADR 0022).

func NewTTLStore

func NewTTLStore[T any](ttl time.Duration) *TTLStore[T]

func (*TTLStore[T]) Clear

func (s *TTLStore[T]) Clear()

func (*TTLStore[T]) Get

func (s *TTLStore[T]) Get(key string) (T, bool)

func (*TTLStore[T]) Invalidate

func (s *TTLStore[T]) Invalidate(key string)

func (*TTLStore[T]) Set

func (s *TTLStore[T]) Set(key string, value T)

type TableHealth

type TableHealth struct {
	AvgFileSizeBytes *int               `json:"avg_file_size_bytes"`
	CapturedAt       *time.Time         `json:"captured_at,omitempty"`
	CatalogId        openapi_types.UUID `json:"catalog_id"`
	CatalogName      string             `json:"catalog_name"`
	CommitsLastDay   *int               `json:"commits_last_day"`
	CommitsLastHour  *int               `json:"commits_last_hour"`
	DeleteFileCount  *int               `json:"delete_file_count"`

	// DueOperations Operations the table's maintenance parameters find due at the last health pass.
	DueOperations       []MaintenanceOperation `json:"due_operations"`
	EqualityDeleteCount *int                   `json:"equality_delete_count"`
	FileCount           *int                   `json:"file_count"`
	FormatVersion       *int                   `json:"format_version"`
	HealthScore         int                    `json:"health_score"`

	// LastExpireSnapshotsAt Last successful expire_snapshots run on this table
	LastExpireSnapshotsAt *time.Time `json:"last_expire_snapshots_at"`
	LastMaintenanceAt     *time.Time `json:"last_maintenance_at"`

	// LastOptimizeAt Last successful optimize run on this table
	LastOptimizeAt *time.Time `json:"last_optimize_at"`

	// LastOptimizeManifestsAt Last successful optimize_manifests run on this table
	LastOptimizeManifestsAt *time.Time `json:"last_optimize_manifests_at"`

	// LastRemoveOrphanFilesAt Last successful remove_orphan_files run on this table
	LastRemoveOrphanFilesAt *time.Time `json:"last_remove_orphan_files_at"`

	// MaintenanceMode The table's maintenance mode; null when it has no parameters.
	MaintenanceMode        *MaintenanceMode `json:"maintenance_mode"`
	ManifestCount          *int             `json:"manifest_count"`
	Namespace              string           `json:"namespace"`
	NeedsCompaction        bool             `json:"needs_compaction"`
	NeedsSnapshotExpiry    bool             `json:"needs_snapshot_expiry"`
	OldestSnapshotAgeHours *int             `json:"oldest_snapshot_age_hours"`
	PolicyRevision         *int64           `json:"policy_revision"`
	PositionDeleteCount    *int             `json:"position_delete_count"`
	SmallFileCount         *int             `json:"small_file_count"`
	SnapshotCount          *int             `json:"snapshot_count,omitempty"`
	TableName              string           `json:"table_name"`
	TotalSizeBytes         *int             `json:"total_size_bytes"`
}

TableHealth defines model for TableHealth.

type TableMaintenance

type TableMaintenance struct {
	// AllowedActions update covers saving and removing the parameters, dry runs, runs and analysis.
	AllowedActions *[]TableMaintenanceAllowedAction `json:"allowed_actions,omitempty"`
	CatalogId      openapi_types.UUID               `json:"catalog_id"`
	FormatVersion  *int                             `json:"format_version"`

	// LastRuns The latest finished run of each operation, independent of the runs page.
	LastRuns  *[]MaintenanceLastRun    `json:"last_runs,omitempty"`
	Namespace string                   `json:"namespace"`
	Plan      *MaintenancePlan         `json:"plan"`
	Policy    *StoredMaintenancePolicy `json:"policy"`

	// Properties Iceberg table properties read at the last health pass.
	Properties *map[string]string `json:"properties,omitempty"`

	// RetentionFloorSeconds Shortest retention the catalog's engine accepts for expiry and orphan cleanup.
	RetentionFloorSeconds int64            `json:"retention_floor_seconds"`
	Runs                  []MaintenanceRun `json:"runs"`
	TableName             string           `json:"table_name"`
}

TableMaintenance A table's maintenance parameters, what its catalog allows, its recent runs and its current plan.

type TableMaintenanceAllowedAction

type TableMaintenanceAllowedAction string

TableMaintenanceAllowedAction defines model for TableMaintenanceAllowedAction.

const (
	TableMaintenanceAllowedActionUpdate TableMaintenanceAllowedAction = "update"
	TableMaintenanceAllowedActionView   TableMaintenanceAllowedAction = "view"
)

Defines values for TableMaintenanceAllowedAction.

type TargetRequest

type TargetRequest struct {
	BindingId *openapi_types.UUID `json:"binding_id,omitempty"`
	CatalogId *openapi_types.UUID `json:"catalog_id,omitempty"`
	EngineId  *openapi_types.UUID `json:"engine_id,omitempty"`
	Schema    *string             `json:"schema,omitempty"`
}

TargetRequest Where to run. binding_id names a target; catalog_id picks the catalog's only enabled binding, or the one on engine_id when it has several. Omitted, the workspace default applies, else the workspace's only target; otherwise 422 target_required.

type Team

type Team struct {
	CreatedAt   time.Time          `json:"created_at"`
	Description *string            `json:"description"`
	Id          openapi_types.UUID `json:"id"`
	Name        string             `json:"name"`
}

Team defines model for Team.

type TeamMember

type TeamMember struct {
	JoinedAt time.Time      `json:"joined_at"`
	Role     TeamMemberRole `json:"role"`
	User     UserPublic     `json:"user"`
}

TeamMember defines model for TeamMember.

type TeamMemberRole

type TeamMemberRole string

TeamMemberRole defines model for TeamMember.Role.

const (
	TeamMemberRoleMember TeamMemberRole = "member"
	TeamMemberRoleOwner  TeamMemberRole = "owner"
)

Defines values for TeamMemberRole.

type TestAssistant200JSONResponse

type TestAssistant200JSONResponse AssistantTestResult

func (TestAssistant200JSONResponse) VisitTestAssistantResponse

func (response TestAssistant200JSONResponse) VisitTestAssistantResponse(w http.ResponseWriter) error

type TestAssistant401JSONResponse

type TestAssistant401JSONResponse struct{ UnauthorizedJSONResponse }

func (TestAssistant401JSONResponse) VisitTestAssistantResponse

func (response TestAssistant401JSONResponse) VisitTestAssistantResponse(w http.ResponseWriter) error

type TestAssistant403JSONResponse

type TestAssistant403JSONResponse struct{ ForbiddenJSONResponse }

func (TestAssistant403JSONResponse) VisitTestAssistantResponse

func (response TestAssistant403JSONResponse) VisitTestAssistantResponse(w http.ResponseWriter) error

type TestAssistant422JSONResponse

type TestAssistant422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (TestAssistant422JSONResponse) VisitTestAssistantResponse

func (response TestAssistant422JSONResponse) VisitTestAssistantResponse(w http.ResponseWriter) error

type TestAssistantRequestObject

type TestAssistantRequestObject struct {
}

type TestAssistantResponseObject

type TestAssistantResponseObject interface {
	VisitTestAssistantResponse(w http.ResponseWriter) error
}

type TestCatalogConnection200JSONResponse

type TestCatalogConnection200JSONResponse TestCatalogConnectionResult

func (TestCatalogConnection200JSONResponse) VisitTestCatalogConnectionResponse

func (response TestCatalogConnection200JSONResponse) VisitTestCatalogConnectionResponse(w http.ResponseWriter) error

type TestCatalogConnection401JSONResponse

type TestCatalogConnection401JSONResponse struct{ UnauthorizedJSONResponse }

func (TestCatalogConnection401JSONResponse) VisitTestCatalogConnectionResponse

func (response TestCatalogConnection401JSONResponse) VisitTestCatalogConnectionResponse(w http.ResponseWriter) error

type TestCatalogConnection404JSONResponse

type TestCatalogConnection404JSONResponse struct{ NotFoundJSONResponse }

func (TestCatalogConnection404JSONResponse) VisitTestCatalogConnectionResponse

func (response TestCatalogConnection404JSONResponse) VisitTestCatalogConnectionResponse(w http.ResponseWriter) error

type TestCatalogConnectionRequestObject

type TestCatalogConnectionRequestObject struct {
	Id PathId `json:"id"`
}

type TestCatalogConnectionResponseObject

type TestCatalogConnectionResponseObject interface {
	VisitTestCatalogConnectionResponse(w http.ResponseWriter) error
}

type TestCatalogConnectionResult

type TestCatalogConnectionResult struct {
	Checks *[]ConnectionCheck `json:"checks,omitempty"`

	// Error Deprecated: error_message
	Error *string `json:"error"`

	// ErrorCode Why the first failing check failed
	ErrorCode *TestCatalogConnectionResultErrorCode `json:"error_code"`

	// ErrorMessage A short sentence; upstream bodies are logged, not returned
	ErrorMessage *string `json:"error_message"`
	LatencyMs    int     `json:"latency_ms"`
	Success      bool    `json:"success"`
	Version      *string `json:"version"`
}

TestCatalogConnectionResult defines model for TestCatalogConnectionResult.

type TestCatalogConnectionResultErrorCode

type TestCatalogConnectionResultErrorCode string

TestCatalogConnectionResultErrorCode Why the first failing check failed

const (
	TestCatalogConnectionResultErrorCodeAuthFailed              TestCatalogConnectionResultErrorCode = "auth_failed"
	TestCatalogConnectionResultErrorCodeConnectionDeniedNetwork TestCatalogConnectionResultErrorCode = "connection_denied_network"
	TestCatalogConnectionResultErrorCodeEngineUnavailable       TestCatalogConnectionResultErrorCode = "engine_unavailable"
	TestCatalogConnectionResultErrorCodeForbidden               TestCatalogConnectionResultErrorCode = "forbidden"
	TestCatalogConnectionResultErrorCodeInternal                TestCatalogConnectionResultErrorCode = "internal"
	TestCatalogConnectionResultErrorCodeLessThannil             TestCatalogConnectionResultErrorCode = "<nil>"
	TestCatalogConnectionResultErrorCodeNotFound                TestCatalogConnectionResultErrorCode = "not_found"
	TestCatalogConnectionResultErrorCodeProviderUnsupported     TestCatalogConnectionResultErrorCode = "provider_unsupported"
	TestCatalogConnectionResultErrorCodeTimeout                 TestCatalogConnectionResultErrorCode = "timeout"
	TestCatalogConnectionResultErrorCodeTls                     TestCatalogConnectionResultErrorCode = "tls"
	TestCatalogConnectionResultErrorCodeUnreachable             TestCatalogConnectionResultErrorCode = "unreachable"
)

Defines values for TestCatalogConnectionResultErrorCode.

type TestConnectionDraft200JSONResponse

type TestConnectionDraft200JSONResponse TestCatalogConnectionResult

func (TestConnectionDraft200JSONResponse) VisitTestConnectionDraftResponse

func (response TestConnectionDraft200JSONResponse) VisitTestConnectionDraftResponse(w http.ResponseWriter) error

type TestConnectionDraft401JSONResponse

type TestConnectionDraft401JSONResponse struct{ UnauthorizedJSONResponse }

func (TestConnectionDraft401JSONResponse) VisitTestConnectionDraftResponse

func (response TestConnectionDraft401JSONResponse) VisitTestConnectionDraftResponse(w http.ResponseWriter) error

type TestConnectionDraft403JSONResponse

type TestConnectionDraft403JSONResponse struct{ ForbiddenJSONResponse }

func (TestConnectionDraft403JSONResponse) VisitTestConnectionDraftResponse

func (response TestConnectionDraft403JSONResponse) VisitTestConnectionDraftResponse(w http.ResponseWriter) error

type TestConnectionDraft404JSONResponse

type TestConnectionDraft404JSONResponse struct{ NotFoundJSONResponse }

func (TestConnectionDraft404JSONResponse) VisitTestConnectionDraftResponse

func (response TestConnectionDraft404JSONResponse) VisitTestConnectionDraftResponse(w http.ResponseWriter) error

type TestConnectionDraft422JSONResponse

type TestConnectionDraft422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (TestConnectionDraft422JSONResponse) VisitTestConnectionDraftResponse

func (response TestConnectionDraft422JSONResponse) VisitTestConnectionDraftResponse(w http.ResponseWriter) error

type TestConnectionDraft429JSONResponse

type TestConnectionDraft429JSONResponse Error

func (TestConnectionDraft429JSONResponse) VisitTestConnectionDraftResponse

func (response TestConnectionDraft429JSONResponse) VisitTestConnectionDraftResponse(w http.ResponseWriter) error

type TestConnectionDraftJSONRequestBody

type TestConnectionDraftJSONRequestBody = TestConnectionRequest

TestConnectionDraftJSONRequestBody defines body for TestConnectionDraft for application/json ContentType.

type TestConnectionDraftRequestObject

type TestConnectionDraftRequestObject struct {
	Body *TestConnectionDraftJSONRequestBody
}

type TestConnectionDraftResponseObject

type TestConnectionDraftResponseObject interface {
	VisitTestConnectionDraftResponse(w http.ResponseWriter) error
}

type TestConnectionRequest

type TestConnectionRequest struct {
	// AccessMode Data access mode (ADR 0029). `direct` runs SQL through a native query-engine adapter owned by this connection; `federated` runs it through the registered federated engines in `engine_ids`. Required when the type declares both, auto-selected when it declares one, and omitted for engine-family types. Immutable after creation.
	AccessMode *TestConnectionRequestAccessMode `json:"access_mode,omitempty"`

	// CatalogConfig The catalog configuration a bind check binds with, for types that declare a catalog_schema (the topic set of a Kafka catalog), validated like a catalog's config. Without it, their bind check is skipped.
	CatalogConfig *map[string]string `json:"catalog_config,omitempty"`

	// CatalogRegistration Registers the connection's logical catalog outputs. Each entry names one of the connection type's Trino catalog types, in the order GET /connection-providers lists them; the backend derives the connector.
	CatalogRegistration *CreateCatalogRequest `json:"catalog_registration,omitempty"`

	// Config Non-secret fields of the provider's config schema
	Config *map[string]string `json:"config,omitempty"`

	// Credentials Secret fields of the provider's config schema. Older clients also send non-secret fields here (client_id, username); they are moved to config
	Credentials *map[string]interface{} `json:"credentials,omitempty"`

	// CredentialsReadOnly The administrator asserts these credentials cannot modify data. Required for agents and semantic custom SQL on engines that cannot enforce read-only sessions (#11/#59, #651)
	CredentialsReadOnly *bool `json:"credentials_read_only,omitempty"`

	// EngineIds Federated engines that expose the connection's catalogs. Required when `access_mode` is `federated` (the first one is the catalogs' primary engine) and refused for `direct`. Each engine must be one the caller may write to and one whose binder supports the type.
	EngineIds          *[]openapi_types.UUID `json:"engine_ids,omitempty"`
	GlueCredentials    *GlueCredentials      `json:"glue_credentials,omitempty"`
	HiveCredentials    *HiveCredentials      `json:"hive_credentials,omitempty"`
	IcebergCredentials *IcebergCredentials   `json:"iceberg_credentials,omitempty"`

	// Intents Checks to run: metadata, direct_engine, bind:<engine_id>. Default: every role the provider declares (a bind check on the default Trino engine for databases it can bind).
	Intents               *[]string          `json:"intents,omitempty"`
	MysqlCredentials      *SqlCredentials    `json:"mysql_credentials,omitempty"`
	Name                  string             `json:"name"`
	NessieCredentials     *NessieCredentials `json:"nessie_credentials,omitempty"`
	PostgresqlCredentials *SqlCredentials    `json:"postgresql_credentials,omitempty"`

	// Type A kind listed by GET /connection-providers
	Type string `json:"type"`

	// Url Older shape: the endpoint URL (a JDBC URL for databases). Prefer config
	Url *string `json:"url,omitempty"`

	// Warehouse Warehouse a catalog manager's bind check binds: the one the catalog will be created with. Without it, the check binds the first catalog the connection lists. Ignored for databases.
	Warehouse *string `json:"warehouse,omitempty"`
}

TestConnectionRequest defines model for TestConnectionRequest.

type TestConnectionRequestAccessMode

type TestConnectionRequestAccessMode string

TestConnectionRequestAccessMode Data access mode (ADR 0029). `direct` runs SQL through a native query-engine adapter owned by this connection; `federated` runs it through the registered federated engines in `engine_ids`. Required when the type declares both, auto-selected when it declares one, and omitted for engine-family types. Immutable after creation.

const (
	TestConnectionRequestAccessModeDirect    TestConnectionRequestAccessMode = "direct"
	TestConnectionRequestAccessModeFederated TestConnectionRequestAccessMode = "federated"
)

Defines values for TestConnectionRequestAccessMode.

type TestEngine200JSONResponse

type TestEngine200JSONResponse TestCatalogConnectionResult

func (TestEngine200JSONResponse) VisitTestEngineResponse

func (response TestEngine200JSONResponse) VisitTestEngineResponse(w http.ResponseWriter) error

type TestEngine401JSONResponse

type TestEngine401JSONResponse struct{ UnauthorizedJSONResponse }

func (TestEngine401JSONResponse) VisitTestEngineResponse

func (response TestEngine401JSONResponse) VisitTestEngineResponse(w http.ResponseWriter) error

type TestEngine404JSONResponse

type TestEngine404JSONResponse struct{ NotFoundJSONResponse }

func (TestEngine404JSONResponse) VisitTestEngineResponse

func (response TestEngine404JSONResponse) VisitTestEngineResponse(w http.ResponseWriter) error

type TestEngine429JSONResponse

type TestEngine429JSONResponse Error

func (TestEngine429JSONResponse) VisitTestEngineResponse

func (response TestEngine429JSONResponse) VisitTestEngineResponse(w http.ResponseWriter) error

type TestEngineRequestObject

type TestEngineRequestObject struct {
	Id PathId `json:"id"`
}

type TestEngineResponseObject

type TestEngineResponseObject interface {
	VisitTestEngineResponse(w http.ResponseWriter) error
}

type TestIdentityProvider200JSONResponse

type TestIdentityProvider200JSONResponse IdentityProviderTestResult

func (TestIdentityProvider200JSONResponse) VisitTestIdentityProviderResponse

func (response TestIdentityProvider200JSONResponse) VisitTestIdentityProviderResponse(w http.ResponseWriter) error

type TestIdentityProvider401JSONResponse

type TestIdentityProvider401JSONResponse struct{ UnauthorizedJSONResponse }

func (TestIdentityProvider401JSONResponse) VisitTestIdentityProviderResponse

func (response TestIdentityProvider401JSONResponse) VisitTestIdentityProviderResponse(w http.ResponseWriter) error

type TestIdentityProvider403JSONResponse

type TestIdentityProvider403JSONResponse struct{ ForbiddenJSONResponse }

func (TestIdentityProvider403JSONResponse) VisitTestIdentityProviderResponse

func (response TestIdentityProvider403JSONResponse) VisitTestIdentityProviderResponse(w http.ResponseWriter) error

type TestIdentityProvider404JSONResponse

type TestIdentityProvider404JSONResponse struct{ NotFoundJSONResponse }

func (TestIdentityProvider404JSONResponse) VisitTestIdentityProviderResponse

func (response TestIdentityProvider404JSONResponse) VisitTestIdentityProviderResponse(w http.ResponseWriter) error

type TestIdentityProviderParams

type TestIdentityProviderParams struct {
	TestUsername *string `form:"test_username,omitempty" json:"test_username,omitempty"`
}

TestIdentityProviderParams defines parameters for TestIdentityProvider.

type TestIdentityProviderRequest

type TestIdentityProviderRequest struct {
	// Ldap LDAP provider configuration written once. `bind_password` is never returned.
	Ldap *LDAPConfig `json:"ldap,omitempty"`

	// Oidc OIDC provider configuration written once. `client_secret` is never returned.
	Oidc *OIDCConfig `json:"oidc,omitempty"`

	// TestUsername Directory username to look up. The probe never binds as this user.
	TestUsername *string              `json:"test_username,omitempty"`
	Type         IdentityProviderType `json:"type"`
}

TestIdentityProviderRequest An unsaved provider configuration to probe. Nothing is persisted.

type TestIdentityProviderRequestObject

type TestIdentityProviderRequestObject struct {
	Id     PathId `json:"id"`
	Params TestIdentityProviderParams
}

type TestIdentityProviderResponseObject

type TestIdentityProviderResponseObject interface {
	VisitTestIdentityProviderResponse(w http.ResponseWriter) error
}

type TestIdentityProviderTransient200JSONResponse

type TestIdentityProviderTransient200JSONResponse IdentityProviderTestResult

func (TestIdentityProviderTransient200JSONResponse) VisitTestIdentityProviderTransientResponse

func (response TestIdentityProviderTransient200JSONResponse) VisitTestIdentityProviderTransientResponse(w http.ResponseWriter) error

type TestIdentityProviderTransient401JSONResponse

type TestIdentityProviderTransient401JSONResponse struct{ UnauthorizedJSONResponse }

func (TestIdentityProviderTransient401JSONResponse) VisitTestIdentityProviderTransientResponse

func (response TestIdentityProviderTransient401JSONResponse) VisitTestIdentityProviderTransientResponse(w http.ResponseWriter) error

type TestIdentityProviderTransient403JSONResponse

type TestIdentityProviderTransient403JSONResponse struct{ ForbiddenJSONResponse }

func (TestIdentityProviderTransient403JSONResponse) VisitTestIdentityProviderTransientResponse

func (response TestIdentityProviderTransient403JSONResponse) VisitTestIdentityProviderTransientResponse(w http.ResponseWriter) error

type TestIdentityProviderTransient422JSONResponse

type TestIdentityProviderTransient422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (TestIdentityProviderTransient422JSONResponse) VisitTestIdentityProviderTransientResponse

func (response TestIdentityProviderTransient422JSONResponse) VisitTestIdentityProviderTransientResponse(w http.ResponseWriter) error

type TestIdentityProviderTransientJSONRequestBody

type TestIdentityProviderTransientJSONRequestBody = TestIdentityProviderRequest

TestIdentityProviderTransientJSONRequestBody defines body for TestIdentityProviderTransient for application/json ContentType.

type TestIdentityProviderTransientRequestObject

type TestIdentityProviderTransientRequestObject struct {
	Body *TestIdentityProviderTransientJSONRequestBody
}

type TestIdentityProviderTransientResponseObject

type TestIdentityProviderTransientResponseObject interface {
	VisitTestIdentityProviderTransientResponse(w http.ResponseWriter) error
}

type TestWorkloadRule200JSONResponse

type TestWorkloadRule200JSONResponse WorkloadRuleTestResult

func (TestWorkloadRule200JSONResponse) VisitTestWorkloadRuleResponse

func (response TestWorkloadRule200JSONResponse) VisitTestWorkloadRuleResponse(w http.ResponseWriter) error

type TestWorkloadRule401JSONResponse

type TestWorkloadRule401JSONResponse struct{ UnauthorizedJSONResponse }

func (TestWorkloadRule401JSONResponse) VisitTestWorkloadRuleResponse

func (response TestWorkloadRule401JSONResponse) VisitTestWorkloadRuleResponse(w http.ResponseWriter) error

type TestWorkloadRule403JSONResponse

type TestWorkloadRule403JSONResponse struct{ ForbiddenJSONResponse }

func (TestWorkloadRule403JSONResponse) VisitTestWorkloadRuleResponse

func (response TestWorkloadRule403JSONResponse) VisitTestWorkloadRuleResponse(w http.ResponseWriter) error

type TestWorkloadRule422JSONResponse

type TestWorkloadRule422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (TestWorkloadRule422JSONResponse) VisitTestWorkloadRuleResponse

func (response TestWorkloadRule422JSONResponse) VisitTestWorkloadRuleResponse(w http.ResponseWriter) error

type TestWorkloadRuleJSONRequestBody

type TestWorkloadRuleJSONRequestBody = WorkloadRuleTestRequest

TestWorkloadRuleJSONRequestBody defines body for TestWorkloadRule for application/json ContentType.

type TestWorkloadRuleRequestObject

type TestWorkloadRuleRequestObject struct {
	Body *TestWorkloadRuleJSONRequestBody
}

type TestWorkloadRuleResponseObject

type TestWorkloadRuleResponseObject interface {
	VisitTestWorkloadRuleResponse(w http.ResponseWriter) error
}

type TooManyRequests

type TooManyRequests = Error

TooManyRequests defines model for TooManyRequests.

type TooManyRequestsJSONResponse

type TooManyRequestsJSONResponse struct {
	Body Error

	Headers TooManyRequestsResponseHeaders
}

type TooManyRequestsResponseHeaders

type TooManyRequestsResponseHeaders struct {
	RetryAfter int
}

type TooManyValuesForParamError

type TooManyValuesForParamError struct {
	ParamName string
	Count     int
}

func (*TooManyValuesForParamError) Error

type TrashItem

type TrashItem struct {
	DeletedAt  time.Time           `json:"deleted_at"`
	EntityId   openapi_types.UUID  `json:"entity_id"`
	EntityType TrashItemEntityType `json:"entity_type"`
	Name       *string             `json:"name,omitempty"`

	// RestoreVersion Pass this to the restore endpoint; the delete version holds the last content
	RestoreVersion int                 `json:"restore_version"`
	Slug           string              `json:"slug"`
	Space          *ContentSearchSpace `json:"space"`
	SpaceId        *openapi_types.UUID `json:"space_id,omitempty"`
	Version        int                 `json:"version"`
}

TrashItem defines model for TrashItem.

type TrashItemEntityType

type TrashItemEntityType string

TrashItemEntityType defines model for TrashItem.EntityType.

const (
	TrashItemEntityTypeSavedQuery     TrashItemEntityType = "saved_query"
	TrashItemEntityTypeSemanticMetric TrashItemEntityType = "semantic_metric"
	TrashItemEntityTypeSemanticModel  TrashItemEntityType = "semantic_model"
)

Defines values for TrashItemEntityType.

type TriggerRetrieverRefresh202JSONResponse

type TriggerRetrieverRefresh202JSONResponse RetrieverRefreshHistory

func (TriggerRetrieverRefresh202JSONResponse) VisitTriggerRetrieverRefreshResponse

func (response TriggerRetrieverRefresh202JSONResponse) VisitTriggerRetrieverRefreshResponse(w http.ResponseWriter) error

type TriggerRetrieverRefresh401JSONResponse

type TriggerRetrieverRefresh401JSONResponse struct{ UnauthorizedJSONResponse }

func (TriggerRetrieverRefresh401JSONResponse) VisitTriggerRetrieverRefreshResponse

func (response TriggerRetrieverRefresh401JSONResponse) VisitTriggerRetrieverRefreshResponse(w http.ResponseWriter) error

type TriggerRetrieverRefresh403JSONResponse

type TriggerRetrieverRefresh403JSONResponse struct{ ForbiddenJSONResponse }

func (TriggerRetrieverRefresh403JSONResponse) VisitTriggerRetrieverRefreshResponse

func (response TriggerRetrieverRefresh403JSONResponse) VisitTriggerRetrieverRefreshResponse(w http.ResponseWriter) error

type TriggerRetrieverRefresh404JSONResponse

type TriggerRetrieverRefresh404JSONResponse struct{ NotFoundJSONResponse }

func (TriggerRetrieverRefresh404JSONResponse) VisitTriggerRetrieverRefreshResponse

func (response TriggerRetrieverRefresh404JSONResponse) VisitTriggerRetrieverRefreshResponse(w http.ResponseWriter) error

type TriggerRetrieverRefresh422JSONResponse

type TriggerRetrieverRefresh422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (TriggerRetrieverRefresh422JSONResponse) VisitTriggerRetrieverRefreshResponse

func (response TriggerRetrieverRefresh422JSONResponse) VisitTriggerRetrieverRefreshResponse(w http.ResponseWriter) error

type TriggerRetrieverRefreshJSONBody

type TriggerRetrieverRefreshJSONBody struct {
	RefreshType *TriggerRetrieverRefreshJSONBodyRefreshType `json:"refresh_type,omitempty"`
}

TriggerRetrieverRefreshJSONBody defines parameters for TriggerRetrieverRefresh.

type TriggerRetrieverRefreshJSONBodyRefreshType

type TriggerRetrieverRefreshJSONBodyRefreshType string

TriggerRetrieverRefreshJSONBodyRefreshType defines parameters for TriggerRetrieverRefresh.

Defines values for TriggerRetrieverRefreshJSONBodyRefreshType.

type TriggerRetrieverRefreshJSONRequestBody

type TriggerRetrieverRefreshJSONRequestBody TriggerRetrieverRefreshJSONBody

TriggerRetrieverRefreshJSONRequestBody defines body for TriggerRetrieverRefresh for application/json ContentType.

type TriggerRetrieverRefreshRequestObject

type TriggerRetrieverRefreshRequestObject struct {
	Id          PathId             `json:"id"`
	RetrieverId openapi_types.UUID `json:"retriever_id"`
	Body        *TriggerRetrieverRefreshJSONRequestBody
}

type TriggerRetrieverRefreshResponseObject

type TriggerRetrieverRefreshResponseObject interface {
	VisitTriggerRetrieverRefreshResponse(w http.ResponseWriter) error
}

type Unauthorized

type Unauthorized = Error

Unauthorized defines model for Unauthorized.

type UnauthorizedJSONResponse

type UnauthorizedJSONResponse 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 Unimplemented

type Unimplemented struct{}

func (Unimplemented) AddTeamMember

func (_ Unimplemented) AddTeamMember(w http.ResponseWriter, r *http.Request, id PathId)

Add user to team — admin only (POST /teams/{id}/members)

func (Unimplemented) AddWorkspaceMember

func (_ Unimplemented) AddWorkspaceMember(w http.ResponseWriter, r *http.Request, id PathId)

Share a personal workspace with a user, or set a team member's role, by e-mail — workspace admin only (POST /workspaces/{id}/members)

func (Unimplemented) AnalyzeCatalogTableHealth

func (_ Unimplemented) AnalyzeCatalogTableHealth(w http.ResponseWriter, r *http.Request, catalogId openapi_types.UUID)

Analyze the health of every table of an Iceberg catalog now (POST /catalogs/{catalog_id}/table-health/analyze)

func (Unimplemented) AnalyzeTableHealth

func (_ Unimplemented) AnalyzeTableHealth(w http.ResponseWriter, r *http.Request, catalogId MaintenanceCatalogId, namespace MaintenanceNamespace, table MaintenanceTable)

Analyze the health of one Iceberg table now (POST /catalogs/{catalog_id}/tables/{namespace}/{table}/table-health/analyze)

func (Unimplemented) ApproveCatalogGrant

func (_ Unimplemented) ApproveCatalogGrant(w http.ResponseWriter, r *http.Request, workspaceId openapi_types.UUID, catalogId openapi_types.UUID)

Approve a pending offer or request as the other party (POST /catalog-grants/{workspace_id}/{catalog_id}/approve)

func (Unimplemented) CancelAssistantTurn

func (_ Unimplemented) CancelAssistantTurn(w http.ResponseWriter, r *http.Request, id PathId)

Stop the running turn (POST /assistant/conversations/{id}/cancel)

func (Unimplemented) CancelExecution

func (_ Unimplemented) CancelExecution(w http.ResponseWriter, r *http.Request, id PathId, executionId openapi_types.UUID)

Cancel an ongoing execution (POST /workspaces/{id}/executions/{execution_id}/cancel)

func (Unimplemented) CancelMigration

func (_ Unimplemented) CancelMigration(w http.ResponseWriter, r *http.Request, id PathId)

Cancel an ongoing migration — admin only (POST /migrations/{id}/cancel)

func (Unimplemented) CompileExploreQuery

func (_ Unimplemented) CompileExploreQuery(w http.ResponseWriter, r *http.Request, id PathId)

Compile an explore query to SQL — space viewer (POST /workspaces/{id}/semantic/explore/compile)

func (Unimplemented) ConfirmPasswordReset

func (_ Unimplemented) ConfirmPasswordReset(w http.ResponseWriter, r *http.Request)

Confirm password reset with token (POST /auth/password-reset/confirm)

func (Unimplemented) CreateAgent

func (_ Unimplemented) CreateAgent(w http.ResponseWriter, r *http.Request)

Create an agent owned by the caller (POST /agents)

func (Unimplemented) CreateAgentToken

func (_ Unimplemented) CreateAgentToken(w http.ResponseWriter, r *http.Request, agentId PathAgentId)

Mint a token for an agent — the secret is shown once (POST /agents/{agent_id}/tokens)

func (Unimplemented) CreateApiKey

func (_ Unimplemented) CreateApiKey(w http.ResponseWriter, r *http.Request)

Create a new API key (POST /api-keys)

func (Unimplemented) CreateAssistantConversation

func (_ Unimplemented) CreateAssistantConversation(w http.ResponseWriter, r *http.Request)

Start a conversation in a workspace (POST /assistant/conversations)

func (Unimplemented) CreateBiKey

func (_ Unimplemented) CreateBiKey(w http.ResponseWriter, r *http.Request, id PathId)

Issue a workspace-bound BI key (the secret is shown once) (POST /workspaces/{id}/bi-keys)

func (Unimplemented) CreateCatalog

func (_ Unimplemented) CreateCatalog(w http.ResponseWriter, r *http.Request, connectionId openapi_types.UUID)

Register a catalog under a connection (POST /connections/{connection_id}/catalogs)

func (Unimplemented) CreateCatalogBinding

func (_ Unimplemented) CreateCatalogBinding(w http.ResponseWriter, r *http.Request, id PathId)

Bind a source catalog into a federated engine (POST /catalogs/{id}/bindings)

func (Unimplemented) CreateCatalogConnection

func (_ Unimplemented) CreateCatalogConnection(w http.ResponseWriter, r *http.Request)

Create a catalog connection — admin only (POST /catalog-connections)

func (Unimplemented) CreateCatalogGrant

func (_ Unimplemented) CreateCatalogGrant(w http.ResponseWriter, r *http.Request)

Offer, request or directly grant a catalog to a workspace, decided by the caller's rights on each side (POST /catalog-grants)

func (Unimplemented) CreateDataPolicy

func (_ Unimplemented) CreateDataPolicy(w http.ResponseWriter, r *http.Request, id PathId)

Add a row filter or column mask to one of the catalog's tables (POST /catalogs/{id}/data-policies)

func (Unimplemented) CreateEngine

func (_ Unimplemented) CreateEngine(w http.ResponseWriter, r *http.Request)

Register a standalone federated engine (POST /engines)

func (Unimplemented) CreateFirstAdmin

func (_ Unimplemented) CreateFirstAdmin(w http.ResponseWriter, r *http.Request)

Create first admin user (POST /setup/admin)

func (Unimplemented) CreateFolder

func (_ Unimplemented) CreateFolder(w http.ResponseWriter, r *http.Request, id PathId)

Create a folder in a space the caller may edit (POST /workspaces/{id}/folders)

func (Unimplemented) CreateIdentityProvider

func (_ Unimplemented) CreateIdentityProvider(w http.ResponseWriter, r *http.Request)

Create an identity provider — admin only (POST /admin/identity-providers)

func (Unimplemented) CreateMaintenanceRun

func (_ Unimplemented) CreateMaintenanceRun(w http.ResponseWriter, r *http.Request, catalogId openapi_types.UUID)

Run optimize/expire/orphan cleanup on one Iceberg table (POST /catalogs/{catalog_id}/maintenance)

func (Unimplemented) CreateMigration

func (_ Unimplemented) CreateMigration(w http.ResponseWriter, r *http.Request)

Create a zero-copy migration — admin only (POST /migrations)

func (Unimplemented) CreateRetriever

func (_ Unimplemented) CreateRetriever(w http.ResponseWriter, r *http.Request, id PathId)

Create a Retriever in the workspace (POST /workspaces/{id}/retrievers)

func (Unimplemented) CreateSavedQuery

func (_ Unimplemented) CreateSavedQuery(w http.ResponseWriter, r *http.Request, id PathId)

Save a query in a space the caller may edit (POST /workspaces/{id}/queries)

func (Unimplemented) CreateSearchGlossaryEntry

func (_ Unimplemented) CreateSearchGlossaryEntry(w http.ResponseWriter, r *http.Request, id PathId)

Add a set of synonyms (POST /workspaces/{id}/search/glossary)

func (Unimplemented) CreateSemanticMetric

func (_ Unimplemented) CreateSemanticMetric(w http.ResponseWriter, r *http.Request, id PathId)

Create and validate a metric — space editor (POST /workspaces/{id}/semantic/metrics)

func (Unimplemented) CreateSemanticModel

func (_ Unimplemented) CreateSemanticModel(w http.ResponseWriter, r *http.Request, id PathId)

Create and validate a model — space editor (POST /workspaces/{id}/semantic/models)

func (Unimplemented) CreateServiceAccount

func (_ Unimplemented) CreateServiceAccount(w http.ResponseWriter, r *http.Request)

Create a service account — global admin, or workspace admin in their workspace (#653) (POST /service-accounts)

func (Unimplemented) CreateServiceAccountToken

func (_ Unimplemented) CreateServiceAccountToken(w http.ResponseWriter, r *http.Request, id PathId)

Issue a Baleia token for the service account, shown once — its managers (POST /service-accounts/{id}/tokens)

func (Unimplemented) CreateSpace

func (_ Unimplemented) CreateSpace(w http.ResponseWriter, r *http.Request, id PathId)

Create a space; the creator becomes its manager — workspace admins (POST /workspaces/{id}/spaces)

func (Unimplemented) CreateTeam

func (_ Unimplemented) CreateTeam(w http.ResponseWriter, r *http.Request)

Create a team — admin only (POST /teams)

func (Unimplemented) CreateWebhook

func (_ Unimplemented) CreateWebhook(w http.ResponseWriter, r *http.Request, id PathId)

Register a webhook; the HMAC secret is returned once (POST /workspaces/{id}/webhooks)

func (Unimplemented) CreateWorkloadRule

func (_ Unimplemented) CreateWorkloadRule(w http.ResponseWriter, r *http.Request)

Create a workload rule (POST /workload-rules)

func (Unimplemented) CreateWorkspace

func (_ Unimplemented) CreateWorkspace(w http.ResponseWriter, r *http.Request)

Create a workspace — admin only for shared (POST /workspaces)

func (Unimplemented) DeleteAgent

func (_ Unimplemented) DeleteAgent(w http.ResponseWriter, r *http.Request, agentId PathAgentId)

Delete an agent (owner or admin) (DELETE /agents/{agent_id})

func (Unimplemented) DeleteApiKey

func (_ Unimplemented) DeleteApiKey(w http.ResponseWriter, r *http.Request, id PathId)

Remove an API key (DELETE /api-keys/{id})

func (Unimplemented) DeleteAssistantConversation

func (_ Unimplemented) DeleteAssistantConversation(w http.ResponseWriter, r *http.Request, id PathId)

Delete the caller's conversation (DELETE /assistant/conversations/{id})

func (Unimplemented) DeleteBiKey

func (_ Unimplemented) DeleteBiKey(w http.ResponseWriter, r *http.Request, id PathId, keyId PathKeyId)

Revoke a workspace-bound BI key (DELETE /workspaces/{id}/bi-keys/{key_id})

func (Unimplemented) DeleteCatalog

func (_ Unimplemented) DeleteCatalog(w http.ResponseWriter, r *http.Request, connectionId openapi_types.UUID, catalogId openapi_types.UUID)

Remove a catalog (DELETE /connections/{connection_id}/catalogs/{catalog_id})

func (Unimplemented) DeleteCatalogBinding

func (_ Unimplemented) DeleteCatalogBinding(w http.ResponseWriter, r *http.Request, id PathId)

Remove a managed binding from its engine (DELETE /bindings/{id})

func (Unimplemented) DeleteCatalogConnection

func (_ Unimplemented) DeleteCatalogConnection(w http.ResponseWriter, r *http.Request, id PathId)

Remove a connection — admin only (DELETE /catalog-connections/{id})

func (Unimplemented) DeleteCatalogDetail

func (_ Unimplemented) DeleteCatalogDetail(w http.ResponseWriter, r *http.Request, catalogId openapi_types.UUID)

Disable a source catalog and deprovision its managed bindings (DELETE /catalogs/{catalog_id})

func (Unimplemented) DeleteCatalogGrant

func (_ Unimplemented) DeleteCatalogGrant(w http.ResponseWriter, r *http.Request, workspaceId openapi_types.UUID, catalogId openapi_types.UUID)

Decline a pending request or unlink an active grant (DELETE /catalog-grants/{workspace_id}/{catalog_id})

func (Unimplemented) DeleteDataPolicy

func (_ Unimplemented) DeleteDataPolicy(w http.ResponseWriter, r *http.Request, id PathId)

Remove a data policy; it stays in force until the catalog is published (DELETE /data-policies/{id})

func (Unimplemented) DeleteEngine

func (_ Unimplemented) DeleteEngine(w http.ResponseWriter, r *http.Request, id PathId)

Remove an engine (owner of its connection or an admin) (DELETE /engines/{id})

func (Unimplemented) DeleteFolder

func (_ Unimplemented) DeleteFolder(w http.ResponseWriter, r *http.Request, id PathId, folderId openapi_types.UUID)

Remove a folder and its contents (DELETE /workspaces/{id}/folders/{folder_id})

func (Unimplemented) DeleteIdentityProvider

func (_ Unimplemented) DeleteIdentityProvider(w http.ResponseWriter, r *http.Request, id PathId, params DeleteIdentityProviderParams)

Delete an identity provider — admin only (DELETE /admin/identity-providers/{id})

func (Unimplemented) DeleteRetriever

func (_ Unimplemented) DeleteRetriever(w http.ResponseWriter, r *http.Request, id PathId, retrieverId openapi_types.UUID)

Remove a Retriever (DELETE /workspaces/{id}/retrievers/{retriever_id})

func (Unimplemented) DeleteSavedQuery

func (_ Unimplemented) DeleteSavedQuery(w http.ResponseWriter, r *http.Request, id PathId, queryId openapi_types.UUID)

Remove a saved query (DELETE /workspaces/{id}/queries/{query_id})

func (Unimplemented) DeleteSearchGlossaryEntry

func (_ Unimplemented) DeleteSearchGlossaryEntry(w http.ResponseWriter, r *http.Request, id PathId, entryId openapi_types.UUID)

Remove a set of synonyms (DELETE /workspaces/{id}/search/glossary/{entry_id})

func (Unimplemented) DeleteSemanticDoc

func (_ Unimplemented) DeleteSemanticDoc(w http.ResponseWriter, r *http.Request, id PathId, params DeleteSemanticDocParams)

Delete a doc — workspace editors and admins (#653) (DELETE /workspaces/{id}/semantic/docs)

func (Unimplemented) DeleteSemanticMetric

func (_ Unimplemented) DeleteSemanticMetric(w http.ResponseWriter, r *http.Request, id PathId, metricId openapi_types.UUID)

Delete a metric — space editor (DELETE /workspaces/{id}/semantic/metrics/{metric_id})

func (Unimplemented) DeleteSemanticModel

func (_ Unimplemented) DeleteSemanticModel(w http.ResponseWriter, r *http.Request, id PathId, modelId openapi_types.UUID)

Delete a model — space editor (DELETE /workspaces/{id}/semantic/models/{model_id})

func (Unimplemented) DeleteServiceAccount

func (_ Unimplemented) DeleteServiceAccount(w http.ResponseWriter, r *http.Request, id PathId)

Delete a service account with its tokens, agents and memberships — its managers (DELETE /service-accounts/{id})

func (Unimplemented) DeleteSpace

func (_ Unimplemented) DeleteSpace(w http.ResponseWriter, r *http.Request, id PathId, spaceId openapi_types.UUID, params DeleteSpaceParams)

Delete a space, its content, and its access list — manager (DELETE /workspaces/{id}/spaces/{space_id})

func (Unimplemented) DeleteSpaceMember

func (_ Unimplemented) DeleteSpaceMember(w http.ResponseWriter, r *http.Request, id PathId, spaceId openapi_types.UUID, principalType string, principalId openapi_types.UUID)

Remove a user/team entry — manager (DELETE /workspaces/{id}/spaces/{space_id}/members/{principal_type}/{principal_id})

func (Unimplemented) DeleteTableMaintenance

func (_ Unimplemented) DeleteTableMaintenance(w http.ResponseWriter, r *http.Request, catalogId MaintenanceCatalogId, namespace MaintenanceNamespace, table MaintenanceTable)

Remove a table's maintenance parameters: the table is no longer maintained (DELETE /catalogs/{catalog_id}/tables/{namespace}/{table}/maintenance)

func (Unimplemented) DeleteTeam

func (_ Unimplemented) DeleteTeam(w http.ResponseWriter, r *http.Request, id PathId)

Remove a team — admin only (DELETE /teams/{id})

func (Unimplemented) DeleteWebhook

func (_ Unimplemented) DeleteWebhook(w http.ResponseWriter, r *http.Request, id PathId, webhookId openapi_types.UUID)

Delete a webhook (DELETE /workspaces/{id}/webhooks/{webhook_id})

func (Unimplemented) DeleteWorkloadRule

func (_ Unimplemented) DeleteWorkloadRule(w http.ResponseWriter, r *http.Request, ruleId openapi_types.UUID)

Delete a workload rule (DELETE /workload-rules/{rule_id})

func (Unimplemented) DeleteWorkspace

func (_ Unimplemented) DeleteWorkspace(w http.ResponseWriter, r *http.Request, id PathId)

Delete a shared workspace and its content — owner or admin (DELETE /workspaces/{id})

func (Unimplemented) DiscoverEngineCatalogs

func (_ Unimplemented) DiscoverEngineCatalogs(w http.ResponseWriter, r *http.Request, id PathId)

Run native-catalog discovery now (direct engines) (POST /engines/{id}/discover)

func (Unimplemented) DryRunTableMaintenance

func (_ Unimplemented) DryRunTableMaintenance(w http.ResponseWriter, r *http.Request, catalogId MaintenanceCatalogId, namespace MaintenanceNamespace, table MaintenanceTable)

What a round would run on the table now, without running it (POST /catalogs/{catalog_id}/tables/{namespace}/{table}/maintenance/dry-run)

func (Unimplemented) ExplainSQL

func (_ Unimplemented) ExplainSQL(w http.ResponseWriter, r *http.Request, name string)

The dialect's EXPLAIN statement for a query (POST /dialects/{name}/explain)

func (Unimplemented) ExportAuditCSV

func (_ Unimplemented) ExportAuditCSV(w http.ResponseWriter, r *http.Request, params ExportAuditCSVParams)

Export the current audit filter as CSV — admins (GET /audit/events.csv)

func (Unimplemented) ExportSpaceBundle

func (_ Unimplemented) ExportSpaceBundle(w http.ResponseWriter, r *http.Request, id PathId, spaceId openapi_types.UUID)

Export a space as a deterministic bundle — viewer (GET /workspaces/{id}/spaces/{space_id}/export)

func (Unimplemented) GetAgent

func (_ Unimplemented) GetAgent(w http.ResponseWriter, r *http.Request, agentId PathAgentId)

Get an agent (GET /agents/{agent_id})

func (Unimplemented) GetAgentEligibility

func (_ Unimplemented) GetAgentEligibility(w http.ResponseWriter, r *http.Request, agentId PathAgentId)

Where an agent may run, per granted catalog and hosting engine (GET /agents/{agent_id}/eligibility)

func (Unimplemented) GetAgentPolicy

func (_ Unimplemented) GetAgentPolicy(w http.ResponseWriter, r *http.Request, agentId PathAgentId)

Effective, stored and ceiling values of an agent's policy (GET /agents/{agent_id}/policy)

func (Unimplemented) GetAgentsMeta

func (_ Unimplemented) GetAgentsMeta(w http.ResponseWriter, r *http.Request)

MCP URL, token TTLs and the tool registry the agents UI needs (GET /agents/meta)

func (Unimplemented) GetAssistantConversation

func (_ Unimplemented) GetAssistantConversation(w http.ResponseWriter, r *http.Request, id PathId)

A conversation and its persisted messages (GET /assistant/conversations/{id})

func (Unimplemented) GetAssistantSettings

func (_ Unimplemented) GetAssistantSettings(w http.ResponseWriter, r *http.Request)

Assistant provider and data-sharing settings (G-admin) (GET /admin/assistant/settings)

func (Unimplemented) GetAssistantStatus

func (_ Unimplemented) GetAssistantStatus(w http.ResponseWriter, r *http.Request)

Whether the assistant is enabled and what it may share (GET /assistant/status)

func (Unimplemented) GetBIGateway

func (_ Unimplemented) GetBIGateway(w http.ResponseWriter, r *http.Request)

Global BI gateway readiness and switch — admin only (GET /admin/bi-gateway)

func (Unimplemented) GetCatalog

func (_ Unimplemented) GetCatalog(w http.ResponseWriter, r *http.Request, connectionId openapi_types.UUID, catalogId openapi_types.UUID)

Catalog details (GET /connections/{connection_id}/catalogs/{catalog_id})

func (Unimplemented) GetCatalogAccessImpact

func (_ Unimplemented) GetCatalogAccessImpact(w http.ResponseWriter, r *http.Request, id PathId, catalogId openapi_types.UUID)

What revoking this catalog grant would affect — owner or admin (GET /workspaces/{id}/catalog-access/{catalog_id}/impact)

func (Unimplemented) GetCatalogBinding

func (_ Unimplemented) GetCatalogBinding(w http.ResponseWriter, r *http.Request, id PathId)

One binding with its lifecycle state, error and allowed actions (GET /bindings/{id})

func (Unimplemented) GetCatalogBindingProjection

func (_ Unimplemented) GetCatalogBindingProjection(w http.ResponseWriter, r *http.Request, id PathId)

Engine-side properties of a binding, secret values masked (GET /bindings/{id}/projection)

func (Unimplemented) GetCatalogConnection

func (_ Unimplemented) GetCatalogConnection(w http.ResponseWriter, r *http.Request, id PathId)

Connection details (GET /catalog-connections/{id})

func (Unimplemented) GetCatalogConnectionImpact

func (_ Unimplemented) GetCatalogConnectionImpact(w http.ResponseWriter, r *http.Request, id PathId)

What depends on this connection before deleting it (GET /catalog-connections/{id}/impact)

func (Unimplemented) GetCatalogDetail

func (_ Unimplemented) GetCatalogDetail(w http.ResponseWriter, r *http.Request, catalogId openapi_types.UUID)

One logical catalog with its bindings and counts (GET /catalogs/{catalog_id})

func (Unimplemented) GetCatalogImpact

func (_ Unimplemented) GetCatalogImpact(w http.ResponseWriter, r *http.Request, catalogId openapi_types.UUID)

What depends on this catalog before deleting it (GET /catalogs/{catalog_id}/impact)

func (Unimplemented) GetCatalogMaintenancePlan

func (_ Unimplemented) GetCatalogMaintenancePlan(w http.ResponseWriter, r *http.Request, catalogId openapi_types.UUID)

The current maintenance plan of every table of the catalog with parameters (GET /catalogs/{catalog_id}/maintenance-plan)

func (Unimplemented) GetDataPolicy

func (_ Unimplemented) GetDataPolicy(w http.ResponseWriter, r *http.Request, id PathId)

One data policy (GET /data-policies/{id})

func (Unimplemented) GetDataPolicyStatus

func (_ Unimplemented) GetDataPolicyStatus(w http.ResponseWriter, r *http.Request)

The published revision and each engine's integration (global admin) (GET /data-policies/status)

func (Unimplemented) GetDialect

func (_ Unimplemented) GetDialect(w http.ResponseWriter, r *http.Request, name string, params GetDialectParams)

A SQL dialect with its keyword and function lists (for the editor) (GET /dialects/{name})

func (Unimplemented) GetEngine

func (_ Unimplemented) GetEngine(w http.ResponseWriter, r *http.Request, id PathId)

Engine details (GET /engines/{id})

func (Unimplemented) GetEngineBindingSupport

func (_ Unimplemented) GetEngineBindingSupport(w http.ResponseWriter, r *http.Request, id PathId)

Source kinds this engine can bind, with connectors, protected extra-property keys and reserved names (GET /engines/{id}/binding-support)

func (Unimplemented) GetEngineCluster

func (_ Unimplemented) GetEngineCluster(w http.ResponseWriter, r *http.Request, id PathId, params GetEngineClusterParams)

Cluster snapshots of an engine (GET /engines/{id}/monitoring/cluster)

func (Unimplemented) GetEngineImpact

func (_ Unimplemented) GetEngineImpact(w http.ResponseWriter, r *http.Request, id PathId)

What depends on this engine before disabling or deleting it (GET /engines/{id}/impact)

func (Unimplemented) GetEngineQueues

func (_ Unimplemented) GetEngineQueues(w http.ResponseWriter, r *http.Request, id PathId)

Live queue depth and capacity per class (GET /engines/{id}/queues)

func (Unimplemented) GetExecution

func (_ Unimplemented) GetExecution(w http.ResponseWriter, r *http.Request, id PathId, executionId openapi_types.UUID)

Execution status and metadata (GET /workspaces/{id}/executions/{execution_id})

func (Unimplemented) GetExecutionDetails

func (_ Unimplemented) GetExecutionDetails(w http.ResponseWriter, r *http.Request, id PathId, executionId openapi_types.UUID)

Per-statement rows, bytes and duration, with the engine profile (GET /workspaces/{id}/executions/{execution_id}/details)

func (Unimplemented) GetIdentityProvider

func (_ Unimplemented) GetIdentityProvider(w http.ResponseWriter, r *http.Request, id PathId)

Get an identity provider — admin only (GET /admin/identity-providers/{id})

func (Unimplemented) GetMe

func (_ Unimplemented) GetMe(w http.ResponseWriter, r *http.Request)

Return authenticated user, feature flags and global actions (GET /auth/me)

func (Unimplemented) GetMetadataTable

func (_ Unimplemented) GetMetadataTable(w http.ResponseWriter, r *http.Request, id PathId, tableId openapi_types.UUID, params GetMetadataTableParams)

A table with its columns, typed and named for one of its catalog's bindings (GET /workspaces/{id}/metadata/tables/{table_id})

func (Unimplemented) GetMigration

func (_ Unimplemented) GetMigration(w http.ResponseWriter, r *http.Request, id PathId)

Migration status (GET /migrations/{id})

func (Unimplemented) GetMonitoringQuery

func (_ Unimplemented) GetMonitoringQuery(w http.ResponseWriter, r *http.Request, id PathId, queryId string)

Full SQL, timings and error of one query (GET /engines/{id}/monitoring/queries/{query_id})

func (Unimplemented) GetProfile

func (_ Unimplemented) GetProfile(w http.ResponseWriter, r *http.Request)

Current user profile (GET /me)

func (Unimplemented) GetReconcileRun

func (_ Unimplemented) GetReconcileRun(w http.ResponseWriter, r *http.Request, id PathId, runId openapi_types.UUID)

One reconcile run with its stored actions — admins (GET /engines/{id}/reconcile-runs/{run_id})

func (Unimplemented) GetResults

func (_ Unimplemented) GetResults(w http.ResponseWriter, r *http.Request, id PathId, executionId openapi_types.UUID)

Execution results as Arrow IPC stream (GET /workspaces/{id}/executions/{execution_id}/results)

func (Unimplemented) GetRetriever

func (_ Unimplemented) GetRetriever(w http.ResponseWriter, r *http.Request, id PathId, retrieverId openapi_types.UUID)

Retriever details (GET /workspaces/{id}/retrievers/{retriever_id})

func (Unimplemented) GetRetrieverHistory

func (_ Unimplemented) GetRetrieverHistory(w http.ResponseWriter, r *http.Request, id PathId, retrieverId openapi_types.UUID, params GetRetrieverHistoryParams)

Retriever refresh history (GET /workspaces/{id}/retrievers/{retriever_id}/history)

func (Unimplemented) GetSavedQuery

func (_ Unimplemented) GetSavedQuery(w http.ResponseWriter, r *http.Request, id PathId, queryId openapi_types.UUID)

Return a saved query (GET /workspaces/{id}/queries/{query_id})

func (Unimplemented) GetSavedQueryVersion

func (_ Unimplemented) GetSavedQueryVersion(w http.ResponseWriter, r *http.Request, id PathId, queryId openapi_types.UUID, version int)

One saved-query version with its snapshot — viewer (GET /workspaces/{id}/queries/{query_id}/versions/{version})

func (Unimplemented) GetSemanticMetric

func (_ Unimplemented) GetSemanticMetric(w http.ResponseWriter, r *http.Request, id PathId, metricId openapi_types.UUID)

Return a metric — space viewer (GET /workspaces/{id}/semantic/metrics/{metric_id})

func (Unimplemented) GetSemanticMetricSql

func (_ Unimplemented) GetSemanticMetricSql(w http.ResponseWriter, r *http.Request, id PathId, metricId openapi_types.UUID, params GetSemanticMetricSqlParams)

Render a metric to SQL for one binding — space viewer (GET /workspaces/{id}/semantic/metrics/{metric_id}/sql)

func (Unimplemented) GetSemanticMetricVersion

func (_ Unimplemented) GetSemanticMetricVersion(w http.ResponseWriter, r *http.Request, id PathId, metricId openapi_types.UUID, version int)

One metric version with its snapshot — viewer (GET /workspaces/{id}/semantic/metrics/{metric_id}/versions/{version})

func (Unimplemented) GetSemanticModel

func (_ Unimplemented) GetSemanticModel(w http.ResponseWriter, r *http.Request, id PathId, modelId openapi_types.UUID)

Return a model — space viewer (GET /workspaces/{id}/semantic/models/{model_id})

func (Unimplemented) GetSemanticModelVersion

func (_ Unimplemented) GetSemanticModelVersion(w http.ResponseWriter, r *http.Request, id PathId, modelId openapi_types.UUID, version int)

One model version with its snapshot — viewer (GET /workspaces/{id}/semantic/models/{model_id}/versions/{version})

func (Unimplemented) GetServiceAccount

func (_ Unimplemented) GetServiceAccount(w http.ResponseWriter, r *http.Request, id PathId)

Get a service account — its managers (GET /service-accounts/{id})

func (Unimplemented) GetSetupStatus

func (_ Unimplemented) GetSetupStatus(w http.ResponseWriter, r *http.Request)

System configuration status (GET /setup/status)

func (Unimplemented) GetSpace

func (_ Unimplemented) GetSpace(w http.ResponseWriter, r *http.Request, id PathId, spaceId openapi_types.UUID)

One space the caller can see (GET /workspaces/{id}/spaces/{space_id})

func (Unimplemented) GetStatementResults

func (_ Unimplemented) GetStatementResults(w http.ResponseWriter, r *http.Request, id PathId, executionId openapi_types.UUID, position int, params GetStatementResultsParams)

Single-statement result as Arrow IPC stream or an export (GET /workspaces/{id}/executions/{execution_id}/statements/{position}/results)

func (Unimplemented) GetSystemStatus

func (_ Unimplemented) GetSystemStatus(w http.ResponseWriter, r *http.Request)

Core system status (GET /admin/system/status)

func (Unimplemented) GetTableMaintenance

func (_ Unimplemented) GetTableMaintenance(w http.ResponseWriter, r *http.Request, catalogId MaintenanceCatalogId, namespace MaintenanceNamespace, table MaintenanceTable)

A table's maintenance parameters, recent runs and current plan (GET /catalogs/{catalog_id}/tables/{namespace}/{table}/maintenance)

func (Unimplemented) GetTeam

func (_ Unimplemented) GetTeam(w http.ResponseWriter, r *http.Request, id PathId)

Team details (GET /teams/{id})

func (Unimplemented) GetWorkspace

func (_ Unimplemented) GetWorkspace(w http.ResponseWriter, r *http.Request, id PathId)

Workspace details (GET /workspaces/{id})

func (Unimplemented) GetWorkspaceBIFile

func (_ Unimplemented) GetWorkspaceBIFile(w http.ResponseWriter, r *http.Request, id PathId, tool string, params GetWorkspaceBIFileParams)

Download a Tableau (.tds) or Power BI (.pbids) data source for the gateway (GET /workspaces/{id}/bi/{tool})

func (Unimplemented) GetWorkspaceBIStatus

func (_ Unimplemented) GetWorkspaceBIStatus(w http.ResponseWriter, r *http.Request, id PathId)

BI readiness for a workspace and the caller (GET /workspaces/{id}/bi-status)

func (Unimplemented) GetWorkspaceImpact

func (_ Unimplemented) GetWorkspaceImpact(w http.ResponseWriter, r *http.Request, id PathId)

What a workspace delete would remove — owner or admin (GET /workspaces/{id}/impact)

func (Unimplemented) GrantCatalogAccess

func (_ Unimplemented) GrantCatalogAccess(w http.ResponseWriter, r *http.Request, id PathId)

Grant a catalog to the workspace — needs the catalog's connection owner (or admin) and a workspace owner (or admin) (POST /workspaces/{id}/catalog-access)

func (Unimplemented) ImportSpaceBundle

func (_ Unimplemented) ImportSpaceBundle(w http.ResponseWriter, r *http.Request, id PathId, spaceId openapi_types.UUID, params ImportSpaceBundleParams)

Import a bundle, dry-run or apply — editor (POST /workspaces/{id}/spaces/{space_id}/import)

func (Unimplemented) InviteUser

func (_ Unimplemented) InviteUser(w http.ResponseWriter, r *http.Request)

Invite a new user — admin only (POST /users/invite)

func (Unimplemented) IssueWsTicket

func (_ Unimplemented) IssueWsTicket(w http.ResponseWriter, r *http.Request)

Issue a single-use WebSocket ticket (30 seconds) (POST /ws-tickets)

func (Unimplemented) KillMonitoringQuery

func (_ Unimplemented) KillMonitoringQuery(w http.ResponseWriter, r *http.Request, id PathId, queryId string)

Cancel a running query (POST /engines/{id}/monitoring/queries/{query_id})

func (Unimplemented) ListAgentTokens

func (_ Unimplemented) ListAgentTokens(w http.ResponseWriter, r *http.Request, agentId PathAgentId)

List an agent's tokens (never the secret) (GET /agents/{agent_id}/tokens)

func (Unimplemented) ListAgents

func (_ Unimplemented) ListAgents(w http.ResponseWriter, r *http.Request, params ListAgentsParams)

List the caller's external agents (admins: all with all=true) (GET /agents)

func (Unimplemented) ListAllCatalogs

func (_ Unimplemented) ListAllCatalogs(w http.ResponseWriter, r *http.Request, params ListAllCatalogsParams)

Logical catalogs the caller may view, with their bindings (GET /catalogs)

func (Unimplemented) ListApiKeys

func (_ Unimplemented) ListApiKeys(w http.ResponseWriter, r *http.Request)

List current user's API keys (GET /api-keys)

func (Unimplemented) ListAssistantConversations

func (_ Unimplemented) ListAssistantConversations(w http.ResponseWriter, r *http.Request, params ListAssistantConversationsParams)

The caller's conversations in a workspace (GET /assistant/conversations)

func (Unimplemented) ListAttention

func (_ Unimplemented) ListAttention(w http.ResponseWriter, r *http.Request)

Items that need the caller's attention (GET /attention)

func (Unimplemented) ListAuditActions

func (_ Unimplemented) ListAuditActions(w http.ResponseWriter, r *http.Request)

The bounded audit action vocabulary (GET /audit/actions)

func (Unimplemented) ListAuditEvents

func (_ Unimplemented) ListAuditEvents(w http.ResponseWriter, r *http.Request, params ListAuditEventsParams)

Audit trail, newest first — admins see every event, others their own (GET /audit/events)

func (Unimplemented) ListAuthProviders

func (_ Unimplemented) ListAuthProviders(w http.ResponseWriter, r *http.Request)

Enabled login providers (GET /auth/providers)

func (Unimplemented) ListBiKeys

func (_ Unimplemented) ListBiKeys(w http.ResponseWriter, r *http.Request, id PathId)

List the workspace's BI keys (admins: all; members: their own) (GET /workspaces/{id}/bi-keys)

func (Unimplemented) ListCatalogBindings

func (_ Unimplemented) ListCatalogBindings(w http.ResponseWriter, r *http.Request, id PathId)

Engines a catalog is bound to (anyone who may read the catalog) (GET /catalogs/{id}/bindings)

func (Unimplemented) ListCatalogConnections

func (_ Unimplemented) ListCatalogConnections(w http.ResponseWriter, r *http.Request)

List the catalog connections the caller can see (GET /catalog-connections)

func (Unimplemented) ListCatalogDataPolicies

func (_ Unimplemented) ListCatalogDataPolicies(w http.ResponseWriter, r *http.Request, id PathId)

A catalog's data policies (owner of its connection or an admin) (GET /catalogs/{id}/data-policies)

func (Unimplemented) ListCatalogDefinerViews

func (_ Unimplemented) ListCatalogDefinerViews(w http.ResponseWriter, r *http.Request, id PathId)

SECURITY DEFINER views over the catalog's policied tables, and whose policies they apply (GET /catalogs/{id}/data-policies/definer-views)

func (Unimplemented) ListCatalogGrantItems

func (_ Unimplemented) ListCatalogGrantItems(w http.ResponseWriter, r *http.Request, params ListCatalogGrantItemsParams)

Active grants and pending requests the caller manages (GET /catalog-grants)

func (Unimplemented) ListCatalogGrants

func (_ Unimplemented) ListCatalogGrants(w http.ResponseWriter, r *http.Request, catalogId openapi_types.UUID)

Workspace grants of this catalog (GET /catalogs/{catalog_id}/grants)

func (Unimplemented) ListCatalogMetadataSyncRuns

func (_ Unimplemented) ListCatalogMetadataSyncRuns(w http.ResponseWriter, r *http.Request, catalogId openapi_types.UUID, params ListCatalogMetadataSyncRunsParams)

Latest metadata passes of the catalog, newest first (GET /catalogs/{catalog_id}/metadata/sync-runs)

func (Unimplemented) ListCatalogs

func (_ Unimplemented) ListCatalogs(w http.ResponseWriter, r *http.Request, connectionId openapi_types.UUID)

List catalogs registered under a connection (GET /connections/{connection_id}/catalogs)

func (Unimplemented) ListConnectionCategories

func (_ Unimplemented) ListConnectionCategories(w http.ResponseWriter, r *http.Request)

Connection categories in presentation order (ADR 0021 D.10) (GET /connection-categories)

func (Unimplemented) ListConnectionProviders

func (_ Unimplemented) ListConnectionProviders(w http.ResponseWriter, r *http.Request)

Connection kinds, their roles and config schemas (drives the connection forms) (GET /connection-providers)

func (Unimplemented) ListDataPolicyRevisions

func (_ Unimplemented) ListDataPolicyRevisions(w http.ResponseWriter, r *http.Request, params ListDataPolicyRevisionsParams)

Published revisions, newest first (global admin) (GET /data-policies/revisions)

func (Unimplemented) ListDirectoryReconcileRuns

func (_ Unimplemented) ListDirectoryReconcileRuns(w http.ResponseWriter, r *http.Request, params ListDirectoryReconcileRunsParams)

Directory reconciliation runs — admin only (GET /admin/directory-reconcile-runs)

func (Unimplemented) ListEngineBindings

func (_ Unimplemented) ListEngineBindings(w http.ResponseWriter, r *http.Request, id PathId)

Catalogs bound to an engine (GET /engines/{id}/bindings)

func (Unimplemented) ListEngineObservations

func (_ Unimplemented) ListEngineObservations(w http.ResponseWriter, r *http.Request, id PathId)

Catalogs the federated engine reported, with managed/adopted mode (GET /engines/{id}/observations)

func (Unimplemented) ListEngines

func (_ Unimplemented) ListEngines(w http.ResponseWriter, r *http.Request)

Engines the caller may see: all for an admin; else those on connections they own or hosting a catalog granted to one of their workspaces (GET /engines)

func (Unimplemented) ListExecutions

func (_ Unimplemented) ListExecutions(w http.ResponseWriter, r *http.Request, id PathId, params ListExecutionsParams)

Workspace execution history, newest first (GET /workspaces/{id}/executions)

func (Unimplemented) ListFolders

func (_ Unimplemented) ListFolders(w http.ResponseWriter, r *http.Request, id PathId, params ListFoldersParams)

List folders of the spaces the caller can see (GET /workspaces/{id}/folders)

func (Unimplemented) ListGrantableWorkspaces

func (_ Unimplemented) ListGrantableWorkspaces(w http.ResponseWriter, r *http.Request, catalogId openapi_types.UUID)

Workspaces a catalog owner may offer the catalog to (GET /catalogs/{catalog_id}/grantable-workspaces)

func (Unimplemented) ListIdentityProviders

func (_ Unimplemented) ListIdentityProviders(w http.ResponseWriter, r *http.Request)

List configured identity providers — admin only (GET /admin/identity-providers)

func (Unimplemented) ListJoinSuggestions

func (_ Unimplemented) ListJoinSuggestions(w http.ResponseWriter, r *http.Request, id PathId, params ListJoinSuggestionsParams)

Join conditions used between two tables, best first (editor autocomplete) (GET /workspaces/{id}/metadata/join-suggestions)

func (Unimplemented) ListLineage

func (_ Unimplemented) ListLineage(w http.ResponseWriter, r *http.Request, id PathId, params ListLineageParams)

What depends on what: the lineage graph around one node (B4) (GET /workspaces/{id}/lineage)

func (Unimplemented) ListMaintenanceRuns

func (_ Unimplemented) ListMaintenanceRuns(w http.ResponseWriter, r *http.Request, catalogId openapi_types.UUID, params ListMaintenanceRunsParams)

Maintenance runs of a catalog, newest first (GET /catalogs/{catalog_id}/maintenance-runs)

func (Unimplemented) ListMetadataCatalogs

func (_ Unimplemented) ListMetadataCatalogs(w http.ResponseWriter, r *http.Request, id PathId)

Catalogs the workspace may browse, with freshness and bindings — workspace members (GET /workspaces/{id}/metadata/catalogs)

func (Unimplemented) ListMetadataFunctions

func (_ Unimplemented) ListMetadataFunctions(w http.ResponseWriter, r *http.Request, id PathId, params ListMetadataFunctionsParams)

The connected engine's function catalog (autocomplete) (GET /workspaces/{id}/metadata/functions)

func (Unimplemented) ListMetadataNamespaces

func (_ Unimplemented) ListMetadataNamespaces(w http.ResponseWriter, r *http.Request, id PathId, catalogId openapi_types.UUID, params ListMetadataNamespacesParams)

Child namespaces of a namespace (none given: the top level) (GET /workspaces/{id}/metadata/catalogs/{catalog_id}/namespaces)

func (Unimplemented) ListMetadataTables

func (_ Unimplemented) ListMetadataTables(w http.ResponseWriter, r *http.Request, id PathId, catalogId openapi_types.UUID, params ListMetadataTablesParams)

Tables of a namespace, by name, one page at a time (GET /workspaces/{id}/metadata/catalogs/{catalog_id}/tables)

func (Unimplemented) ListMigrationItems

func (_ Unimplemented) ListMigrationItems(w http.ResponseWriter, r *http.Request, id PathId, params ListMigrationItemsParams)

List individual tables in a migration (GET /migrations/{id}/items)

func (Unimplemented) ListMigrations

func (_ Unimplemented) ListMigrations(w http.ResponseWriter, r *http.Request)

List migrations — admin only (GET /migrations)

func (Unimplemented) ListMonitoringEngines

func (_ Unimplemented) ListMonitoringEngines(w http.ResponseWriter, r *http.Request)

Engines with runtime monitoring the caller can view (GET /monitoring/engines)

func (Unimplemented) ListMonitoringQueries

func (_ Unimplemented) ListMonitoringQueries(w http.ResponseWriter, r *http.Request, id PathId, params ListMonitoringQueriesParams)

Query snapshots of an engine — own queries or, for admins, everyone's (GET /engines/{id}/monitoring/queries)

func (Unimplemented) ListOIDCProviders

func (_ Unimplemented) ListOIDCProviders(w http.ResponseWriter, r *http.Request)

List configured OIDC providers (GET /auth/oidc/providers)

func (Unimplemented) ListPopularTables

func (_ Unimplemented) ListPopularTables(w http.ResponseWriter, r *http.Request, id PathId, params ListPopularTablesParams)

Tables the workspace read most in the last 30 days (B7) (GET /workspaces/{id}/metadata/popular-tables)

func (Unimplemented) ListReconcileRuns

func (_ Unimplemented) ListReconcileRuns(w http.ResponseWriter, r *http.Request, id PathId, params ListReconcileRunsParams)

Latest reconcile runs of the engine, newest first — admins (GET /engines/{id}/reconcile-runs)

func (Unimplemented) ListRequestableCatalogs

func (_ Unimplemented) ListRequestableCatalogs(w http.ResponseWriter, r *http.Request, id PathId)

Discoverable catalogs a workspace admin may request (GET /workspaces/{id}/requestable-catalogs)

func (Unimplemented) ListRetrieverDestinations

func (_ Unimplemented) ListRetrieverDestinations(w http.ResponseWriter, r *http.Request, id PathId)

Bindings this workspace may write to (Iceberg, active, on a federated engine) (GET /workspaces/{id}/retrievers/destinations)

func (Unimplemented) ListRetrievers

func (_ Unimplemented) ListRetrievers(w http.ResponseWriter, r *http.Request, id PathId)

List workspace Retrievers (GET /workspaces/{id}/retrievers)

func (Unimplemented) ListSavedQueries

func (_ Unimplemented) ListSavedQueries(w http.ResponseWriter, r *http.Request, id PathId, params ListSavedQueriesParams)

List saved queries of the spaces the caller can see (GET /workspaces/{id}/queries)

func (Unimplemented) ListSavedQueryVersions

func (_ Unimplemented) ListSavedQueryVersions(w http.ResponseWriter, r *http.Request, id PathId, queryId openapi_types.UUID, params ListSavedQueryVersionsParams)

Version history of a saved query — viewer (GET /workspaces/{id}/queries/{query_id}/versions)

func (Unimplemented) ListSearchGlossary

func (_ Unimplemented) ListSearchGlossary(w http.ResponseWriter, r *http.Request, id PathId)

The workspace's search synonyms (GET /workspaces/{id}/search/glossary)

func (Unimplemented) ListSemanticDocs

func (_ Unimplemented) ListSemanticDocs(w http.ResponseWriter, r *http.Request, id PathId, params ListSemanticDocsParams)

Docs of one table or one column — workspace members (GET /workspaces/{id}/semantic/docs)

func (Unimplemented) ListSemanticMetricVersions

func (_ Unimplemented) ListSemanticMetricVersions(w http.ResponseWriter, r *http.Request, id PathId, metricId openapi_types.UUID, params ListSemanticMetricVersionsParams)

Version history of a metric — viewer (GET /workspaces/{id}/semantic/metrics/{metric_id}/versions)

func (Unimplemented) ListSemanticMetrics

func (_ Unimplemented) ListSemanticMetrics(w http.ResponseWriter, r *http.Request, id PathId, params ListSemanticMetricsParams)

Metrics of the workspace — workspace members (GET /workspaces/{id}/semantic/metrics)

func (Unimplemented) ListSemanticModelVersions

func (_ Unimplemented) ListSemanticModelVersions(w http.ResponseWriter, r *http.Request, id PathId, modelId openapi_types.UUID, params ListSemanticModelVersionsParams)

Version history of a model — viewer (GET /workspaces/{id}/semantic/models/{model_id}/versions)

func (Unimplemented) ListSemanticModels

func (_ Unimplemented) ListSemanticModels(w http.ResponseWriter, r *http.Request, id PathId, params ListSemanticModelsParams)

Models of the workspace — workspace members (GET /workspaces/{id}/semantic/models)

func (Unimplemented) ListSemanticTags

func (_ Unimplemented) ListSemanticTags(w http.ResponseWriter, r *http.Request, id PathId, params ListSemanticTagsParams)

Tags used by docs on catalogs the workspace may use (GET /workspaces/{id}/semantic/tags)

func (Unimplemented) ListServiceAccountTokens

func (_ Unimplemented) ListServiceAccountTokens(w http.ResponseWriter, r *http.Request, id PathId)

The service account's Baleia tokens (never their secrets) — its managers (GET /service-accounts/{id}/tokens)

func (Unimplemented) ListServiceAccounts

func (_ Unimplemented) ListServiceAccounts(w http.ResponseWriter, r *http.Request)

Service accounts the caller manages: every one for a global admin, those of the workspaces they administer otherwise (#653) (GET /service-accounts)

func (Unimplemented) ListSpaceMembers

func (_ Unimplemented) ListSpaceMembers(w http.ResponseWriter, r *http.Request, id PathId, spaceId openapi_types.UUID)

The space's access list — viewer (GET /workspaces/{id}/spaces/{space_id}/members)

func (Unimplemented) ListSpaces

func (_ Unimplemented) ListSpaces(w http.ResponseWriter, r *http.Request, id PathId)

Spaces the caller can see, with their role — workspace members (GET /workspaces/{id}/spaces)

func (Unimplemented) ListStatements

func (_ Unimplemented) ListStatements(w http.ResponseWriter, r *http.Request, id PathId, executionId openapi_types.UUID)

List individual statements in a multi-statement execution (GET /workspaces/{id}/executions/{execution_id}/statements)

func (Unimplemented) ListTableHealth

func (_ Unimplemented) ListTableHealth(w http.ResponseWriter, r *http.Request, catalogId openapi_types.UUID, params ListTableHealthParams)

Iceberg table health of a logical catalog (GET /catalogs/{catalog_id}/table-health)

func (Unimplemented) ListTeamMembers

func (_ Unimplemented) ListTeamMembers(w http.ResponseWriter, r *http.Request, id PathId)

List team members (GET /teams/{id}/members)

func (Unimplemented) ListTeams

func (_ Unimplemented) ListTeams(w http.ResponseWriter, r *http.Request)

List all teams (GET /teams)

func (Unimplemented) ListTrash

func (_ Unimplemented) ListTrash(w http.ResponseWriter, r *http.Request, id PathId, params ListTrashParams)

Deleted content that has not been restored — workspace members (GET /workspaces/{id}/trash)

func (Unimplemented) ListUsers

func (_ Unimplemented) ListUsers(w http.ResponseWriter, r *http.Request, params ListUsersParams)

List all users — admin only (GET /users)

func (Unimplemented) ListWebhooks

func (_ Unimplemented) ListWebhooks(w http.ResponseWriter, r *http.Request, id PathId)

List a workspace's webhooks (GET /workspaces/{id}/webhooks)

func (Unimplemented) ListWorkloadRules

func (_ Unimplemented) ListWorkloadRules(w http.ResponseWriter, r *http.Request)

List the ordered workload rules (GET /workload-rules)

func (Unimplemented) ListWorkspaceCatalogAccess

func (_ Unimplemented) ListWorkspaceCatalogAccess(w http.ResponseWriter, r *http.Request, id PathId)

List the catalogs granted to the workspace — workspace members (GET /workspaces/{id}/catalog-access)

func (Unimplemented) ListWorkspaceMembers

func (_ Unimplemented) ListWorkspaceMembers(w http.ResponseWriter, r *http.Request, id PathId)

List the workspace's members and their roles (#653) (GET /workspaces/{id}/members)

func (Unimplemented) ListWorkspacePrincipals

func (_ Unimplemented) ListWorkspacePrincipals(w http.ResponseWriter, r *http.Request, id PathId, params ListWorkspacePrincipalsParams)

Users and teams a non-admin manager may add to a space (GET /workspaces/{id}/principals)

func (Unimplemented) ListWorkspaceTargets

func (_ Unimplemented) ListWorkspaceTargets(w http.ResponseWriter, r *http.Request, id PathId)

Where the workspace can run queries — workspace members (GET /workspaces/{id}/targets)

func (Unimplemented) ListWorkspaces

func (_ Unimplemented) ListWorkspaces(w http.ResponseWriter, r *http.Request)

List workspaces accessible to current user (GET /workspaces)

func (Unimplemented) Login

func (_ Unimplemented) Login(w http.ResponseWriter, r *http.Request)

Authenticate and receive JWT (POST /auth/login)

func (Unimplemented) Logout

func (_ Unimplemented) Logout(w http.ResponseWriter, r *http.Request)

Invalidate current session (POST /auth/logout)

func (Unimplemented) MigrateSemanticMetricsV1

func (_ Unimplemented) MigrateSemanticMetricsV1(w http.ResponseWriter, r *http.Request, id PathId)

Migrate v1 metrics into v2 models — space editor (#91, #121) (POST /workspaces/{id}/semantic/models/migrate-v1)

func (Unimplemented) OidcCallback

func (_ Unimplemented) OidcCallback(w http.ResponseWriter, r *http.Request, providerId openapi_types.UUID, params OidcCallbackParams)

OIDC callback — exchange code for JWT (GET /auth/oidc/{provider_id}/callback)

func (Unimplemented) OidcRedirect

func (_ Unimplemented) OidcRedirect(w http.ResponseWriter, r *http.Request, providerId openapi_types.UUID, params OidcRedirectParams)

Redirect to OIDC provider (GET /auth/oidc/{provider_id}/login)

func (Unimplemented) PreviewCron

func (_ Unimplemented) PreviewCron(w http.ResponseWriter, r *http.Request)

Next runs of a cron expression, from the server's parser (POST /cron/preview)

func (Unimplemented) PreviewIdentityMapping

func (_ Unimplemented) PreviewIdentityMapping(w http.ResponseWriter, r *http.Request)

Preview directory group mapping — admin only (POST /admin/identity-providers/mapping-preview)

func (Unimplemented) PublishCatalogDataPolicies

func (_ Unimplemented) PublishCatalogDataPolicies(w http.ResponseWriter, r *http.Request, id PathId)

Publish the catalog's current policies in a new signed revision (POST /catalogs/{id}/data-policies/publish)

func (Unimplemented) PutAgentPolicy

func (_ Unimplemented) PutAgentPolicy(w http.ResponseWriter, r *http.Request, agentId PathAgentId)

Replace an agent's policy within the server ceilings (PUT /agents/{agent_id}/policy)

func (Unimplemented) PutAssistantSettings

func (_ Unimplemented) PutAssistantSettings(w http.ResponseWriter, r *http.Request)

Update assistant settings; the API key is write-only (G-admin) (PUT /admin/assistant/settings)

func (Unimplemented) PutBIGateway

func (_ Unimplemented) PutBIGateway(w http.ResponseWriter, r *http.Request)

Turn the BI gateway on or off globally — admin only (PUT /admin/bi-gateway)

func (Unimplemented) PutEngineQueues

func (_ Unimplemented) PutEngineQueues(w http.ResponseWriter, r *http.Request, id PathId)

Set capacities, timeouts and the engine ceiling (PUT /engines/{id}/queues)

func (Unimplemented) PutTableMaintenance

func (_ Unimplemented) PutTableMaintenance(w http.ResponseWriter, r *http.Request, catalogId MaintenanceCatalogId, namespace MaintenanceNamespace, table MaintenanceTable, params PutTableMaintenanceParams)

Create or replace a table's maintenance parameters (PUT /catalogs/{catalog_id}/tables/{namespace}/{table}/maintenance)

func (Unimplemented) ReconcileEngine

func (_ Unimplemented) ReconcileEngine(w http.ResponseWriter, r *http.Request, id PathId, params ReconcileEngineParams)

Repair the engine's managed catalog drift and report the rest — admins (POST /engines/{id}/reconcile)

func (Unimplemented) ReconcileTrino

func (_ Unimplemented) ReconcileTrino(w http.ResponseWriter, r *http.Request, params ReconcileTrinoParams)

Deprecated alias of POST /engines/{id}/reconcile for the default Trino engine (POST /trino/reconcile)

func (Unimplemented) RefreshToken

func (_ Unimplemented) RefreshToken(w http.ResponseWriter, r *http.Request)

Exchange refresh token for new access token pair (POST /auth/refresh)

func (Unimplemented) ReinstateUser

func (_ Unimplemented) ReinstateUser(w http.ResponseWriter, r *http.Request, id PathId)

Reinstate a user — admin only (POST /users/{id}/reinstate)

func (Unimplemented) RemoveTeamMember

func (_ Unimplemented) RemoveTeamMember(w http.ResponseWriter, r *http.Request, id PathId, userId openapi_types.UUID)

Remove user from team — admin only (DELETE /teams/{id}/members/{user_id})

func (Unimplemented) RemoveUser

func (_ Unimplemented) RemoveUser(w http.ResponseWriter, r *http.Request, id PathId)

Remove a user — admin only (DELETE /users/{id})

func (Unimplemented) RemoveWorkspaceMember

func (_ Unimplemented) RemoveWorkspaceMember(w http.ResponseWriter, r *http.Request, id PathId, userId openapi_types.UUID)

Stop sharing a personal workspace with a user, or reset a team member to their default role — workspace admin only (DELETE /workspaces/{id}/members/{user_id})

func (Unimplemented) RenderSemanticMetric

func (_ Unimplemented) RenderSemanticMetric(w http.ResponseWriter, r *http.Request, id PathId)

Render a metric definition to SQL — no engine call (POST /workspaces/{id}/semantic/metrics/render)

func (Unimplemented) RequestPasswordReset

func (_ Unimplemented) RequestPasswordReset(w http.ResponseWriter, r *http.Request)

Request password reset link (POST /auth/password-reset/request)

func (Unimplemented) ResolveAudit

func (_ Unimplemented) ResolveAudit(w http.ResponseWriter, r *http.Request)

Resolve audit ids to names, only entities the caller can see (POST /audit/resolve)

func (Unimplemented) RestoreSavedQueryVersion

func (_ Unimplemented) RestoreSavedQueryVersion(w http.ResponseWriter, r *http.Request, id PathId, queryId openapi_types.UUID, version int)

Restore a saved query to a version — editor (POST /workspaces/{id}/queries/{query_id}/versions/{version}/restore)

func (Unimplemented) RestoreSemanticMetricVersion

func (_ Unimplemented) RestoreSemanticMetricVersion(w http.ResponseWriter, r *http.Request, id PathId, metricId openapi_types.UUID, version int)

Restore a metric to a version — editor (POST /workspaces/{id}/semantic/metrics/{metric_id}/versions/{version}/restore)

func (Unimplemented) RestoreSemanticModelVersion

func (_ Unimplemented) RestoreSemanticModelVersion(w http.ResponseWriter, r *http.Request, id PathId, modelId openapi_types.UUID, version int)

Restore a model to a version — editor (POST /workspaces/{id}/semantic/models/{model_id}/versions/{version}/restore)

func (Unimplemented) RevokeAgentToken

func (_ Unimplemented) RevokeAgentToken(w http.ResponseWriter, r *http.Request, agentId PathAgentId, tokenId PathAgentTokenId)

Revoke an agent token (DELETE /agents/{agent_id}/tokens/{token_id})

func (Unimplemented) RevokeCatalogAccess

func (_ Unimplemented) RevokeCatalogAccess(w http.ResponseWriter, r *http.Request, id PathId, catalogId openapi_types.UUID)

Revoke a catalog grant — same rule as granting (DELETE /workspaces/{id}/catalog-access/{catalog_id})

func (Unimplemented) RevokeServiceAccountToken

func (_ Unimplemented) RevokeServiceAccountToken(w http.ResponseWriter, r *http.Request, id PathId, tokenId openapi_types.UUID)

Revoke a Baleia token of the service account — its managers (DELETE /service-accounts/{id}/tokens/{token_id})

func (Unimplemented) RollbackDataPolicyRevision

func (_ Unimplemented) RollbackDataPolicyRevision(w http.ResponseWriter, r *http.Request, id PathId)

Publish an earlier revision's policies again with a fresh lease (global admin) (POST /data-policies/revisions/{id}/rollback)

func (Unimplemented) RunQuery

func (_ Unimplemented) RunQuery(w http.ResponseWriter, r *http.Request, id PathId)

Submit a query on a target (POST /workspaces/{id}/executions)

func (Unimplemented) RunTableMaintenance

func (_ Unimplemented) RunTableMaintenance(w http.ResponseWriter, r *http.Request, catalogId MaintenanceCatalogId, namespace MaintenanceNamespace, table MaintenanceTable)

Run one maintenance operation on the table now (POST /catalogs/{catalog_id}/tables/{namespace}/{table}/maintenance/runs)

func (Unimplemented) SearchContent

func (_ Unimplemented) SearchContent(w http.ResponseWriter, r *http.Request, id PathId, params SearchContentParams)

Search saved queries, metrics and folders in the visible spaces (GET /workspaces/{id}/content/search)

func (Unimplemented) SearchGlossaryInsights

func (_ Unimplemented) SearchGlossaryInsights(w http.ResponseWriter, r *http.Request, id PathId)

Visible model and metric matches for glossary terms (GET /workspaces/{id}/search/glossary/insights)

func (Unimplemented) SearchMetadata

func (_ Unimplemented) SearchMetadata(w http.ResponseWriter, r *http.Request, id PathId, params SearchMetadataParams)

Tables and columns whose names match, best first (autocomplete and search) (GET /workspaces/{id}/metadata/search)

func (Unimplemented) SearchSemanticDocs

func (_ Unimplemented) SearchSemanticDocs(w http.ResponseWriter, r *http.Request, id PathId, params SearchSemanticDocsParams)

Search docs by text and tag — workspace members (GET /workspaces/{id}/semantic/docs/search)

func (Unimplemented) SearchWorkspace

func (_ Unimplemented) SearchWorkspace(w http.ResponseWriter, r *http.Request, id PathId, params SearchWorkspaceParams)

One relevance-ranked search over tables, columns, docs, saved queries, metrics, models and folders (GET /workspaces/{id}/search)

func (Unimplemented) SendAssistantMessage

func (_ Unimplemented) SendAssistantMessage(w http.ResponseWriter, r *http.Request, id PathId)

Send a user message; the turn runs in the background (POST /assistant/conversations/{id}/messages)

func (Unimplemented) SetCatalogDiscoverable

func (_ Unimplemented) SetCatalogDiscoverable(w http.ResponseWriter, r *http.Request, catalogId openapi_types.UUID)

Mark the catalog discoverable so workspace admins can find and request it (PATCH /catalogs/{catalog_id}/discoverable)

func (Unimplemented) SetSpaceMember

func (_ Unimplemented) SetSpaceMember(w http.ResponseWriter, r *http.Request, id PathId, spaceId openapi_types.UUID, principalType string, principalId openapi_types.UUID)

Grant or raise a user/team role — manager (PUT /workspaces/{id}/spaces/{space_id}/members/{principal_type}/{principal_id})

func (Unimplemented) SetWorkspaceMember

func (_ Unimplemented) SetWorkspaceMember(w http.ResponseWriter, r *http.Request, id PathId, userId openapi_types.UUID)

Set a member's role, or share a personal workspace with a user — workspace admin only (PUT /workspaces/{id}/members/{user_id})

func (Unimplemented) SplitStatements

func (_ Unimplemented) SplitStatements(w http.ResponseWriter, r *http.Request, name string)

Split a script into statements with the dialect's rules (POST /dialects/{name}/split)

func (Unimplemented) StartMigration

func (_ Unimplemented) StartMigration(w http.ResponseWriter, r *http.Request, id PathId)

Start migration execution — admin only (POST /migrations/{id}/start)

func (Unimplemented) StreamAssistantConversation

func (_ Unimplemented) StreamAssistantConversation(w http.ResponseWriter, r *http.Request, id PathId, params StreamAssistantConversationParams)

Replay persisted messages and stream the live turn (SSE) (GET /assistant/conversations/{id}/events)

func (Unimplemented) StreamExecution

func (_ Unimplemented) StreamExecution(w http.ResponseWriter, r *http.Request, id PathId, executionId openapi_types.UUID, params StreamExecutionParams)

WebSocket for real-time execution progress (GET /ws/workspaces/{id}/executions/{execution_id})

func (Unimplemented) StreamMonitoringEvents

func (_ Unimplemented) StreamMonitoringEvents(w http.ResponseWriter, r *http.Request, id PathId)

Stream a signal when an engine's monitoring data changes (SSE) (GET /engines/{id}/monitoring/events)

func (Unimplemented) SuspendUser

func (_ Unimplemented) SuspendUser(w http.ResponseWriter, r *http.Request, id PathId)

Suspend a user — admin only (POST /users/{id}/suspend)

func (Unimplemented) SyncCatalog

func (_ Unimplemented) SyncCatalog(w http.ResponseWriter, r *http.Request, catalogId openapi_types.UUID)

Force re-sync of a catalog against the Trino cluster (POST /catalogs/{catalog_id}/sync)

func (Unimplemented) SyncCatalogBinding

func (_ Unimplemented) SyncCatalogBinding(w http.ResponseWriter, r *http.Request, id PathId)

Re-apply a managed binding's current projection to its engine (POST /bindings/{id}/sync)

func (Unimplemented) SyncCatalogMetadata

func (_ Unimplemented) SyncCatalogMetadata(w http.ResponseWriter, r *http.Request, catalogId openapi_types.UUID)

Refresh the catalog's metadata snapshot now (POST /catalogs/{catalog_id}/metadata/sync)

func (Unimplemented) TestAssistant

func (_ Unimplemented) TestAssistant(w http.ResponseWriter, r *http.Request)

Send a one-token prompt to the configured provider (G-admin) (POST /admin/assistant/test)

func (Unimplemented) TestCatalogConnection

func (_ Unimplemented) TestCatalogConnection(w http.ResponseWriter, r *http.Request, id PathId)

Test catalog connectivity (POST /catalog-connections/{id}/test)

func (Unimplemented) TestConnectionDraft

func (_ Unimplemented) TestConnectionDraft(w http.ResponseWriter, r *http.Request)

Test connection settings before saving them (POST /catalog-connections/test)

func (Unimplemented) TestEngine

func (_ Unimplemented) TestEngine(w http.ResponseWriter, r *http.Request, id PathId)

Reach, authenticate and version the registered engine (POST /engines/{id}/test)

func (Unimplemented) TestIdentityProvider

func (_ Unimplemented) TestIdentityProvider(w http.ResponseWriter, r *http.Request, id PathId, params TestIdentityProviderParams)

Test a stored identity provider — admin only (POST /admin/identity-providers/{id}/test)

func (Unimplemented) TestIdentityProviderTransient

func (_ Unimplemented) TestIdentityProviderTransient(w http.ResponseWriter, r *http.Request)

Test an unsaved identity provider — admin only (POST /admin/identity-providers/test)

func (Unimplemented) TestWorkloadRule

func (_ Unimplemented) TestWorkloadRule(w http.ResponseWriter, r *http.Request)

Classify a hypothetical run and say why (POST /workload-rules:test)

func (Unimplemented) TriggerRetrieverRefresh

func (_ Unimplemented) TriggerRetrieverRefresh(w http.ResponseWriter, r *http.Request, id PathId, retrieverId openapi_types.UUID)

Trigger manual Retriever refresh (POST /workspaces/{id}/retrievers/{retriever_id}/refresh)

func (Unimplemented) UpdateAgent

func (_ Unimplemented) UpdateAgent(w http.ResponseWriter, r *http.Request, agentId PathAgentId)

Update an agent (owner; an admin may only disable it) (PATCH /agents/{agent_id})

func (Unimplemented) UpdateCatalog

func (_ Unimplemented) UpdateCatalog(w http.ResponseWriter, r *http.Request, connectionId openapi_types.UUID, catalogId openapi_types.UUID)

Update a catalog (PATCH /connections/{connection_id}/catalogs/{catalog_id})

func (Unimplemented) UpdateCatalogBinding

func (_ Unimplemented) UpdateCatalogBinding(w http.ResponseWriter, r *http.Request, id PathId)

Rename, reconfigure, enable or disable a managed binding (PATCH /bindings/{id})

func (Unimplemented) UpdateCatalogConnection

func (_ Unimplemented) UpdateCatalogConnection(w http.ResponseWriter, r *http.Request, id PathId)

Update a connection — admin only (PATCH /catalog-connections/{id})

func (Unimplemented) UpdateCatalogDetail

func (_ Unimplemented) UpdateCatalogDetail(w http.ResponseWriter, r *http.Request, catalogId openapi_types.UUID)

Rename or re-describe a catalog (bundles and metrics reference it by name) (PATCH /catalogs/{catalog_id})

func (Unimplemented) UpdateDataPolicy

func (_ Unimplemented) UpdateDataPolicy(w http.ResponseWriter, r *http.Request, id PathId)

Replace a data policy and check it again (PUT /data-policies/{id})

func (Unimplemented) UpdateEngine

func (_ Unimplemented) UpdateEngine(w http.ResponseWriter, r *http.Request, id PathId)

Enable or disable an engine (owner of its connection or an admin) (PATCH /engines/{id})

func (Unimplemented) UpdateFolder

func (_ Unimplemented) UpdateFolder(w http.ResponseWriter, r *http.Request, id PathId, folderId openapi_types.UUID)

Rename a folder or move it (and its subtree) within or across spaces (PATCH /workspaces/{id}/folders/{folder_id})

func (Unimplemented) UpdateIdentityProvider

func (_ Unimplemented) UpdateIdentityProvider(w http.ResponseWriter, r *http.Request, id PathId)

Update an identity provider — admin only (PATCH /admin/identity-providers/{id})

func (Unimplemented) UpdatePassword

func (_ Unimplemented) UpdatePassword(w http.ResponseWriter, r *http.Request)

Change current user password (PATCH /me/password)

func (Unimplemented) UpdateProfile

func (_ Unimplemented) UpdateProfile(w http.ResponseWriter, r *http.Request)

Update current user profile (PATCH /me)

func (Unimplemented) UpdateRetriever

func (_ Unimplemented) UpdateRetriever(w http.ResponseWriter, r *http.Request, id PathId, retrieverId openapi_types.UUID)

Update a Retriever (PATCH /workspaces/{id}/retrievers/{retriever_id})

func (Unimplemented) UpdateSavedQuery

func (_ Unimplemented) UpdateSavedQuery(w http.ResponseWriter, r *http.Request, id PathId, queryId openapi_types.UUID)

Update a saved query (PATCH /workspaces/{id}/queries/{query_id})

func (Unimplemented) UpdateSemanticMetric

func (_ Unimplemented) UpdateSemanticMetric(w http.ResponseWriter, r *http.Request, id PathId, metricId openapi_types.UUID)

Update and revalidate a metric — space editor (PATCH /workspaces/{id}/semantic/metrics/{metric_id})

func (Unimplemented) UpdateSemanticModel

func (_ Unimplemented) UpdateSemanticModel(w http.ResponseWriter, r *http.Request, id PathId, modelId openapi_types.UUID)

Update and revalidate a model — space editor (PATCH /workspaces/{id}/semantic/models/{model_id})

func (Unimplemented) UpdateServiceAccount

func (_ Unimplemented) UpdateServiceAccount(w http.ResponseWriter, r *http.Request, id PathId)

Rename, describe or link a service account to an identity provider client — its managers (PATCH /service-accounts/{id})

func (Unimplemented) UpdateSpace

func (_ Unimplemented) UpdateSpace(w http.ResponseWriter, r *http.Request, id PathId, spaceId openapi_types.UUID)

Rename or re-scope a space — manager (PATCH /workspaces/{id}/spaces/{space_id})

func (Unimplemented) UpdateTeamMemberRole

func (_ Unimplemented) UpdateTeamMemberRole(w http.ResponseWriter, r *http.Request, id PathId, userId openapi_types.UUID)

Change a team member's role — admin only (PATCH /teams/{id}/members/{user_id})

func (Unimplemented) UpdateUserRole

func (_ Unimplemented) UpdateUserRole(w http.ResponseWriter, r *http.Request, id PathId)

Update user role — admin only (PATCH /users/{id})

func (Unimplemented) UpdateWorkloadRule

func (_ Unimplemented) UpdateWorkloadRule(w http.ResponseWriter, r *http.Request, ruleId openapi_types.UUID)

Update a workload rule (PATCH /workload-rules/{rule_id})

func (Unimplemented) UpdateWorkspace

func (_ Unimplemented) UpdateWorkspace(w http.ResponseWriter, r *http.Request, id PathId)

Update a workspace — workspace owners and admins (PATCH /workspaces/{id})

func (Unimplemented) UpsertSemanticDoc

func (_ Unimplemented) UpsertSemanticDoc(w http.ResponseWriter, r *http.Request, id PathId, params UpsertSemanticDocParams)

Create or replace a doc — workspace editors and admins (#653) (PUT /workspaces/{id}/semantic/docs)

func (Unimplemented) ValidateRetriever

func (_ Unimplemented) ValidateRetriever(w http.ResponseWriter, r *http.Request, id PathId)

Explain the definition on the destination engine in a read-only session (POST /workspaces/{id}/retrievers/validate)

func (Unimplemented) ValidateSemanticMetricDefinition

func (_ Unimplemented) ValidateSemanticMetricDefinition(w http.ResponseWriter, r *http.Request, id PathId)

Probe a metric definition against its engine — caller identity, read-only (POST /workspaces/{id}/semantic/metrics/validate)

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 UnprocessableEntity

type UnprocessableEntity = ValidationError

UnprocessableEntity defines model for UnprocessableEntity.

type UnprocessableEntityJSONResponse

type UnprocessableEntityJSONResponse ValidationError

type UpdateAgent200JSONResponse

type UpdateAgent200JSONResponse Agent

func (UpdateAgent200JSONResponse) VisitUpdateAgentResponse

func (response UpdateAgent200JSONResponse) VisitUpdateAgentResponse(w http.ResponseWriter) error

type UpdateAgent401JSONResponse

type UpdateAgent401JSONResponse struct{ UnauthorizedJSONResponse }

func (UpdateAgent401JSONResponse) VisitUpdateAgentResponse

func (response UpdateAgent401JSONResponse) VisitUpdateAgentResponse(w http.ResponseWriter) error

type UpdateAgent403JSONResponse

type UpdateAgent403JSONResponse struct{ ForbiddenJSONResponse }

func (UpdateAgent403JSONResponse) VisitUpdateAgentResponse

func (response UpdateAgent403JSONResponse) VisitUpdateAgentResponse(w http.ResponseWriter) error

type UpdateAgent404JSONResponse

type UpdateAgent404JSONResponse struct{ NotFoundJSONResponse }

func (UpdateAgent404JSONResponse) VisitUpdateAgentResponse

func (response UpdateAgent404JSONResponse) VisitUpdateAgentResponse(w http.ResponseWriter) error

type UpdateAgent422JSONResponse

type UpdateAgent422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (UpdateAgent422JSONResponse) VisitUpdateAgentResponse

func (response UpdateAgent422JSONResponse) VisitUpdateAgentResponse(w http.ResponseWriter) error

type UpdateAgentJSONRequestBody

type UpdateAgentJSONRequestBody = UpdateAgentRequest

UpdateAgentJSONRequestBody defines body for UpdateAgent for application/json ContentType.

type UpdateAgentRequest

type UpdateAgentRequest struct {
	Description  *string                   `json:"description,omitempty"`
	Name         *string                   `json:"name,omitempty"`
	Status       *UpdateAgentRequestStatus `json:"status,omitempty"`
	WorkspaceIds *[]openapi_types.UUID     `json:"workspace_ids,omitempty"`
}

UpdateAgentRequest defines model for UpdateAgentRequest.

type UpdateAgentRequestObject

type UpdateAgentRequestObject struct {
	AgentId PathAgentId `json:"agent_id"`
	Body    *UpdateAgentJSONRequestBody
}

type UpdateAgentRequestStatus

type UpdateAgentRequestStatus string

UpdateAgentRequestStatus defines model for UpdateAgentRequest.Status.

const (
	UpdateAgentRequestStatusActive   UpdateAgentRequestStatus = "active"
	UpdateAgentRequestStatusDisabled UpdateAgentRequestStatus = "disabled"
)

Defines values for UpdateAgentRequestStatus.

type UpdateAgentResponseObject

type UpdateAgentResponseObject interface {
	VisitUpdateAgentResponse(w http.ResponseWriter) error
}

type UpdateAssistantSettingsRequest

type UpdateAssistantSettingsRequest struct {
	// ApiKey Write-only; omit or leave empty to keep the stored key
	ApiKey                  *string                                    `json:"api_key,omitempty"`
	BaseUrl                 *string                                    `json:"base_url,omitempty"`
	DailyTokenBudgetPerUser *int                                       `json:"daily_token_budget_per_user,omitempty"`
	DataSharing             *UpdateAssistantSettingsRequestDataSharing `json:"data_sharing,omitempty"`
	Enabled                 *bool                                      `json:"enabled,omitempty"`
	MaxOutputTokensPerTurn  *int                                       `json:"max_output_tokens_per_turn,omitempty"`
	MaxToolCallsPerTurn     *int                                       `json:"max_tool_calls_per_turn,omitempty"`
	MaxTurnSeconds          *int                                       `json:"max_turn_seconds,omitempty"`
	Model                   *string                                    `json:"model,omitempty"`
	Provider                *UpdateAssistantSettingsRequestProvider    `json:"provider,omitempty"`
}

UpdateAssistantSettingsRequest defines model for UpdateAssistantSettingsRequest.

type UpdateAssistantSettingsRequestDataSharing

type UpdateAssistantSettingsRequestDataSharing string

UpdateAssistantSettingsRequestDataSharing defines model for UpdateAssistantSettingsRequest.DataSharing.

const (
	MetadataAndSamples UpdateAssistantSettingsRequestDataSharing = "metadata_and_samples"
	MetadataOnly       UpdateAssistantSettingsRequestDataSharing = "metadata_only"
)

Defines values for UpdateAssistantSettingsRequestDataSharing.

type UpdateAssistantSettingsRequestProvider

type UpdateAssistantSettingsRequestProvider string

UpdateAssistantSettingsRequestProvider defines model for UpdateAssistantSettingsRequest.Provider.

const (
	UpdateAssistantSettingsRequestProviderAnthropic        UpdateAssistantSettingsRequestProvider = "anthropic"
	UpdateAssistantSettingsRequestProviderOpenaiCompatible UpdateAssistantSettingsRequestProvider = "openai_compatible"
)

Defines values for UpdateAssistantSettingsRequestProvider.

type UpdateBIGatewayRequest

type UpdateBIGatewayRequest struct {
	Enabled bool `json:"enabled"`
}

UpdateBIGatewayRequest defines model for UpdateBIGatewayRequest.

type UpdateBindingRequest

type UpdateBindingRequest struct {
	Enabled           *bool   `json:"enabled,omitempty"`
	EngineCatalogName *string `json:"engine_catalog_name,omitempty"`

	// ExtraProps Replaces the binding's extra properties
	ExtraProps *map[string]string `json:"extra_props,omitempty"`
}

UpdateBindingRequest defines model for UpdateBindingRequest.

type UpdateCatalog200JSONResponse

type UpdateCatalog200JSONResponse Catalog

func (UpdateCatalog200JSONResponse) VisitUpdateCatalogResponse

func (response UpdateCatalog200JSONResponse) VisitUpdateCatalogResponse(w http.ResponseWriter) error

type UpdateCatalog401JSONResponse

type UpdateCatalog401JSONResponse struct{ UnauthorizedJSONResponse }

func (UpdateCatalog401JSONResponse) VisitUpdateCatalogResponse

func (response UpdateCatalog401JSONResponse) VisitUpdateCatalogResponse(w http.ResponseWriter) error

type UpdateCatalog403JSONResponse

type UpdateCatalog403JSONResponse struct{ ForbiddenJSONResponse }

func (UpdateCatalog403JSONResponse) VisitUpdateCatalogResponse

func (response UpdateCatalog403JSONResponse) VisitUpdateCatalogResponse(w http.ResponseWriter) error

type UpdateCatalog404JSONResponse

type UpdateCatalog404JSONResponse struct{ NotFoundJSONResponse }

func (UpdateCatalog404JSONResponse) VisitUpdateCatalogResponse

func (response UpdateCatalog404JSONResponse) VisitUpdateCatalogResponse(w http.ResponseWriter) error

type UpdateCatalog409JSONResponse

type UpdateCatalog409JSONResponse struct{ ConflictJSONResponse }

func (UpdateCatalog409JSONResponse) VisitUpdateCatalogResponse

func (response UpdateCatalog409JSONResponse) VisitUpdateCatalogResponse(w http.ResponseWriter) error

type UpdateCatalog422JSONResponse

type UpdateCatalog422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (UpdateCatalog422JSONResponse) VisitUpdateCatalogResponse

func (response UpdateCatalog422JSONResponse) VisitUpdateCatalogResponse(w http.ResponseWriter) error

type UpdateCatalogBinding200JSONResponse

type UpdateCatalogBinding200JSONResponse CatalogBinding

func (UpdateCatalogBinding200JSONResponse) VisitUpdateCatalogBindingResponse

func (response UpdateCatalogBinding200JSONResponse) VisitUpdateCatalogBindingResponse(w http.ResponseWriter) error

type UpdateCatalogBinding401JSONResponse

type UpdateCatalogBinding401JSONResponse struct{ UnauthorizedJSONResponse }

func (UpdateCatalogBinding401JSONResponse) VisitUpdateCatalogBindingResponse

func (response UpdateCatalogBinding401JSONResponse) VisitUpdateCatalogBindingResponse(w http.ResponseWriter) error

type UpdateCatalogBinding403JSONResponse

type UpdateCatalogBinding403JSONResponse struct{ ForbiddenJSONResponse }

func (UpdateCatalogBinding403JSONResponse) VisitUpdateCatalogBindingResponse

func (response UpdateCatalogBinding403JSONResponse) VisitUpdateCatalogBindingResponse(w http.ResponseWriter) error

type UpdateCatalogBinding404JSONResponse

type UpdateCatalogBinding404JSONResponse struct{ NotFoundJSONResponse }

func (UpdateCatalogBinding404JSONResponse) VisitUpdateCatalogBindingResponse

func (response UpdateCatalogBinding404JSONResponse) VisitUpdateCatalogBindingResponse(w http.ResponseWriter) error

type UpdateCatalogBinding409JSONResponse

type UpdateCatalogBinding409JSONResponse struct{ ConflictJSONResponse }

func (UpdateCatalogBinding409JSONResponse) VisitUpdateCatalogBindingResponse

func (response UpdateCatalogBinding409JSONResponse) VisitUpdateCatalogBindingResponse(w http.ResponseWriter) error

type UpdateCatalogBinding422JSONResponse

type UpdateCatalogBinding422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (UpdateCatalogBinding422JSONResponse) VisitUpdateCatalogBindingResponse

func (response UpdateCatalogBinding422JSONResponse) VisitUpdateCatalogBindingResponse(w http.ResponseWriter) error

type UpdateCatalogBindingJSONRequestBody

type UpdateCatalogBindingJSONRequestBody = UpdateBindingRequest

UpdateCatalogBindingJSONRequestBody defines body for UpdateCatalogBinding for application/json ContentType.

type UpdateCatalogBindingRequestObject

type UpdateCatalogBindingRequestObject struct {
	Id   PathId `json:"id"`
	Body *UpdateCatalogBindingJSONRequestBody
}

type UpdateCatalogBindingResponseObject

type UpdateCatalogBindingResponseObject interface {
	VisitUpdateCatalogBindingResponse(w http.ResponseWriter) error
}

type UpdateCatalogConnection200JSONResponse

type UpdateCatalogConnection200JSONResponse CatalogConnection

func (UpdateCatalogConnection200JSONResponse) VisitUpdateCatalogConnectionResponse

func (response UpdateCatalogConnection200JSONResponse) VisitUpdateCatalogConnectionResponse(w http.ResponseWriter) error

type UpdateCatalogConnection401JSONResponse

type UpdateCatalogConnection401JSONResponse struct{ UnauthorizedJSONResponse }

func (UpdateCatalogConnection401JSONResponse) VisitUpdateCatalogConnectionResponse

func (response UpdateCatalogConnection401JSONResponse) VisitUpdateCatalogConnectionResponse(w http.ResponseWriter) error

type UpdateCatalogConnection403JSONResponse

type UpdateCatalogConnection403JSONResponse struct{ ForbiddenJSONResponse }

func (UpdateCatalogConnection403JSONResponse) VisitUpdateCatalogConnectionResponse

func (response UpdateCatalogConnection403JSONResponse) VisitUpdateCatalogConnectionResponse(w http.ResponseWriter) error

type UpdateCatalogConnection404JSONResponse

type UpdateCatalogConnection404JSONResponse struct{ NotFoundJSONResponse }

func (UpdateCatalogConnection404JSONResponse) VisitUpdateCatalogConnectionResponse

func (response UpdateCatalogConnection404JSONResponse) VisitUpdateCatalogConnectionResponse(w http.ResponseWriter) error

type UpdateCatalogConnection409JSONResponse

type UpdateCatalogConnection409JSONResponse struct{ ConflictJSONResponse }

func (UpdateCatalogConnection409JSONResponse) VisitUpdateCatalogConnectionResponse

func (response UpdateCatalogConnection409JSONResponse) VisitUpdateCatalogConnectionResponse(w http.ResponseWriter) error

type UpdateCatalogConnection422JSONResponse

type UpdateCatalogConnection422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (UpdateCatalogConnection422JSONResponse) VisitUpdateCatalogConnectionResponse

func (response UpdateCatalogConnection422JSONResponse) VisitUpdateCatalogConnectionResponse(w http.ResponseWriter) error

type UpdateCatalogConnectionJSONRequestBody

type UpdateCatalogConnectionJSONRequestBody = UpdateCatalogConnectionRequest

UpdateCatalogConnectionJSONRequestBody defines body for UpdateCatalogConnection for application/json ContentType.

type UpdateCatalogConnectionRequest

type UpdateCatalogConnectionRequest struct {
	Config      *map[string]string      `json:"config,omitempty"`
	Credentials *map[string]interface{} `json:"credentials,omitempty"`

	// CredentialsReadOnly The administrator asserts these credentials cannot modify data (#11/#13/#59)
	CredentialsReadOnly *bool   `json:"credentials_read_only,omitempty"`
	Name                *string `json:"name,omitempty"`

	// Url Older shape: the endpoint URL. Prefer config
	Url *string `json:"url,omitempty"`
}

UpdateCatalogConnectionRequest Partial update. `config` keys are merged into the stored values (an empty string clears an optional field). `credentials` keys replace the stored secrets they name; secrets that are absent are kept. The result is validated like a create.

type UpdateCatalogConnectionRequestObject

type UpdateCatalogConnectionRequestObject struct {
	Id   PathId `json:"id"`
	Body *UpdateCatalogConnectionJSONRequestBody
}

type UpdateCatalogConnectionResponseObject

type UpdateCatalogConnectionResponseObject interface {
	VisitUpdateCatalogConnectionResponse(w http.ResponseWriter) error
}

type UpdateCatalogDetail200JSONResponse

type UpdateCatalogDetail200JSONResponse Catalog

func (UpdateCatalogDetail200JSONResponse) VisitUpdateCatalogDetailResponse

func (response UpdateCatalogDetail200JSONResponse) VisitUpdateCatalogDetailResponse(w http.ResponseWriter) error

type UpdateCatalogDetail401JSONResponse

type UpdateCatalogDetail401JSONResponse struct{ UnauthorizedJSONResponse }

func (UpdateCatalogDetail401JSONResponse) VisitUpdateCatalogDetailResponse

func (response UpdateCatalogDetail401JSONResponse) VisitUpdateCatalogDetailResponse(w http.ResponseWriter) error

type UpdateCatalogDetail403JSONResponse

type UpdateCatalogDetail403JSONResponse struct{ ForbiddenJSONResponse }

func (UpdateCatalogDetail403JSONResponse) VisitUpdateCatalogDetailResponse

func (response UpdateCatalogDetail403JSONResponse) VisitUpdateCatalogDetailResponse(w http.ResponseWriter) error

type UpdateCatalogDetail404JSONResponse

type UpdateCatalogDetail404JSONResponse struct{ NotFoundJSONResponse }

func (UpdateCatalogDetail404JSONResponse) VisitUpdateCatalogDetailResponse

func (response UpdateCatalogDetail404JSONResponse) VisitUpdateCatalogDetailResponse(w http.ResponseWriter) error

type UpdateCatalogDetail422JSONResponse

type UpdateCatalogDetail422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (UpdateCatalogDetail422JSONResponse) VisitUpdateCatalogDetailResponse

func (response UpdateCatalogDetail422JSONResponse) VisitUpdateCatalogDetailResponse(w http.ResponseWriter) error

type UpdateCatalogDetailJSONRequestBody

type UpdateCatalogDetailJSONRequestBody = UpdateCatalogDetailRequest

UpdateCatalogDetailJSONRequestBody defines body for UpdateCatalogDetail for application/json ContentType.

type UpdateCatalogDetailRequest

type UpdateCatalogDetailRequest struct {
	Description *string `json:"description"`
	Name        *string `json:"name,omitempty"`
}

UpdateCatalogDetailRequest defines model for UpdateCatalogDetailRequest.

type UpdateCatalogDetailRequestObject

type UpdateCatalogDetailRequestObject struct {
	CatalogId openapi_types.UUID `json:"catalog_id"`
	Body      *UpdateCatalogDetailJSONRequestBody
}

type UpdateCatalogDetailResponseObject

type UpdateCatalogDetailResponseObject interface {
	VisitUpdateCatalogDetailResponse(w http.ResponseWriter) error
}

type UpdateCatalogJSONRequestBody

type UpdateCatalogJSONRequestBody = UpdateCatalogRequest

UpdateCatalogJSONRequestBody defines body for UpdateCatalog for application/json ContentType.

type UpdateCatalogRequest

type UpdateCatalogRequest struct {
	// Config Replaces the catalog's configuration, validated against the connection type's catalog_schema. Omitted, the stored one is kept.
	Config      *map[string]string `json:"config,omitempty"`
	Connector   *string            `json:"connector,omitempty"`
	Description *string            `json:"description,omitempty"`

	// ExtraProps Connector-specific overrides (flat string→string map) merged on top of the auto-generated properties.
	ExtraProps       *map[string]string `json:"extra_props,omitempty"`
	Name             *string            `json:"name,omitempty"`
	TrinoCatalogName *string            `json:"trino_catalog_name,omitempty"`
	Warehouse        *string            `json:"warehouse,omitempty"`
}

UpdateCatalogRequest Partial update. `name` renames the catalog, `trino_catalog_name` renames its Trino catalog identifier, and the other fields replace their stored value.

type UpdateCatalogRequestObject

type UpdateCatalogRequestObject struct {
	ConnectionId openapi_types.UUID `json:"connection_id"`
	CatalogId    openapi_types.UUID `json:"catalog_id"`
	Body         *UpdateCatalogJSONRequestBody
}

type UpdateCatalogResponseObject

type UpdateCatalogResponseObject interface {
	VisitUpdateCatalogResponse(w http.ResponseWriter) error
}

type UpdateDataPolicy200JSONResponse

type UpdateDataPolicy200JSONResponse DataPolicy

func (UpdateDataPolicy200JSONResponse) VisitUpdateDataPolicyResponse

func (response UpdateDataPolicy200JSONResponse) VisitUpdateDataPolicyResponse(w http.ResponseWriter) error

type UpdateDataPolicy401JSONResponse

type UpdateDataPolicy401JSONResponse struct{ UnauthorizedJSONResponse }

func (UpdateDataPolicy401JSONResponse) VisitUpdateDataPolicyResponse

func (response UpdateDataPolicy401JSONResponse) VisitUpdateDataPolicyResponse(w http.ResponseWriter) error

type UpdateDataPolicy403JSONResponse

type UpdateDataPolicy403JSONResponse struct{ ForbiddenJSONResponse }

func (UpdateDataPolicy403JSONResponse) VisitUpdateDataPolicyResponse

func (response UpdateDataPolicy403JSONResponse) VisitUpdateDataPolicyResponse(w http.ResponseWriter) error

type UpdateDataPolicy404JSONResponse

type UpdateDataPolicy404JSONResponse struct{ NotFoundJSONResponse }

func (UpdateDataPolicy404JSONResponse) VisitUpdateDataPolicyResponse

func (response UpdateDataPolicy404JSONResponse) VisitUpdateDataPolicyResponse(w http.ResponseWriter) error

type UpdateDataPolicy409JSONResponse

type UpdateDataPolicy409JSONResponse struct{ ConflictJSONResponse }

func (UpdateDataPolicy409JSONResponse) VisitUpdateDataPolicyResponse

func (response UpdateDataPolicy409JSONResponse) VisitUpdateDataPolicyResponse(w http.ResponseWriter) error

type UpdateDataPolicy422JSONResponse

type UpdateDataPolicy422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (UpdateDataPolicy422JSONResponse) VisitUpdateDataPolicyResponse

func (response UpdateDataPolicy422JSONResponse) VisitUpdateDataPolicyResponse(w http.ResponseWriter) error

type UpdateDataPolicyJSONRequestBody

type UpdateDataPolicyJSONRequestBody = UpdateDataPolicyRequest

UpdateDataPolicyJSONRequestBody defines body for UpdateDataPolicy for application/json ContentType.

type UpdateDataPolicyRequest

type UpdateDataPolicyRequest struct {
	Column      *string             `json:"column,omitempty"`
	Description *string             `json:"description,omitempty"`
	Expression  string              `json:"expression"`
	Kind        DataPolicyKind      `json:"kind"`
	Mode        *DataPolicyMode     `json:"mode,omitempty"`
	Name        string              `json:"name"`
	Priority    *int32              `json:"priority,omitempty"`
	Schema      string              `json:"schema"`
	State       *DataPolicyState    `json:"state,omitempty"`
	Subjects    []DataPolicySubject `json:"subjects"`
	Table       string              `json:"table"`

	// Template Which editor template filled a mask's expression; a hint only
	Template *DataPolicyTemplate `json:"template,omitempty"`

	// Version The version read; another update since then is a 409 version_conflict
	Version int64 `json:"version"`
}

UpdateDataPolicyRequest defines model for UpdateDataPolicyRequest.

type UpdateDataPolicyRequestObject

type UpdateDataPolicyRequestObject struct {
	Id   PathId `json:"id"`
	Body *UpdateDataPolicyJSONRequestBody
}

type UpdateDataPolicyResponseObject

type UpdateDataPolicyResponseObject interface {
	VisitUpdateDataPolicyResponse(w http.ResponseWriter) error
}

type UpdateEngine200JSONResponse

type UpdateEngine200JSONResponse Engine

func (UpdateEngine200JSONResponse) VisitUpdateEngineResponse

func (response UpdateEngine200JSONResponse) VisitUpdateEngineResponse(w http.ResponseWriter) error

type UpdateEngine401JSONResponse

type UpdateEngine401JSONResponse struct{ UnauthorizedJSONResponse }

func (UpdateEngine401JSONResponse) VisitUpdateEngineResponse

func (response UpdateEngine401JSONResponse) VisitUpdateEngineResponse(w http.ResponseWriter) error

type UpdateEngine403JSONResponse

type UpdateEngine403JSONResponse struct{ ForbiddenJSONResponse }

func (UpdateEngine403JSONResponse) VisitUpdateEngineResponse

func (response UpdateEngine403JSONResponse) VisitUpdateEngineResponse(w http.ResponseWriter) error

type UpdateEngine404JSONResponse

type UpdateEngine404JSONResponse struct{ NotFoundJSONResponse }

func (UpdateEngine404JSONResponse) VisitUpdateEngineResponse

func (response UpdateEngine404JSONResponse) VisitUpdateEngineResponse(w http.ResponseWriter) error

type UpdateEngine422JSONResponse

type UpdateEngine422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (UpdateEngine422JSONResponse) VisitUpdateEngineResponse

func (response UpdateEngine422JSONResponse) VisitUpdateEngineResponse(w http.ResponseWriter) error

type UpdateEngineJSONRequestBody

type UpdateEngineJSONRequestBody = UpdateEngineRequest

UpdateEngineJSONRequestBody defines body for UpdateEngine for application/json ContentType.

type UpdateEngineQueue

type UpdateEngineQueue struct {
	Class          UpdateEngineQueueClass `json:"class"`
	MaxQueued      int                    `json:"max_queued"`
	MaxRunning     int                    `json:"max_running"`
	QueueTimeoutMs int                    `json:"queue_timeout_ms"`

	// RuntimeTimeoutMs Omitted or null keeps the class default
	RuntimeTimeoutMs *int `json:"runtime_timeout_ms"`
}

UpdateEngineQueue defines model for UpdateEngineQueue.

type UpdateEngineQueueClass

type UpdateEngineQueueClass string

UpdateEngineQueueClass defines model for UpdateEngineQueue.Class.

const (
	UpdateEngineQueueClassBackground  UpdateEngineQueueClass = "background"
	UpdateEngineQueueClassHeavy       UpdateEngineQueueClass = "heavy"
	UpdateEngineQueueClassInteractive UpdateEngineQueueClass = "interactive"
)

Defines values for UpdateEngineQueueClass.

type UpdateEngineQueuesRequest

type UpdateEngineQueuesRequest struct {
	Classes         []UpdateEngineQueue `json:"classes"`
	MaxRunningTotal *int                `json:"max_running_total"`

	// TrinoResourceGroupsEnabled Hand admission over to Trino's resource groups (#600)
	TrinoResourceGroupsEnabled *bool `json:"trino_resource_groups_enabled,omitempty"`
}

UpdateEngineQueuesRequest defines model for UpdateEngineQueuesRequest.

type UpdateEngineRequest

type UpdateEngineRequest struct {
	// ClearCostThreshold Set cost_threshold_bytes to null; cannot be combined with cost_threshold_bytes
	ClearCostThreshold *bool  `json:"clear_cost_threshold,omitempty"`
	CostRoutingEnabled *bool  `json:"cost_routing_enabled,omitempty"`
	CostThresholdBytes *int64 `json:"cost_threshold_bytes"`

	// DataPolicies State that the engine enforces data policies (ADR 0028). Turning it off is refused with 422 data_policies_unenforced while the engine has a binding of a catalog that carries data policies
	DataPolicies *bool `json:"data_policies,omitempty"`
	Enabled      *bool `json:"enabled,omitempty"`
}

UpdateEngineRequest defines model for UpdateEngineRequest.

type UpdateEngineRequestObject

type UpdateEngineRequestObject struct {
	Id   PathId `json:"id"`
	Body *UpdateEngineJSONRequestBody
}

type UpdateEngineResponseObject

type UpdateEngineResponseObject interface {
	VisitUpdateEngineResponse(w http.ResponseWriter) error
}

type UpdateFolder200JSONResponse

type UpdateFolder200JSONResponse QueryFolder

func (UpdateFolder200JSONResponse) VisitUpdateFolderResponse

func (response UpdateFolder200JSONResponse) VisitUpdateFolderResponse(w http.ResponseWriter) error

type UpdateFolder401JSONResponse

type UpdateFolder401JSONResponse struct{ UnauthorizedJSONResponse }

func (UpdateFolder401JSONResponse) VisitUpdateFolderResponse

func (response UpdateFolder401JSONResponse) VisitUpdateFolderResponse(w http.ResponseWriter) error

type UpdateFolder403JSONResponse

type UpdateFolder403JSONResponse struct{ ForbiddenJSONResponse }

func (UpdateFolder403JSONResponse) VisitUpdateFolderResponse

func (response UpdateFolder403JSONResponse) VisitUpdateFolderResponse(w http.ResponseWriter) error

type UpdateFolder404JSONResponse

type UpdateFolder404JSONResponse struct{ NotFoundJSONResponse }

func (UpdateFolder404JSONResponse) VisitUpdateFolderResponse

func (response UpdateFolder404JSONResponse) VisitUpdateFolderResponse(w http.ResponseWriter) error

type UpdateFolder422JSONResponse

type UpdateFolder422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (UpdateFolder422JSONResponse) VisitUpdateFolderResponse

func (response UpdateFolder422JSONResponse) VisitUpdateFolderResponse(w http.ResponseWriter) error

type UpdateFolderJSONRequestBody

type UpdateFolderJSONRequestBody = UpdateFolderRequest

UpdateFolderJSONRequestBody defines body for UpdateFolder for application/json ContentType.

type UpdateFolderRequest

type UpdateFolderRequest struct {
	Name     *string             `json:"name,omitempty"`
	ParentId *openapi_types.UUID `json:"parent_id"`
	Slug     *string             `json:"slug,omitempty"`
	SpaceId  *openapi_types.UUID `json:"space_id"`
}

UpdateFolderRequest defines model for UpdateFolderRequest.

type UpdateFolderRequestObject

type UpdateFolderRequestObject struct {
	Id       PathId             `json:"id"`
	FolderId openapi_types.UUID `json:"folder_id"`
	Body     *UpdateFolderJSONRequestBody
}

type UpdateFolderResponseObject

type UpdateFolderResponseObject interface {
	VisitUpdateFolderResponse(w http.ResponseWriter) error
}

type UpdateIdentityProvider200JSONResponse

type UpdateIdentityProvider200JSONResponse IdentityProviderDetail

func (UpdateIdentityProvider200JSONResponse) VisitUpdateIdentityProviderResponse

func (response UpdateIdentityProvider200JSONResponse) VisitUpdateIdentityProviderResponse(w http.ResponseWriter) error

type UpdateIdentityProvider401JSONResponse

type UpdateIdentityProvider401JSONResponse struct{ UnauthorizedJSONResponse }

func (UpdateIdentityProvider401JSONResponse) VisitUpdateIdentityProviderResponse

func (response UpdateIdentityProvider401JSONResponse) VisitUpdateIdentityProviderResponse(w http.ResponseWriter) error

type UpdateIdentityProvider403JSONResponse

type UpdateIdentityProvider403JSONResponse struct{ ForbiddenJSONResponse }

func (UpdateIdentityProvider403JSONResponse) VisitUpdateIdentityProviderResponse

func (response UpdateIdentityProvider403JSONResponse) VisitUpdateIdentityProviderResponse(w http.ResponseWriter) error

type UpdateIdentityProvider404JSONResponse

type UpdateIdentityProvider404JSONResponse struct{ NotFoundJSONResponse }

func (UpdateIdentityProvider404JSONResponse) VisitUpdateIdentityProviderResponse

func (response UpdateIdentityProvider404JSONResponse) VisitUpdateIdentityProviderResponse(w http.ResponseWriter) error

type UpdateIdentityProvider422JSONResponse

type UpdateIdentityProvider422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (UpdateIdentityProvider422JSONResponse) VisitUpdateIdentityProviderResponse

func (response UpdateIdentityProvider422JSONResponse) VisitUpdateIdentityProviderResponse(w http.ResponseWriter) error

type UpdateIdentityProviderJSONRequestBody

type UpdateIdentityProviderJSONRequestBody = UpdateIdentityProviderRequest

UpdateIdentityProviderJSONRequestBody defines body for UpdateIdentityProvider for application/json ContentType.

type UpdateIdentityProviderRequest

type UpdateIdentityProviderRequest struct {
	Enabled *bool `json:"enabled,omitempty"`

	// Ldap LDAP configuration update. Omitted fields keep their stored value; an empty `bind_password` clears it.
	Ldap *UpdateLDAPConfig `json:"ldap,omitempty"`
	Name *string           `json:"name,omitempty"`

	// Oidc OIDC configuration update. Omitted fields keep their stored value; an empty `client_secret` clears it.
	Oidc *UpdateOIDCConfig `json:"oidc,omitempty"`
}

UpdateIdentityProviderRequest Partial update. The provider type is immutable; a config of the other type is rejected.

type UpdateIdentityProviderRequestObject

type UpdateIdentityProviderRequestObject struct {
	Id   PathId `json:"id"`
	Body *UpdateIdentityProviderJSONRequestBody
}

type UpdateIdentityProviderResponseObject

type UpdateIdentityProviderResponseObject interface {
	VisitUpdateIdentityProviderResponse(w http.ResponseWriter) error
}

type UpdateLDAPConfig

type UpdateLDAPConfig struct {
	BaseDn *string `json:"base_dn,omitempty"`
	BindDn *string `json:"bind_dn,omitempty"`

	// BindPassword Omit to keep the stored secret; send an empty string to clear it.
	BindPassword *string `json:"bind_password,omitempty"`

	// CaPem Omit to keep the stored CA bundle; send an empty string to use the system roots.
	CaPem            *string                      `json:"ca_pem,omitempty"`
	DefaultRole      *UpdateLDAPConfigDefaultRole `json:"default_role,omitempty"`
	EmailAttribute   *string                      `json:"email_attribute,omitempty"`
	GroupAttribute   *string                      `json:"group_attribute,omitempty"`
	NameAttribute    *string                      `json:"name_attribute,omitempty"`
	NestedGroups     *bool                        `json:"nested_groups,omitempty"`
	RequiredGroup    *string                      `json:"required_group,omitempty"`
	RoleMapping      *[]IdentityRoleMapping       `json:"role_mapping,omitempty"`
	StartTls         *bool                        `json:"start_tls,omitempty"`
	TeamMapping      *[]IdentityTeamMapping       `json:"team_mapping,omitempty"`
	TimeoutSeconds   *int                         `json:"timeout_seconds,omitempty"`
	Url              *string                      `json:"url,omitempty"`
	UserFilter       *string                      `json:"user_filter,omitempty"`
	WorkspaceMapping *[]IdentityWorkspaceMapping  `json:"workspace_mapping,omitempty"`
}

UpdateLDAPConfig LDAP configuration update. Omitted fields keep their stored value; an empty `bind_password` clears it.

type UpdateLDAPConfigDefaultRole

type UpdateLDAPConfigDefaultRole string

UpdateLDAPConfigDefaultRole defines model for UpdateLDAPConfig.DefaultRole.

const (
	UpdateLDAPConfigDefaultRoleAdmin  UpdateLDAPConfigDefaultRole = "admin"
	UpdateLDAPConfigDefaultRoleMember UpdateLDAPConfigDefaultRole = "member"
)

Defines values for UpdateLDAPConfigDefaultRole.

type UpdateOIDCConfig

type UpdateOIDCConfig struct {
	AllowedEmailDomains *[]string `json:"allowed_email_domains,omitempty"`
	AutoCreate          *bool     `json:"auto_create,omitempty"`

	// Claims Claim names published by the provider; empty uses the standard name.
	Claims   *OIDCClaimsConfig `json:"claims,omitempty"`
	ClientId *string           `json:"client_id,omitempty"`

	// ClientSecret Omit to keep the stored secret; send an empty string to clear it.
	ClientSecret     *string                      `json:"client_secret,omitempty"`
	DefaultRole      *UpdateOIDCConfigDefaultRole `json:"default_role,omitempty"`
	IssuerUrl        *string                      `json:"issuer_url,omitempty"`
	RoleMapping      *[]IdentityRoleMapping       `json:"role_mapping,omitempty"`
	TeamMapping      *[]IdentityTeamMapping       `json:"team_mapping,omitempty"`
	WorkspaceMapping *[]IdentityWorkspaceMapping  `json:"workspace_mapping,omitempty"`
}

UpdateOIDCConfig OIDC configuration update. Omitted fields keep their stored value; an empty `client_secret` clears it.

type UpdateOIDCConfigDefaultRole

type UpdateOIDCConfigDefaultRole string

UpdateOIDCConfigDefaultRole defines model for UpdateOIDCConfig.DefaultRole.

const (
	UpdateOIDCConfigDefaultRoleAdmin  UpdateOIDCConfigDefaultRole = "admin"
	UpdateOIDCConfigDefaultRoleMember UpdateOIDCConfigDefaultRole = "member"
)

Defines values for UpdateOIDCConfigDefaultRole.

type UpdatePassword204Response

type UpdatePassword204Response = NoContentResponse

func (UpdatePassword204Response) VisitUpdatePasswordResponse

func (response UpdatePassword204Response) VisitUpdatePasswordResponse(w http.ResponseWriter) error

type UpdatePassword401JSONResponse

type UpdatePassword401JSONResponse struct{ UnauthorizedJSONResponse }

func (UpdatePassword401JSONResponse) VisitUpdatePasswordResponse

func (response UpdatePassword401JSONResponse) VisitUpdatePasswordResponse(w http.ResponseWriter) error

type UpdatePassword422JSONResponse

type UpdatePassword422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (UpdatePassword422JSONResponse) VisitUpdatePasswordResponse

func (response UpdatePassword422JSONResponse) VisitUpdatePasswordResponse(w http.ResponseWriter) error

type UpdatePasswordJSONRequestBody

type UpdatePasswordJSONRequestBody = UpdatePasswordRequest

UpdatePasswordJSONRequestBody defines body for UpdatePassword for application/json ContentType.

type UpdatePasswordRequest

type UpdatePasswordRequest struct {
	CurrentPassword string `json:"current_password"`
	NewPassword     string `json:"new_password"`
}

UpdatePasswordRequest defines model for UpdatePasswordRequest.

type UpdatePasswordRequestObject

type UpdatePasswordRequestObject struct {
	Body *UpdatePasswordJSONRequestBody
}

type UpdatePasswordResponseObject

type UpdatePasswordResponseObject interface {
	VisitUpdatePasswordResponse(w http.ResponseWriter) error
}

type UpdateProfile200JSONResponse

type UpdateProfile200JSONResponse UserPublic

func (UpdateProfile200JSONResponse) VisitUpdateProfileResponse

func (response UpdateProfile200JSONResponse) VisitUpdateProfileResponse(w http.ResponseWriter) error

type UpdateProfile401JSONResponse

type UpdateProfile401JSONResponse struct{ UnauthorizedJSONResponse }

func (UpdateProfile401JSONResponse) VisitUpdateProfileResponse

func (response UpdateProfile401JSONResponse) VisitUpdateProfileResponse(w http.ResponseWriter) error

type UpdateProfile422JSONResponse

type UpdateProfile422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (UpdateProfile422JSONResponse) VisitUpdateProfileResponse

func (response UpdateProfile422JSONResponse) VisitUpdateProfileResponse(w http.ResponseWriter) error

type UpdateProfileJSONRequestBody

type UpdateProfileJSONRequestBody = UpdateProfileRequest

UpdateProfileJSONRequestBody defines body for UpdateProfile for application/json ContentType.

type UpdateProfileRequest

type UpdateProfileRequest struct {
	Email  *openapi_types.Email `json:"email,omitempty"`
	Locale *Locale              `json:"locale,omitempty"`
	Name   *string              `json:"name,omitempty"`
}

UpdateProfileRequest defines model for UpdateProfileRequest.

type UpdateProfileRequestObject

type UpdateProfileRequestObject struct {
	Body *UpdateProfileJSONRequestBody
}

type UpdateProfileResponseObject

type UpdateProfileResponseObject interface {
	VisitUpdateProfileResponse(w http.ResponseWriter) error
}

type UpdateRetriever200JSONResponse

type UpdateRetriever200JSONResponse Retriever

func (UpdateRetriever200JSONResponse) VisitUpdateRetrieverResponse

func (response UpdateRetriever200JSONResponse) VisitUpdateRetrieverResponse(w http.ResponseWriter) error

type UpdateRetriever401JSONResponse

type UpdateRetriever401JSONResponse struct{ UnauthorizedJSONResponse }

func (UpdateRetriever401JSONResponse) VisitUpdateRetrieverResponse

func (response UpdateRetriever401JSONResponse) VisitUpdateRetrieverResponse(w http.ResponseWriter) error

type UpdateRetriever403JSONResponse

type UpdateRetriever403JSONResponse struct{ ForbiddenJSONResponse }

func (UpdateRetriever403JSONResponse) VisitUpdateRetrieverResponse

func (response UpdateRetriever403JSONResponse) VisitUpdateRetrieverResponse(w http.ResponseWriter) error

type UpdateRetriever404JSONResponse

type UpdateRetriever404JSONResponse struct{ NotFoundJSONResponse }

func (UpdateRetriever404JSONResponse) VisitUpdateRetrieverResponse

func (response UpdateRetriever404JSONResponse) VisitUpdateRetrieverResponse(w http.ResponseWriter) error

type UpdateRetriever422JSONResponse

type UpdateRetriever422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (UpdateRetriever422JSONResponse) VisitUpdateRetrieverResponse

func (response UpdateRetriever422JSONResponse) VisitUpdateRetrieverResponse(w http.ResponseWriter) error

type UpdateRetrieverJSONRequestBody

type UpdateRetrieverJSONRequestBody = UpdateRetrieverRequest

UpdateRetrieverJSONRequestBody defines body for UpdateRetriever for application/json ContentType.

type UpdateRetrieverRequest

type UpdateRetrieverRequest struct {
	// CronSchedule Standard five-field cron, optionally prefixed with CRON_TZ=<IANA>. The minimum interval is 5 minutes.
	CronSchedule  *string                            `json:"cron_schedule,omitempty"`
	DefinitionSql *string                            `json:"definition_sql,omitempty"`
	DestBindingId *openapi_types.UUID                `json:"dest_binding_id,omitempty"`
	DestNamespace *string                            `json:"dest_namespace,omitempty"`
	DestTable     *string                            `json:"dest_table,omitempty"`
	Name          *string                            `json:"name,omitempty"`
	RefreshType   *UpdateRetrieverRequestRefreshType `json:"refresh_type,omitempty"`
	Status        *UpdateRetrieverRequestStatus      `json:"status,omitempty"`
}

UpdateRetrieverRequest defines model for UpdateRetrieverRequest.

type UpdateRetrieverRequestObject

type UpdateRetrieverRequestObject struct {
	Id          PathId             `json:"id"`
	RetrieverId openapi_types.UUID `json:"retriever_id"`
	Body        *UpdateRetrieverJSONRequestBody
}

type UpdateRetrieverRequestRefreshType

type UpdateRetrieverRequestRefreshType string

UpdateRetrieverRequestRefreshType defines model for UpdateRetrieverRequest.RefreshType.

const (
	UpdateRetrieverRequestRefreshTypeFull        UpdateRetrieverRequestRefreshType = "full"
	UpdateRetrieverRequestRefreshTypeIncremental UpdateRetrieverRequestRefreshType = "incremental"
)

Defines values for UpdateRetrieverRequestRefreshType.

type UpdateRetrieverRequestStatus

type UpdateRetrieverRequestStatus string

UpdateRetrieverRequestStatus defines model for UpdateRetrieverRequest.Status.

const (
	UpdateRetrieverRequestStatusActive UpdateRetrieverRequestStatus = "active"
	UpdateRetrieverRequestStatusPaused UpdateRetrieverRequestStatus = "paused"
)

Defines values for UpdateRetrieverRequestStatus.

type UpdateRetrieverResponseObject

type UpdateRetrieverResponseObject interface {
	VisitUpdateRetrieverResponse(w http.ResponseWriter) error
}

type UpdateSavedQuery200JSONResponse

type UpdateSavedQuery200JSONResponse SavedQuery

func (UpdateSavedQuery200JSONResponse) VisitUpdateSavedQueryResponse

func (response UpdateSavedQuery200JSONResponse) VisitUpdateSavedQueryResponse(w http.ResponseWriter) error

type UpdateSavedQuery401JSONResponse

type UpdateSavedQuery401JSONResponse struct{ UnauthorizedJSONResponse }

func (UpdateSavedQuery401JSONResponse) VisitUpdateSavedQueryResponse

func (response UpdateSavedQuery401JSONResponse) VisitUpdateSavedQueryResponse(w http.ResponseWriter) error

type UpdateSavedQuery403JSONResponse

type UpdateSavedQuery403JSONResponse struct{ ForbiddenJSONResponse }

func (UpdateSavedQuery403JSONResponse) VisitUpdateSavedQueryResponse

func (response UpdateSavedQuery403JSONResponse) VisitUpdateSavedQueryResponse(w http.ResponseWriter) error

type UpdateSavedQuery404JSONResponse

type UpdateSavedQuery404JSONResponse struct{ NotFoundJSONResponse }

func (UpdateSavedQuery404JSONResponse) VisitUpdateSavedQueryResponse

func (response UpdateSavedQuery404JSONResponse) VisitUpdateSavedQueryResponse(w http.ResponseWriter) error

type UpdateSavedQuery409JSONResponse

type UpdateSavedQuery409JSONResponse struct{ ConflictJSONResponse }

func (UpdateSavedQuery409JSONResponse) VisitUpdateSavedQueryResponse

func (response UpdateSavedQuery409JSONResponse) VisitUpdateSavedQueryResponse(w http.ResponseWriter) error

type UpdateSavedQuery422JSONResponse

type UpdateSavedQuery422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (UpdateSavedQuery422JSONResponse) VisitUpdateSavedQueryResponse

func (response UpdateSavedQuery422JSONResponse) VisitUpdateSavedQueryResponse(w http.ResponseWriter) error

type UpdateSavedQueryJSONRequestBody

type UpdateSavedQueryJSONRequestBody = UpdateSavedQueryRequest

UpdateSavedQueryJSONRequestBody defines body for UpdateSavedQuery for application/json ContentType.

type UpdateSavedQueryRequest

type UpdateSavedQueryRequest struct {
	// ExpectedVersion Reject with 409 version_conflict when the latest content version differs
	ExpectedVersion *int                `json:"expected_version"`
	FolderId        *openapi_types.UUID `json:"folder_id"`

	// MoveToRoot Explicitly move the query to the space root; folder_id wins when present
	MoveToRoot *bool               `json:"move_to_root,omitempty"`
	Name       *string             `json:"name,omitempty"`
	Slug       *string             `json:"slug"`
	SpaceId    *openapi_types.UUID `json:"space_id"`
	Sql        *string             `json:"sql,omitempty"`
	Target     *SavedQueryTarget   `json:"target,omitempty"`
}

UpdateSavedQueryRequest defines model for UpdateSavedQueryRequest.

type UpdateSavedQueryRequestObject

type UpdateSavedQueryRequestObject struct {
	Id      PathId             `json:"id"`
	QueryId openapi_types.UUID `json:"query_id"`
	Body    *UpdateSavedQueryJSONRequestBody
}

type UpdateSavedQueryResponseObject

type UpdateSavedQueryResponseObject interface {
	VisitUpdateSavedQueryResponse(w http.ResponseWriter) error
}

type UpdateSemanticMetric200JSONResponse

type UpdateSemanticMetric200JSONResponse SemanticMetric

func (UpdateSemanticMetric200JSONResponse) VisitUpdateSemanticMetricResponse

func (response UpdateSemanticMetric200JSONResponse) VisitUpdateSemanticMetricResponse(w http.ResponseWriter) error

type UpdateSemanticMetric401JSONResponse

type UpdateSemanticMetric401JSONResponse struct{ UnauthorizedJSONResponse }

func (UpdateSemanticMetric401JSONResponse) VisitUpdateSemanticMetricResponse

func (response UpdateSemanticMetric401JSONResponse) VisitUpdateSemanticMetricResponse(w http.ResponseWriter) error

type UpdateSemanticMetric403JSONResponse

type UpdateSemanticMetric403JSONResponse struct{ ForbiddenJSONResponse }

func (UpdateSemanticMetric403JSONResponse) VisitUpdateSemanticMetricResponse

func (response UpdateSemanticMetric403JSONResponse) VisitUpdateSemanticMetricResponse(w http.ResponseWriter) error

type UpdateSemanticMetric404JSONResponse

type UpdateSemanticMetric404JSONResponse struct{ NotFoundJSONResponse }

func (UpdateSemanticMetric404JSONResponse) VisitUpdateSemanticMetricResponse

func (response UpdateSemanticMetric404JSONResponse) VisitUpdateSemanticMetricResponse(w http.ResponseWriter) error

type UpdateSemanticMetric409JSONResponse

type UpdateSemanticMetric409JSONResponse struct{ ConflictJSONResponse }

func (UpdateSemanticMetric409JSONResponse) VisitUpdateSemanticMetricResponse

func (response UpdateSemanticMetric409JSONResponse) VisitUpdateSemanticMetricResponse(w http.ResponseWriter) error

type UpdateSemanticMetric422JSONResponse

type UpdateSemanticMetric422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (UpdateSemanticMetric422JSONResponse) VisitUpdateSemanticMetricResponse

func (response UpdateSemanticMetric422JSONResponse) VisitUpdateSemanticMetricResponse(w http.ResponseWriter) error

type UpdateSemanticMetricJSONRequestBody

type UpdateSemanticMetricJSONRequestBody = SemanticMetricUpdate

UpdateSemanticMetricJSONRequestBody defines body for UpdateSemanticMetric for application/json ContentType.

type UpdateSemanticMetricRequestObject

type UpdateSemanticMetricRequestObject struct {
	Id       PathId             `json:"id"`
	MetricId openapi_types.UUID `json:"metric_id"`
	Body     *UpdateSemanticMetricJSONRequestBody
}

type UpdateSemanticMetricResponseObject

type UpdateSemanticMetricResponseObject interface {
	VisitUpdateSemanticMetricResponse(w http.ResponseWriter) error
}

type UpdateSemanticModel200JSONResponse

type UpdateSemanticModel200JSONResponse SemanticModel

func (UpdateSemanticModel200JSONResponse) VisitUpdateSemanticModelResponse

func (response UpdateSemanticModel200JSONResponse) VisitUpdateSemanticModelResponse(w http.ResponseWriter) error

type UpdateSemanticModel401JSONResponse

type UpdateSemanticModel401JSONResponse struct{ UnauthorizedJSONResponse }

func (UpdateSemanticModel401JSONResponse) VisitUpdateSemanticModelResponse

func (response UpdateSemanticModel401JSONResponse) VisitUpdateSemanticModelResponse(w http.ResponseWriter) error

type UpdateSemanticModel403JSONResponse

type UpdateSemanticModel403JSONResponse struct{ ForbiddenJSONResponse }

func (UpdateSemanticModel403JSONResponse) VisitUpdateSemanticModelResponse

func (response UpdateSemanticModel403JSONResponse) VisitUpdateSemanticModelResponse(w http.ResponseWriter) error

type UpdateSemanticModel404JSONResponse

type UpdateSemanticModel404JSONResponse struct{ NotFoundJSONResponse }

func (UpdateSemanticModel404JSONResponse) VisitUpdateSemanticModelResponse

func (response UpdateSemanticModel404JSONResponse) VisitUpdateSemanticModelResponse(w http.ResponseWriter) error

type UpdateSemanticModel409JSONResponse

type UpdateSemanticModel409JSONResponse struct{ ConflictJSONResponse }

func (UpdateSemanticModel409JSONResponse) VisitUpdateSemanticModelResponse

func (response UpdateSemanticModel409JSONResponse) VisitUpdateSemanticModelResponse(w http.ResponseWriter) error

type UpdateSemanticModel422JSONResponse

type UpdateSemanticModel422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (UpdateSemanticModel422JSONResponse) VisitUpdateSemanticModelResponse

func (response UpdateSemanticModel422JSONResponse) VisitUpdateSemanticModelResponse(w http.ResponseWriter) error

type UpdateSemanticModelJSONRequestBody

type UpdateSemanticModelJSONRequestBody = SemanticModelUpdate

UpdateSemanticModelJSONRequestBody defines body for UpdateSemanticModel for application/json ContentType.

type UpdateSemanticModelRequestObject

type UpdateSemanticModelRequestObject struct {
	Id      PathId             `json:"id"`
	ModelId openapi_types.UUID `json:"model_id"`
	Body    *UpdateSemanticModelJSONRequestBody
}

type UpdateSemanticModelResponseObject

type UpdateSemanticModelResponseObject interface {
	VisitUpdateSemanticModelResponse(w http.ResponseWriter) error
}

type UpdateServiceAccount200JSONResponse

type UpdateServiceAccount200JSONResponse ServiceAccount

func (UpdateServiceAccount200JSONResponse) VisitUpdateServiceAccountResponse

func (response UpdateServiceAccount200JSONResponse) VisitUpdateServiceAccountResponse(w http.ResponseWriter) error

type UpdateServiceAccount401JSONResponse

type UpdateServiceAccount401JSONResponse struct{ UnauthorizedJSONResponse }

func (UpdateServiceAccount401JSONResponse) VisitUpdateServiceAccountResponse

func (response UpdateServiceAccount401JSONResponse) VisitUpdateServiceAccountResponse(w http.ResponseWriter) error

type UpdateServiceAccount404JSONResponse

type UpdateServiceAccount404JSONResponse struct{ NotFoundJSONResponse }

func (UpdateServiceAccount404JSONResponse) VisitUpdateServiceAccountResponse

func (response UpdateServiceAccount404JSONResponse) VisitUpdateServiceAccountResponse(w http.ResponseWriter) error

type UpdateServiceAccount409JSONResponse

type UpdateServiceAccount409JSONResponse struct{ ConflictJSONResponse }

func (UpdateServiceAccount409JSONResponse) VisitUpdateServiceAccountResponse

func (response UpdateServiceAccount409JSONResponse) VisitUpdateServiceAccountResponse(w http.ResponseWriter) error

type UpdateServiceAccount422JSONResponse

type UpdateServiceAccount422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (UpdateServiceAccount422JSONResponse) VisitUpdateServiceAccountResponse

func (response UpdateServiceAccount422JSONResponse) VisitUpdateServiceAccountResponse(w http.ResponseWriter) error

type UpdateServiceAccountJSONRequestBody

type UpdateServiceAccountJSONRequestBody = UpdateServiceAccountRequest

UpdateServiceAccountJSONRequestBody defines body for UpdateServiceAccount for application/json ContentType.

type UpdateServiceAccountRequest

type UpdateServiceAccountRequest struct {
	ClientId           *string             `json:"client_id"`
	Description        *string             `json:"description"`
	IdentityProviderId *openapi_types.UUID `json:"identity_provider_id"`
	Name               string              `json:"name"`
}

UpdateServiceAccountRequest defines model for UpdateServiceAccountRequest.

type UpdateServiceAccountRequestObject

type UpdateServiceAccountRequestObject struct {
	Id   PathId `json:"id"`
	Body *UpdateServiceAccountJSONRequestBody
}

type UpdateServiceAccountResponseObject

type UpdateServiceAccountResponseObject interface {
	VisitUpdateServiceAccountResponse(w http.ResponseWriter) error
}

type UpdateSpace200JSONResponse

type UpdateSpace200JSONResponse Space

func (UpdateSpace200JSONResponse) VisitUpdateSpaceResponse

func (response UpdateSpace200JSONResponse) VisitUpdateSpaceResponse(w http.ResponseWriter) error

type UpdateSpace401JSONResponse

type UpdateSpace401JSONResponse struct{ UnauthorizedJSONResponse }

func (UpdateSpace401JSONResponse) VisitUpdateSpaceResponse

func (response UpdateSpace401JSONResponse) VisitUpdateSpaceResponse(w http.ResponseWriter) error

type UpdateSpace403JSONResponse

type UpdateSpace403JSONResponse struct{ ForbiddenJSONResponse }

func (UpdateSpace403JSONResponse) VisitUpdateSpaceResponse

func (response UpdateSpace403JSONResponse) VisitUpdateSpaceResponse(w http.ResponseWriter) error

type UpdateSpace404JSONResponse

type UpdateSpace404JSONResponse struct{ NotFoundJSONResponse }

func (UpdateSpace404JSONResponse) VisitUpdateSpaceResponse

func (response UpdateSpace404JSONResponse) VisitUpdateSpaceResponse(w http.ResponseWriter) error

type UpdateSpace422JSONResponse

type UpdateSpace422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (UpdateSpace422JSONResponse) VisitUpdateSpaceResponse

func (response UpdateSpace422JSONResponse) VisitUpdateSpaceResponse(w http.ResponseWriter) error

type UpdateSpaceJSONRequestBody

type UpdateSpaceJSONRequestBody = UpdateSpaceRequest

UpdateSpaceJSONRequestBody defines body for UpdateSpace for application/json ContentType.

type UpdateSpaceRequest

type UpdateSpaceRequest struct {
	DefaultRole *UpdateSpaceRequestDefaultRole `json:"default_role,omitempty"`
	Description *string                        `json:"description"`
	Name        *string                        `json:"name,omitempty"`
	Visibility  *UpdateSpaceRequestVisibility  `json:"visibility,omitempty"`
}

UpdateSpaceRequest defines model for UpdateSpaceRequest.

type UpdateSpaceRequestDefaultRole

type UpdateSpaceRequestDefaultRole string

UpdateSpaceRequestDefaultRole defines model for UpdateSpaceRequest.DefaultRole.

const (
	UpdateSpaceRequestDefaultRoleEditor UpdateSpaceRequestDefaultRole = "editor"
	UpdateSpaceRequestDefaultRoleViewer UpdateSpaceRequestDefaultRole = "viewer"
)

Defines values for UpdateSpaceRequestDefaultRole.

type UpdateSpaceRequestObject

type UpdateSpaceRequestObject struct {
	Id      PathId             `json:"id"`
	SpaceId openapi_types.UUID `json:"space_id"`
	Body    *UpdateSpaceJSONRequestBody
}

type UpdateSpaceRequestVisibility

type UpdateSpaceRequestVisibility string

UpdateSpaceRequestVisibility defines model for UpdateSpaceRequest.Visibility.

const (
	UpdateSpaceRequestVisibilityRestricted UpdateSpaceRequestVisibility = "restricted"
	UpdateSpaceRequestVisibilityWorkspace  UpdateSpaceRequestVisibility = "workspace"
)

Defines values for UpdateSpaceRequestVisibility.

type UpdateSpaceResponseObject

type UpdateSpaceResponseObject interface {
	VisitUpdateSpaceResponse(w http.ResponseWriter) error
}

type UpdateTeamMemberRole200JSONResponse

type UpdateTeamMemberRole200JSONResponse TeamMember

func (UpdateTeamMemberRole200JSONResponse) VisitUpdateTeamMemberRoleResponse

func (response UpdateTeamMemberRole200JSONResponse) VisitUpdateTeamMemberRoleResponse(w http.ResponseWriter) error

type UpdateTeamMemberRole401JSONResponse

type UpdateTeamMemberRole401JSONResponse struct{ UnauthorizedJSONResponse }

func (UpdateTeamMemberRole401JSONResponse) VisitUpdateTeamMemberRoleResponse

func (response UpdateTeamMemberRole401JSONResponse) VisitUpdateTeamMemberRoleResponse(w http.ResponseWriter) error

type UpdateTeamMemberRole403JSONResponse

type UpdateTeamMemberRole403JSONResponse struct{ ForbiddenJSONResponse }

func (UpdateTeamMemberRole403JSONResponse) VisitUpdateTeamMemberRoleResponse

func (response UpdateTeamMemberRole403JSONResponse) VisitUpdateTeamMemberRoleResponse(w http.ResponseWriter) error

type UpdateTeamMemberRole404JSONResponse

type UpdateTeamMemberRole404JSONResponse struct{ NotFoundJSONResponse }

func (UpdateTeamMemberRole404JSONResponse) VisitUpdateTeamMemberRoleResponse

func (response UpdateTeamMemberRole404JSONResponse) VisitUpdateTeamMemberRoleResponse(w http.ResponseWriter) error

type UpdateTeamMemberRole422JSONResponse

type UpdateTeamMemberRole422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (UpdateTeamMemberRole422JSONResponse) VisitUpdateTeamMemberRoleResponse

func (response UpdateTeamMemberRole422JSONResponse) VisitUpdateTeamMemberRoleResponse(w http.ResponseWriter) error

type UpdateTeamMemberRoleJSONRequestBody

type UpdateTeamMemberRoleJSONRequestBody = UpdateTeamMemberRoleRequest

UpdateTeamMemberRoleJSONRequestBody defines body for UpdateTeamMemberRole for application/json ContentType.

type UpdateTeamMemberRoleRequest

type UpdateTeamMemberRoleRequest struct {
	Role UpdateTeamMemberRoleRequestRole `json:"role"`
}

UpdateTeamMemberRoleRequest defines model for UpdateTeamMemberRoleRequest.

type UpdateTeamMemberRoleRequestObject

type UpdateTeamMemberRoleRequestObject struct {
	Id     PathId             `json:"id"`
	UserId openapi_types.UUID `json:"user_id"`
	Body   *UpdateTeamMemberRoleJSONRequestBody
}

type UpdateTeamMemberRoleRequestRole

type UpdateTeamMemberRoleRequestRole string

UpdateTeamMemberRoleRequestRole defines model for UpdateTeamMemberRoleRequest.Role.

const (
	UpdateTeamMemberRoleRequestRoleMember UpdateTeamMemberRoleRequestRole = "member"
	UpdateTeamMemberRoleRequestRoleOwner  UpdateTeamMemberRoleRequestRole = "owner"
)

Defines values for UpdateTeamMemberRoleRequestRole.

type UpdateTeamMemberRoleResponseObject

type UpdateTeamMemberRoleResponseObject interface {
	VisitUpdateTeamMemberRoleResponse(w http.ResponseWriter) error
}

type UpdateUserRole200JSONResponse

type UpdateUserRole200JSONResponse UserPublic

func (UpdateUserRole200JSONResponse) VisitUpdateUserRoleResponse

func (response UpdateUserRole200JSONResponse) VisitUpdateUserRoleResponse(w http.ResponseWriter) error

type UpdateUserRole401JSONResponse

type UpdateUserRole401JSONResponse struct{ UnauthorizedJSONResponse }

func (UpdateUserRole401JSONResponse) VisitUpdateUserRoleResponse

func (response UpdateUserRole401JSONResponse) VisitUpdateUserRoleResponse(w http.ResponseWriter) error

type UpdateUserRole403JSONResponse

type UpdateUserRole403JSONResponse struct{ ForbiddenJSONResponse }

func (UpdateUserRole403JSONResponse) VisitUpdateUserRoleResponse

func (response UpdateUserRole403JSONResponse) VisitUpdateUserRoleResponse(w http.ResponseWriter) error

type UpdateUserRole404JSONResponse

type UpdateUserRole404JSONResponse struct{ NotFoundJSONResponse }

func (UpdateUserRole404JSONResponse) VisitUpdateUserRoleResponse

func (response UpdateUserRole404JSONResponse) VisitUpdateUserRoleResponse(w http.ResponseWriter) error

type UpdateUserRoleJSONRequestBody

type UpdateUserRoleJSONRequestBody = UpdateUserRoleRequest

UpdateUserRoleJSONRequestBody defines body for UpdateUserRole for application/json ContentType.

type UpdateUserRoleRequest

type UpdateUserRoleRequest struct {
	Role UpdateUserRoleRequestRole `json:"role"`
}

UpdateUserRoleRequest defines model for UpdateUserRoleRequest.

type UpdateUserRoleRequestObject

type UpdateUserRoleRequestObject struct {
	Id   PathId `json:"id"`
	Body *UpdateUserRoleJSONRequestBody
}

type UpdateUserRoleRequestRole

type UpdateUserRoleRequestRole string

UpdateUserRoleRequestRole defines model for UpdateUserRoleRequest.Role.

const (
	UpdateUserRoleRequestRoleAdmin  UpdateUserRoleRequestRole = "admin"
	UpdateUserRoleRequestRoleMember UpdateUserRoleRequestRole = "member"
)

Defines values for UpdateUserRoleRequestRole.

type UpdateUserRoleResponseObject

type UpdateUserRoleResponseObject interface {
	VisitUpdateUserRoleResponse(w http.ResponseWriter) error
}

type UpdateWorkloadRule200JSONResponse

type UpdateWorkloadRule200JSONResponse WorkloadRule

func (UpdateWorkloadRule200JSONResponse) VisitUpdateWorkloadRuleResponse

func (response UpdateWorkloadRule200JSONResponse) VisitUpdateWorkloadRuleResponse(w http.ResponseWriter) error

type UpdateWorkloadRule401JSONResponse

type UpdateWorkloadRule401JSONResponse struct{ UnauthorizedJSONResponse }

func (UpdateWorkloadRule401JSONResponse) VisitUpdateWorkloadRuleResponse

func (response UpdateWorkloadRule401JSONResponse) VisitUpdateWorkloadRuleResponse(w http.ResponseWriter) error

type UpdateWorkloadRule403JSONResponse

type UpdateWorkloadRule403JSONResponse struct{ ForbiddenJSONResponse }

func (UpdateWorkloadRule403JSONResponse) VisitUpdateWorkloadRuleResponse

func (response UpdateWorkloadRule403JSONResponse) VisitUpdateWorkloadRuleResponse(w http.ResponseWriter) error

type UpdateWorkloadRule404JSONResponse

type UpdateWorkloadRule404JSONResponse struct{ NotFoundJSONResponse }

func (UpdateWorkloadRule404JSONResponse) VisitUpdateWorkloadRuleResponse

func (response UpdateWorkloadRule404JSONResponse) VisitUpdateWorkloadRuleResponse(w http.ResponseWriter) error

type UpdateWorkloadRule422JSONResponse

type UpdateWorkloadRule422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (UpdateWorkloadRule422JSONResponse) VisitUpdateWorkloadRuleResponse

func (response UpdateWorkloadRule422JSONResponse) VisitUpdateWorkloadRuleResponse(w http.ResponseWriter) error

type UpdateWorkloadRuleJSONRequestBody

type UpdateWorkloadRuleJSONRequestBody = UpdateWorkloadRuleRequest

UpdateWorkloadRuleJSONRequestBody defines body for UpdateWorkloadRule for application/json ContentType.

type UpdateWorkloadRuleRequest

type UpdateWorkloadRuleRequest struct {
	Class   *UpdateWorkloadRuleRequestClass `json:"class,omitempty"`
	Enabled *bool                           `json:"enabled,omitempty"`

	// Match Closed match schema (#539). Every field present must match; an empty object is a catch-all rule.
	Match    *WorkloadRuleMatch                 `json:"match,omitempty"`
	MaxClass *UpdateWorkloadRuleRequestMaxClass `json:"max_class"`
	Position *int                               `json:"position,omitempty"`
	Weight   *int                               `json:"weight,omitempty"`
}

UpdateWorkloadRuleRequest defines model for UpdateWorkloadRuleRequest.

type UpdateWorkloadRuleRequestClass

type UpdateWorkloadRuleRequestClass string

UpdateWorkloadRuleRequestClass defines model for UpdateWorkloadRuleRequest.Class.

const (
	UpdateWorkloadRuleRequestClassBackground  UpdateWorkloadRuleRequestClass = "background"
	UpdateWorkloadRuleRequestClassHeavy       UpdateWorkloadRuleRequestClass = "heavy"
	UpdateWorkloadRuleRequestClassInteractive UpdateWorkloadRuleRequestClass = "interactive"
)

Defines values for UpdateWorkloadRuleRequestClass.

type UpdateWorkloadRuleRequestMaxClass

type UpdateWorkloadRuleRequestMaxClass string

UpdateWorkloadRuleRequestMaxClass defines model for UpdateWorkloadRuleRequest.MaxClass.

const (
	UpdateWorkloadRuleRequestMaxClassBackground  UpdateWorkloadRuleRequestMaxClass = "background"
	UpdateWorkloadRuleRequestMaxClassHeavy       UpdateWorkloadRuleRequestMaxClass = "heavy"
	UpdateWorkloadRuleRequestMaxClassInteractive UpdateWorkloadRuleRequestMaxClass = "interactive"
)

Defines values for UpdateWorkloadRuleRequestMaxClass.

type UpdateWorkloadRuleRequestObject

type UpdateWorkloadRuleRequestObject struct {
	RuleId openapi_types.UUID `json:"rule_id"`
	Body   *UpdateWorkloadRuleJSONRequestBody
}

type UpdateWorkloadRuleResponseObject

type UpdateWorkloadRuleResponseObject interface {
	VisitUpdateWorkloadRuleResponse(w http.ResponseWriter) error
}

type UpdateWorkspace200JSONResponse

type UpdateWorkspace200JSONResponse Workspace

func (UpdateWorkspace200JSONResponse) VisitUpdateWorkspaceResponse

func (response UpdateWorkspace200JSONResponse) VisitUpdateWorkspaceResponse(w http.ResponseWriter) error

type UpdateWorkspace401JSONResponse

type UpdateWorkspace401JSONResponse struct{ UnauthorizedJSONResponse }

func (UpdateWorkspace401JSONResponse) VisitUpdateWorkspaceResponse

func (response UpdateWorkspace401JSONResponse) VisitUpdateWorkspaceResponse(w http.ResponseWriter) error

type UpdateWorkspace403JSONResponse

type UpdateWorkspace403JSONResponse struct{ ForbiddenJSONResponse }

func (UpdateWorkspace403JSONResponse) VisitUpdateWorkspaceResponse

func (response UpdateWorkspace403JSONResponse) VisitUpdateWorkspaceResponse(w http.ResponseWriter) error

type UpdateWorkspace404JSONResponse

type UpdateWorkspace404JSONResponse struct{ NotFoundJSONResponse }

func (UpdateWorkspace404JSONResponse) VisitUpdateWorkspaceResponse

func (response UpdateWorkspace404JSONResponse) VisitUpdateWorkspaceResponse(w http.ResponseWriter) error

type UpdateWorkspace422JSONResponse

type UpdateWorkspace422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (UpdateWorkspace422JSONResponse) VisitUpdateWorkspaceResponse

func (response UpdateWorkspace422JSONResponse) VisitUpdateWorkspaceResponse(w http.ResponseWriter) error

type UpdateWorkspaceJSONRequestBody

type UpdateWorkspaceJSONRequestBody = UpdateWorkspaceRequest

UpdateWorkspaceJSONRequestBody defines body for UpdateWorkspace for application/json ContentType.

type UpdateWorkspaceRequest

type UpdateWorkspaceRequest struct {
	// BiEnabled Turn the BI gateway off or on for this workspace (ADR 0017). Omitted, unchanged.
	BiEnabled *bool `json:"bi_enabled,omitempty"`

	// DefaultTarget Sets the workspace default target ({"binding_id": null} clears it). The binding must be a target of the workspace (GET /workspaces/{id}/targets). Omitted, the default is unchanged.
	DefaultTarget *struct {
		BindingId *openapi_types.UUID `json:"binding_id"`
		Schema    *string             `json:"schema"`
	} `json:"default_target,omitempty"`
	Description *string `json:"description,omitempty"`
	Name        *string `json:"name,omitempty"`
}

UpdateWorkspaceRequest defines model for UpdateWorkspaceRequest.

type UpdateWorkspaceRequestObject

type UpdateWorkspaceRequestObject struct {
	Id   PathId `json:"id"`
	Body *UpdateWorkspaceJSONRequestBody
}

type UpdateWorkspaceResponseObject

type UpdateWorkspaceResponseObject interface {
	VisitUpdateWorkspaceResponse(w http.ResponseWriter) error
}

type UpsertSemanticDoc200JSONResponse

type UpsertSemanticDoc200JSONResponse SemanticDoc

func (UpsertSemanticDoc200JSONResponse) VisitUpsertSemanticDocResponse

func (response UpsertSemanticDoc200JSONResponse) VisitUpsertSemanticDocResponse(w http.ResponseWriter) error

type UpsertSemanticDoc401JSONResponse

type UpsertSemanticDoc401JSONResponse struct{ UnauthorizedJSONResponse }

func (UpsertSemanticDoc401JSONResponse) VisitUpsertSemanticDocResponse

func (response UpsertSemanticDoc401JSONResponse) VisitUpsertSemanticDocResponse(w http.ResponseWriter) error

type UpsertSemanticDoc403JSONResponse

type UpsertSemanticDoc403JSONResponse struct{ ForbiddenJSONResponse }

func (UpsertSemanticDoc403JSONResponse) VisitUpsertSemanticDocResponse

func (response UpsertSemanticDoc403JSONResponse) VisitUpsertSemanticDocResponse(w http.ResponseWriter) error

type UpsertSemanticDoc404JSONResponse

type UpsertSemanticDoc404JSONResponse struct{ NotFoundJSONResponse }

func (UpsertSemanticDoc404JSONResponse) VisitUpsertSemanticDocResponse

func (response UpsertSemanticDoc404JSONResponse) VisitUpsertSemanticDocResponse(w http.ResponseWriter) error

type UpsertSemanticDoc409JSONResponse

type UpsertSemanticDoc409JSONResponse struct{ ConflictJSONResponse }

func (UpsertSemanticDoc409JSONResponse) VisitUpsertSemanticDocResponse

func (response UpsertSemanticDoc409JSONResponse) VisitUpsertSemanticDocResponse(w http.ResponseWriter) error

type UpsertSemanticDoc422JSONResponse

type UpsertSemanticDoc422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (UpsertSemanticDoc422JSONResponse) VisitUpsertSemanticDocResponse

func (response UpsertSemanticDoc422JSONResponse) VisitUpsertSemanticDocResponse(w http.ResponseWriter) error

type UpsertSemanticDocJSONRequestBody

type UpsertSemanticDocJSONRequestBody = SemanticDocUpsert

UpsertSemanticDocJSONRequestBody defines body for UpsertSemanticDoc for application/json ContentType.

type UpsertSemanticDocParams

type UpsertSemanticDocParams struct {
	CatalogId openapi_types.UUID `form:"catalog_id" json:"catalog_id"`

	// Ns The namespace, one value per level (ns=a&ns=b is a.b)
	Ns    []string `form:"ns" json:"ns"`
	Table string   `form:"table" json:"table"`

	// Column Narrow to one column; omitted returns the table-level and every column doc
	Column *string `form:"column,omitempty" json:"column,omitempty"`
}

UpsertSemanticDocParams defines parameters for UpsertSemanticDoc.

type UpsertSemanticDocRequestObject

type UpsertSemanticDocRequestObject struct {
	Id     PathId `json:"id"`
	Params UpsertSemanticDocParams
	Body   *UpsertSemanticDocJSONRequestBody
}

type UpsertSemanticDocResponseObject

type UpsertSemanticDocResponseObject interface {
	VisitUpsertSemanticDocResponse(w http.ResponseWriter) error
}

type UserPublic

type UserPublic struct {
	AuthProvider UserPublicAuthProvider `json:"auth_provider"`
	CreatedAt    time.Time              `json:"created_at"`
	Email        openapi_types.Email    `json:"email"`
	Id           openapi_types.UUID     `json:"id"`

	// Kind A person, or a Baleia service account (#653)
	Kind *UserPublicKind `json:"kind,omitempty"`

	// Locale UI language preference; null follows the browser (#67).
	Locale *Locale          `json:"locale"`
	Name   string           `json:"name"`
	Role   UserPublicRole   `json:"role"`
	Status UserPublicStatus `json:"status"`
}

UserPublic defines model for UserPublic.

type UserPublicAuthProvider

type UserPublicAuthProvider string

UserPublicAuthProvider defines model for UserPublic.AuthProvider.

const (
	Ldap    UserPublicAuthProvider = "ldap"
	Local   UserPublicAuthProvider = "local"
	Oidc    UserPublicAuthProvider = "oidc"
	Service UserPublicAuthProvider = "service"
)

Defines values for UserPublicAuthProvider.

type UserPublicKind

type UserPublicKind string

UserPublicKind A person, or a Baleia service account (#653)

const (
	UserPublicKindHuman          UserPublicKind = "human"
	UserPublicKindServiceAccount UserPublicKind = "service_account"
)

Defines values for UserPublicKind.

type UserPublicRole

type UserPublicRole string

UserPublicRole defines model for UserPublic.Role.

const (
	UserPublicRoleAdmin  UserPublicRole = "admin"
	UserPublicRoleMember UserPublicRole = "member"
)

Defines values for UserPublicRole.

type UserPublicStatus

type UserPublicStatus string

UserPublicStatus defines model for UserPublic.Status.

const (
	Active    UserPublicStatus = "active"
	Suspended UserPublicStatus = "suspended"
)

Defines values for UserPublicStatus.

type ValidateRetriever200JSONResponse

type ValidateRetriever200JSONResponse ValidateRetrieverResult

func (ValidateRetriever200JSONResponse) VisitValidateRetrieverResponse

func (response ValidateRetriever200JSONResponse) VisitValidateRetrieverResponse(w http.ResponseWriter) error

type ValidateRetriever401JSONResponse

type ValidateRetriever401JSONResponse struct{ UnauthorizedJSONResponse }

func (ValidateRetriever401JSONResponse) VisitValidateRetrieverResponse

func (response ValidateRetriever401JSONResponse) VisitValidateRetrieverResponse(w http.ResponseWriter) error

type ValidateRetriever404JSONResponse

type ValidateRetriever404JSONResponse struct{ NotFoundJSONResponse }

func (ValidateRetriever404JSONResponse) VisitValidateRetrieverResponse

func (response ValidateRetriever404JSONResponse) VisitValidateRetrieverResponse(w http.ResponseWriter) error

type ValidateRetriever422JSONResponse

type ValidateRetriever422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (ValidateRetriever422JSONResponse) VisitValidateRetrieverResponse

func (response ValidateRetriever422JSONResponse) VisitValidateRetrieverResponse(w http.ResponseWriter) error

type ValidateRetrieverJSONRequestBody

type ValidateRetrieverJSONRequestBody = ValidateRetrieverRequest

ValidateRetrieverJSONRequestBody defines body for ValidateRetriever for application/json ContentType.

type ValidateRetrieverRequest

type ValidateRetrieverRequest struct {
	DefinitionSql string             `json:"definition_sql"`
	DestBindingId openapi_types.UUID `json:"dest_binding_id"`
}

ValidateRetrieverRequest defines model for ValidateRetrieverRequest.

type ValidateRetrieverRequestObject

type ValidateRetrieverRequestObject struct {
	Id   PathId `json:"id"`
	Body *ValidateRetrieverJSONRequestBody
}

type ValidateRetrieverResponseObject

type ValidateRetrieverResponseObject interface {
	VisitValidateRetrieverResponse(w http.ResponseWriter) error
}

type ValidateRetrieverResult

type ValidateRetrieverResult struct {
	Ok bool `json:"ok"`
}

ValidateRetrieverResult defines model for ValidateRetrieverResult.

type ValidateSemanticMetricDefinition200JSONResponse

type ValidateSemanticMetricDefinition200JSONResponse SemanticMetricValidateResult

func (ValidateSemanticMetricDefinition200JSONResponse) VisitValidateSemanticMetricDefinitionResponse

func (response ValidateSemanticMetricDefinition200JSONResponse) VisitValidateSemanticMetricDefinitionResponse(w http.ResponseWriter) error

type ValidateSemanticMetricDefinition401JSONResponse

type ValidateSemanticMetricDefinition401JSONResponse struct{ UnauthorizedJSONResponse }

func (ValidateSemanticMetricDefinition401JSONResponse) VisitValidateSemanticMetricDefinitionResponse

func (response ValidateSemanticMetricDefinition401JSONResponse) VisitValidateSemanticMetricDefinitionResponse(w http.ResponseWriter) error

type ValidateSemanticMetricDefinition403JSONResponse

type ValidateSemanticMetricDefinition403JSONResponse struct{ ForbiddenJSONResponse }

func (ValidateSemanticMetricDefinition403JSONResponse) VisitValidateSemanticMetricDefinitionResponse

func (response ValidateSemanticMetricDefinition403JSONResponse) VisitValidateSemanticMetricDefinitionResponse(w http.ResponseWriter) error

type ValidateSemanticMetricDefinition404JSONResponse

type ValidateSemanticMetricDefinition404JSONResponse struct{ NotFoundJSONResponse }

func (ValidateSemanticMetricDefinition404JSONResponse) VisitValidateSemanticMetricDefinitionResponse

func (response ValidateSemanticMetricDefinition404JSONResponse) VisitValidateSemanticMetricDefinitionResponse(w http.ResponseWriter) error

type ValidateSemanticMetricDefinition422JSONResponse

type ValidateSemanticMetricDefinition422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (ValidateSemanticMetricDefinition422JSONResponse) VisitValidateSemanticMetricDefinitionResponse

func (response ValidateSemanticMetricDefinition422JSONResponse) VisitValidateSemanticMetricDefinitionResponse(w http.ResponseWriter) error

type ValidateSemanticMetricDefinitionJSONRequestBody

type ValidateSemanticMetricDefinitionJSONRequestBody = SemanticMetricRenderRequest

ValidateSemanticMetricDefinitionJSONRequestBody defines body for ValidateSemanticMetricDefinition for application/json ContentType.

type ValidateSemanticMetricDefinitionRequestObject

type ValidateSemanticMetricDefinitionRequestObject struct {
	Id   PathId `json:"id"`
	Body *ValidateSemanticMetricDefinitionJSONRequestBody
}

type ValidateSemanticMetricDefinitionResponseObject

type ValidateSemanticMetricDefinitionResponseObject interface {
	VisitValidateSemanticMetricDefinitionResponse(w http.ResponseWriter) error
}

type ValidationError

type ValidationError struct {
	Code   ErrorCode `json:"code"`
	Errors []struct {
		Field   *string `json:"field,omitempty"`
		Message *string `json:"message,omitempty"`
	} `json:"errors"`
	Fields  *[]FieldError `json:"fields,omitempty"`
	Message string        `json:"message"`
}

ValidationError defines model for ValidationError.

type Webhook

type Webhook struct {
	CreatedAt time.Time          `json:"created_at"`
	Enabled   bool               `json:"enabled"`
	Events    []string           `json:"events"`
	Id        openapi_types.UUID `json:"id"`
	UpdatedAt *time.Time         `json:"updated_at,omitempty"`
	Url       string             `json:"url"`
}

Webhook defines model for Webhook.

type WorkloadRule

type WorkloadRule struct {
	Class     WorkloadRuleClass  `json:"class"`
	CreatedAt time.Time          `json:"created_at"`
	Enabled   bool               `json:"enabled"`
	Id        openapi_types.UUID `json:"id"`

	// Match Closed match schema (#539). Every field present must match; an empty object is a catch-all rule.
	Match     WorkloadRuleMatch     `json:"match"`
	MaxClass  *WorkloadRuleMaxClass `json:"max_class"`
	Position  int                   `json:"position"`
	UpdatedAt time.Time             `json:"updated_at"`
	Weight    int                   `json:"weight"`
}

WorkloadRule defines model for WorkloadRule.

type WorkloadRuleClass

type WorkloadRuleClass string

WorkloadRuleClass defines model for WorkloadRule.Class.

const (
	WorkloadRuleClassBackground  WorkloadRuleClass = "background"
	WorkloadRuleClassHeavy       WorkloadRuleClass = "heavy"
	WorkloadRuleClassInteractive WorkloadRuleClass = "interactive"
)

Defines values for WorkloadRuleClass.

type WorkloadRuleMatch

type WorkloadRuleMatch struct {
	AgentId       *openapi_types.UUID      `json:"agent_id,omitempty"`
	EngineId      *openapi_types.UUID      `json:"engine_id,omitempty"`
	MaxStatements *int                     `json:"max_statements,omitempty"`
	MinStatements *int                     `json:"min_statements,omitempty"`
	Origin        *WorkloadRuleMatchOrigin `json:"origin,omitempty"`
	Role          *string                  `json:"role,omitempty"`
	SavedQueryId  *openapi_types.UUID      `json:"saved_query_id,omitempty"`
	TeamId        *openapi_types.UUID      `json:"team_id,omitempty"`
	UserId        *openapi_types.UUID      `json:"user_id,omitempty"`
	WorkspaceId   *openapi_types.UUID      `json:"workspace_id,omitempty"`
}

WorkloadRuleMatch Closed match schema (#539). Every field present must match; an empty object is a catch-all rule.

type WorkloadRuleMatchOrigin

type WorkloadRuleMatchOrigin string

WorkloadRuleMatchOrigin defines model for WorkloadRuleMatch.Origin.

const (
	WorkloadRuleMatchOriginAgent       WorkloadRuleMatchOrigin = "agent"
	WorkloadRuleMatchOriginEditor      WorkloadRuleMatchOrigin = "editor"
	WorkloadRuleMatchOriginExplore     WorkloadRuleMatchOrigin = "explore"
	WorkloadRuleMatchOriginMaintenance WorkloadRuleMatchOrigin = "maintenance"
	WorkloadRuleMatchOriginMetadata    WorkloadRuleMatchOrigin = "metadata"
	WorkloadRuleMatchOriginRetriever   WorkloadRuleMatchOrigin = "retriever"
)

Defines values for WorkloadRuleMatchOrigin.

type WorkloadRuleMaxClass

type WorkloadRuleMaxClass string

WorkloadRuleMaxClass defines model for WorkloadRule.MaxClass.

const (
	WorkloadRuleMaxClassBackground  WorkloadRuleMaxClass = "background"
	WorkloadRuleMaxClassHeavy       WorkloadRuleMaxClass = "heavy"
	WorkloadRuleMaxClassInteractive WorkloadRuleMaxClass = "interactive"
)

Defines values for WorkloadRuleMaxClass.

type WorkloadRuleTestRequest

type WorkloadRuleTestRequest struct {
	AgentId      *openapi_types.UUID           `json:"agent_id,omitempty"`
	EngineId     *openapi_types.UUID           `json:"engine_id,omitempty"`
	Origin       WorkloadRuleTestRequestOrigin `json:"origin"`
	Role         *string                       `json:"role,omitempty"`
	SavedQueryId *openapi_types.UUID           `json:"saved_query_id,omitempty"`
	Statements   *int                          `json:"statements,omitempty"`
	TeamId       *openapi_types.UUID           `json:"team_id,omitempty"`
	UserId       *openapi_types.UUID           `json:"user_id,omitempty"`
	WorkspaceId  *openapi_types.UUID           `json:"workspace_id,omitempty"`
}

WorkloadRuleTestRequest defines model for WorkloadRuleTestRequest.

type WorkloadRuleTestRequestOrigin

type WorkloadRuleTestRequestOrigin string

WorkloadRuleTestRequestOrigin defines model for WorkloadRuleTestRequest.Origin.

const (
	WorkloadRuleTestRequestOriginAgent       WorkloadRuleTestRequestOrigin = "agent"
	WorkloadRuleTestRequestOriginEditor      WorkloadRuleTestRequestOrigin = "editor"
	WorkloadRuleTestRequestOriginExplore     WorkloadRuleTestRequestOrigin = "explore"
	WorkloadRuleTestRequestOriginMaintenance WorkloadRuleTestRequestOrigin = "maintenance"
	WorkloadRuleTestRequestOriginMetadata    WorkloadRuleTestRequestOrigin = "metadata"
	WorkloadRuleTestRequestOriginRetriever   WorkloadRuleTestRequestOrigin = "retriever"
)

Defines values for WorkloadRuleTestRequestOrigin.

type WorkloadRuleTestResult

type WorkloadRuleTestResult struct {
	Class WorkloadRuleTestResultClass `json:"class"`

	// Reason The step that decided: origin:<x>, rule:<id> or default:editor
	Reason string `json:"reason"`

	// RuleId The rule that matched, when a rule decided
	RuleId *openapi_types.UUID `json:"rule_id"`
	Weight int                 `json:"weight"`
}

WorkloadRuleTestResult defines model for WorkloadRuleTestResult.

type WorkloadRuleTestResultClass

type WorkloadRuleTestResultClass string

WorkloadRuleTestResultClass defines model for WorkloadRuleTestResult.Class.

const (
	WorkloadRuleTestResultClassBackground  WorkloadRuleTestResultClass = "background"
	WorkloadRuleTestResultClassHeavy       WorkloadRuleTestResultClass = "heavy"
	WorkloadRuleTestResultClassInteractive WorkloadRuleTestResultClass = "interactive"
)

Defines values for WorkloadRuleTestResultClass.

type Workspace

type Workspace struct {
	AllowedActions *[]WorkspaceAllowedAction `json:"allowed_actions,omitempty"`

	// BiEnabled Whether the BI gateway may run statements in this workspace (ADR 0017); on by default
	BiEnabled *bool     `json:"bi_enabled,omitempty"`
	CreatedAt time.Time `json:"created_at"`

	// DefaultBindingId Target used when a run names none (GET /workspaces/{id}/targets)
	DefaultBindingId *openapi_types.UUID `json:"default_binding_id"`
	DefaultSchema    *string             `json:"default_schema"`
	Description      *string             `json:"description"`
	Id               openapi_types.UUID  `json:"id"`
	Name             string              `json:"name"`
	OwnerTeamId      *openapi_types.UUID `json:"owner_team_id"`
	OwnerUserId      *openapi_types.UUID `json:"owner_user_id"`

	// PolarisCatalogName Legacy; never used to resolve an execution target
	// Deprecated:
	PolarisCatalogName *string `json:"polaris_catalog_name,omitempty"`

	// Role The caller's role in this workspace (#653); a global admin is admin everywhere
	Role      *WorkspaceRole `json:"role,omitempty"`
	Type      WorkspaceType  `json:"type"`
	UpdatedAt *time.Time     `json:"updated_at,omitempty"`
}

Workspace defines model for Workspace.

type WorkspaceAllowedAction

type WorkspaceAllowedAction string

WorkspaceAllowedAction From the caller's workspace role (#653): view and run for every member; edit_content (saved queries, scripts, metrics, semantic models and docs, retrievers) from editor up; update, delete, manage_grants, set_defaults, create_space and manage_members for workspace admins.

const (
	WorkspaceAllowedActionCreateSpace   WorkspaceAllowedAction = "create_space"
	WorkspaceAllowedActionDelete        WorkspaceAllowedAction = "delete"
	WorkspaceAllowedActionEditContent   WorkspaceAllowedAction = "edit_content"
	WorkspaceAllowedActionManageGrants  WorkspaceAllowedAction = "manage_grants"
	WorkspaceAllowedActionManageMembers WorkspaceAllowedAction = "manage_members"
	WorkspaceAllowedActionRun           WorkspaceAllowedAction = "run"
	WorkspaceAllowedActionSetDefaults   WorkspaceAllowedAction = "set_defaults"
	WorkspaceAllowedActionUpdate        WorkspaceAllowedAction = "update"
	WorkspaceAllowedActionView          WorkspaceAllowedAction = "view"
)

Defines values for WorkspaceAllowedAction.

type WorkspaceBIGatewayBlocker

type WorkspaceBIGatewayBlocker string

WorkspaceBIGatewayBlocker defines model for WorkspaceBIGatewayBlocker.

const (
	WorkspaceBIGatewayBlockerGatewayDisabled        WorkspaceBIGatewayBlocker = "gateway_disabled"
	WorkspaceBIGatewayBlockerListenerNotConfigured  WorkspaceBIGatewayBlocker = "listener_not_configured"
	WorkspaceBIGatewayBlockerNoTrinoTargets         WorkspaceBIGatewayBlocker = "no_trino_targets"
	WorkspaceBIGatewayBlockerPublicUrlInvalid       WorkspaceBIGatewayBlocker = "public_url_invalid"
	WorkspaceBIGatewayBlockerPublicUrlNotConfigured WorkspaceBIGatewayBlocker = "public_url_not_configured"
	WorkspaceBIGatewayBlockerSecretNotConfigured    WorkspaceBIGatewayBlocker = "secret_not_configured"
	WorkspaceBIGatewayBlockerWorkspaceBiDisabled    WorkspaceBIGatewayBlocker = "workspace_bi_disabled"
)

Defines values for WorkspaceBIGatewayBlocker.

type WorkspaceBIStatus

type WorkspaceBIStatus struct {
	BlockedBy []WorkspaceBIGatewayBlocker `json:"blocked_by"`

	// CanCreateKeys The caller may issue a key in this workspace
	CanCreateKeys bool `json:"can_create_keys"`

	// CanManageKeys The caller may list and revoke every key in this workspace
	CanManageKeys bool `json:"can_manage_keys"`

	// Gateway Readiness of the BI gateway shared by the global and workspace UIs (ADR 0017). It exposes stable booleans and blocker codes, never the HMAC secret or the internal listener address.
	Gateway            BIGatewayReadiness      `json:"gateway"`
	State              WorkspaceBIStatusState  `json:"state"`
	TrinoTargets       WorkspaceBITrinoTargets `json:"trino_targets"`
	WorkspaceBiEnabled bool                    `json:"workspace_bi_enabled"`
}

WorkspaceBIStatus BI readiness for one workspace and the caller, combining the global gateway facts with the workspace switch, the available Trino targets and the caller's key permissions (ADR 0017).

type WorkspaceBIStatusState

type WorkspaceBIStatusState string

WorkspaceBIStatusState defines model for WorkspaceBIStatus.State.

const (
	WorkspaceBIStatusStateBlocked WorkspaceBIStatusState = "blocked"
	WorkspaceBIStatusStateReady   WorkspaceBIStatusState = "ready"
)

Defines values for WorkspaceBIStatusState.

type WorkspaceBITrinoTargets

type WorkspaceBITrinoTargets struct {
	Available bool `json:"available"`
	Count     int  `json:"count"`
}

WorkspaceBITrinoTargets defines model for WorkspaceBITrinoTargets.

type WorkspaceCatalogAccess

type WorkspaceCatalogAccess struct {
	CatalogId   openapi_types.UUID `json:"catalog_id"`
	CatalogName *string            `json:"catalog_name,omitempty"`
	GrantedAt   time.Time          `json:"granted_at"`
}

WorkspaceCatalogAccess defines model for WorkspaceCatalogAccess.

type WorkspaceHandlers

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

WorkspaceHandlers serves workspaces, teams, spaces and their members (#365).

func (*WorkspaceHandlers) AddTeamMember

func (*WorkspaceHandlers) AddWorkspaceMember

AddWorkspaceMember — POST /workspaces/{id}/members (#653): the same rules, addressing the user by e-mail.

func (*WorkspaceHandlers) CreateBiKey

CreateBiKey — POST /workspaces/{id}/bi-keys (#708). A member creates a key for themselves; a workspace admin may create one for a service account of the workspace. The secret is returned once and never stored.

func (*WorkspaceHandlers) CreateSpace

CreateSpace — POST /workspaces/{id}/spaces

func (*WorkspaceHandlers) CreateTeam

func (*WorkspaceHandlers) CreateWebhook

func (*WorkspaceHandlers) CreateWorkspace

func (*WorkspaceHandlers) DeleteBiKey

DeleteBiKey — DELETE /workspaces/{id}/bi-keys/{key_id} (#708). The owner revokes their own key; a workspace admin any key of the workspace.

func (*WorkspaceHandlers) DeleteSpace

DeleteSpace — DELETE /workspaces/{id}/spaces/{space_id}

func (*WorkspaceHandlers) DeleteSpaceMember

DeleteSpaceMember — DELETE /workspaces/{id}/spaces/{space_id}/members/{principal_type}/{principal_id}

func (*WorkspaceHandlers) DeleteTeam

func (*WorkspaceHandlers) DeleteWebhook

func (*WorkspaceHandlers) DeleteWorkspace

DeleteWorkspace — DELETE /workspaces/{id} (#108). Shared workspaces only, owner or admin, and never while an execution is running.

func (*WorkspaceHandlers) GetCatalogAccessImpact

GetCatalogAccessImpact — GET /workspaces/{id}/catalog-access/{catalog_id}/impact (#108).

func (*WorkspaceHandlers) GetSpace

GetSpace — GET /workspaces/{id}/spaces/{space_id}

func (*WorkspaceHandlers) GetTeam

func (*WorkspaceHandlers) GetWorkspace

func (*WorkspaceHandlers) GetWorkspaceBIFile

GetWorkspaceBIFile — GET /workspaces/{id}/bi/{tool} (#713). The file points the BI tool at the BI gateway (ADR 0017) with the workspace's engine catalog and, optionally, schema and table. It carries no credentials: the tool signs in with a workspace-bound BI key. Only Trino targets produce a file, because the gateway relays Trino's protocol and nothing else.

func (*WorkspaceHandlers) GetWorkspaceBIStatus

GetWorkspaceBIStatus — GET /workspaces/{id}/bi-status (#1102). Any workspace member may read the workspace's BI readiness: the global gateway facts, the workspace switch, the available Trino targets and the caller's key permissions (ADR 0017). It exposes no secret or host internals.

func (*WorkspaceHandlers) GetWorkspaceImpact

GetWorkspaceImpact — GET /workspaces/{id}/impact (#108).

func (*WorkspaceHandlers) GrantCatalogAccess

GrantCatalogAccess grants a catalog to a workspace. Both sides must agree: the caller must own (or administer) the workspace and own (or administer) the catalog's connection. Both checks run before anything is written.

func (*WorkspaceHandlers) ListBiKeys

ListBiKeys — GET /workspaces/{id}/bi-keys (#708). A workspace admin sees every key of the workspace; a member sees their own.

func (*WorkspaceHandlers) ListSpaceMembers

ListSpaceMembers — GET /workspaces/{id}/spaces/{space_id}/members

func (*WorkspaceHandlers) ListSpaces

ListSpaces — GET /workspaces/{id}/spaces

func (*WorkspaceHandlers) ListTeamMembers

func (*WorkspaceHandlers) ListTeams

func (*WorkspaceHandlers) ListWebhooks

func (*WorkspaceHandlers) ListWorkspaceCatalogAccess

ListWorkspaceCatalogAccess lists the catalogs granted to a workspace. Any member may read them.

func (*WorkspaceHandlers) ListWorkspaceMembers

ListWorkspaceMembers — GET /workspaces/{id}/members (#653). Any member may see who else is in the workspace and with which role.

func (*WorkspaceHandlers) ListWorkspaceTargets

ListWorkspaceTargets returns the usable targets of a workspace to its members.

func (*WorkspaceHandlers) ListWorkspaces

func (*WorkspaceHandlers) RemoveTeamMember

func (*WorkspaceHandlers) RemoveWorkspaceMember

RemoveWorkspaceMember — DELETE /workspaces/{id}/members/{user_id} (#653): stops sharing a personal workspace, or resets a team member's role.

func (WorkspaceHandlers) ResolveTarget

func (h WorkspaceHandlers) ResolveTarget(ctx context.Context, ws db.Workspace, req *TargetRequest) (queryengine.Target, error)

ResolveTarget decides where a run executes (#13):

  1. an explicit binding, or a catalog (with engine_id when it is bound to several engines);
  2. else the workspace default target;
  3. else the workspace's only target (one catalog with one binding);
  4. else 422 target_required.

The binding's catalog must be one the workspace may use (#16), else 404; the binding, engine and catalog must be enabled, else 422 target_unavailable. A grant never makes the target read-only: the engine and the catalog manager decide what may be written (#651). There is no fallback to the workspace owner's first catalog or to polaris_catalog_name.

func (*WorkspaceHandlers) RevokeCatalogAccess

RevokeCatalogAccess removes a catalog grant. It needs the same two agreeing parties as granting.

func (*WorkspaceHandlers) SetSpaceMember

SetSpaceMember — PUT /workspaces/{id}/spaces/{space_id}/members/{principal_type}/{principal_id}

func (*WorkspaceHandlers) SetWorkspaceMember

SetWorkspaceMember — PUT /workspaces/{id}/members/{user_id} (#653).

func (*WorkspaceHandlers) UpdateSpace

UpdateSpace — PATCH /workspaces/{id}/spaces/{space_id}

func (*WorkspaceHandlers) UpdateTeamMemberRole

UpdateTeamMemberRole — PATCH /teams/{id}/members/{user_id} (#288).

func (*WorkspaceHandlers) UpdateWorkspace

type WorkspaceImpact

type WorkspaceImpact struct {
	DefaultTargetAffected bool `json:"default_target_affected"`
	Metrics               int  `json:"metrics"`
	RunningExecutions     int  `json:"running_executions"`
	SavedQueries          int  `json:"saved_queries"`
	Spaces                int  `json:"spaces"`
}

WorkspaceImpact defines model for WorkspaceImpact.

type WorkspaceMember

type WorkspaceMember struct {
	// Role What a member may do in Baleia in this workspace (#653, ADR 0016): viewers see content and run queries, editors also create and edit content, admins also manage the workspace. What they may read or write in its catalogs is the catalog manager's decision (ADR 0015).
	Role WorkspaceRole `json:"role"`

	// RoleSet Whether the role was set explicitly; otherwise a team owner is admin and a team member editor
	RoleSet bool `json:"role_set"`

	// Source owner of a personal workspace, member of the owning team, or a user a personal workspace is shared with
	Source WorkspaceMemberSource `json:"source"`
	User   UserPublic            `json:"user"`
}

WorkspaceMember defines model for WorkspaceMember.

type WorkspaceMemberSource

type WorkspaceMemberSource string

WorkspaceMemberSource owner of a personal workspace, member of the owning team, or a user a personal workspace is shared with

const (
	WorkspaceMemberSourceOwner  WorkspaceMemberSource = "owner"
	WorkspaceMemberSourceShared WorkspaceMemberSource = "shared"
	WorkspaceMemberSourceTeam   WorkspaceMemberSource = "team"
)

Defines values for WorkspaceMemberSource.

type WorkspacePrincipal

type WorkspacePrincipal struct {
	Email       *string            `json:"email"`
	Id          openapi_types.UUID `json:"id"`
	MemberCount *int               `json:"member_count"`
	Name        string             `json:"name"`
	Type        string             `json:"type"`
}

WorkspacePrincipal defines model for WorkspacePrincipal.

type WorkspaceRole

type WorkspaceRole string

WorkspaceRole What a member may do in Baleia in this workspace (#653, ADR 0016): viewers see content and run queries, editors also create and edit content, admins also manage the workspace. What they may read or write in its catalogs is the catalog manager's decision (ADR 0015).

const (
	WorkspaceRoleAdmin  WorkspaceRole = "admin"
	WorkspaceRoleEditor WorkspaceRole = "editor"
	WorkspaceRoleViewer WorkspaceRole = "viewer"
)

Defines values for WorkspaceRole.

type WorkspaceSearchFacet

type WorkspaceSearchFacet struct {
	// Count Matches of this kind among the candidates the search considered, before the limit
	Count int                 `json:"count"`
	Kind  WorkspaceSearchKind `json:"kind"`
}

WorkspaceSearchFacet defines model for WorkspaceSearchFacet.

type WorkspaceSearchItem

type WorkspaceSearchItem struct {
	// Content Set for saved queries, metrics, models and folders
	Content *ContentSearchItem `json:"content"`

	// Doc Set for docs
	Doc *SemanticDocSearchResult `json:"doc"`

	// Id Stable within the response: a UUID, or table UUID/column name for a column
	Id   string              `json:"id"`
	Kind WorkspaceSearchKind `json:"kind"`

	// Metadata Set for tables and columns
	Metadata *MetadataSearchResult `json:"metadata"`

	// Score Comparable across kinds; higher is better
	Score float64 `json:"score"`

	// Subtitle Where it lives: the namespace and table, the space, or the doc's description
	Subtitle *string `json:"subtitle"`

	// Title The name to show: a table, a column, a doc's table or column, or a content title
	Title string `json:"title"`
}

WorkspaceSearchItem defines model for WorkspaceSearchItem.

type WorkspaceSearchKind

type WorkspaceSearchKind string

WorkspaceSearchKind defines model for WorkspaceSearchKind.

const (
	WorkspaceSearchKindColumn         WorkspaceSearchKind = "column"
	WorkspaceSearchKindDoc            WorkspaceSearchKind = "doc"
	WorkspaceSearchKindFolder         WorkspaceSearchKind = "folder"
	WorkspaceSearchKindSavedQuery     WorkspaceSearchKind = "saved_query"
	WorkspaceSearchKindSemanticMetric WorkspaceSearchKind = "semantic_metric"
	WorkspaceSearchKindSemanticModel  WorkspaceSearchKind = "semantic_model"
	WorkspaceSearchKindTable          WorkspaceSearchKind = "table"
)

Defines values for WorkspaceSearchKind.

type WorkspaceSearchResponse

type WorkspaceSearchResponse struct {
	// ExpandedWith Glossary synonyms the search also looked for; empty when none applied
	ExpandedWith []string               `json:"expanded_with"`
	Facets       []WorkspaceSearchFacet `json:"facets"`
	Items        []WorkspaceSearchItem  `json:"items"`
}

WorkspaceSearchResponse defines model for WorkspaceSearchResponse.

type WorkspaceTarget

type WorkspaceTarget struct {
	BindingId         openapi_types.UUID  `json:"binding_id"`
	CatalogId         openapi_types.UUID  `json:"catalog_id"`
	CatalogName       string              `json:"catalog_name"`
	EngineCatalogName string              `json:"engine_catalog_name"`
	EngineId          openapi_types.UUID  `json:"engine_id"`
	EngineKind        string              `json:"engine_kind"`
	EngineName        string              `json:"engine_name"`
	IsDefault         bool                `json:"is_default"`
	Mode              WorkspaceTargetMode `json:"mode"`
}

WorkspaceTarget defines model for WorkspaceTarget.

type WorkspaceTargetMode

type WorkspaceTargetMode string

WorkspaceTargetMode defines model for WorkspaceTarget.Mode.

const (
	Adopted WorkspaceTargetMode = "adopted"
	Managed WorkspaceTargetMode = "managed"
	Native  WorkspaceTargetMode = "native"
)

Defines values for WorkspaceTargetMode.

type WorkspaceType

type WorkspaceType string

WorkspaceType defines model for Workspace.Type.

const (
	WorkspaceTypePersonal WorkspaceType = "personal"
	WorkspaceTypeShared   WorkspaceType = "shared"
)

Defines values for WorkspaceType.

type WsTicket

type WsTicket struct {
	ExpiresAt time.Time `json:"expires_at"`
	Ticket    string    `json:"ticket"`
}

WsTicket defines model for WsTicket.

type WsTicketRequest

type WsTicketRequest struct {
	// ExecutionId Scope the ticket to one execution; the WebSocket rejects another
	ExecutionId *openapi_types.UUID `json:"execution_id,omitempty"`
}

WsTicketRequest defines model for WsTicketRequest.

Source Files

Jump to

Keyboard shortcuts

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