Documentation
¶
Index ¶
- type ActorReminder
- type ActorTypeReminders
- type Option
- type SQLite
- func (s *SQLite) ActorReminders(t *testing.T, ctx context.Context, actorType string) ActorTypeReminders
- func (s *SQLite) Cleanup(t *testing.T)
- func (s *SQLite) GetComponent(t *testing.T) string
- func (s *SQLite) GetConnection(t *testing.T) *sql.DB
- func (s *SQLite) Run(t *testing.T, ctx context.Context)
- func (s *SQLite) TableName() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActorReminder ¶
type ActorTypeReminders ¶
type Option ¶
type Option func(*options)
Option is a function that configures the process.
func WithActorStateStore ¶
WithActorStateStore configures whether the state store is enabled as actor state store.
func WithCreateStateTables ¶
func WithCreateStateTables() Option
WithCreateStateTables configures whether the state store should create the state tables.
func WithDBPath ¶
func WithMetadata ¶
WithMetadata adds a metadata option to the component. This can be invoked multiple times.
func WithTableName ¶
type SQLite ¶
type SQLite struct {
// contains filtered or unexported fields
}
SQLite database that can be used in integration tests. Consumers should always run this Process before any other Framework Processes which consume it so all migrations are applied.
func (*SQLite) ActorReminders ¶
func (*SQLite) GetComponent ¶
GetComponent returns the Component resource.
func (*SQLite) GetConnection ¶
GetConnection returns the connection to the SQLite database.
Click to show internal directories.
Click to hide internal directories.