Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type InitOptions ¶ added in v1.15.0
type InitOptions struct {
StateStoreName string
Hostname string
GRPC *manager.Manager
SchedulerClient schedulerv1pb.SchedulerClient
SchedulerReloader schedclient.Reloader
}
type Interface ¶ added in v1.15.0
type Interface interface {
Init(InitOptions) error
Run(context.Context) error
Engine(context.Context) (engine.Interface, error)
Table(context.Context) (table.Interface, error)
State(context.Context) (actorstate.Interface, error)
Timers(context.Context) (timers.Interface, error)
Reminders(context.Context) (reminders.Interface, error)
RuntimeStatus() *runtimev1pb.ActorRuntime
RegisterHosted(hostconfig.Config) error
UnRegisterHosted(actorTypes ...string)
WaitForRegisteredHosts(ctx context.Context) error
}
Interface is the main runtime for the actors subsystem.
type Options ¶ added in v1.15.0
type Options struct {
AppID string
Namespace string
Port int
PlacementAddresses []string
SchedulerReminders bool
HealthEndpoint string
Resiliency resiliency.Provider
Security security.Handler
Healthz healthz.Healthz
CompStore *compstore.ComponentStore
// TODO: @joshvanl Remove in Dapr 1.12 when ActorStateTTL is finalized.
StateTTLEnabled bool
MaxRequestBodySize int
Mode modes.DaprMode
}
Click to show internal directories.
Click to hide internal directories.