parsing_api

package
v0.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DownstreamConfig added in v0.0.4

type DownstreamConfig struct {
	Enabled bool
}

type InputTopic

type InputTopic struct {
	TopicName   string
	FilterType  string
	FilterValue string
	Mappings    []Mapping
}

type Mapping

type Mapping struct {
	Source string
	Dest   string
}

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 `json:"ImageId,omitempty"`
	InputTopics      []InputTopic
	Cost             uint             `json:"cost"`
	UpstreamConfig   UpstreamConfig   `json:"upstream"`
	DownstreamConfig DownstreamConfig `json:"downstream"`
}

type ParsingApi

type ParsingApi struct {
	// contains filtered or unexported fields
}

func NewParsingApi

func NewParsingApi(url string) *ParsingApi

func (ParsingApi) GetPipeline

func (a ParsingApi) GetPipeline(id string, userId string, authorization string) (p Pipeline, err error)

type Pipeline

type Pipeline struct {
	FlowId    string              `json:"flowId,omitempty"`
	Image     string              `json:"image,omitempty"`
	Operators map[string]Operator `json:"operators,omitempty"`
}

type UpstreamConfig added in v0.0.4

type UpstreamConfig struct {
	Enabled bool
}

Jump to

Keyboard shortcuts

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