statestore

package
v1.15.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*options)

Option is a function that configures the process.

func WithBulkDeleteError

func WithBulkDeleteError(err error) Option

func WithBulkGetError

func WithBulkGetError(err error) Option

func WithBulkSetError

func WithBulkSetError(err error) Option

func WithDeleteError

func WithDeleteError(err error) Option

func WithGetError

func WithGetError(err error) Option

func WithQueryError

func WithQueryError(err error) Option

func WithSetError

func WithSetError(err error) Option

func WithSocket added in v1.13.2

func WithSocket(socket *socket.Socket) Option

func WithStateStore

func WithStateStore(store state.Store) Option

type StateStore

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

StateStore is a pluggable state store component for Dapr.

func New

func New(t *testing.T, fopts ...Option) *StateStore

func (*StateStore) Cleanup

func (s *StateStore) Cleanup(t *testing.T)

func (*StateStore) Run

func (s *StateStore) Run(t *testing.T, ctx context.Context)

func (*StateStore) SocketName

func (s *StateStore) SocketName() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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