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: 14 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) Init

func (f *Fake) Init(opts actors.InitOptions) error

func (*Fake) Placement added in v1.16.0

func (f *Fake) Placement(ctx context.Context) (placement.Interface, error)

func (*Fake) RegisterHosted

func (f *Fake) RegisterHosted(cfg hostconfig.Config) error

func (*Fake) Reminders

func (f *Fake) Reminders(ctx context.Context) (reminders.Interface, error)

func (*Fake) Router added in v1.16.0

func (f *Fake) Router(ctx context.Context) (router.Interface, error)

func (*Fake) Run

func (f *Fake) Run(ctx context.Context) error

func (*Fake) RuntimeStatus

func (f *Fake) RuntimeStatus() *runtimev1pb.ActorRuntime

func (*Fake) State

func (f *Fake) State(ctx context.Context) (state.Interface, error)

func (*Fake) Table

func (f *Fake) Table(ctx context.Context) (table.Interface, error)

func (*Fake) Timers

func (f *Fake) Timers(ctx context.Context) (timers.Interface, error)

func (*Fake) UnRegisterHosted

func (f *Fake) UnRegisterHosted(ids ...string)

func (*Fake) WaitForRegisteredHosts

func (f *Fake) WaitForRegisteredHosts(ctx context.Context) error

func (*Fake) WithInit

func (f *Fake) WithInit(fn func(actors.InitOptions) error) *Fake

func (*Fake) WithPlacement added in v1.16.0

func (f *Fake) WithPlacement(fn func(context.Context) (placement.Interface, error)) *Fake

func (*Fake) WithRegisterHosted

func (f *Fake) WithRegisterHosted(fn func(hostconfig.Config) error) *Fake

func (*Fake) WithReminders

func (f *Fake) WithReminders(fn func(context.Context) (reminders.Interface, error)) *Fake

func (*Fake) WithRouter added in v1.16.0

func (f *Fake) WithRouter(fn func(context.Context) (router.Interface, error)) *Fake

func (*Fake) WithRun

func (f *Fake) WithRun(fn func(context.Context) error) *Fake

func (*Fake) WithRuntimeStatus

func (f *Fake) WithRuntimeStatus(fn func() *runtimev1pb.ActorRuntime) *Fake

func (*Fake) WithState

func (f *Fake) WithState(fn func(context.Context) (state.Interface, error)) *Fake

func (*Fake) WithTable

func (f *Fake) WithTable(fn func(context.Context) (table.Interface, error)) *Fake

func (*Fake) WithTimers

func (f *Fake) WithTimers(fn func(context.Context) (timers.Interface, error)) *Fake

func (*Fake) WithUnRegisterHosted

func (f *Fake) WithUnRegisterHosted(fn func(...string)) *Fake

func (*Fake) WithWaitForRegisteredHosts

func (f *Fake) WithWaitForRegisteredHosts(fn func(context.Context) error) *Fake

Jump to

Keyboard shortcuts

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