Help us shape the future of Go! Take the 2026 Go Developer Survey

dispatch

package
v4.1.6 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Operation

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

func NewOperation

func NewOperation(ctx context.Context, instanceIDService instanceid.Service, eventRecorder record.EventRecorder, events []wfv1.WorkflowEventBinding, namespace, discriminator string, payload *wfv1.Item) (*Operation, error)

func (*Operation) Context

func (o *Operation) Context() context.Context

Context returns the context associated with this operation

func (*Operation) Dispatch

func (o *Operation) Dispatch(ctx context.Context) error

Dispatch executes the event dispatch. It is not to be converted with sutils; the parent calling function should handle that responsibility.

Jump to

Keyboard shortcuts

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