Documentation
¶
Index ¶
- type DownstreamConfig
- type FlowParser
- func (f FlowParser) CreatePipelineList(flow flows_api.Flow) Pipeline
- func (f FlowParser) DecideDeploymentPlatform(cells []flows_api.Cell) (newCells []flows_api.Cell)
- func (f FlowParser) GetInputsAndConfig(id string, userId string, authorization string) ([]flows_api.Cell, error)
- func (f FlowParser) ParseFlow(id string, userId string, authorization string) (pipeline Pipeline, err error)
- type InputTopic
- type Mapping
- type Operator
- type Pipeline
- type UpstreamConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DownstreamConfig ¶ added in v0.0.2
type DownstreamConfig struct {
Enabled bool
}
type FlowParser ¶
type FlowParser struct {
// contains filtered or unexported fields
}
func NewFlowParser ¶
func NewFlowParser(flowApi lib.FlowApiService) *FlowParser
func (FlowParser) CreatePipelineList ¶
func (f FlowParser) CreatePipelineList(flow flows_api.Flow) Pipeline
func (FlowParser) DecideDeploymentPlatform ¶ added in v0.0.3
func (f FlowParser) DecideDeploymentPlatform(cells []flows_api.Cell) (newCells []flows_api.Cell)
func (FlowParser) GetInputsAndConfig ¶
func (f FlowParser) GetInputsAndConfig(id string, userId string, authorization string) ([]flows_api.Cell, error)
type InputTopic ¶
type Operator ¶
type Operator struct { Id string `json:"id,omitempty"` Name string `json:"name,omitempty"` OperatorId string `json:"operatorId,omitempty"` DeploymentType string `json:"deploymentType,omitempty"` ImageId string InputTopics []InputTopic Cost uint `json:"cost"` UpstreamConfig UpstreamConfig `json:"upstream"` DownstreamConfig DownstreamConfig `json:"downstream"` }
type UpstreamConfig ¶ added in v0.0.2
type UpstreamConfig struct {
Enabled bool
}
Click to show internal directories.
Click to hide internal directories.