Documentation
¶
Index ¶
- type Fake
- func (f *Fake) ActorExists(actorType, actorKey string) bool
- func (f *Fake) Close() error
- func (f *Fake) GetOrCreate(actorType, actorID string) (targets.Interface, error)
- func (f *Fake) HaltAll(ctx context.Context) error
- func (f *Fake) HaltNonHosted(ctx context.Context, fn func(*api.LookupActorRequest) bool) error
- func (f *Fake) IsActorTypeHosted(actorType string) bool
- func (f *Fake) Len() map[string]int
- func (f *Fake) RegisterActorTypes(opts table.RegisterActorTypeOptions)
- func (f *Fake) SubscribeToTypeUpdates(ctx context.Context) (<-chan []string, []string)
- func (f *Fake) Types() []string
- func (f *Fake) UnRegisterActorTypes(actorTypes ...string) error
- func (f *Fake) WithActorExists(fn func(string, string) bool) *Fake
- func (f *Fake) WithClose(fn func() error) *Fake
- func (f *Fake) WithGetOrCreate(fn func(string, string) (targets.Interface, error)) *Fake
- func (f *Fake) WithHaltAll(fn func(context.Context) error) *Fake
- func (f *Fake) WithHaltNonHosted(fn func(context.Context, func(*api.LookupActorRequest) bool) error) *Fake
- func (f *Fake) WithIsActorTypeHosted(fn func(string) bool) *Fake
- func (f *Fake) WithLen(fn func() map[string]int) *Fake
- func (f *Fake) WithRegisterActorTypes(fn func(table.RegisterActorTypeOptions)) *Fake
- func (f *Fake) WithSubscribeToTypeUpdates(fn func(context.Context) (<-chan []string, []string)) *Fake
- func (f *Fake) WithTypes(fn func() []string) *Fake
- func (f *Fake) WithUnRegisterActorTypes(fn func(...string) 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) ActorExists ¶
func (*Fake) GetOrCreate ¶
func (*Fake) HaltNonHosted ¶
func (*Fake) IsActorTypeHosted ¶
func (*Fake) RegisterActorTypes ¶
func (f *Fake) RegisterActorTypes(opts table.RegisterActorTypeOptions)
func (*Fake) SubscribeToTypeUpdates ¶
func (*Fake) UnRegisterActorTypes ¶
func (*Fake) WithGetOrCreate ¶
func (*Fake) WithHaltNonHosted ¶
func (*Fake) WithIsActorTypeHosted ¶
func (*Fake) WithRegisterActorTypes ¶
func (f *Fake) WithRegisterActorTypes(fn func(table.RegisterActorTypeOptions)) *Fake
func (*Fake) WithSubscribeToTypeUpdates ¶
Click to show internal directories.
Click to hide internal directories.