api

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2026 License: Apache-2.0 Imports: 34 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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllowList

func AllowList() []string

AllowList returns the allow-list entries, sorted.

func BindingErrorHandler

func BindingErrorHandler(w http.ResponseWriter, r *http.Request, err error)

BindingErrorHandler converts oapi-codegen request-parameter binding errors into a uniform RFC-9457 ProblemDetail 400 (application/problem+json), replacing oapi-codegen's default text/plain response so a malformed path or query parameter matches the API's error convention like every other 4xx.

func IsAllowListed

func IsAllowListed(method, pattern string) bool

IsAllowListed reports whether method pattern is reachable without ROLE_M2M. method is matched as registered (upper case).

func RegisterDiscoveryRoutes

func RegisterDiscoveryRoutes(mux *http.ServeMux, contextPath string)

func RegisterHealthRoutes

func RegisterHealthRoutes(mux *http.ServeMux, healthLatch *health.Latch)

RegisterHealthRoutes registers GET /health on the API listener. /health mirrors the node's readiness latch: 200 {"status":"UP"} while healthy, 503 {"status":"DOWN"} after a panic recovered in code doing engine or store work on the application's behalf — the API door, gRPC, or a background loop. The latch is one-way: nothing re-arms it, because the node's state after such a panic is unverified. Read the ticket in the log, then replace the node. A panic on the admin listener's own probes and scrapes is contained the same way but does not latch.

This is not the deployment probe. Deployment probes are /livez (unconditional) and /readyz (the same latch, plus the draining state) on the admin listener; /health is for humans and simple scripts.

func RegisterHelpRoutes

func RegisterHelpRoutes(mux *http.ServeMux, tree *help.Tree, contextPath, version string)

RegisterHelpRoutes mounts GET {contextPath}/help and GET {contextPath}/help/{topic} on the given mux. contextPath must NOT have a trailing slash. An empty contextPath mounts at "/help". version is closed over by the handlers and reported in the full-tree payload. CORS for /help is handled by the unified middleware in internal/api/middleware/cors.go — these handlers no longer manage CORS themselves.

func RequireM2M

func RequireM2M(next http.Handler) http.Handler

RequireM2M wraps next so it runs only for a caller holding ROLE_M2M. Otherwise it writes 401 UNAUTHORIZED (no UserContext: the auth middleware did not run) or 403 FORBIDDEN, and next does not run.

Types

type AdminHandlers

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

AdminHandlers serves the node's runtime controls: log level and trace sampler. They change process-wide state, so only a platform operator may call them.

func NewAdminHandlers

func NewAdminHandlers(operator auth.OperatorGuard) *AdminHandlers

NewAdminHandlers returns the runtime-control handlers behind operator.

func (*AdminHandlers) GetLogLevel

func (a *AdminHandlers) GetLogLevel(w http.ResponseWriter, r *http.Request)

GetLogLevel returns the current log level as JSON. Requires a platform operator.

func (*AdminHandlers) GetTraceSampler

func (a *AdminHandlers) GetTraceSampler(w http.ResponseWriter, r *http.Request)

GetTraceSampler returns the current OTel trace sampler configuration. Requires a platform operator. The response is round-trippable via POST.

func (*AdminHandlers) SetLogLevel

func (a *AdminHandlers) SetLogLevel(w http.ResponseWriter, r *http.Request)

SetLogLevel changes the runtime log level and returns the previous and current levels. Requires a platform operator.

func (*AdminHandlers) SetTraceSampler

func (a *AdminHandlers) SetTraceSampler(w http.ResponseWriter, r *http.Request)

SetTraceSampler changes the runtime OTel trace sampler configuration. Requires a platform operator. Returns the new configuration on success.

Note: when parent_based is true (the default), upstream traceparent sampling decisions are honored — "sampler: always" does NOT force 100% capture of all spans if upstream has already decided "do not sample". Set parent_based: false to override upstream decisions locally.

type ChiMux

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

ChiMux adapts a chi.Router to satisfy the generated api.ServeMux interface. The generated code registers routes using "METHOD /path" patterns (Go 1.22 style). Go's standard http.ServeMux panics when overlapping wildcard segments appear (e.g. /model/{entityName}/… vs /model/export/…). Chi handles those patterns without conflict.

func NewChiMux

func NewChiMux(query QueryRules, inner ...func(http.Handler) http.Handler) *ChiMux

NewChiMux returns a ChiMux backed by a fresh chi router. Every route checks its query against query before the generated binding reads it. inner wraps every route's handler, outermost first, and runs after the route's ROLE_M2M check: app.go passes the warnings and transaction-join middleware here, so a caller the check refuses joins nothing.

func (*ChiMux) HandleFunc

func (c *ChiMux) HandleFunc(pattern string, handler func(http.ResponseWriter, *http.Request))

HandleFunc parses the "METHOD /path" pattern and registers it on chi. Every route not on the allow-list requires ROLE_M2M (see RequireM2M). The generated code registers every operation with its method, which names the operation whose query rules the route checks; a pattern without one is a wiring mistake, found at startup.

func (*ChiMux) ServeHTTP

func (c *ChiMux) ServeHTTP(w http.ResponseWriter, r *http.Request)

ServeHTTP delegates to the underlying chi router.

type QueryRules

type QueryRules map[string]operationQuery

QueryRules holds, for each spec operation, the query parameters it declares and which of them are date-times. A request names only parameters its operation declares, or is refused, as a body naming a member its shape does not declare is: a misspelt parameter is never silently dropped.

func NewQueryRules

func NewQueryRules(spec *openapi3.T) QueryRules

NewQueryRules reads every operation's query parameters from the spec, keyed "METHOD /path" as the generated code registers its routes.

func (QueryRules) Route

func (q QueryRules) Route(method, path string) func(http.Handler) http.Handler

Route checks the query of every request to the spec operation named by method and path, before the handler or the generated binding reads it. It panics on an operation the spec does not have: that is a wiring mistake, found at startup.

type Server

type Server struct {
	*Unimplemented

	Entity          *entity.Handler
	Model           *model.Handler
	Workflow        *workflow.Handler
	Search          *search.Handler
	Audit           *audit.Handler
	Messaging       *messaging.Handler
	Account         *account.Handler
	ScheduledTasks  *scheduledtask.Handler
	PlatformClock   *platformclock.Handler
	PlatformCluster *clusterstatus.Handler
}

Server composes domain handlers with an Unimplemented fallback for any methods that are not yet wired to a real handler.

func NewServer

func NewServer() *Server

NewServer returns a Server with the Unimplemented fallback initialised. Domain handler fields are nil by default; callers set them after construction.

func (*Server) AccountGet

func (s *Server) AccountGet(w http.ResponseWriter, r *http.Request)

func (*Server) AccountSubscriptionsGet

func (s *Server) AccountSubscriptionsGet(w http.ResponseWriter, r *http.Request)

func (*Server) CancelAsyncSearch

func (s *Server) CancelAsyncSearch(w http.ResponseWriter, r *http.Request, jobId openapi_types.UUID, joinParams genapi.CancelAsyncSearchParams)

func (*Server) ChangePlatformClock

func (s *Server) ChangePlatformClock(w http.ResponseWriter, r *http.Request)

func (*Server) Create

func (s *Server) Create(w http.ResponseWriter, r *http.Request, format genapi.CreateParamsFormat, entityName string, modelVersion int32, params genapi.CreateParams)

func (*Server) CreateCollection

func (*Server) CreateTechnicalUser

func (s *Server) CreateTechnicalUser(w http.ResponseWriter, r *http.Request, params genapi.CreateTechnicalUserParams)

func (*Server) DeleteEntities

func (s *Server) DeleteEntities(w http.ResponseWriter, r *http.Request, entityName string, modelVersion int32, params genapi.DeleteEntitiesParams)

func (*Server) DeleteEntityModel

func (s *Server) DeleteEntityModel(w http.ResponseWriter, r *http.Request, entityName string, modelVersion int32)

func (*Server) DeleteJwtKeyPair

func (s *Server) DeleteJwtKeyPair(w http.ResponseWriter, r *http.Request, keyId string)

func (*Server) DeleteMessage

func (s *Server) DeleteMessage(w http.ResponseWriter, r *http.Request, messageId openapi_types.UUID, joinParams genapi.DeleteMessageParams)

func (*Server) DeleteMessages

func (s *Server) DeleteMessages(w http.ResponseWriter, r *http.Request, params genapi.DeleteMessagesParams)

func (*Server) DeleteSingleEntity

func (s *Server) DeleteSingleEntity(w http.ResponseWriter, r *http.Request, entityId openapi_types.UUID, joinParams genapi.DeleteSingleEntityParams)

func (*Server) DeleteTechnicalUser

func (s *Server) DeleteTechnicalUser(w http.ResponseWriter, r *http.Request, clientId string)

func (*Server) DeleteTrustedKey

func (s *Server) DeleteTrustedKey(w http.ResponseWriter, r *http.Request, keyId string)

func (*Server) ExportEntityModelWorkflow

func (s *Server) ExportEntityModelWorkflow(w http.ResponseWriter, r *http.Request, entityName string, modelVersion int32)

func (*Server) ExportMetadata

func (s *Server) ExportMetadata(w http.ResponseWriter, r *http.Request, converter genapi.ExportMetadataParamsConverter, entityName string, modelVersion int32)

func (*Server) FetchEntityTransitions

func (s *Server) FetchEntityTransitions(w http.ResponseWriter, r *http.Request, params genapi.FetchEntityTransitionsParams)

func (*Server) GetAllEntities

func (s *Server) GetAllEntities(w http.ResponseWriter, r *http.Request, entityName string, modelVersion int32, params genapi.GetAllEntitiesParams)

func (*Server) GetAsyncSearchResults

func (s *Server) GetAsyncSearchResults(w http.ResponseWriter, r *http.Request, jobId openapi_types.UUID, params genapi.GetAsyncSearchResultsParams)

func (*Server) GetAsyncSearchStatus

func (s *Server) GetAsyncSearchStatus(w http.ResponseWriter, r *http.Request, jobId openapi_types.UUID, joinParams genapi.GetAsyncSearchStatusParams)

func (*Server) GetAvailableEntityModels

func (s *Server) GetAvailableEntityModels(w http.ResponseWriter, r *http.Request)

func (*Server) GetConsistencyTime

func (s *Server) GetConsistencyTime(w http.ResponseWriter, r *http.Request)

func (*Server) GetCurrentJwtKeyPair

func (s *Server) GetCurrentJwtKeyPair(w http.ResponseWriter, r *http.Request)

func (*Server) GetEntityChangesMetadata

func (s *Server) GetEntityChangesMetadata(w http.ResponseWriter, r *http.Request, entityId openapi_types.UUID, params genapi.GetEntityChangesMetadataParams)

func (*Server) GetEntityStatistics

func (s *Server) GetEntityStatistics(w http.ResponseWriter, r *http.Request, params genapi.GetEntityStatisticsParams)

func (*Server) GetEntityStatisticsByState

func (s *Server) GetEntityStatisticsByState(w http.ResponseWriter, r *http.Request, params genapi.GetEntityStatisticsByStateParams)

func (*Server) GetEntityStatisticsByStateForModel

func (s *Server) GetEntityStatisticsByStateForModel(w http.ResponseWriter, r *http.Request, entityName string, modelVersion int32, params genapi.GetEntityStatisticsByStateForModelParams)

func (*Server) GetEntityStatisticsForModel

func (s *Server) GetEntityStatisticsForModel(w http.ResponseWriter, r *http.Request, entityName string, modelVersion int32, params genapi.GetEntityStatisticsForModelParams)

func (*Server) GetEntityTransitions

func (s *Server) GetEntityTransitions(w http.ResponseWriter, r *http.Request, entityId openapi_types.UUID, params genapi.GetEntityTransitionsParams)

func (*Server) GetMessage

func (s *Server) GetMessage(w http.ResponseWriter, r *http.Request, messageId openapi_types.UUID, joinParams genapi.GetMessageParams)

func (*Server) GetOneEntity

func (s *Server) GetOneEntity(w http.ResponseWriter, r *http.Request, entityId openapi_types.UUID, params genapi.GetOneEntityParams)

func (*Server) GetPlatformClock

func (s *Server) GetPlatformClock(w http.ResponseWriter, r *http.Request)

func (*Server) GetPlatformCluster

func (s *Server) GetPlatformCluster(w http.ResponseWriter, r *http.Request, params genapi.GetPlatformClusterParams)

func (*Server) GetStateMachineFinishedEvent

func (s *Server) GetStateMachineFinishedEvent(w http.ResponseWriter, r *http.Request, entityId openapi_types.UUID, transactionId openapi_types.UUID, joinParams genapi.GetStateMachineFinishedEventParams)

func (*Server) GetTechnicalUserToken

func (s *Server) GetTechnicalUserToken(w http.ResponseWriter, r *http.Request, tenant string, params genapi.GetTechnicalUserTokenParams)

func (*Server) ImportEntityModel

func (s *Server) ImportEntityModel(w http.ResponseWriter, r *http.Request, dataFormat genapi.ImportEntityModelParamsDataFormat, converter genapi.ImportEntityModelParamsConverter, entityName string, modelVersion int32)

func (*Server) ImportEntityModelWorkflow

func (s *Server) ImportEntityModelWorkflow(w http.ResponseWriter, r *http.Request, entityName string, modelVersion int32)

func (*Server) InvalidateJwtKeyPair

func (s *Server) InvalidateJwtKeyPair(w http.ResponseWriter, r *http.Request, keyId string)

func (*Server) InvalidateTrustedKey

func (s *Server) InvalidateTrustedKey(w http.ResponseWriter, r *http.Request, keyId string)

func (*Server) IssueJwtKeyPair

func (s *Server) IssueJwtKeyPair(w http.ResponseWriter, r *http.Request)

func (*Server) ListScheduledTasks

func (s *Server) ListScheduledTasks(w http.ResponseWriter, r *http.Request, params genapi.ListScheduledTasksParams)

func (*Server) ListTechnicalUsers

func (s *Server) ListTechnicalUsers(w http.ResponseWriter, r *http.Request)

func (*Server) ListTrustedKeys

func (s *Server) ListTrustedKeys(w http.ResponseWriter, r *http.Request)

func (*Server) LockEntityModel

func (s *Server) LockEntityModel(w http.ResponseWriter, r *http.Request, entityName string, modelVersion int32)

func (*Server) NewMessage

func (s *Server) NewMessage(w http.ResponseWriter, r *http.Request, subject string, params genapi.NewMessageParams)

func (*Server) PatchSingle

func (s *Server) PatchSingle(w http.ResponseWriter, r *http.Request, format genapi.PatchSingleParamsFormat, entityId openapi_types.UUID, transition string, params genapi.PatchSingleParams)

func (*Server) QueryGroupedEntityStatisticsForModel

func (s *Server) QueryGroupedEntityStatisticsForModel(w http.ResponseWriter, r *http.Request, entityName string, modelVersion int32, joinParams genapi.QueryGroupedEntityStatisticsForModelParams)

QueryGroupedEntityStatisticsForModel is routed directly in app/app.go before the generated API mux — this method satisfies ServerInterface but is never reached in production.

func (*Server) ReactivateJwtKeyPair

func (s *Server) ReactivateJwtKeyPair(w http.ResponseWriter, r *http.Request, keyId string)

func (*Server) ReactivateTrustedKey

func (s *Server) ReactivateTrustedKey(w http.ResponseWriter, r *http.Request, keyId string)

func (*Server) RegisterTrustedKey

func (s *Server) RegisterTrustedKey(w http.ResponseWriter, r *http.Request)

func (*Server) ResetTechnicalUserSecret

func (s *Server) ResetTechnicalUserSecret(w http.ResponseWriter, r *http.Request, clientId string)

func (*Server) SearchEntities

func (s *Server) SearchEntities(w http.ResponseWriter, r *http.Request, entityName string, modelVersion int32, params genapi.SearchEntitiesParams)

func (*Server) SearchEntityAuditEvents

func (s *Server) SearchEntityAuditEvents(w http.ResponseWriter, r *http.Request, entityId openapi_types.UUID, params genapi.SearchEntityAuditEventsParams)

func (*Server) SetEntityModelChangeLevel

func (s *Server) SetEntityModelChangeLevel(w http.ResponseWriter, r *http.Request, entityName string, modelVersion int32, changeLevel genapi.SetEntityModelChangeLevelParamsChangeLevel)

func (*Server) SetEntityModelUniqueKeys

func (s *Server) SetEntityModelUniqueKeys(w http.ResponseWriter, r *http.Request, entityName string, modelVersion int32)

func (*Server) SubmitAsyncSearchJob

func (s *Server) SubmitAsyncSearchJob(w http.ResponseWriter, r *http.Request, entityName string, modelVersion int32, params genapi.SubmitAsyncSearchJobParams)

func (*Server) UnlockEntityModel

func (s *Server) UnlockEntityModel(w http.ResponseWriter, r *http.Request, entityName string, modelVersion int32)

func (*Server) UpdateCollection

func (*Server) UpdateSingle

func (s *Server) UpdateSingle(w http.ResponseWriter, r *http.Request, format genapi.UpdateSingleParamsFormat, entityId openapi_types.UUID, transition string, params genapi.UpdateSingleParams)

func (*Server) ValidateEntityModel

func (s *Server) ValidateEntityModel(w http.ResponseWriter, r *http.Request, entityName string, modelVersion int32)

type Unimplemented

type Unimplemented struct{}

Unimplemented satisfies genapi.ServerInterface with every method returning HTTP 501 Not Implemented using RFC 9457 problem+json.

func (*Unimplemented) AccountGet

func (u *Unimplemented) AccountGet(w http.ResponseWriter, r *http.Request)

func (*Unimplemented) AccountSubscriptionsGet

func (u *Unimplemented) AccountSubscriptionsGet(w http.ResponseWriter, r *http.Request)

func (*Unimplemented) CancelAsyncSearch

func (u *Unimplemented) CancelAsyncSearch(w http.ResponseWriter, r *http.Request, jobId openapi_types.UUID, joinParams genapi.CancelAsyncSearchParams)

func (*Unimplemented) ChangePlatformClock

func (u *Unimplemented) ChangePlatformClock(w http.ResponseWriter, r *http.Request)

func (*Unimplemented) Create

func (u *Unimplemented) Create(w http.ResponseWriter, r *http.Request, format genapi.CreateParamsFormat, entityName string, modelVersion int32, params genapi.CreateParams)

func (*Unimplemented) CreateCollection

func (*Unimplemented) CreateTechnicalUser

func (u *Unimplemented) CreateTechnicalUser(w http.ResponseWriter, r *http.Request, params genapi.CreateTechnicalUserParams)

func (*Unimplemented) DeleteEntities

func (u *Unimplemented) DeleteEntities(w http.ResponseWriter, r *http.Request, entityName string, modelVersion int32, params genapi.DeleteEntitiesParams)

func (*Unimplemented) DeleteEntityModel

func (u *Unimplemented) DeleteEntityModel(w http.ResponseWriter, r *http.Request, entityName string, modelVersion int32)

func (*Unimplemented) DeleteJwtKeyPair

func (u *Unimplemented) DeleteJwtKeyPair(w http.ResponseWriter, r *http.Request, keyId string)

func (*Unimplemented) DeleteMessage

func (u *Unimplemented) DeleteMessage(w http.ResponseWriter, r *http.Request, messageId openapi_types.UUID, joinParams genapi.DeleteMessageParams)

func (*Unimplemented) DeleteMessages

func (u *Unimplemented) DeleteMessages(w http.ResponseWriter, r *http.Request, params genapi.DeleteMessagesParams)

func (*Unimplemented) DeleteSingleEntity

func (u *Unimplemented) DeleteSingleEntity(w http.ResponseWriter, r *http.Request, entityId openapi_types.UUID, joinParams genapi.DeleteSingleEntityParams)

func (*Unimplemented) DeleteTechnicalUser

func (u *Unimplemented) DeleteTechnicalUser(w http.ResponseWriter, r *http.Request, clientId string)

func (*Unimplemented) DeleteTrustedKey

func (u *Unimplemented) DeleteTrustedKey(w http.ResponseWriter, r *http.Request, keyId string)

func (*Unimplemented) ExportEntityModelWorkflow

func (u *Unimplemented) ExportEntityModelWorkflow(w http.ResponseWriter, r *http.Request, entityName string, modelVersion int32)

func (*Unimplemented) ExportMetadata

func (u *Unimplemented) ExportMetadata(w http.ResponseWriter, r *http.Request, converter genapi.ExportMetadataParamsConverter, entityName string, modelVersion int32)

func (*Unimplemented) FetchEntityTransitions

func (u *Unimplemented) FetchEntityTransitions(w http.ResponseWriter, r *http.Request, params genapi.FetchEntityTransitionsParams)

func (*Unimplemented) GetAllEntities

func (u *Unimplemented) GetAllEntities(w http.ResponseWriter, r *http.Request, entityName string, modelVersion int32, params genapi.GetAllEntitiesParams)

func (*Unimplemented) GetAsyncSearchResults

func (u *Unimplemented) GetAsyncSearchResults(w http.ResponseWriter, r *http.Request, jobId openapi_types.UUID, params genapi.GetAsyncSearchResultsParams)

func (*Unimplemented) GetAsyncSearchStatus

func (u *Unimplemented) GetAsyncSearchStatus(w http.ResponseWriter, r *http.Request, jobId openapi_types.UUID, joinParams genapi.GetAsyncSearchStatusParams)

func (*Unimplemented) GetAvailableEntityModels

func (u *Unimplemented) GetAvailableEntityModels(w http.ResponseWriter, r *http.Request)

func (*Unimplemented) GetConsistencyTime

func (u *Unimplemented) GetConsistencyTime(w http.ResponseWriter, r *http.Request)

func (*Unimplemented) GetCurrentJwtKeyPair

func (u *Unimplemented) GetCurrentJwtKeyPair(w http.ResponseWriter, r *http.Request)

func (*Unimplemented) GetEntityChangesMetadata

func (u *Unimplemented) GetEntityChangesMetadata(w http.ResponseWriter, r *http.Request, entityId openapi_types.UUID, params genapi.GetEntityChangesMetadataParams)

func (*Unimplemented) GetEntityStatistics

func (u *Unimplemented) GetEntityStatistics(w http.ResponseWriter, r *http.Request, params genapi.GetEntityStatisticsParams)

func (*Unimplemented) GetEntityStatisticsByState

func (u *Unimplemented) GetEntityStatisticsByState(w http.ResponseWriter, r *http.Request, params genapi.GetEntityStatisticsByStateParams)

func (*Unimplemented) GetEntityStatisticsByStateForModel

func (u *Unimplemented) GetEntityStatisticsByStateForModel(w http.ResponseWriter, r *http.Request, entityName string, modelVersion int32, params genapi.GetEntityStatisticsByStateForModelParams)

func (*Unimplemented) GetEntityStatisticsForModel

func (u *Unimplemented) GetEntityStatisticsForModel(w http.ResponseWriter, r *http.Request, entityName string, modelVersion int32, params genapi.GetEntityStatisticsForModelParams)

func (*Unimplemented) GetEntityTransitions

func (u *Unimplemented) GetEntityTransitions(w http.ResponseWriter, r *http.Request, entityId openapi_types.UUID, params genapi.GetEntityTransitionsParams)

func (*Unimplemented) GetMessage

func (u *Unimplemented) GetMessage(w http.ResponseWriter, r *http.Request, messageId openapi_types.UUID, joinParams genapi.GetMessageParams)

func (*Unimplemented) GetOneEntity

func (u *Unimplemented) GetOneEntity(w http.ResponseWriter, r *http.Request, entityId openapi_types.UUID, params genapi.GetOneEntityParams)

func (*Unimplemented) GetPlatformClock

func (u *Unimplemented) GetPlatformClock(w http.ResponseWriter, r *http.Request)

func (*Unimplemented) GetPlatformCluster

func (u *Unimplemented) GetPlatformCluster(w http.ResponseWriter, r *http.Request, params genapi.GetPlatformClusterParams)

func (*Unimplemented) GetStateMachineFinishedEvent

func (u *Unimplemented) GetStateMachineFinishedEvent(w http.ResponseWriter, r *http.Request, entityId openapi_types.UUID, transactionId openapi_types.UUID, joinParams genapi.GetStateMachineFinishedEventParams)

func (*Unimplemented) GetTechnicalUserToken

func (u *Unimplemented) GetTechnicalUserToken(w http.ResponseWriter, r *http.Request, tenant string, params genapi.GetTechnicalUserTokenParams)

func (*Unimplemented) ImportEntityModel

func (u *Unimplemented) ImportEntityModel(w http.ResponseWriter, r *http.Request, dataFormat genapi.ImportEntityModelParamsDataFormat, converter genapi.ImportEntityModelParamsConverter, entityName string, modelVersion int32)

func (*Unimplemented) ImportEntityModelWorkflow

func (u *Unimplemented) ImportEntityModelWorkflow(w http.ResponseWriter, r *http.Request, entityName string, modelVersion int32)

func (*Unimplemented) InvalidateJwtKeyPair

func (u *Unimplemented) InvalidateJwtKeyPair(w http.ResponseWriter, r *http.Request, keyId string)

func (*Unimplemented) InvalidateTrustedKey

func (u *Unimplemented) InvalidateTrustedKey(w http.ResponseWriter, r *http.Request, keyId string)

func (*Unimplemented) IssueJwtKeyPair

func (u *Unimplemented) IssueJwtKeyPair(w http.ResponseWriter, r *http.Request)

func (*Unimplemented) ListScheduledTasks

func (u *Unimplemented) ListScheduledTasks(w http.ResponseWriter, r *http.Request, params genapi.ListScheduledTasksParams)

func (*Unimplemented) ListTechnicalUsers

func (u *Unimplemented) ListTechnicalUsers(w http.ResponseWriter, r *http.Request)

func (*Unimplemented) ListTrustedKeys

func (u *Unimplemented) ListTrustedKeys(w http.ResponseWriter, r *http.Request)

func (*Unimplemented) LockEntityModel

func (u *Unimplemented) LockEntityModel(w http.ResponseWriter, r *http.Request, entityName string, modelVersion int32)

func (*Unimplemented) NewMessage

func (u *Unimplemented) NewMessage(w http.ResponseWriter, r *http.Request, subject string, params genapi.NewMessageParams)

func (*Unimplemented) PatchSingle

func (u *Unimplemented) PatchSingle(w http.ResponseWriter, r *http.Request, format genapi.PatchSingleParamsFormat, entityId openapi_types.UUID, transition string, params genapi.PatchSingleParams)

func (*Unimplemented) QueryGroupedEntityStatisticsForModel

func (u *Unimplemented) QueryGroupedEntityStatisticsForModel(w http.ResponseWriter, r *http.Request, entityName string, modelVersion int32, joinParams genapi.QueryGroupedEntityStatisticsForModelParams)

QueryGroupedEntityStatisticsForModel is never called via this path — the real handler is mounted directly on the outer mux in app/app.go before the generated API handler fires.

func (*Unimplemented) ReactivateJwtKeyPair

func (u *Unimplemented) ReactivateJwtKeyPair(w http.ResponseWriter, r *http.Request, keyId string)

func (*Unimplemented) ReactivateTrustedKey

func (u *Unimplemented) ReactivateTrustedKey(w http.ResponseWriter, r *http.Request, keyId string)

func (*Unimplemented) RegisterTrustedKey

func (u *Unimplemented) RegisterTrustedKey(w http.ResponseWriter, r *http.Request)

func (*Unimplemented) ResetTechnicalUserSecret

func (u *Unimplemented) ResetTechnicalUserSecret(w http.ResponseWriter, r *http.Request, clientId string)

func (*Unimplemented) SearchEntities

func (u *Unimplemented) SearchEntities(w http.ResponseWriter, r *http.Request, entityName string, modelVersion int32, params genapi.SearchEntitiesParams)

func (*Unimplemented) SearchEntityAuditEvents

func (u *Unimplemented) SearchEntityAuditEvents(w http.ResponseWriter, r *http.Request, entityId openapi_types.UUID, params genapi.SearchEntityAuditEventsParams)

func (*Unimplemented) SetEntityModelChangeLevel

func (u *Unimplemented) SetEntityModelChangeLevel(w http.ResponseWriter, r *http.Request, entityName string, modelVersion int32, changeLevel genapi.SetEntityModelChangeLevelParamsChangeLevel)

func (*Unimplemented) SetEntityModelUniqueKeys

func (u *Unimplemented) SetEntityModelUniqueKeys(w http.ResponseWriter, r *http.Request, entityName string, modelVersion int32)

func (*Unimplemented) SubmitAsyncSearchJob

func (u *Unimplemented) SubmitAsyncSearchJob(w http.ResponseWriter, r *http.Request, entityName string, modelVersion int32, params genapi.SubmitAsyncSearchJobParams)

func (*Unimplemented) UnlockEntityModel

func (u *Unimplemented) UnlockEntityModel(w http.ResponseWriter, r *http.Request, entityName string, modelVersion int32)

func (*Unimplemented) UpdateCollection

func (*Unimplemented) UpdateSingle

func (u *Unimplemented) UpdateSingle(w http.ResponseWriter, r *http.Request, format genapi.UpdateSingleParamsFormat, entityId openapi_types.UUID, transition string, params genapi.UpdateSingleParams)

func (*Unimplemented) ValidateEntityModel

func (u *Unimplemented) ValidateEntityModel(w http.ResponseWriter, r *http.Request, entityName string, modelVersion int32)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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