Documentation ¶
Index ¶
- Constants
- func ConfigureInstantResponse(config interface{}, _ string) (core.PluginInstance, error)
- func ConfigureNamespaceFilePlugin(config interface{}, ns string) (core.PluginInstance, error)
- func ConfigureNamespaceVarPlugin(config interface{}, ns string) (core.PluginInstance, error)
- func ConfigureTargetFlowPlugin(config interface{}, ns string) (core.PluginInstance, error)
- func ConfigureWorkflowVar(config interface{}, ns string) (core.PluginInstance, error)
- type FlowPlugin
- type FlowVarPlugin
- type InstantResponseConfig
- type InstantResponsePlugin
- type NamespaceFileConfig
- type NamespaceFilePlugin
- type NamespaceVarConfig
- type NamespaceVarPlugin
- type Node
- type WorkflowConfig
- type WorkflowVarConfig
Constants ¶
View Source
const (
FlowPluginName = "target-flow"
)
View Source
const (
InstantResponsePluginName = "instant-response"
)
View Source
const (
NamespaceFilePluginName = "target-namespace-file"
)
View Source
const (
TargetFlowVarPluginName = "target-flow-var"
)
View Source
const (
TargetNamespaceVarPluginName = "target-namespace-var"
)
Variables ¶
This section is empty.
Functions ¶
func ConfigureInstantResponse ¶
func ConfigureInstantResponse(config interface{}, _ string) (core.PluginInstance, error)
func ConfigureNamespaceFilePlugin ¶
func ConfigureNamespaceFilePlugin(config interface{}, ns string) (core.PluginInstance, error)
func ConfigureNamespaceVarPlugin ¶
func ConfigureNamespaceVarPlugin(config interface{}, ns string) (core.PluginInstance, error)
func ConfigureTargetFlowPlugin ¶
func ConfigureTargetFlowPlugin(config interface{}, ns string) (core.PluginInstance, error)
func ConfigureWorkflowVar ¶
func ConfigureWorkflowVar(config interface{}, ns string) (core.PluginInstance, error)
Types ¶
type FlowPlugin ¶
type FlowPlugin struct {
// contains filtered or unexported fields
}
TargetFlowPlugin executes a flow in a configured namespace. Flows can be executed async and sync.
func (FlowPlugin) Config ¶
func (tf FlowPlugin) Config() interface{}
func (FlowPlugin) ExecutePlugin ¶
func (tf FlowPlugin) ExecutePlugin(_ *core.ConsumerFile, w http.ResponseWriter, r *http.Request, ) bool
func (FlowPlugin) Type ¶
func (tf FlowPlugin) Type() string
type FlowVarPlugin ¶
type FlowVarPlugin struct {
// contains filtered or unexported fields
}
TargetFlowVarPlugin returns a workflow variable.
func (FlowVarPlugin) Config ¶
func (tfv FlowVarPlugin) Config() interface{}
func (FlowVarPlugin) ExecutePlugin ¶
func (tfv FlowVarPlugin) ExecutePlugin(_ *core.ConsumerFile, w http.ResponseWriter, r *http.Request, ) bool
func (FlowVarPlugin) Type ¶
func (tfv FlowVarPlugin) Type() string
type InstantResponseConfig ¶
type InstantResponsePlugin ¶
type InstantResponsePlugin struct {
// contains filtered or unexported fields
}
func (*InstantResponsePlugin) Config ¶
func (ir *InstantResponsePlugin) Config() interface{}
func (*InstantResponsePlugin) ExecutePlugin ¶
func (ir *InstantResponsePlugin) ExecutePlugin(_ *core.ConsumerFile, w http.ResponseWriter, _ *http.Request, ) bool
func (*InstantResponsePlugin) Type ¶
func (ir *InstantResponsePlugin) Type() string
type NamespaceFileConfig ¶
type NamespaceFilePlugin ¶
type NamespaceFilePlugin struct {
// contains filtered or unexported fields
}
TargetNamespaceFilePlugin returns a files in the explorer tree.
func (NamespaceFilePlugin) Config ¶
func (tnf NamespaceFilePlugin) Config() interface{}
func (NamespaceFilePlugin) ExecutePlugin ¶
func (tnf NamespaceFilePlugin) ExecutePlugin( _ *core.ConsumerFile, w http.ResponseWriter, r *http.Request, ) bool
func (NamespaceFilePlugin) Type ¶
func (tnf NamespaceFilePlugin) Type() string
type NamespaceVarConfig ¶
type NamespaceVarPlugin ¶
type NamespaceVarPlugin struct {
// contains filtered or unexported fields
}
func (NamespaceVarPlugin) Config ¶
func (tnv NamespaceVarPlugin) Config() interface{}
func (NamespaceVarPlugin) ExecutePlugin ¶
func (tnv NamespaceVarPlugin) ExecutePlugin(_ *core.ConsumerFile, w http.ResponseWriter, r *http.Request, ) bool
func (NamespaceVarPlugin) Type ¶
func (tnv NamespaceVarPlugin) Type() string
type Node ¶
type Node struct { Namespace string `json:"namespace"` Node struct { CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` Name string `json:"name"` Path string `json:"path"` Parent string `json:"parent"` Type string `json:"type"` Attributes []any `json:"attributes"` Oid string `json:"oid"` ReadOnly bool `json:"readOnly"` ExpandedType string `json:"expandedType"` MimeType string `json:"mimeType"` } `json:"node"` EventLogging string `json:"eventLogging"` Oid string `json:"oid"` Source string `json:"source"` }
nolint
type WorkflowConfig ¶
Click to show internal directories.
Click to hide internal directories.