sink

package
v0.0.0-...-e67e6ae Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ActionModePanic = iota
	ActionModeRedeliver
	ActionModeContinue
)
View Source
const DefaultActionEntityID = "default"

Variables

This section is empty.

Functions

func NewAction

func NewAction(entityType, entityID string) types.Action

func NewContext

func NewContext(ctx context.Context) types.ActionContent

func Registered

func Registered(name string, ac types.ActionBuilder)

func SinkNames

func SinkNames() []string

Types

type ActionBehavior

type ActionBehavior int32

func UnmarshalBehavior

func UnmarshalBehavior(typ string) ActionBehavior

type ActionManager

type ActionManager interface {
	Invoke(ctx context.Context, entityID string, messages stream.Message) error
}

type CheckpointedFunction

type CheckpointedFunction = stypes.CheckpointedFunction

type DBImpl

type DBImpl interface {
	BatchCreate(ctx context.Context, sqlCreate string, values interface{}) error
	Close() error
}

type EntityInfo

type EntityInfo struct {
	Id       string
	Metadata map[string]string
}

type EntityMeta

type EntityMeta struct {
	LastTime time.Time
	Type     string
	Metadata map[string]string
}

Directories

Path Synopsis
plugin

Jump to

Keyboard shortcuts

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