rest

package
v0.0.0-...-06831c0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 42 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 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) List

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

Attachments returns list of all files attached to records

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 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 Chart

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

func (Chart) Create

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

func (Chart) Delete

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

func (Chart) List

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

func (Chart) ListTranslations

func (ctrl Chart) ListTranslations(ctx context.Context, r *request.ChartListTranslations) (interface{}, error)

func (Chart) New

func (Chart) New() *Chart

func (Chart) Read

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

func (Chart) Update

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

func (Chart) UpdateTranslations

func (ctrl Chart) UpdateTranslations(ctx context.Context, r *request.ChartUpdateTranslations) (interface{}, error)

type DataPrivacy

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

func (*DataPrivacy) ModuleList

func (ctrl *DataPrivacy) ModuleList(ctx context.Context, r *request.DataPrivacyModuleList) (out interface{}, err error)

func (DataPrivacy) New

func (DataPrivacy) New() *DataPrivacy

func (*DataPrivacy) RecordList

func (ctrl *DataPrivacy) RecordList(ctx context.Context, r *request.DataPrivacyRecordList) (out interface{}, err error)

type Icon

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

func (*Icon) Delete

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

func (*Icon) List

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

func (Icon) New

func (Icon) New() *Icon

func (*Icon) Upload

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

type Module

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

func (*Module) Create

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

func (*Module) Delete

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

func (*Module) List

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

func (*Module) ListTranslations

func (ctrl *Module) ListTranslations(ctx context.Context, r *request.ModuleListTranslations) (interface{}, error)

func (Module) New

func (Module) New() *Module

func (*Module) Read

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

func (*Module) TriggerScript

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

func (*Module) Update

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

func (*Module) UpdateTranslations

func (ctrl *Module) UpdateTranslations(ctx context.Context, r *request.ModuleUpdateTranslations) (interface{}, error)

type Namespace

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

func (Namespace) Clone

func (ctrl Namespace) Clone(ctx context.Context, r *request.NamespaceClone) (interface{}, error)

func (Namespace) Create

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

func (Namespace) Delete

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

func (Namespace) Export

func (ctrl Namespace) Export(ctx context.Context, r *request.NamespaceExport) (out interface{}, err error)

func (Namespace) ImportInit

func (ctrl Namespace) ImportInit(ctx context.Context, r *request.NamespaceImportInit) (interface{}, error)

func (Namespace) ImportRun

func (ctrl Namespace) ImportRun(ctx context.Context, r *request.NamespaceImportRun) (interface{}, error)

func (Namespace) List

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

func (Namespace) ListTranslations

func (ctrl Namespace) ListTranslations(ctx context.Context, r *request.NamespaceListTranslations) (interface{}, error)

func (Namespace) New

func (Namespace) New() *Namespace

func (Namespace) Read

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

func (*Namespace) TriggerScript

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

func (Namespace) Update

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

func (Namespace) UpdateTranslations

func (ctrl Namespace) UpdateTranslations(ctx context.Context, r *request.NamespaceUpdateTranslations) (interface{}, error)

func (Namespace) Upload

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

type Notification

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

func (*Notification) EmailSend

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

EmailSend assembles Email Message and pushes message to notification service

func (Notification) New

func (Notification) New() *Notification

type Page

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

func (*Page) Create

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

func (*Page) Delete

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

func (*Page) List

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

func (*Page) ListTranslations

func (ctrl *Page) ListTranslations(ctx context.Context, r *request.PageListTranslations) (interface{}, error)

func (Page) New

func (Page) New() *Page

func (*Page) Read

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

func (*Page) Reorder

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

func (*Page) Tree

func (ctrl *Page) Tree(ctx context.Context, r *request.PageTree) (interface{}, error)

func (*Page) TriggerScript

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

func (*Page) Update

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

func (*Page) UpdateIcon

func (ctrl *Page) UpdateIcon(ctx context.Context, r *request.PageUpdateIcon) (interface{}, error)

func (*Page) UpdateTranslations

func (ctrl *Page) UpdateTranslations(ctx context.Context, r *request.PageUpdateTranslations) (interface{}, error)

func (*Page) Upload

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

type PageLayout

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

func (*PageLayout) Create

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

func (*PageLayout) Delete

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

func (*PageLayout) List

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

func (*PageLayout) ListNamespace

func (ctrl *PageLayout) ListNamespace(ctx context.Context, r *request.PageLayoutListNamespace) (interface{}, error)

func (*PageLayout) ListTranslations

func (ctrl *PageLayout) ListTranslations(ctx context.Context, r *request.PageLayoutListTranslations) (interface{}, error)

func (PageLayout) New

func (PageLayout) New() *PageLayout

func (*PageLayout) Read

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

func (*PageLayout) Reorder

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

func (*PageLayout) Undelete

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

func (*PageLayout) Update

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

func (*PageLayout) UpdateTranslations

func (ctrl *PageLayout) UpdateTranslations(ctx context.Context, r *request.PageLayoutUpdateTranslations) (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 Record

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

func (*Record) BulkDelete

func (ctrl *Record) BulkDelete(ctx context.Context, r *request.RecordBulkDelete) (interface{}, error)

func (*Record) BulkUndelete

func (ctrl *Record) BulkUndelete(ctx context.Context, r *request.RecordBulkUndelete) (interface{}, error)

func (*Record) Create

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

func (*Record) Delete

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

func (Record) Exec

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

func (*Record) Export

func (ctrl *Record) Export(ctx context.Context, r *request.RecordExport) (interface{}, error)

func (*Record) ImportInit

func (ctrl *Record) ImportInit(ctx context.Context, r *request.RecordImportInit) (interface{}, error)

func (*Record) ImportProgress

func (ctrl *Record) ImportProgress(ctx context.Context, r *request.RecordImportProgress) (interface{}, error)

func (*Record) ImportRun

func (ctrl *Record) ImportRun(ctx context.Context, r *request.RecordImportRun) (_ interface{}, err error)

@todo :')

func (*Record) List

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

func (Record) New

func (Record) New() *Record

func (*Record) Patch

func (ctrl *Record) Patch(ctx context.Context, req *request.RecordPatch) (interface{}, error)

func (*Record) Read

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

func (*Record) Report

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

func (*Record) Revisions

func (ctrl *Record) Revisions(ctx context.Context, r *request.RecordRevisions) (interface{}, error)

func (*Record) TriggerScript

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

func (*Record) TriggerScriptOnList

func (ctrl *Record) TriggerScriptOnList(ctx context.Context, r *request.RecordTriggerScriptOnList) (rsp interface{}, err error)

func (*Record) Undelete

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

func (*Record) Update

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

func (*Record) Upload

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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