sdk

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ServiceType_name = map[int32]string{
		0: "SERVICE",
		1: "VIRTUAL_OBJECT",
		2: "WORKFLOW",
	}
	ServiceType_value = map[string]int32{
		"SERVICE":        0,
		"VIRTUAL_OBJECT": 1,
		"WORKFLOW":       2,
	}
)

Enum value maps for ServiceType.

View Source
var (
	HandlerType_name = map[int32]string{
		0: "UNSET",
		1: "EXCLUSIVE",
		2: "SHARED",
		3: "WORKFLOW_RUN",
	}
	HandlerType_value = map[string]int32{
		"UNSET":        0,
		"EXCLUSIVE":    1,
		"SHARED":       2,
		"WORKFLOW_RUN": 3,
	}
)

Enum value maps for HandlerType.

View Source
var (
	// optional dev.restate.sdk.go.HandlerType handler_type = 2051;
	E_HandlerType = &file_dev_restate_sdk_go_proto_extTypes[0]
)

Extension fields to descriptorpb.MethodOptions.

View Source
var (
	// optional dev.restate.sdk.go.ServiceType service_type = 2051;
	E_ServiceType = &file_dev_restate_sdk_go_proto_extTypes[1]
)

Extension fields to descriptorpb.ServiceOptions.

View Source
var File_dev_restate_sdk_go_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type HandlerType

type HandlerType int32
const (
	// Handler type is ignored for service type SERVICE.
	// For VIRTUAL_OBJECT, defaults to EXCLUSIVE.
	// For WORKFLOW, defaults to SHARED.
	HandlerType_UNSET     HandlerType = 0
	HandlerType_EXCLUSIVE HandlerType = 1
	HandlerType_SHARED    HandlerType = 2
	// Signifies that this is the primary function for the workflow, typically named 'Run'.
	HandlerType_WORKFLOW_RUN HandlerType = 3
)

func (HandlerType) Descriptor

func (HandlerType) Enum

func (x HandlerType) Enum() *HandlerType

func (HandlerType) EnumDescriptor deprecated

func (HandlerType) EnumDescriptor() ([]byte, []int)

Deprecated: Use HandlerType.Descriptor instead.

func (HandlerType) Number

func (x HandlerType) Number() protoreflect.EnumNumber

func (HandlerType) String

func (x HandlerType) String() string

func (HandlerType) Type

type ServiceType

type ServiceType int32
const (
	// SERVICE is the default and need not be provided
	ServiceType_SERVICE        ServiceType = 0
	ServiceType_VIRTUAL_OBJECT ServiceType = 1
	ServiceType_WORKFLOW       ServiceType = 2
)

func (ServiceType) Descriptor

func (ServiceType) Enum

func (x ServiceType) Enum() *ServiceType

func (ServiceType) EnumDescriptor deprecated

func (ServiceType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ServiceType.Descriptor instead.

func (ServiceType) Number

func (x ServiceType) Number() protoreflect.EnumNumber

func (ServiceType) String

func (x ServiceType) String() string

func (ServiceType) Type

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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