Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventTypes ¶
type EventTypes struct {
List func(http.ResponseWriter, *http.Request)
}
HTTP API interface
func NewEventTypes ¶
func NewEventTypes(h EventTypesAPI) *EventTypes
func (EventTypes) MountRoutes ¶
func (h EventTypes) MountRoutes(r chi.Router, middlewares ...func(http.Handler) http.Handler)
type EventTypesAPI ¶
type EventTypesAPI interface {
List(context.Context, *request.EventTypesList) (interface{}, error)
}
Internal API interface
type Function ¶
type Function struct {
List func(http.ResponseWriter, *http.Request)
}
HTTP API interface
func NewFunction ¶
func NewFunction(h FunctionAPI) *Function
type FunctionAPI ¶
type FunctionAPI interface {
List(context.Context, *request.FunctionList) (interface{}, error)
}
Internal API interface
type Permissions ¶
type Permissions struct { List func(http.ResponseWriter, *http.Request) Effective func(http.ResponseWriter, *http.Request) Trace func(http.ResponseWriter, *http.Request) Read func(http.ResponseWriter, *http.Request) Delete func(http.ResponseWriter, *http.Request) Update func(http.ResponseWriter, *http.Request) }
HTTP API interface
func NewPermissions ¶
func NewPermissions(h PermissionsAPI) *Permissions
func (Permissions) MountRoutes ¶
func (h Permissions) MountRoutes(r chi.Router, middlewares ...func(http.Handler) http.Handler)
type PermissionsAPI ¶
type PermissionsAPI interface { List(context.Context, *request.PermissionsList) (interface{}, error) Effective(context.Context, *request.PermissionsEffective) (interface{}, error) Trace(context.Context, *request.PermissionsTrace) (interface{}, error) Read(context.Context, *request.PermissionsRead) (interface{}, error) Delete(context.Context, *request.PermissionsDelete) (interface{}, error) Update(context.Context, *request.PermissionsUpdate) (interface{}, error) }
Internal API interface
type Session ¶
type Session struct { List func(http.ResponseWriter, *http.Request) Read func(http.ResponseWriter, *http.Request) Cancel func(http.ResponseWriter, *http.Request) ListPrompts func(http.ResponseWriter, *http.Request) ResumeState func(http.ResponseWriter, *http.Request) }
HTTP API interface
func NewSession ¶
func NewSession(h SessionAPI) *Session
type SessionAPI ¶
type SessionAPI interface { List(context.Context, *request.SessionList) (interface{}, error) Read(context.Context, *request.SessionRead) (interface{}, error) Cancel(context.Context, *request.SessionCancel) (interface{}, error) ListPrompts(context.Context, *request.SessionListPrompts) (interface{}, error) ResumeState(context.Context, *request.SessionResumeState) (interface{}, error) }
Internal API interface
type Trigger ¶
type Trigger struct { List func(http.ResponseWriter, *http.Request) Create func(http.ResponseWriter, *http.Request) Update func(http.ResponseWriter, *http.Request) Read func(http.ResponseWriter, *http.Request) Delete func(http.ResponseWriter, *http.Request) Undelete func(http.ResponseWriter, *http.Request) }
HTTP API interface
func NewTrigger ¶
func NewTrigger(h TriggerAPI) *Trigger
type TriggerAPI ¶
type TriggerAPI interface { List(context.Context, *request.TriggerList) (interface{}, error) Create(context.Context, *request.TriggerCreate) (interface{}, error) Update(context.Context, *request.TriggerUpdate) (interface{}, error) Read(context.Context, *request.TriggerRead) (interface{}, error) Delete(context.Context, *request.TriggerDelete) (interface{}, error) Undelete(context.Context, *request.TriggerUndelete) (interface{}, error) }
Internal API interface
type Workflow ¶
type Workflow struct { List func(http.ResponseWriter, *http.Request) Create func(http.ResponseWriter, *http.Request) Update func(http.ResponseWriter, *http.Request) Read func(http.ResponseWriter, *http.Request) Delete func(http.ResponseWriter, *http.Request) Undelete func(http.ResponseWriter, *http.Request) Test func(http.ResponseWriter, *http.Request) Exec func(http.ResponseWriter, *http.Request) }
HTTP API interface
func NewWorkflow ¶
func NewWorkflow(h WorkflowAPI) *Workflow
type WorkflowAPI ¶
type WorkflowAPI interface { List(context.Context, *request.WorkflowList) (interface{}, error) Create(context.Context, *request.WorkflowCreate) (interface{}, error) Update(context.Context, *request.WorkflowUpdate) (interface{}, error) Read(context.Context, *request.WorkflowRead) (interface{}, error) Delete(context.Context, *request.WorkflowDelete) (interface{}, error) Undelete(context.Context, *request.WorkflowUndelete) (interface{}, error) Test(context.Context, *request.WorkflowTest) (interface{}, error) Exec(context.Context, *request.WorkflowExec) (interface{}, error) }
Internal API interface
Click to show internal directories.
Click to hide internal directories.