lib

package
v0.0.69 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

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 NewForbiddenError(err error) error

func NewInputError added in v0.0.67

func NewInputError(err error) error

func NewInternalError added in v0.0.67

func NewInternalError(err error) error

func NewNotFoundError added in v0.0.67

func NewNotFoundError(err error) error

Types

type ForbiddenError added in v0.0.67

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

func (*ForbiddenError) Error added in v0.0.67

func (e *ForbiddenError) Error() string

func (*ForbiddenError) Unwrap added in v0.0.67

func (e *ForbiddenError) Unwrap() error

type InputError added in v0.0.67

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

func (*InputError) Error added in v0.0.67

func (e *InputError) Error() string

func (*InputError) Unwrap added in v0.0.67

func (e *InputError) Unwrap() error

type InternalError added in v0.0.67

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

func (*InternalError) Error added in v0.0.67

func (e *InternalError) Error() string

func (*InternalError) Unwrap added in v0.0.67

func (e *InternalError) Unwrap() error

type NodeConfig

type NodeConfig struct {
	Name  string `json:"name,omitempty"`
	Value string `json:"value,omitempty"`
}

type NodeInput

type NodeInput struct {
	FilterType string      `json:"filterType,omitempty"`
	FilterIds  string      `json:"filterIds,omitempty"`
	TopicName  string      `json:"topicName,omitempty"`
	Values     []NodeValue `json:"values,omitempty"`
}

type NodeValue

type NodeValue struct {
	Name string `json:"name,omitempty"`
	Path string `json:"path,omitempty"`
}

type NotFoundError added in v0.0.67

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

func (*NotFoundError) Error added in v0.0.67

func (e *NotFoundError) Error() string

func (*NotFoundError) Unwrap added in v0.0.67

func (e *NotFoundError) Unwrap() error

type OperatorRequestConfig

type OperatorRequestConfig struct {
	Config      map[string]string `json:"config,omitempty"`
	InputTopics []pipe.InputTopic `json:"inputTopics,omitempty"`
}

type PipelineConfig

type PipelineConfig struct {
	WindowTime     int
	MergeStrategy  string
	Metrics        bool
	ConsumerOffset string
	FlowId         string
	PipelineId     string
	UserId         string
}

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 PipelineStatus struct {
	Name          string `json:"name,omitempty"`
	Running       bool   `json:"running"`
	Transitioning bool   `json:"transitioning"`
	Message       string `json:"message"`
}

type PipelineStatusRequest

type PipelineStatusRequest struct {
	Ids []string `json:"ids,omitempty"`
}

type PipelinesResponse

type PipelinesResponse struct {
	Data  []pipe.Pipeline `json:"data,omitempty"`
	Total int             `json:"total,omitempty"`
}

Jump to

Keyboard shortcuts

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