plugin

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cli added in v1.0.0

type Cli struct{}

type Config added in v1.0.0

type Config struct {
	CliCategories              bool
	CliEnabled                 bool
	DisableWorkflowInputRename bool
	DocsOut                    string
	DocsTemplate               string
	EnableCodec                bool
	EnablePatchSupport         bool
	EnableXNS                  bool
	WorkflowUpdateEnabled      bool
}

type Manifest added in v1.10.2

type Manifest struct {
	*Plugin
	*protogen.Service
	*protogen.File
	// contains filtered or unexported fields
}

Manifest describes temporal artifacts parsed from source protos

func (*Manifest) Qual added in v1.10.2

func (svc *Manifest) Qual(m protoreflect.FullName, name string) *g.Statement

type Plugin

type Plugin struct {
	*protogen.Plugin

	Commit  string
	Version string
	// contains filtered or unexported fields
}

Plugin provides a protoc plugin for generating temporal workers and clients in go

func New added in v1.0.0

func New(commit, version string) *Plugin

func (*Plugin) Param

func (p *Plugin) Param(key, value string) error

Param provides a protogen ParamFunc handler

func (*Plugin) Run

func (p *Plugin) Run(plugin *protogen.Plugin) error

Run defines the plugin entrypoint

type Service

type Service struct {
	*protogen.Plugin
	*protogen.Service
	*protogen.File
	// contains filtered or unexported fields
}

Service describes a temporal protobuf service definition

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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