temporalnexus

package
v1.64.4 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2026 License: MIT Imports: 10 Imported by: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package temporalnexus provides helpers for converting between Temporal common.v1 links and Nexus links.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommonLinkToNexusLink(link *commonpb.Link) (*nexuspb.Link, bool)

CommonLinkToNexusLink converts a common.v1.Link into a nexus.v1.Link, dispatching on the link's variant. Returns (nil, false) for any variant not handled here.

NOTE: Experimental

func ConvertLinkActivityToNexusLink(a *commonpb.Link_Activity) nexus.Link

ConvertLinkActivityToNexusLink converts a Link_Activity type to Nexus Link.

NOTE: Experimental

func ConvertLinkCallbackToNexusLink(cb *commonpb.Link_Callback) (nexus.Link, error)

ConvertLinkCallbackToNexusLink converts a Link_Callback type to Nexus Link.

NOTE: Experimental

func ConvertLinkNexusOperationToNexusLink(no *commonpb.Link_NexusOperation) nexus.Link

ConvertLinkNexusOperationToNexusLink converts a Link_NexusOperation type to Nexus Link.

NOTE: Experimental

func ConvertLinkWorkflowEventToNexusLink(we *commonpb.Link_WorkflowEvent) nexus.Link

ConvertLinkWorkflowEventToNexusLink converts a Link_WorkflowEvent type to Nexus Link.

NOTE: Experimental

func ConvertLinkWorkflowToNexusLink(w *commonpb.Link_Workflow) nexus.Link

ConvertLinkWorkflowToNexusLink converts a Link_Workflow type to Nexus Link.

NOTE: Experimental

func ConvertNexusLinkToLinkActivity

func ConvertNexusLinkToLinkActivity(link nexus.Link) (*commonpb.Link_Activity, error)

ConvertNexusLinkToLinkActivity converts a Nexus Link to Link_Activity.

NOTE: Experimental

func ConvertNexusLinkToLinkCallback added in v1.64.0

func ConvertNexusLinkToLinkCallback(link nexus.Link) (*commonpb.Link_Callback, error)

ConvertNexusLinkToLinkCallback converts a Nexus Link to Link_Callback.

NOTE: Experimental

func ConvertNexusLinkToLinkNexusOperation

func ConvertNexusLinkToLinkNexusOperation(link nexus.Link) (*commonpb.Link_NexusOperation, error)

ConvertNexusLinkToLinkNexusOperation converts a Nexus Link to Link_NexusOperation.

NOTE: Experimental

func ConvertNexusLinkToLinkWorkflow

func ConvertNexusLinkToLinkWorkflow(link nexus.Link) (*commonpb.Link_Workflow, error)

ConvertNexusLinkToLinkWorkflow converts a Nexus Link to Link_Workflow.

NOTE: Experimental

func ConvertNexusLinkToLinkWorkflowEvent

func ConvertNexusLinkToLinkWorkflowEvent(link nexus.Link) (*commonpb.Link_WorkflowEvent, error)

ConvertNexusLinkToLinkWorkflowEvent converts a Nexus Link to Link_WorkflowEvent.

NOTE: Experimental

func NexusLinkToCommonLink(link *nexuspb.Link) (*commonpb.Link, bool)

NexusLinkToCommonLink converts a nexus.v1.Link into a common.v1.Link, dispatching on link.Type. Returns (nil, false) for any link type not handled here.

NOTE: Experimental

Types

This section is empty.

Jump to

Keyboard shortcuts

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