fake

package
v1.17.21 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2026 License: Apache-2.0 Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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) AddOrUpdateOutbox

func (f *Fake) AddOrUpdateOutbox(stateStore v1alpha1.Component)

func (*Fake) Enabled

func (f *Fake) Enabled(stateStore string) bool

func (*Fake) PublishInternal

func (f *Fake) PublishInternal(ctx context.Context, stateStore string, states []state.TransactionalStateOperation, source, traceID, traceState string) ([]state.TransactionalStateOperation, error)

func (*Fake) SubscribeToInternalTopics

func (f *Fake) SubscribeToInternalTopics(ctx context.Context, appID string) error

func (*Fake) WithAddOrUpdateOutbox

func (f *Fake) WithAddOrUpdateOutbox(fn func(stateStore v1alpha1.Component)) *Fake

func (*Fake) WithEnabled

func (f *Fake) WithEnabled(fn func(stateStore string) bool) *Fake

func (*Fake) WithPublishInternal

func (f *Fake) WithPublishInternal(fn func(ctx context.Context, stateStore string, states []state.TransactionalStateOperation, source, traceID, traceState string) ([]state.TransactionalStateOperation, error)) *Fake

func (*Fake) WithSubscribeToInternalTopics

func (f *Fake) WithSubscribeToInternalTopics(fn func(ctx context.Context, appID string) error) *Fake

Jump to

Keyboard shortcuts

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