rest

package
v0.0.0-...-dfb39b5 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2026 License: Apache-2.0 Imports: 53 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MountRoutes

func MountRoutes() func(r chi.Router)

Types

type Actionlog

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

func (*Actionlog) List

func (ctrl *Actionlog) List(ctx context.Context, r *request.ActionlogList) (interface{}, error)

func (Actionlog) New

func (Actionlog) New() *Actionlog

type Agent

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

func (*Agent) Create

func (ctrl *Agent) Create(ctx context.Context, r *request.AgentCreate) (interface{}, error)

func (*Agent) Delete

func (ctrl *Agent) Delete(ctx context.Context, r *request.AgentDelete) (interface{}, error)

func (*Agent) Exec

func (ctrl *Agent) Exec(ctx context.Context, r *request.AgentExec) (interface{}, error)

func (*Agent) List

func (ctrl *Agent) List(ctx context.Context, r *request.AgentList) (interface{}, error)

func (Agent) New

func (Agent) New() *Agent

func (*Agent) Read

func (ctrl *Agent) Read(ctx context.Context, r *request.AgentRead) (interface{}, error)

func (*Agent) TclMasterList

func (ctrl *Agent) TclMasterList(_ context.Context, _ *request.AgentTclMasterList) (interface{}, error)

func (*Agent) Undelete

func (ctrl *Agent) Undelete(ctx context.Context, r *request.AgentUndelete) (interface{}, error)

func (*Agent) Update

func (ctrl *Agent) Update(ctx context.Context, r *request.AgentUpdate) (interface{}, error)

type AiConversation

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

func (*AiConversation) Continue

func (ctrl *AiConversation) Continue(ctx context.Context, r *request.AiConversationContinue) (interface{}, error)

func (*AiConversation) Delete

func (ctrl *AiConversation) Delete(ctx context.Context, r *request.AiConversationDelete) (interface{}, error)

func (*AiConversation) List

func (ctrl *AiConversation) List(ctx context.Context, r *request.AiConversationList) (interface{}, error)

func (AiConversation) New

func (*AiConversation) Read

func (ctrl *AiConversation) Read(ctx context.Context, r *request.AiConversationRead) (interface{}, error)

func (*AiConversation) Undelete

func (ctrl *AiConversation) Undelete(ctx context.Context, r *request.AiConversationUndelete) (interface{}, error)

type ApigwFilter

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

func (*ApigwFilter) Create

func (ctrl *ApigwFilter) Create(ctx context.Context, r *request.ApigwFilterCreate) (interface{}, error)

func (*ApigwFilter) DefFilter

func (ctrl *ApigwFilter) DefFilter(ctx context.Context, r *request.ApigwFilterDefFilter) (interface{}, error)

func (*ApigwFilter) DefProxyAuth

func (ctrl *ApigwFilter) DefProxyAuth(ctx context.Context, r *request.ApigwFilterDefProxyAuth) (interface{}, error)

func (*ApigwFilter) Delete

func (ctrl *ApigwFilter) Delete(ctx context.Context, r *request.ApigwFilterDelete) (interface{}, error)

func (*ApigwFilter) List

func (ctrl *ApigwFilter) List(ctx context.Context, r *request.ApigwFilterList) (interface{}, error)

func (ApigwFilter) New

func (ApigwFilter) New() *ApigwFilter

func (*ApigwFilter) Read

func (ctrl *ApigwFilter) Read(ctx context.Context, r *request.ApigwFilterRead) (interface{}, error)

func (*ApigwFilter) Undelete

func (ctrl *ApigwFilter) Undelete(ctx context.Context, r *request.ApigwFilterUndelete) (interface{}, error)

func (*ApigwFilter) Update

func (ctrl *ApigwFilter) Update(ctx context.Context, r *request.ApigwFilterUpdate) (interface{}, error)

type ApigwProfiler

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

func (*ApigwProfiler) Aggregation

func (ctrl *ApigwProfiler) Aggregation(ctx context.Context, r *request.ApigwProfilerAggregation) (interface{}, error)

List displays the the aggregated list of routes

func (*ApigwProfiler) Hit

func (ctrl *ApigwProfiler) Hit(ctx context.Context, r *request.ApigwProfilerHit) (interface{}, error)

Hit displays the details of a certain hit on a route

func (ApigwProfiler) New

func (*ApigwProfiler) Purge

func (ctrl *ApigwProfiler) Purge(ctx context.Context, r *request.ApigwProfilerPurge) (_ interface{}, _ error)

func (*ApigwProfiler) PurgeAll

func (ctrl *ApigwProfiler) PurgeAll(ctx context.Context, r *request.ApigwProfilerPurgeAll) (_ interface{}, _ error)

func (*ApigwProfiler) Route

func (ctrl *ApigwProfiler) Route(ctx context.Context, r *request.ApigwProfilerRoute) (interface{}, error)

Route displays the list of hits per-route

type ApigwRoute

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

func (*ApigwRoute) Create

func (ctrl *ApigwRoute) Create(ctx context.Context, r *request.ApigwRouteCreate) (interface{}, error)

func (*ApigwRoute) Delete

func (ctrl *ApigwRoute) Delete(ctx context.Context, r *request.ApigwRouteDelete) (interface{}, error)

func (*ApigwRoute) List

func (ctrl *ApigwRoute) List(ctx context.Context, r *request.ApigwRouteList) (interface{}, error)

func (ApigwRoute) New

func (ApigwRoute) New() *ApigwRoute

func (*ApigwRoute) Read

func (ctrl *ApigwRoute) Read(ctx context.Context, r *request.ApigwRouteRead) (interface{}, error)

func (*ApigwRoute) Undelete

func (ctrl *ApigwRoute) Undelete(ctx context.Context, r *request.ApigwRouteUndelete) (interface{}, error)

func (*ApigwRoute) Update

func (ctrl *ApigwRoute) Update(ctx context.Context, r *request.ApigwRouteUpdate) (interface{}, error)

type Application

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

func (*Application) Create

func (ctrl *Application) Create(ctx context.Context, r *request.ApplicationCreate) (interface{}, error)

func (*Application) Delete

func (ctrl *Application) Delete(ctx context.Context, r *request.ApplicationDelete) (interface{}, error)

func (*Application) FlagCreate

func (ctrl *Application) FlagCreate(ctx context.Context, r *request.ApplicationFlagCreate) (interface{}, error)

func (*Application) FlagDelete

func (ctrl *Application) FlagDelete(ctx context.Context, r *request.ApplicationFlagDelete) (interface{}, error)

func (*Application) List

func (ctrl *Application) List(ctx context.Context, r *request.ApplicationList) (interface{}, error)

func (Application) New

func (Application) New() *Application

func (*Application) Read

func (ctrl *Application) Read(ctx context.Context, r *request.ApplicationRead) (interface{}, error)

func (*Application) Reorder

func (ctrl *Application) Reorder(ctx context.Context, r *request.ApplicationReorder) (interface{}, error)

func (*Application) TriggerScript

func (ctrl *Application) TriggerScript(ctx context.Context, r *request.ApplicationTriggerScript) (rsp interface{}, err error)

func (*Application) Undelete

func (ctrl *Application) Undelete(ctx context.Context, r *request.ApplicationUndelete) (interface{}, error)

func (*Application) Update

func (ctrl *Application) Update(ctx context.Context, r *request.ApplicationUpdate) (interface{}, error)

func (*Application) Upload

func (ctrl *Application) Upload(ctx context.Context, r *request.ApplicationUpload) (interface{}, error)

type Attachment

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

func (Attachment) Delete

func (ctrl Attachment) Delete(ctx context.Context, r *request.AttachmentDelete) (interface{}, error)

func (Attachment) New

func (Attachment) New() *Attachment

func (Attachment) Original

func (ctrl Attachment) Original(ctx context.Context, r *request.AttachmentOriginal) (interface{}, error)

func (Attachment) Preview

func (ctrl Attachment) Preview(ctx context.Context, r *request.AttachmentPreview) (interface{}, error)

func (Attachment) Read

func (ctrl Attachment) Read(ctx context.Context, r *request.AttachmentRead) (interface{}, error)

type Auth

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

func (*Auth) Impersonate

func (ctrl *Auth) Impersonate(ctx context.Context, r *request.AuthImpersonate) (interface{}, error)

Impersonate implements impersonation functionality

This is experimental and internals will most likely change in the future:

func (Auth) New

func (Auth) New() *Auth

type AuthClient

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

func (*AuthClient) Create

func (ctrl *AuthClient) Create(ctx context.Context, r *request.AuthClientCreate) (interface{}, error)

func (*AuthClient) Delete

func (ctrl *AuthClient) Delete(ctx context.Context, r *request.AuthClientDelete) (interface{}, error)

func (*AuthClient) ExposeSecret

func (ctrl *AuthClient) ExposeSecret(ctx context.Context, r *request.AuthClientExposeSecret) (interface{}, error)

func (*AuthClient) List

func (ctrl *AuthClient) List(ctx context.Context, r *request.AuthClientList) (interface{}, error)

func (AuthClient) New

func (AuthClient) New() *AuthClient

func (*AuthClient) Read

func (ctrl *AuthClient) Read(ctx context.Context, r *request.AuthClientRead) (interface{}, error)

func (*AuthClient) RegenerateSecret

func (ctrl *AuthClient) RegenerateSecret(ctx context.Context, r *request.AuthClientRegenerateSecret) (interface{}, error)

func (*AuthClient) Undelete

func (ctrl *AuthClient) Undelete(ctx context.Context, r *request.AuthClientUndelete) (interface{}, error)

func (*AuthClient) Update

func (ctrl *AuthClient) Update(ctx context.Context, r *request.AuthClientUpdate) (interface{}, error)

type Automation

type Automation struct{}

func (*Automation) Bundle

func (ctrl *Automation) Bundle(ctx context.Context, r *request.AutomationBundle) (interface{}, error)

func (*Automation) List

func (ctrl *Automation) List(ctx context.Context, r *request.AutomationList) (interface{}, error)

func (Automation) New

func (Automation) New() *Automation

func (*Automation) TriggerScript

func (ctrl *Automation) TriggerScript(ctx context.Context, r *request.AutomationTriggerScript) (interface{}, error)

type Chatbot

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

func (*Chatbot) Create

func (ctrl *Chatbot) Create(ctx context.Context, r *request.ChatbotCreate) (interface{}, error)

func (*Chatbot) Delete

func (ctrl *Chatbot) Delete(ctx context.Context, r *request.ChatbotDelete) (interface{}, error)

func (*Chatbot) List

func (ctrl *Chatbot) List(ctx context.Context, r *request.ChatbotList) (interface{}, error)

func (Chatbot) New

func (Chatbot) New() *Chatbot

func (*Chatbot) Read

func (ctrl *Chatbot) Read(ctx context.Context, r *request.ChatbotRead) (interface{}, error)

func (*Chatbot) RegenerateWidgetKey

func (ctrl *Chatbot) RegenerateWidgetKey(ctx context.Context, r *request.ChatbotRegenerateWidgetKey) (interface{}, error)

func (*Chatbot) Undelete

func (ctrl *Chatbot) Undelete(ctx context.Context, r *request.ChatbotUndelete) (interface{}, error)

func (*Chatbot) Update

func (ctrl *Chatbot) Update(ctx context.Context, r *request.ChatbotUpdate) (interface{}, error)

func (*Chatbot) UploadAsset

func (ctrl *Chatbot) UploadAsset(ctx context.Context, r *request.ChatbotUploadAsset) (interface{}, error)

type ChatbotPreviewController

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

ChatbotPreviewController mounts the admin-authed preview API that mirrors the public /api/widget/v1 endpoints but holds all session state in memory. The chatbot config is supplied inline at session-open so editor drafts can be exercised without persisting to the DB.

Routes are scoped under /chatbot/preview/* in the protected system API group.

func NewChatbotPreviewController

func NewChatbotPreviewController() *ChatbotPreviewController

NewChatbotPreviewController wires the controller with shared services.

func (*ChatbotPreviewController) MountRoutes

func (c *ChatbotPreviewController) MountRoutes(r chi.Router)

MountRoutes attaches the preview routes to the supplied router. The caller is expected to invoke this inside the protected (admin-authed) group of system/rest.router so that auth.HttpTokenValidator has already run.

type ChatbotSession

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

ChatbotSession is the unified admin/operator REST surface that aggregates widget-persisted and preview in-memory chatbot sessions behind a single set of routes. Per-row source is exposed via the "source" field on the wire payload.

func (*ChatbotSession) AdvanceStep

func (ctrl *ChatbotSession) AdvanceStep(ctx context.Context, r *request.ChatbotSessionAdvanceStep) (interface{}, error)

func (*ChatbotSession) Close

func (ctrl *ChatbotSession) Close(ctx context.Context, r *request.ChatbotSessionClose) (interface{}, error)

func (*ChatbotSession) HandoffAccept

func (ctrl *ChatbotSession) HandoffAccept(ctx context.Context, r *request.ChatbotSessionHandoffAccept) (interface{}, error)

func (*ChatbotSession) HandoffComplete

func (ctrl *ChatbotSession) HandoffComplete(ctx context.Context, r *request.ChatbotSessionHandoffComplete) (interface{}, error)

func (*ChatbotSession) List

func (ctrl *ChatbotSession) List(ctx context.Context, r *request.ChatbotSessionList) (interface{}, error)

func (ChatbotSession) New

func (*ChatbotSession) OperatorMessage

func (ctrl *ChatbotSession) OperatorMessage(ctx context.Context, r *request.ChatbotSessionOperatorMessage) (interface{}, error)

func (*ChatbotSession) Read

func (ctrl *ChatbotSession) Read(ctx context.Context, r *request.ChatbotSessionRead) (interface{}, error)

func (*ChatbotSession) Stream

func (ctrl *ChatbotSession) Stream(w http.ResponseWriter, r *http.Request)

Stream subscribes the caller to the conversation bus for the given session and pumps SSE events until the connection closes. Marked raw: true in rest.yaml so codegen skips the api.Send envelope.

type ConfiguredConnection

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

func (ConfiguredConnection) Check

func (ctrl ConfiguredConnection) Check(ctx context.Context, r *request.ConfiguredConnectionCheck) (interface{}, error)

func (ConfiguredConnection) Delete

func (ctrl ConfiguredConnection) Delete(ctx context.Context, r *request.ConfiguredConnectionDelete) (interface{}, error)

func (ConfiguredConnection) Enable

func (ctrl ConfiguredConnection) Enable(ctx context.Context, r *request.ConfiguredConnectionEnable) (interface{}, error)

func (ConfiguredConnection) List

func (ctrl ConfiguredConnection) List(ctx context.Context, r *request.ConfiguredConnectionList) (interface{}, error)

func (ConfiguredConnection) New

func (ConfiguredConnection) Read

func (ctrl ConfiguredConnection) Read(ctx context.Context, r *request.ConfiguredConnectionRead) (interface{}, error)

func (ConfiguredConnection) RefreshDiscovery

func (ctrl ConfiguredConnection) RefreshDiscovery(ctx context.Context, r *request.ConfiguredConnectionCheck) (interface{}, error)

type Connection

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

func (Connection) Configure

func (ctrl Connection) Configure(ctx context.Context, r *request.ConnectionConfigure) (interface{}, error)

func (Connection) Create

func (ctrl Connection) Create(ctx context.Context, r *request.ConnectionCreate) (interface{}, error)

func (Connection) Delete

func (ctrl Connection) Delete(ctx context.Context, r *request.ConnectionDelete) (interface{}, error)

func (Connection) Enable

func (ctrl Connection) Enable(ctx context.Context, r *request.ConnectionEnable) (interface{}, error)

func (Connection) Generate

func (ctrl Connection) Generate(ctx context.Context, r *request.ConnectionGenerate) (interface{}, error)

func (Connection) Import

func (ctrl Connection) Import(ctx context.Context, r *request.ConnectionImport) (interface{}, error)

func (Connection) List

func (ctrl Connection) List(ctx context.Context, r *request.ConnectionList) (interface{}, error)

func (Connection) New

func (Connection) New() *Connection

func (Connection) Read

func (ctrl Connection) Read(ctx context.Context, r *request.ConnectionRead) (interface{}, error)

func (Connection) Undelete

func (ctrl Connection) Undelete(ctx context.Context, r *request.ConnectionUndelete) (interface{}, error)

func (Connection) Update

func (ctrl Connection) Update(ctx context.Context, r *request.ConnectionUpdate) (interface{}, error)

func (Connection) UpdateConfiguration

func (ctrl Connection) UpdateConfiguration(ctx context.Context, r *request.ConnectionUpdateConfiguration) (interface{}, error)

type DalConnection

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

func (DalConnection) Create

func (ctrl DalConnection) Create(ctx context.Context, r *request.DalConnectionCreate) (interface{}, error)

func (DalConnection) Delete

func (ctrl DalConnection) Delete(ctx context.Context, r *request.DalConnectionDelete) (interface{}, error)

func (DalConnection) List

func (ctrl DalConnection) List(ctx context.Context, r *request.DalConnectionList) (interface{}, error)

func (DalConnection) New

func (DalConnection) Read

func (ctrl DalConnection) Read(ctx context.Context, r *request.DalConnectionRead) (interface{}, error)

func (DalConnection) Undelete

func (ctrl DalConnection) Undelete(ctx context.Context, r *request.DalConnectionUndelete) (interface{}, error)

func (DalConnection) Update

func (ctrl DalConnection) Update(ctx context.Context, r *request.DalConnectionUpdate) (interface{}, error)

type DalDriver

type DalDriver struct{}

func (DalDriver) List

func (ctrl DalDriver) List(ctx context.Context, r *request.DalDriverList) (interface{}, error)

func (DalDriver) New

func (DalDriver) New() *DalDriver

type DalSchemaAlteration

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

func (DalSchemaAlteration) Apply

func (ctrl DalSchemaAlteration) Apply(ctx context.Context, r *request.DalSchemaAlterationApply) (interface{}, error)

func (DalSchemaAlteration) Dismiss

func (ctrl DalSchemaAlteration) Dismiss(ctx context.Context, r *request.DalSchemaAlterationDismiss) (interface{}, error)

func (DalSchemaAlteration) List

func (ctrl DalSchemaAlteration) List(ctx context.Context, r *request.DalSchemaAlterationList) (interface{}, error)

func (DalSchemaAlteration) New

func (DalSchemaAlteration) Read

func (ctrl DalSchemaAlteration) Read(ctx context.Context, r *request.DalSchemaAlterationRead) (interface{}, error)

type DataPrivacy

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

func (DataPrivacy) ConnectionList

func (ctrl DataPrivacy) ConnectionList(ctx context.Context, r *request.DataPrivacyConnectionList) (interface{}, error)

func (DataPrivacy) New

func (DataPrivacy) New() *DataPrivacy

func (DataPrivacy) RequestCommentCreate

func (ctrl DataPrivacy) RequestCommentCreate(ctx context.Context, r *request.DataPrivacyRequestCommentCreate) (interface{}, error)

func (DataPrivacy) RequestCommentList

func (ctrl DataPrivacy) RequestCommentList(ctx context.Context, r *request.DataPrivacyRequestCommentList) (interface{}, error)

func (DataPrivacy) RequestCreate

func (ctrl DataPrivacy) RequestCreate(ctx context.Context, r *request.DataPrivacyRequestCreate) (interface{}, error)

func (DataPrivacy) RequestList

func (ctrl DataPrivacy) RequestList(ctx context.Context, r *request.DataPrivacyRequestList) (interface{}, error)

func (DataPrivacy) RequestRead

func (ctrl DataPrivacy) RequestRead(ctx context.Context, r *request.DataPrivacyRequestRead) (interface{}, error)

func (DataPrivacy) RequestUpdateStatus

func (ctrl DataPrivacy) RequestUpdateStatus(ctx context.Context, r *request.DataPrivacyRequestUpdateStatus) (interface{}, error)

type DataPrivacyRequest

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

func (DataPrivacyRequest) New

type DataPrivacyRequestComment

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

func (DataPrivacyRequestComment) New

type Expression

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

func (*Expression) Evaluate

func (ctrl *Expression) Evaluate(ctx context.Context, r *request.ExpressionEvaluate) (interface{}, error)

func (Expression) New

func (Expression) New() *Expression

type KnowledgeBase

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

func (*KnowledgeBase) Create

func (ctrl *KnowledgeBase) Create(ctx context.Context, r *request.KnowledgeBaseCreate) (interface{}, error)

func (*KnowledgeBase) Delete

func (ctrl *KnowledgeBase) Delete(ctx context.Context, r *request.KnowledgeBaseDelete) (interface{}, error)

func (*KnowledgeBase) List

func (ctrl *KnowledgeBase) List(ctx context.Context, r *request.KnowledgeBaseList) (interface{}, error)

func (KnowledgeBase) New

func (*KnowledgeBase) Read

func (ctrl *KnowledgeBase) Read(ctx context.Context, r *request.KnowledgeBaseRead) (interface{}, error)

func (*KnowledgeBase) Undelete

func (ctrl *KnowledgeBase) Undelete(ctx context.Context, r *request.KnowledgeBaseUndelete) (interface{}, error)

func (*KnowledgeBase) Update

func (ctrl *KnowledgeBase) Update(ctx context.Context, r *request.KnowledgeBaseUpdate) (interface{}, error)

type Label

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

func (Label) List

func (ctrl Label) List(ctx context.Context, r *request.LabelList) (interface{}, error)

func (Label) New

func (Label) New() *Label

type LabelListEntry

type LabelListEntry struct {
	Name          string `json:"name"`
	ResourceCount int    `json:"resourceCount"`
}

type LabelSetPayload

type LabelSetPayload struct {
	Filter types.LabelFilter `json:"filter"`
	Set    []LabelListEntry  `json:"set"`
}

type LlmProvider

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

func (LlmProvider) Create

func (ctrl LlmProvider) Create(ctx context.Context, r *request.LlmProviderCreate) (interface{}, error)

func (LlmProvider) Delete

func (ctrl LlmProvider) Delete(ctx context.Context, r *request.LlmProviderDelete) (interface{}, error)

func (LlmProvider) List

func (ctrl LlmProvider) List(ctx context.Context, r *request.LlmProviderList) (interface{}, error)

func (LlmProvider) Models

func (ctrl LlmProvider) Models(ctx context.Context, r *request.LlmProviderModels) (interface{}, error)

func (LlmProvider) New

func (LlmProvider) New() LlmProvider

func (LlmProvider) Read

func (ctrl LlmProvider) Read(ctx context.Context, r *request.LlmProviderRead) (interface{}, error)

func (LlmProvider) Update

func (ctrl LlmProvider) Update(ctx context.Context, r *request.LlmProviderUpdate) (interface{}, error)

func (LlmProvider) Validate

func (ctrl LlmProvider) Validate(ctx context.Context, r *request.LlmProviderValidate) (interface{}, error)

type Locale

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

func (Locale) CreateResource

func (ctrl Locale) CreateResource(ctx context.Context, r *request.LocaleCreateResource) (interface{}, error)

func (Locale) DeleteResource

func (ctrl Locale) DeleteResource(ctx context.Context, r *request.LocaleDeleteResource) (interface{}, error)

func (Locale) Get

func (ctrl Locale) Get(ctx context.Context, r *request.LocaleGet) (interface{}, error)

func (Locale) List

func (ctrl Locale) List(ctx context.Context, r *request.LocaleList) (interface{}, error)

func (Locale) ListResource

func (ctrl Locale) ListResource(ctx context.Context, r *request.LocaleListResource) (interface{}, error)

func (Locale) New

func (Locale) New() *Locale

func (Locale) ReadResource

func (ctrl Locale) ReadResource(ctx context.Context, r *request.LocaleReadResource) (interface{}, error)

func (Locale) UndeleteResource

func (ctrl Locale) UndeleteResource(ctx context.Context, r *request.LocaleUndeleteResource) (interface{}, error)

func (Locale) UpdateResource

func (ctrl Locale) UpdateResource(ctx context.Context, r *request.LocaleUpdateResource) (interface{}, error)

type Mcp

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

func (Mcp) ListTools

func (ctrl Mcp) ListTools(ctx context.Context, _ *request.McpListTools) (interface{}, error)

func (Mcp) New

func (Mcp) New() Mcp

type Notification

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

func (*Notification) Create

func (ctrl *Notification) Create(ctx context.Context, r *request.NotificationCreate) (interface{}, error)

func (*Notification) Delete

func (ctrl *Notification) Delete(ctx context.Context, r *request.NotificationDelete) (interface{}, error)

func (*Notification) List

func (ctrl *Notification) List(ctx context.Context, r *request.NotificationList) (interface{}, error)

func (*Notification) MarkAllAsRead

func (ctrl *Notification) MarkAllAsRead(ctx context.Context, r *request.NotificationMarkAllAsRead) (interface{}, error)

func (*Notification) MarkAllAsUnread

func (ctrl *Notification) MarkAllAsUnread(ctx context.Context, r *request.NotificationMarkAllAsUnread) (interface{}, error)

func (*Notification) MarkAsRead

func (ctrl *Notification) MarkAsRead(ctx context.Context, r *request.NotificationMarkAsRead) (interface{}, error)

func (*Notification) MarkAsUnread

func (ctrl *Notification) MarkAsUnread(ctx context.Context, r *request.NotificationMarkAsUnread) (interface{}, error)

func (Notification) New

func (Notification) New() *Notification

func (*Notification) Read

func (ctrl *Notification) Read(ctx context.Context, r *request.NotificationRead) (interface{}, error)

func (*Notification) Update

func (ctrl *Notification) Update(ctx context.Context, r *request.NotificationUpdate) (interface{}, error)

type Permissions

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

func (Permissions) Delete

func (ctrl Permissions) Delete(ctx context.Context, r *request.PermissionsDelete) (interface{}, error)

func (Permissions) Effective

func (ctrl Permissions) Effective(ctx context.Context, r *request.PermissionsEffective) (interface{}, error)

func (Permissions) List

func (ctrl Permissions) List(ctx context.Context, r *request.PermissionsList) (interface{}, error)

func (Permissions) New

func (Permissions) New() *Permissions

func (Permissions) Read

func (ctrl Permissions) Read(ctx context.Context, r *request.PermissionsRead) (interface{}, error)

func (Permissions) Trace

func (ctrl Permissions) Trace(ctx context.Context, r *request.PermissionsTrace) (interface{}, error)

func (Permissions) Update

func (ctrl Permissions) Update(ctx context.Context, r *request.PermissionsUpdate) (interface{}, error)

type Queue

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

func (*Queue) Create

func (ctrl *Queue) Create(ctx context.Context, r *request.QueuesCreate) (interface{}, error)

func (*Queue) Delete

func (ctrl *Queue) Delete(ctx context.Context, r *request.QueuesDelete) (interface{}, error)

func (*Queue) List

func (ctrl *Queue) List(ctx context.Context, r *request.QueuesList) (interface{}, error)

func (Queue) New

func (Queue) New() *Queue

func (*Queue) Read

func (ctrl *Queue) Read(ctx context.Context, r *request.QueuesRead) (interface{}, error)

func (*Queue) Undelete

func (ctrl *Queue) Undelete(ctx context.Context, r *request.QueuesUndelete) (interface{}, error)

func (*Queue) Update

func (ctrl *Queue) Update(ctx context.Context, r *request.QueuesUpdate) (interface{}, error)

type Reminder

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

func (*Reminder) Create

func (ctrl *Reminder) Create(ctx context.Context, r *request.ReminderCreate) (interface{}, error)

func (*Reminder) Delete

func (ctrl *Reminder) Delete(ctx context.Context, r *request.ReminderDelete) (interface{}, error)

func (*Reminder) Dismiss

func (ctrl *Reminder) Dismiss(ctx context.Context, r *request.ReminderDismiss) (interface{}, error)

func (*Reminder) List

func (ctrl *Reminder) List(ctx context.Context, r *request.ReminderList) (interface{}, error)

func (Reminder) New

func (Reminder) New() *Reminder

func (*Reminder) Read

func (ctrl *Reminder) Read(ctx context.Context, r *request.ReminderRead) (interface{}, error)

func (*Reminder) Snooze

func (ctrl *Reminder) Snooze(ctx context.Context, r *request.ReminderSnooze) (interface{}, error)

func (*Reminder) Undismiss

func (ctrl *Reminder) Undismiss(ctx context.Context, r *request.ReminderUndismiss) (interface{}, error)

func (*Reminder) Update

func (ctrl *Reminder) Update(ctx context.Context, r *request.ReminderUpdate) (interface{}, error)

type Report

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

func (*Report) Create

func (ctrl *Report) Create(ctx context.Context, r *request.ReportCreate) (interface{}, error)

func (*Report) Delete

func (ctrl *Report) Delete(ctx context.Context, r *request.ReportDelete) (interface{}, error)

func (*Report) Describe

func (ctrl *Report) Describe(ctx context.Context, r *request.ReportDescribe) (interface{}, error)

func (*Report) List

func (ctrl *Report) List(ctx context.Context, r *request.ReportList) (interface{}, error)

func (Report) New

func (Report) New() *Report

func (*Report) Read

func (ctrl *Report) Read(ctx context.Context, r *request.ReportRead) (interface{}, error)

func (*Report) Run

func (ctrl *Report) Run(ctx context.Context, r *request.ReportRun) (interface{}, error)

func (*Report) Undelete

func (ctrl *Report) Undelete(ctx context.Context, r *request.ReportUndelete) (interface{}, error)

func (*Report) Update

func (ctrl *Report) Update(ctx context.Context, r *request.ReportUpdate) (interface{}, error)

type Role

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

func (Role) Archive

func (ctrl Role) Archive(ctx context.Context, r *request.RoleArchive) (interface{}, error)

func (Role) CloneRules

func (ctrl Role) CloneRules(ctx context.Context, r *request.RoleCloneRules) (interface{}, error)

func (Role) Create

func (ctrl Role) Create(ctx context.Context, r *request.RoleCreate) (interface{}, error)

func (Role) Delete

func (ctrl Role) Delete(ctx context.Context, r *request.RoleDelete) (interface{}, error)

func (Role) List

func (ctrl Role) List(ctx context.Context, r *request.RoleList) (interface{}, error)

func (Role) MemberAdd

func (ctrl Role) MemberAdd(ctx context.Context, r *request.RoleMemberAdd) (interface{}, error)

func (Role) MemberAddGroup

func (ctrl Role) MemberAddGroup(ctx context.Context, r *request.RoleMemberAddGroup) (interface{}, error)

func (Role) MemberList

func (ctrl Role) MemberList(ctx context.Context, r *request.RoleMemberList) (interface{}, error)

func (Role) MemberRemove

func (ctrl Role) MemberRemove(ctx context.Context, r *request.RoleMemberRemove) (interface{}, error)

func (Role) MemberRemoveGroup

func (ctrl Role) MemberRemoveGroup(ctx context.Context, r *request.RoleMemberRemoveGroup) (interface{}, error)

func (Role) Merge

func (ctrl Role) Merge(ctx context.Context, r *request.RoleMerge) (interface{}, error)

deprecated

func (Role) Move

func (ctrl Role) Move(ctx context.Context, r *request.RoleMove) (interface{}, error)

deprecated

func (Role) New

func (Role) New() *Role

func (Role) Read

func (ctrl Role) Read(ctx context.Context, r *request.RoleRead) (interface{}, error)

func (*Role) TriggerScript

func (ctrl *Role) TriggerScript(ctx context.Context, r *request.RoleTriggerScript) (rsp interface{}, err error)

func (Role) Unarchive

func (ctrl Role) Unarchive(ctx context.Context, r *request.RoleUnarchive) (interface{}, error)

func (Role) Undelete

func (ctrl Role) Undelete(ctx context.Context, r *request.RoleUndelete) (interface{}, error)

func (Role) Update

func (ctrl Role) Update(ctx context.Context, r *request.RoleUpdate) (interface{}, error)

type SensitivityLevel

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

func (SensitivityLevel) Create

func (ctrl SensitivityLevel) Create(ctx context.Context, r *request.DalSensitivityLevelCreate) (interface{}, error)

func (SensitivityLevel) Delete

func (ctrl SensitivityLevel) Delete(ctx context.Context, r *request.DalSensitivityLevelDelete) (interface{}, error)

func (SensitivityLevel) List

func (ctrl SensitivityLevel) List(ctx context.Context, r *request.DalSensitivityLevelList) (interface{}, error)

func (SensitivityLevel) New

func (SensitivityLevel) Read

func (ctrl SensitivityLevel) Read(ctx context.Context, r *request.DalSensitivityLevelRead) (interface{}, error)

func (SensitivityLevel) Undelete

func (ctrl SensitivityLevel) Undelete(ctx context.Context, r *request.DalSensitivityLevelUndelete) (interface{}, error)

func (SensitivityLevel) Update

func (ctrl SensitivityLevel) Update(ctx context.Context, r *request.DalSensitivityLevelUpdate) (interface{}, error)

type Settings

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

func (*Settings) Current

func (ctrl *Settings) Current(ctx context.Context, r *request.SettingsCurrent) (interface{}, error)

Current settings, structured

This is available to all authenticated users

func (*Settings) Get

func (ctrl *Settings) Get(ctx context.Context, r *request.SettingsGet) (interface{}, error)

func (*Settings) List

func (ctrl *Settings) List(ctx context.Context, r *request.SettingsList) (interface{}, error)

func (Settings) New

func (Settings) New() *Settings

func (*Settings) Set

func (ctrl *Settings) Set(ctx context.Context, r *request.SettingsSet) (interface{}, error)

func (*Settings) Update

func (ctrl *Settings) Update(ctx context.Context, r *request.SettingsUpdate) (interface{}, error)

type Sink

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

func (*Sink) ServeHTTP

func (ctrl *Sink) ServeHTTP(w http.ResponseWriter, r *http.Request)

type SmtpConfigurationChecker

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

func (*SmtpConfigurationChecker) Check

func (SmtpConfigurationChecker) New

type Stats

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

func (*Stats) List

func (ctrl *Stats) List(ctx context.Context, r *request.StatsList) (interface{}, error)

func (Stats) New

func (Stats) New() *Stats

type Template

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

func (*Template) Create

func (ctrl *Template) Create(ctx context.Context, r *request.TemplateCreate) (interface{}, error)

func (*Template) Delete

func (ctrl *Template) Delete(ctx context.Context, r *request.TemplateDelete) (interface{}, error)

func (*Template) List

func (ctrl *Template) List(ctx context.Context, r *request.TemplateList) (interface{}, error)

func (Template) New

func (Template) New() *Template

func (*Template) Read

func (ctrl *Template) Read(ctx context.Context, r *request.TemplateRead) (interface{}, error)

func (*Template) Render

func (ctrl *Template) Render(ctx context.Context, r *request.TemplateRender) (interface{}, error)

func (*Template) RenderDrivers

func (ctrl *Template) RenderDrivers(ctx context.Context, r *request.TemplateRenderDrivers) (interface{}, error)

func (*Template) Undelete

func (ctrl *Template) Undelete(ctx context.Context, r *request.TemplateUndelete) (interface{}, error)

func (*Template) Update

func (ctrl *Template) Update(ctx context.Context, r *request.TemplateUpdate) (interface{}, error)

type User

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

func (User) Create

func (ctrl User) Create(ctx context.Context, r *request.UserCreate) (interface{}, error)

func (User) Delete

func (ctrl User) Delete(ctx context.Context, r *request.UserDelete) (interface{}, error)

func (User) DeleteAvatar

func (ctrl User) DeleteAvatar(ctx context.Context, r *request.UserDeleteAvatar) (interface{}, error)

func (*User) DeleteCredentials

func (ctrl *User) DeleteCredentials(ctx context.Context, r *request.UserDeleteCredentials) (rsp interface{}, err error)

func (*User) Export

func (ctrl *User) Export(ctx context.Context, r *request.UserExport) (rsp interface{}, err error)

Export exports users with optional role membership and related roles

@note this is a temporary implementation; it will be reworked when we rework Envoy and related bits.

func (*User) Import

func (ctrl *User) Import(ctx context.Context, r *request.UserImport) (rsp interface{}, err error)

Import imports users with optional role membership and related roles

@note this is a temporary implementation; it will be reworked when we rework Envoy and related bits.

func (User) List

func (ctrl User) List(ctx context.Context, r *request.UserList) (interface{}, error)

func (*User) ListCredentials

func (ctrl *User) ListCredentials(ctx context.Context, r *request.UserListCredentials) (rsp interface{}, err error)

func (User) MembershipAdd

func (ctrl User) MembershipAdd(ctx context.Context, r *request.UserMembershipAdd) (interface{}, error)

func (User) MembershipList

func (ctrl User) MembershipList(ctx context.Context, r *request.UserMembershipList) (interface{}, error)

func (User) MembershipRemove

func (ctrl User) MembershipRemove(ctx context.Context, r *request.UserMembershipRemove) (interface{}, error)

func (User) New

func (User) New() *User

func (User) PartialUpdate

func (ctrl User) PartialUpdate(ctx context.Context, r *request.UserPartialUpdate) (interface{}, error)

PartialUpdate

experimental resource management with partial updates (patching) using JavaScript Object Notation (JSON) Patch standard (RFC 6902)

If this proves useful, we'll use it on other resources & fields

func (User) ProfileAvatar

func (ctrl User) ProfileAvatar(ctx context.Context, r *request.UserProfileAvatar) (interface{}, error)

func (User) ProfileAvatarInitial

func (ctrl User) ProfileAvatarInitial(ctx context.Context, r *request.UserProfileAvatarInitial) (interface{}, error)

func (User) Read

func (ctrl User) Read(ctx context.Context, r *request.UserRead) (interface{}, error)

func (*User) SessionsRemove

func (ctrl *User) SessionsRemove(ctx context.Context, r *request.UserSessionsRemove) (rsp interface{}, err error)

func (User) SetPassword

func (ctrl User) SetPassword(ctx context.Context, r *request.UserSetPassword) (interface{}, error)

func (User) Suspend

func (ctrl User) Suspend(ctx context.Context, r *request.UserSuspend) (interface{}, error)

func (*User) TriggerScript

func (ctrl *User) TriggerScript(ctx context.Context, r *request.UserTriggerScript) (rsp interface{}, err error)

func (User) Undelete

func (ctrl User) Undelete(ctx context.Context, r *request.UserUndelete) (interface{}, error)

func (User) Unsuspend

func (ctrl User) Unsuspend(ctx context.Context, r *request.UserUnsuspend) (interface{}, error)

func (User) Update

func (ctrl User) Update(ctx context.Context, r *request.UserUpdate) (interface{}, error)

type UserGroup

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

func (UserGroup) Create

func (ctrl UserGroup) Create(ctx context.Context, r *request.UserGroupCreate) (interface{}, error)

func (UserGroup) Delete

func (ctrl UserGroup) Delete(ctx context.Context, r *request.UserGroupDelete) (interface{}, error)

func (UserGroup) List

func (ctrl UserGroup) List(ctx context.Context, r *request.UserGroupList) (interface{}, error)

func (UserGroup) MemberAdd

func (ctrl UserGroup) MemberAdd(ctx context.Context, r *request.UserGroupMemberAdd) (interface{}, error)

func (UserGroup) MemberList

func (ctrl UserGroup) MemberList(ctx context.Context, r *request.UserGroupMemberList) (interface{}, error)

func (UserGroup) New

func (UserGroup) New() *UserGroup

func (UserGroup) Read

func (ctrl UserGroup) Read(ctx context.Context, r *request.UserGroupRead) (interface{}, error)

func (UserGroup) Undelete

func (ctrl UserGroup) Undelete(ctx context.Context, r *request.UserGroupUndelete) (interface{}, error)

func (UserGroup) Update

func (ctrl UserGroup) Update(ctx context.Context, r *request.UserGroupUpdate) (interface{}, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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