Documentation ¶
Index ¶
- type Fake
- func (f *Fake) Get(ctx context.Context, req *api.GetStateRequest) (*api.StateResponse, error)
- func (f *Fake) GetBulk(ctx context.Context, req *api.GetBulkStateRequest) (api.BulkStateResponse, error)
- func (f *Fake) TransactionalStateOperation(ctx context.Context, req *api.TransactionalRequest) error
- func (f *Fake) WithGetBulkFn(...) *Fake
- func (f *Fake) WithGetFn(...) *Fake
- func (f *Fake) WithTransactionalStateOperationFn(fn func(ctx context.Context, req *api.TransactionalRequest) error) *Fake
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 (*Fake) Get ¶
func (f *Fake) Get(ctx context.Context, req *api.GetStateRequest) (*api.StateResponse, error)
func (*Fake) GetBulk ¶
func (f *Fake) GetBulk(ctx context.Context, req *api.GetBulkStateRequest) (api.BulkStateResponse, error)
func (*Fake) TransactionalStateOperation ¶
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 ¶
Click to show internal directories.
Click to hide internal directories.