Documentation
¶
Index ¶
- Constants
- func NewForbiddenError(err error) error
- func NewInputError(err error) error
- func NewInternalError(err error) error
- func NewNotFoundError(err error) error
- type ForbiddenError
- type InputError
- type InternalError
- type NodeConfig
- type NodeInput
- type NodeValue
- type NotFoundError
- type OperatorRequestConfig
- type PipelineConfig
- type PipelineNode
- type PipelineRequest
- type PipelineStatus
- type PipelineStatusRequest
- type PipelinesResponse
Constants ¶
View Source
const ( MessageSomethingWrong = "something went wrong" MessageNotFound = "not found" MessageParseError = "failed to parse request" MessageForbidden = "forbidden" MessageBadInput = "bad input" )
Variables ¶
This section is empty.
Functions ¶
func NewForbiddenError ¶ added in v0.0.67
func NewInputError ¶ added in v0.0.67
func NewInternalError ¶ added in v0.0.67
func NewNotFoundError ¶ added in v0.0.67
Types ¶
type ForbiddenError ¶ added in v0.0.67
type ForbiddenError struct {
// contains filtered or unexported fields
}
type InputError ¶ added in v0.0.67
type InputError struct {
// contains filtered or unexported fields
}
type InternalError ¶ added in v0.0.67
type InternalError struct {
// contains filtered or unexported fields
}
type NodeConfig ¶
type NotFoundError ¶ added in v0.0.67
type NotFoundError struct {
// contains filtered or unexported fields
}
type OperatorRequestConfig ¶
type OperatorRequestConfig struct {
Config map[string]string `json:"config,omitempty"`
InputTopics []pipe.InputTopic `json:"inputTopics,omitempty"`
}
type PipelineConfig ¶
type PipelineNode ¶
type PipelineNode struct {
NodeId string `json:"nodeId,omitempty"`
Inputs []NodeInput `json:"inputs,omitempty"`
Config []NodeConfig `json:"config,omitempty"`
InputSelections []pipe.InputSelection `json:"inputSelections,omitempty"`
PersistData bool `json:"persistData,omitempty"`
}
type PipelineRequest ¶
type PipelineRequest struct {
Id string `json:"id,omitempty"`
FlowId string `json:"flowId,omitempty"`
Name string `json:"name,omitempty"`
Description string `json:"description,omitempty"`
WindowTime int `json:"windowTime,omitempty"`
MergeStrategy string `json:"mergeStrategy,omitempty"`
ConsumeAllMessages bool `json:"consumeAllMessages,omitempty"`
Metrics bool `json:"metrics,omitempty"`
Nodes []PipelineNode `json:"nodes,omitempty"`
}
type PipelineStatus ¶
type PipelineStatusRequest ¶
type PipelineStatusRequest struct {
Ids []string `json:"ids,omitempty"`
}
type PipelinesResponse ¶
Click to show internal directories.
Click to hide internal directories.