rreference

package
v0.0.0-...-36d6306 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2026 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrExampleNotFound   = errors.New("example not found")
	ErrNodeNotFound      = errors.New("node not found")
	ErrWorkspaceNotFound = errors.New("workspace not found")
	ErrEnvNotFound       = errors.New("env not found")
)

Functions

func CreateService

func CreateService(srv *ReferenceServiceRPC, options []connect.HandlerOption) (*api.Service, error)

Types

type ReferenceServiceRPC

type ReferenceServiceRPC struct {
	DB *sql.DB
	// contains filtered or unexported fields
}

func NewReferenceServiceRPC

func NewReferenceServiceRPC(deps ReferenceServiceRPCDeps) *ReferenceServiceRPC

type ReferenceServiceRPCDeps

type ReferenceServiceRPCDeps struct {
	DB      *sql.DB
	Readers ReferenceServiceRPCReaders
}

func (*ReferenceServiceRPCDeps) Validate

func (d *ReferenceServiceRPCDeps) Validate() error

type ReferenceServiceRPCReaders

type ReferenceServiceRPCReaders struct {
	User               *sworkspace.UserReader
	Workspace          *sworkspace.WorkspaceReader
	Env                *senv.EnvReader
	Variable           *senv.VariableReader
	Flow               *sflow.FlowReader
	Node               *sflow.NodeReader
	NodeRequest        *sflow.NodeRequestReader
	FlowVariable       *sflow.FlowVariableReader
	FlowEdge           *sflow.EdgeReader
	NodeExecution      *sflow.NodeExecutionReader
	HttpResponse       *shttp.HttpResponseReader
	GraphQLResponse    *sgraphql.GraphQLResponseService
	NodeSubFlowTrigger *sflow.NodeSubFlowTriggerService
}

func (*ReferenceServiceRPCReaders) Validate

func (r *ReferenceServiceRPCReaders) Validate() error

Jump to

Keyboard shortcuts

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