reminders

package
v1.15.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewScheduler added in v1.14.0

func NewScheduler(opts SchedulerOptions) internal.RemindersProvider

func NewStateStore added in v1.14.0

NewStateStore returns a reminders provider.

Types

type ActorMetadata added in v1.12.0

type ActorMetadata struct {
	ID                string                 `json:"id"`
	RemindersMetadata ActorRemindersMetadata `json:"actorRemindersMetadata"`
	Etag              *string                `json:"-"`
}

ActorMetadata represents information about the actor type.

type ActorReminderReference added in v1.12.0

type ActorReminderReference struct {
	ActorMetadataID           string
	ActorRemindersPartitionID uint32
	Reminder                  internal.Reminder
}

type ActorRemindersMetadata added in v1.12.0

type ActorRemindersMetadata struct {
	PartitionCount int                `json:"partitionCount"`
	PartitionsEtag map[uint32]*string `json:"-"`
}

ActorRemindersMetadata represents information about actor's reminders.

type SchedulerOptions added in v1.14.0

type SchedulerOptions struct {
	Namespace        string
	AppID            string
	Clients          *clients.Clients
	ProviderOpts     internal.ActorsProviderOptions
	ListActorTypesFn func() []string
	Healthz          healthz.Healthz
}

type StateStoreOptions added in v1.14.0

type StateStoreOptions struct {
	StoreName string
	Config    internal.Config
	APILevel  *atomic.Uint32
}

StateStoreOptions contains the options for the StateStoreOptions function.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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