plugin

package
v1.16.2 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2025 License: MIT Imports: 31 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CliPkg       = "github.com/urfave/cli/v2"
	ConvertPkg   = "github.com/cludden/protoc-gen-go-temporal/pkg/convert"
	ProtojsonPkg = "google.golang.org/protobuf/encoding/protojson"
)

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
	Patches                    string
	WorkflowUpdateEnabled      bool
	IgnoreAcronyms             string
}

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) (err error)

Run defines the plugin entrypoint

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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