cloudstate

package
v1.2.0-rc1 Latest Latest
Warning

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

Go to latest
Published: May 14, 2021 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CRDT

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

func NewCRDT

func NewCRDT(logger logger.Logger) *CRDT

func (*CRDT) BulkDelete

func (c *CRDT) BulkDelete(req []state.DeleteRequest) error

BulkDelete performs a bulk delete operation

func (*CRDT) BulkGet added in v1.0.0

func (c *CRDT) BulkGet(req []state.GetRequest) (bool, []state.BulkGetResponse, error)

BulkGet performs a bulks get operations

func (*CRDT) BulkSet

func (c *CRDT) BulkSet(req []state.SetRequest) error

BulkSet performs a bulks save operation

func (*CRDT) Delete

func (c *CRDT) Delete(req *state.DeleteRequest) error

Delete performs a delete operation

func (*CRDT) Discover

func (c *CRDT) Discover(ctx context.Context, in *pb.ProxyInfo) (*pb.EntitySpec, error)

func (*CRDT) Features added in v1.1.1

func (c *CRDT) Features() []state.Feature

Features returns the features available in this state store

func (*CRDT) Get

func (c *CRDT) Get(req *state.GetRequest) (*state.GetResponse, error)

Get retrieves state from CloudState with a key

func (*CRDT) Handle

func (c *CRDT) Handle(srv pb.Crdt_HandleServer) error

func (*CRDT) Init

func (c *CRDT) Init(metadata state.Metadata) error

Init does metadata and connection parsing

func (*CRDT) ReportError

func (c *CRDT) ReportError(ctx context.Context, in *pb.UserFunctionError) (*empty.Empty, error)

func (*CRDT) Set

func (c *CRDT) Set(req *state.SetRequest) error

Set saves state into CloudState

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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