fake

package
v0.0.0-...-949823d Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2024 License: Apache-2.0 Imports: 3 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) 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