servicers

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2020 License: BSD-3-Clause Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewIndexerManagerServicer

func NewIndexerManagerServicer(reindexer reindex.Reindexer, autoReindexEnabled bool) indexer_protos.IndexerManagerServer

func NewStateServicer

func NewStateServicer(factory blobstore.BlobStorageFactory) (protos.StateServiceServer, error)

NewStateServicer returns a state server backed by storage passed in.

func PartitionStatesBySerializability

func PartitionStatesBySerializability(req *protos.ReportStatesRequest) ([]*protos.State, []*protos.IDAndError, error)

PartitionStatesBySerializability checks that each state is deserializable. If a state is not deserializable, we will send back the states type, key, and error.

func ValidateDeleteStatesRequest

func ValidateDeleteStatesRequest(req *protos.DeleteStatesRequest) error

ValidateDeleteStatesRequest checks that all required fields exist.

func ValidateGetStatesRequest

func ValidateGetStatesRequest(req *protos.GetStatesRequest) error

ValidateGetStatesRequest checks that all required fields exist.

func ValidateSyncStatesRequest

func ValidateSyncStatesRequest(req *protos.SyncStatesRequest) error

ValidateSyncStatesRequest checks that all required fields exist.

Types

This section is empty.

Jump to

Keyboard shortcuts

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