akmod

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2022 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const SessionEventSignalName = "wait_event"

Variables

Functions

func New

func New(
	l L.L,
	stateStore statestore.Store,
	project *apiproject.Project,
	event *apievent.Event,
	getSecret_ func(context.Context, string) (string, error),
	getCred_ func(context.Context, string, string) ([]byte, error),
	bindingName string,
	version string,
) *builtinplugin.BuiltinPlugin

func NewSyntheticEvent added in v0.1.2

func NewSyntheticEvent(origEvent *apievent.Event, name string, v *apivalues.Value) *sessionEventSignal

func WithSessionContext

func WithSessionContext(ctx context.Context, s *Session) context.Context

Types

type Session

type Session struct {
	Context        workflow.Context
	UpdateState    func(*apievent.ProjectEventState) error
	SignalChannel  workflow.ReceiveChannel
	L              L.L
	RunSummary     *apilang.RunSummary
	Temporal       temporalclient.Client
	ProjectID      apiproject.ProjectID
	Event          *apievent.Event
	SrcBindingName string
}

Jump to

Keyboard shortcuts

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