flows_api

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cell

type Cell flowModels.Cell

type Flow

type Flow struct {
	flowModels.Flow
	Model Model `json:"model,omitempty"`
}

type FlowApi

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

func NewFlowApi

func NewFlowApi(url string) *FlowApi

func (FlowApi) GetFlowData

func (f FlowApi) GetFlowData(id string, userId string, authorization string) (flow Flow, err error)

type FlowApiService added in v0.0.15

type FlowApiService interface {
	GetFlowData(id string, userId string, authorization string) (Flow, error)
}

type Model

type Model struct {
	Cells []Cell `json:"cells,omitempty"`
}

func (*Model) GetConnectorById

func (m *Model) GetConnectorById(_ int)

func (*Model) GetEmptyNodeInputs

func (m *Model) GetEmptyNodeInputs() (unassignedNodes []Cell)

func (*Model) GetEmptyNodeInputsAndConfigValues

func (m *Model) GetEmptyNodeInputsAndConfigValues() (nodes []Cell)

func (*Model) GetNodeById

func (m *Model) GetNodeById(_ int) (cell Cell)

func (*Model) GetNodeIdByConnectorId

func (m *Model) GetNodeIdByConnectorId(_ int) (id int)

Jump to

Keyboard shortcuts

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