fake

package
v1.15.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fake

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

func New

func New() *Fake

func (*Fake) Get

func (f *Fake) Get(ctx context.Context, req *api.GetStateRequest) (*api.StateResponse, error)

func (*Fake) GetBulk

func (*Fake) TransactionalStateOperation

func (f *Fake) TransactionalStateOperation(ctx context.Context, req *api.TransactionalRequest) error

func (*Fake) WithGetBulkFn

func (f *Fake) WithGetBulkFn(fn func(ctx context.Context, req *api.GetBulkStateRequest) (api.BulkStateResponse, error)) *Fake

func (*Fake) WithGetFn

func (f *Fake) WithGetFn(fn func(ctx context.Context, req *api.GetStateRequest) (*api.StateResponse, error)) *Fake

func (*Fake) WithTransactionalStateOperationFn

func (f *Fake) WithTransactionalStateOperationFn(fn func(ctx context.Context, req *api.TransactionalRequest) error) *Fake

Jump to

Keyboard shortcuts

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