request

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: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventTypesList

type EventTypesList struct {
}

Internal API interface

func NewEventTypesList

func NewEventTypesList() *EventTypesList

NewEventTypesList request

func (EventTypesList) Auditable

func (r EventTypesList) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*EventTypesList) Fill

func (r *EventTypesList) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

type FunctionList

type FunctionList struct {
}

Internal API interface

func NewFunctionList

func NewFunctionList() *FunctionList

NewFunctionList request

func (FunctionList) Auditable

func (r FunctionList) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*FunctionList) Fill

func (r *FunctionList) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

type PermissionsDelete

type PermissionsDelete struct {
	// RoleID PATH parameter
	//
	// Role ID
	RoleID uint64 `json:",string"`
}

func NewPermissionsDelete

func NewPermissionsDelete() *PermissionsDelete

NewPermissionsDelete request

func (PermissionsDelete) Auditable

func (r PermissionsDelete) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*PermissionsDelete) Fill

func (r *PermissionsDelete) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

func (PermissionsDelete) GetRoleID

func (r PermissionsDelete) GetRoleID() uint64

Auditable returns all auditable/loggable parameters

type PermissionsEffective

type PermissionsEffective struct {
	// Resource GET parameter
	//
	// Show only rules for a specific resource
	Resource string
}

func NewPermissionsEffective

func NewPermissionsEffective() *PermissionsEffective

NewPermissionsEffective request

func (PermissionsEffective) Auditable

func (r PermissionsEffective) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*PermissionsEffective) Fill

func (r *PermissionsEffective) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

func (PermissionsEffective) GetResource

func (r PermissionsEffective) GetResource() string

Auditable returns all auditable/loggable parameters

type PermissionsList

type PermissionsList struct {
}

Internal API interface

func NewPermissionsList

func NewPermissionsList() *PermissionsList

NewPermissionsList request

func (PermissionsList) Auditable

func (r PermissionsList) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*PermissionsList) Fill

func (r *PermissionsList) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

type PermissionsRead

type PermissionsRead struct {
	// RoleID PATH parameter
	//
	// Role ID
	RoleID uint64 `json:",string"`

	// Resource GET parameter
	//
	// Show only rules for a specific resource
	Resource []string
}

func NewPermissionsRead

func NewPermissionsRead() *PermissionsRead

NewPermissionsRead request

func (PermissionsRead) Auditable

func (r PermissionsRead) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*PermissionsRead) Fill

func (r *PermissionsRead) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

func (PermissionsRead) GetResource

func (r PermissionsRead) GetResource() []string

Auditable returns all auditable/loggable parameters

func (PermissionsRead) GetRoleID

func (r PermissionsRead) GetRoleID() uint64

Auditable returns all auditable/loggable parameters

type PermissionsTrace

type PermissionsTrace struct {
	// Resource GET parameter
	//
	// Show only rules for a specific resource
	Resource []string

	// UserID GET parameter
	//
	//
	UserID uint64 `json:",string"`

	// RoleID GET parameter
	//
	//
	RoleID []uint64
}

func NewPermissionsTrace

func NewPermissionsTrace() *PermissionsTrace

NewPermissionsTrace request

func (PermissionsTrace) Auditable

func (r PermissionsTrace) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*PermissionsTrace) Fill

func (r *PermissionsTrace) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

func (PermissionsTrace) GetResource

func (r PermissionsTrace) GetResource() []string

Auditable returns all auditable/loggable parameters

func (PermissionsTrace) GetRoleID

func (r PermissionsTrace) GetRoleID() []uint64

Auditable returns all auditable/loggable parameters

func (PermissionsTrace) GetUserID

func (r PermissionsTrace) GetUserID() uint64

Auditable returns all auditable/loggable parameters

type PermissionsUpdate

type PermissionsUpdate struct {
	// RoleID PATH parameter
	//
	// Role ID
	RoleID uint64 `json:",string"`

	// Rules POST parameter
	//
	// List of permission rules to set
	Rules rbac.RuleSet
}

func NewPermissionsUpdate

func NewPermissionsUpdate() *PermissionsUpdate

NewPermissionsUpdate request

func (PermissionsUpdate) Auditable

func (r PermissionsUpdate) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*PermissionsUpdate) Fill

func (r *PermissionsUpdate) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

func (PermissionsUpdate) GetRoleID

func (r PermissionsUpdate) GetRoleID() uint64

Auditable returns all auditable/loggable parameters

func (PermissionsUpdate) GetRules

func (r PermissionsUpdate) GetRules() rbac.RuleSet

Auditable returns all auditable/loggable parameters

type SessionCancel

type SessionCancel struct {
	// SessionID PATH parameter
	//
	// Session ID
	SessionID uint64 `json:",string"`
}

func NewSessionCancel

func NewSessionCancel() *SessionCancel

NewSessionCancel request

func (SessionCancel) Auditable

func (r SessionCancel) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*SessionCancel) Fill

func (r *SessionCancel) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

func (SessionCancel) GetSessionID

func (r SessionCancel) GetSessionID() uint64

Auditable returns all auditable/loggable parameters

type SessionList

type SessionList struct {
	// SessionID GET parameter
	//
	// Filter by session ID
	SessionID []string

	// WorkflowID GET parameter
	//
	// Filter by workflow ID
	WorkflowID []string

	// CreatedBy GET parameter
	//
	// Filter by creators ID
	CreatedBy []string

	// Completed GET parameter
	//
	// Exclude (0, default), include (1) or return only (2) completed sessions
	Completed uint

	// Status GET parameter
	//
	// Filter by status: started (0), prompted (1), suspended (2), failed (3) and completed (4)
	Status []uint

	// EventType GET parameter
	//
	// Filter event type
	EventType string

	// ResourceType GET parameter
	//
	// Filter resource type
	ResourceType string

	// Limit GET parameter
	//
	// Limit
	Limit uint

	// IncTotal GET parameter
	//
	// Include total rows counter
	IncTotal bool

	// PageCursor GET parameter
	//
	// Page cursor
	PageCursor string

	// Sort GET parameter
	//
	// Sort items
	Sort string
}

Internal API interface

func NewSessionList

func NewSessionList() *SessionList

NewSessionList request

func (SessionList) Auditable

func (r SessionList) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*SessionList) Fill

func (r *SessionList) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

func (SessionList) GetCompleted

func (r SessionList) GetCompleted() uint

Auditable returns all auditable/loggable parameters

func (SessionList) GetCreatedBy

func (r SessionList) GetCreatedBy() []string

Auditable returns all auditable/loggable parameters

func (SessionList) GetEventType

func (r SessionList) GetEventType() string

Auditable returns all auditable/loggable parameters

func (SessionList) GetIncTotal

func (r SessionList) GetIncTotal() bool

Auditable returns all auditable/loggable parameters

func (SessionList) GetLimit

func (r SessionList) GetLimit() uint

Auditable returns all auditable/loggable parameters

func (SessionList) GetPageCursor

func (r SessionList) GetPageCursor() string

Auditable returns all auditable/loggable parameters

func (SessionList) GetResourceType

func (r SessionList) GetResourceType() string

Auditable returns all auditable/loggable parameters

func (SessionList) GetSessionID

func (r SessionList) GetSessionID() []string

Auditable returns all auditable/loggable parameters

func (SessionList) GetSort

func (r SessionList) GetSort() string

Auditable returns all auditable/loggable parameters

func (SessionList) GetStatus

func (r SessionList) GetStatus() []uint

Auditable returns all auditable/loggable parameters

func (SessionList) GetWorkflowID

func (r SessionList) GetWorkflowID() []string

Auditable returns all auditable/loggable parameters

type SessionListPrompts

type SessionListPrompts struct {
}

func NewSessionListPrompts

func NewSessionListPrompts() *SessionListPrompts

NewSessionListPrompts request

func (SessionListPrompts) Auditable

func (r SessionListPrompts) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*SessionListPrompts) Fill

func (r *SessionListPrompts) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

type SessionRead

type SessionRead struct {
	// SessionID PATH parameter
	//
	// Session ID
	SessionID uint64 `json:",string"`
}

func NewSessionRead

func NewSessionRead() *SessionRead

NewSessionRead request

func (SessionRead) Auditable

func (r SessionRead) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*SessionRead) Fill

func (r *SessionRead) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

func (SessionRead) GetSessionID

func (r SessionRead) GetSessionID() uint64

Auditable returns all auditable/loggable parameters

type SessionResumeState

type SessionResumeState struct {
	// SessionID PATH parameter
	//
	// Session ID
	SessionID uint64 `json:",string"`

	// StateID PATH parameter
	//
	// State ID
	StateID uint64 `json:",string"`

	// Input POST parameter
	//
	// Prompt variables
	Input *expr.Vars
}

func NewSessionResumeState

func NewSessionResumeState() *SessionResumeState

NewSessionResumeState request

func (SessionResumeState) Auditable

func (r SessionResumeState) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*SessionResumeState) Fill

func (r *SessionResumeState) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

func (SessionResumeState) GetInput

func (r SessionResumeState) GetInput() *expr.Vars

Auditable returns all auditable/loggable parameters

func (SessionResumeState) GetSessionID

func (r SessionResumeState) GetSessionID() uint64

Auditable returns all auditable/loggable parameters

func (SessionResumeState) GetStateID

func (r SessionResumeState) GetStateID() uint64

Auditable returns all auditable/loggable parameters

type TriggerCreate

type TriggerCreate struct {
	// EventType POST parameter
	//
	// Event type
	EventType string

	// ResourceType POST parameter
	//
	// Resource type
	ResourceType string

	// Enabled POST parameter
	//
	// Is trigger enabled
	Enabled bool

	// WorkflowID POST parameter
	//
	// Workflow to be triggered
	WorkflowID uint64 `json:",string"`

	// WorkflowStepID POST parameter
	//
	// Start workflow in a specific step
	WorkflowStepID uint64 `json:",string"`

	// Input POST parameter
	//
	// Workflow meta data
	Input *expr.Vars

	// Labels POST parameter
	//
	// Labels
	Labels map[string]string

	// Meta POST parameter
	//
	// Trigger meta data
	Meta *types.TriggerMeta

	// Constraints POST parameter
	//
	// Workflow steps definition
	Constraints types.TriggerConstraintSet

	// OwnedBy POST parameter
	//
	// Owner of the trigger
	OwnedBy uint64 `json:",string"`
}

func NewTriggerCreate

func NewTriggerCreate() *TriggerCreate

NewTriggerCreate request

func (TriggerCreate) Auditable

func (r TriggerCreate) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*TriggerCreate) Fill

func (r *TriggerCreate) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

func (TriggerCreate) GetConstraints

func (r TriggerCreate) GetConstraints() types.TriggerConstraintSet

Auditable returns all auditable/loggable parameters

func (TriggerCreate) GetEnabled

func (r TriggerCreate) GetEnabled() bool

Auditable returns all auditable/loggable parameters

func (TriggerCreate) GetEventType

func (r TriggerCreate) GetEventType() string

Auditable returns all auditable/loggable parameters

func (TriggerCreate) GetInput

func (r TriggerCreate) GetInput() *expr.Vars

Auditable returns all auditable/loggable parameters

func (TriggerCreate) GetLabels

func (r TriggerCreate) GetLabels() map[string]string

Auditable returns all auditable/loggable parameters

func (TriggerCreate) GetMeta

func (r TriggerCreate) GetMeta() *types.TriggerMeta

Auditable returns all auditable/loggable parameters

func (TriggerCreate) GetOwnedBy

func (r TriggerCreate) GetOwnedBy() uint64

Auditable returns all auditable/loggable parameters

func (TriggerCreate) GetResourceType

func (r TriggerCreate) GetResourceType() string

Auditable returns all auditable/loggable parameters

func (TriggerCreate) GetWorkflowID

func (r TriggerCreate) GetWorkflowID() uint64

Auditable returns all auditable/loggable parameters

func (TriggerCreate) GetWorkflowStepID

func (r TriggerCreate) GetWorkflowStepID() uint64

Auditable returns all auditable/loggable parameters

type TriggerDelete

type TriggerDelete struct {
	// TriggerID PATH parameter
	//
	// Trigger ID
	TriggerID uint64 `json:",string"`
}

func NewTriggerDelete

func NewTriggerDelete() *TriggerDelete

NewTriggerDelete request

func (TriggerDelete) Auditable

func (r TriggerDelete) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*TriggerDelete) Fill

func (r *TriggerDelete) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

func (TriggerDelete) GetTriggerID

func (r TriggerDelete) GetTriggerID() uint64

Auditable returns all auditable/loggable parameters

type TriggerList

type TriggerList struct {
	// TriggerID GET parameter
	//
	// Filter by trigger ID
	TriggerID []string

	// WorkflowID GET parameter
	//
	// Filter by workflow ID
	WorkflowID []string

	// Deleted GET parameter
	//
	// Exclude (0, default), include (1) or return only (2) deleted triggers
	Deleted uint

	// Disabled GET parameter
	//
	// Exclude (0, default), include (1) or return only (2) disabled triggers
	Disabled uint

	// EventType GET parameter
	//
	// Filter triggers by event type
	EventType string

	// ResourceType GET parameter
	//
	// Filter triggers by resource type
	ResourceType string

	// Query GET parameter
	//
	// Filter workflows,
	Query string

	// Labels GET parameter
	//
	// Labels
	Labels map[string]string

	// Limit GET parameter
	//
	// Limit
	Limit uint

	// PageCursor GET parameter
	//
	// Page cursor
	PageCursor string

	// Sort GET parameter
	//
	// Sort items
	Sort string
}

Internal API interface

func NewTriggerList

func NewTriggerList() *TriggerList

NewTriggerList request

func (TriggerList) Auditable

func (r TriggerList) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*TriggerList) Fill

func (r *TriggerList) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

func (TriggerList) GetDeleted

func (r TriggerList) GetDeleted() uint

Auditable returns all auditable/loggable parameters

func (TriggerList) GetDisabled

func (r TriggerList) GetDisabled() uint

Auditable returns all auditable/loggable parameters

func (TriggerList) GetEventType

func (r TriggerList) GetEventType() string

Auditable returns all auditable/loggable parameters

func (TriggerList) GetLabels

func (r TriggerList) GetLabels() map[string]string

Auditable returns all auditable/loggable parameters

func (TriggerList) GetLimit

func (r TriggerList) GetLimit() uint

Auditable returns all auditable/loggable parameters

func (TriggerList) GetPageCursor

func (r TriggerList) GetPageCursor() string

Auditable returns all auditable/loggable parameters

func (TriggerList) GetQuery

func (r TriggerList) GetQuery() string

Auditable returns all auditable/loggable parameters

func (TriggerList) GetResourceType

func (r TriggerList) GetResourceType() string

Auditable returns all auditable/loggable parameters

func (TriggerList) GetSort

func (r TriggerList) GetSort() string

Auditable returns all auditable/loggable parameters

func (TriggerList) GetTriggerID

func (r TriggerList) GetTriggerID() []string

Auditable returns all auditable/loggable parameters

func (TriggerList) GetWorkflowID

func (r TriggerList) GetWorkflowID() []string

Auditable returns all auditable/loggable parameters

type TriggerRead

type TriggerRead struct {
	// TriggerID PATH parameter
	//
	// Trigger ID
	TriggerID uint64 `json:",string"`
}

func NewTriggerRead

func NewTriggerRead() *TriggerRead

NewTriggerRead request

func (TriggerRead) Auditable

func (r TriggerRead) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*TriggerRead) Fill

func (r *TriggerRead) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

func (TriggerRead) GetTriggerID

func (r TriggerRead) GetTriggerID() uint64

Auditable returns all auditable/loggable parameters

type TriggerUndelete

type TriggerUndelete struct {
	// TriggerID PATH parameter
	//
	// Trigger ID
	TriggerID uint64 `json:",string"`
}

func NewTriggerUndelete

func NewTriggerUndelete() *TriggerUndelete

NewTriggerUndelete request

func (TriggerUndelete) Auditable

func (r TriggerUndelete) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*TriggerUndelete) Fill

func (r *TriggerUndelete) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

func (TriggerUndelete) GetTriggerID

func (r TriggerUndelete) GetTriggerID() uint64

Auditable returns all auditable/loggable parameters

type TriggerUpdate

type TriggerUpdate struct {
	// TriggerID PATH parameter
	//
	// Trigger ID
	TriggerID uint64 `json:",string"`

	// EventType POST parameter
	//
	// Event type
	EventType string

	// ResourceType POST parameter
	//
	// Resource type
	ResourceType string

	// Enabled POST parameter
	//
	// Is trigger enabled
	Enabled bool

	// WorkflowID POST parameter
	//
	// Workflow to be triggered
	WorkflowID uint64 `json:",string"`

	// WorkflowStepID POST parameter
	//
	// Start workflow in a specific step
	WorkflowStepID uint64 `json:",string"`

	// Input POST parameter
	//
	// Workflow meta data
	Input *expr.Vars

	// Labels POST parameter
	//
	// Labels
	Labels map[string]string

	// Meta POST parameter
	//
	// Trigger meta data
	Meta *types.TriggerMeta

	// Constraints POST parameter
	//
	// Workflow steps definition
	Constraints types.TriggerConstraintSet

	// OwnedBy POST parameter
	//
	// Owner of the trigger
	OwnedBy uint64 `json:",string"`

	// UpdatedAt POST parameter
	//
	// Last update (or creation) date
	UpdatedAt *time.Time
}

func NewTriggerUpdate

func NewTriggerUpdate() *TriggerUpdate

NewTriggerUpdate request

func (TriggerUpdate) Auditable

func (r TriggerUpdate) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*TriggerUpdate) Fill

func (r *TriggerUpdate) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

func (TriggerUpdate) GetConstraints

func (r TriggerUpdate) GetConstraints() types.TriggerConstraintSet

Auditable returns all auditable/loggable parameters

func (TriggerUpdate) GetEnabled

func (r TriggerUpdate) GetEnabled() bool

Auditable returns all auditable/loggable parameters

func (TriggerUpdate) GetEventType

func (r TriggerUpdate) GetEventType() string

Auditable returns all auditable/loggable parameters

func (TriggerUpdate) GetInput

func (r TriggerUpdate) GetInput() *expr.Vars

Auditable returns all auditable/loggable parameters

func (TriggerUpdate) GetLabels

func (r TriggerUpdate) GetLabels() map[string]string

Auditable returns all auditable/loggable parameters

func (TriggerUpdate) GetMeta

func (r TriggerUpdate) GetMeta() *types.TriggerMeta

Auditable returns all auditable/loggable parameters

func (TriggerUpdate) GetOwnedBy

func (r TriggerUpdate) GetOwnedBy() uint64

Auditable returns all auditable/loggable parameters

func (TriggerUpdate) GetResourceType

func (r TriggerUpdate) GetResourceType() string

Auditable returns all auditable/loggable parameters

func (TriggerUpdate) GetTriggerID

func (r TriggerUpdate) GetTriggerID() uint64

Auditable returns all auditable/loggable parameters

func (TriggerUpdate) GetUpdatedAt

func (r TriggerUpdate) GetUpdatedAt() *time.Time

Auditable returns all auditable/loggable parameters

func (TriggerUpdate) GetWorkflowID

func (r TriggerUpdate) GetWorkflowID() uint64

Auditable returns all auditable/loggable parameters

func (TriggerUpdate) GetWorkflowStepID

func (r TriggerUpdate) GetWorkflowStepID() uint64

Auditable returns all auditable/loggable parameters

type TypeList

type TypeList struct {
}

Internal API interface

func NewTypeList

func NewTypeList() *TypeList

NewTypeList request

func (TypeList) Auditable

func (r TypeList) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*TypeList) Fill

func (r *TypeList) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

type WorkflowCreate

type WorkflowCreate struct {
	// Handle POST parameter
	//
	// Workflow name
	Handle string

	// Labels POST parameter
	//
	// Labels
	Labels map[string]string

	// Meta POST parameter
	//
	// Workflow meta data
	Meta *types.WorkflowMeta

	// Enabled POST parameter
	//
	// Is workflow enabled
	Enabled bool

	// Trace POST parameter
	//
	// Trace workflow execution
	Trace bool

	// KeepSessions POST parameter
	//
	// Keep old workflow sessions
	KeepSessions int

	// Scope POST parameter
	//
	// Workflow meta data
	Scope *expr.Vars

	// Steps POST parameter
	//
	// Workflow steps definition
	Steps types.WorkflowStepSet

	// Paths POST parameter
	//
	// Workflow step paths definition
	Paths types.WorkflowPathSet

	// RunAs POST parameter
	//
	// Is workflow enabled
	RunAs uint64 `json:",string"`

	// OwnedBy POST parameter
	//
	// Owner of the workflow
	OwnedBy uint64 `json:",string"`
}

func NewWorkflowCreate

func NewWorkflowCreate() *WorkflowCreate

NewWorkflowCreate request

func (WorkflowCreate) Auditable

func (r WorkflowCreate) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*WorkflowCreate) Fill

func (r *WorkflowCreate) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

func (WorkflowCreate) GetEnabled

func (r WorkflowCreate) GetEnabled() bool

Auditable returns all auditable/loggable parameters

func (WorkflowCreate) GetHandle

func (r WorkflowCreate) GetHandle() string

Auditable returns all auditable/loggable parameters

func (WorkflowCreate) GetKeepSessions

func (r WorkflowCreate) GetKeepSessions() int

Auditable returns all auditable/loggable parameters

func (WorkflowCreate) GetLabels

func (r WorkflowCreate) GetLabels() map[string]string

Auditable returns all auditable/loggable parameters

func (WorkflowCreate) GetMeta

func (r WorkflowCreate) GetMeta() *types.WorkflowMeta

Auditable returns all auditable/loggable parameters

func (WorkflowCreate) GetOwnedBy

func (r WorkflowCreate) GetOwnedBy() uint64

Auditable returns all auditable/loggable parameters

func (WorkflowCreate) GetPaths

func (r WorkflowCreate) GetPaths() types.WorkflowPathSet

Auditable returns all auditable/loggable parameters

func (WorkflowCreate) GetRunAs

func (r WorkflowCreate) GetRunAs() uint64

Auditable returns all auditable/loggable parameters

func (WorkflowCreate) GetScope

func (r WorkflowCreate) GetScope() *expr.Vars

Auditable returns all auditable/loggable parameters

func (WorkflowCreate) GetSteps

func (r WorkflowCreate) GetSteps() types.WorkflowStepSet

Auditable returns all auditable/loggable parameters

func (WorkflowCreate) GetTrace

func (r WorkflowCreate) GetTrace() bool

Auditable returns all auditable/loggable parameters

type WorkflowDelete

type WorkflowDelete struct {
	// WorkflowID PATH parameter
	//
	// Workflow ID
	WorkflowID uint64 `json:",string"`
}

func NewWorkflowDelete

func NewWorkflowDelete() *WorkflowDelete

NewWorkflowDelete request

func (WorkflowDelete) Auditable

func (r WorkflowDelete) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*WorkflowDelete) Fill

func (r *WorkflowDelete) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

func (WorkflowDelete) GetWorkflowID

func (r WorkflowDelete) GetWorkflowID() uint64

Auditable returns all auditable/loggable parameters

type WorkflowExec

type WorkflowExec struct {
	// WorkflowID PATH parameter
	//
	// Workflow ID
	WorkflowID uint64 `json:",string"`

	// StepID POST parameter
	//
	// Step ID
	StepID uint64 `json:",string"`

	// Input POST parameter
	//
	// Input
	Input *expr.Vars

	// Trace POST parameter
	//
	// Trace workflow execution
	Trace bool

	// Wait POST parameter
	//
	// Wait for workflow to complete
	Wait bool

	// Async POST parameter
	//
	// Execute step and return immediately
	Async bool
}

func NewWorkflowExec

func NewWorkflowExec() *WorkflowExec

NewWorkflowExec request

func (WorkflowExec) Auditable

func (r WorkflowExec) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*WorkflowExec) Fill

func (r *WorkflowExec) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

func (WorkflowExec) GetAsync

func (r WorkflowExec) GetAsync() bool

Auditable returns all auditable/loggable parameters

func (WorkflowExec) GetInput

func (r WorkflowExec) GetInput() *expr.Vars

Auditable returns all auditable/loggable parameters

func (WorkflowExec) GetStepID

func (r WorkflowExec) GetStepID() uint64

Auditable returns all auditable/loggable parameters

func (WorkflowExec) GetTrace

func (r WorkflowExec) GetTrace() bool

Auditable returns all auditable/loggable parameters

func (WorkflowExec) GetWait

func (r WorkflowExec) GetWait() bool

Auditable returns all auditable/loggable parameters

func (WorkflowExec) GetWorkflowID

func (r WorkflowExec) GetWorkflowID() uint64

Auditable returns all auditable/loggable parameters

type WorkflowList

type WorkflowList struct {
	// WorkflowID GET parameter
	//
	// Filter by workflow ID
	WorkflowID []string

	// Query GET parameter
	//
	// Filter workflows
	Query string

	// Deleted GET parameter
	//
	// Exclude (0, default), include (1) or return only (2) deleted workflows
	Deleted uint

	// Disabled GET parameter
	//
	// Exclude (0, default), include (1) or return only (2) disabled workflows
	Disabled uint

	// SubWorkflow GET parameter
	//
	// Exclude (0, default), include (1) or return only (2) sub workflows
	SubWorkflow uint

	// Labels GET parameter
	//
	// Labels
	Labels map[string]string

	// Limit GET parameter
	//
	// Limit
	Limit uint

	// IncTotal GET parameter
	//
	// Include total rows counter
	IncTotal bool

	// PageCursor GET parameter
	//
	// Page cursor
	PageCursor string

	// Sort GET parameter
	//
	// Sort items
	Sort string
}

Internal API interface

func NewWorkflowList

func NewWorkflowList() *WorkflowList

NewWorkflowList request

func (WorkflowList) Auditable

func (r WorkflowList) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*WorkflowList) Fill

func (r *WorkflowList) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

func (WorkflowList) GetDeleted

func (r WorkflowList) GetDeleted() uint

Auditable returns all auditable/loggable parameters

func (WorkflowList) GetDisabled

func (r WorkflowList) GetDisabled() uint

Auditable returns all auditable/loggable parameters

func (WorkflowList) GetIncTotal

func (r WorkflowList) GetIncTotal() bool

Auditable returns all auditable/loggable parameters

func (WorkflowList) GetLabels

func (r WorkflowList) GetLabels() map[string]string

Auditable returns all auditable/loggable parameters

func (WorkflowList) GetLimit

func (r WorkflowList) GetLimit() uint

Auditable returns all auditable/loggable parameters

func (WorkflowList) GetPageCursor

func (r WorkflowList) GetPageCursor() string

Auditable returns all auditable/loggable parameters

func (WorkflowList) GetQuery

func (r WorkflowList) GetQuery() string

Auditable returns all auditable/loggable parameters

func (WorkflowList) GetSort

func (r WorkflowList) GetSort() string

Auditable returns all auditable/loggable parameters

func (WorkflowList) GetSubWorkflow

func (r WorkflowList) GetSubWorkflow() uint

Auditable returns all auditable/loggable parameters

func (WorkflowList) GetWorkflowID

func (r WorkflowList) GetWorkflowID() []string

Auditable returns all auditable/loggable parameters

type WorkflowRead

type WorkflowRead struct {
	// WorkflowID PATH parameter
	//
	// Workflow ID
	WorkflowID uint64 `json:",string"`
}

func NewWorkflowRead

func NewWorkflowRead() *WorkflowRead

NewWorkflowRead request

func (WorkflowRead) Auditable

func (r WorkflowRead) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*WorkflowRead) Fill

func (r *WorkflowRead) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

func (WorkflowRead) GetWorkflowID

func (r WorkflowRead) GetWorkflowID() uint64

Auditable returns all auditable/loggable parameters

type WorkflowTest

type WorkflowTest struct {
	// WorkflowID PATH parameter
	//
	// Workflow ID
	WorkflowID uint64 `json:",string"`

	// Scope POST parameter
	//
	// Workflow meta data
	Scope *expr.Vars

	// RunAs POST parameter
	//
	// Is workflow enabled
	RunAs bool
}

func NewWorkflowTest

func NewWorkflowTest() *WorkflowTest

NewWorkflowTest request

func (WorkflowTest) Auditable

func (r WorkflowTest) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*WorkflowTest) Fill

func (r *WorkflowTest) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

func (WorkflowTest) GetRunAs

func (r WorkflowTest) GetRunAs() bool

Auditable returns all auditable/loggable parameters

func (WorkflowTest) GetScope

func (r WorkflowTest) GetScope() *expr.Vars

Auditable returns all auditable/loggable parameters

func (WorkflowTest) GetWorkflowID

func (r WorkflowTest) GetWorkflowID() uint64

Auditable returns all auditable/loggable parameters

type WorkflowUndelete

type WorkflowUndelete struct {
	// WorkflowID PATH parameter
	//
	// Workflow ID
	WorkflowID uint64 `json:",string"`
}

func NewWorkflowUndelete

func NewWorkflowUndelete() *WorkflowUndelete

NewWorkflowUndelete request

func (WorkflowUndelete) Auditable

func (r WorkflowUndelete) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*WorkflowUndelete) Fill

func (r *WorkflowUndelete) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

func (WorkflowUndelete) GetWorkflowID

func (r WorkflowUndelete) GetWorkflowID() uint64

Auditable returns all auditable/loggable parameters

type WorkflowUpdate

type WorkflowUpdate struct {
	// WorkflowID PATH parameter
	//
	// Workflow ID
	WorkflowID uint64 `json:",string"`

	// Handle POST parameter
	//
	// Workflow name
	Handle string

	// Labels POST parameter
	//
	// Labels
	Labels map[string]string

	// Meta POST parameter
	//
	// Workflow meta data
	Meta *types.WorkflowMeta

	// Enabled POST parameter
	//
	// Is workflow enabled
	Enabled bool

	// Trace POST parameter
	//
	// Trace workflow execution
	Trace bool

	// KeepSessions POST parameter
	//
	// Keep old workflow sessions
	KeepSessions int

	// Scope POST parameter
	//
	// Workflow meta data
	Scope *expr.Vars

	// Steps POST parameter
	//
	// Workflow steps definition
	Steps types.WorkflowStepSet

	// Paths POST parameter
	//
	// Workflow step paths definition
	Paths types.WorkflowPathSet

	// RunAs POST parameter
	//
	// Is workflow enabled
	RunAs uint64 `json:",string"`

	// OwnedBy POST parameter
	//
	// Owner of the workflow
	OwnedBy uint64 `json:",string"`

	// UpdatedAt POST parameter
	//
	// Last update (or creation) date
	UpdatedAt *time.Time
}

func NewWorkflowUpdate

func NewWorkflowUpdate() *WorkflowUpdate

NewWorkflowUpdate request

func (WorkflowUpdate) Auditable

func (r WorkflowUpdate) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*WorkflowUpdate) Fill

func (r *WorkflowUpdate) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

func (WorkflowUpdate) GetEnabled

func (r WorkflowUpdate) GetEnabled() bool

Auditable returns all auditable/loggable parameters

func (WorkflowUpdate) GetHandle

func (r WorkflowUpdate) GetHandle() string

Auditable returns all auditable/loggable parameters

func (WorkflowUpdate) GetKeepSessions

func (r WorkflowUpdate) GetKeepSessions() int

Auditable returns all auditable/loggable parameters

func (WorkflowUpdate) GetLabels

func (r WorkflowUpdate) GetLabels() map[string]string

Auditable returns all auditable/loggable parameters

func (WorkflowUpdate) GetMeta

func (r WorkflowUpdate) GetMeta() *types.WorkflowMeta

Auditable returns all auditable/loggable parameters

func (WorkflowUpdate) GetOwnedBy

func (r WorkflowUpdate) GetOwnedBy() uint64

Auditable returns all auditable/loggable parameters

func (WorkflowUpdate) GetPaths

func (r WorkflowUpdate) GetPaths() types.WorkflowPathSet

Auditable returns all auditable/loggable parameters

func (WorkflowUpdate) GetRunAs

func (r WorkflowUpdate) GetRunAs() uint64

Auditable returns all auditable/loggable parameters

func (WorkflowUpdate) GetScope

func (r WorkflowUpdate) GetScope() *expr.Vars

Auditable returns all auditable/loggable parameters

func (WorkflowUpdate) GetSteps

func (r WorkflowUpdate) GetSteps() types.WorkflowStepSet

Auditable returns all auditable/loggable parameters

func (WorkflowUpdate) GetTrace

func (r WorkflowUpdate) GetTrace() bool

Auditable returns all auditable/loggable parameters

func (WorkflowUpdate) GetUpdatedAt

func (r WorkflowUpdate) GetUpdatedAt() *time.Time

Auditable returns all auditable/loggable parameters

func (WorkflowUpdate) GetWorkflowID

func (r WorkflowUpdate) GetWorkflowID() uint64

Auditable returns all auditable/loggable parameters

Jump to

Keyboard shortcuts

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