Documentation
¶
Overview ¶
Package store defines the composite store interface for Bastion.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store interface {
bastion.RouteStore
bastion.CircuitBreakerStore
bastion.HealthStore
bastion.CacheStore
bastion.RateLimitStore
bastion.AuditSink
// Migrate runs schema migrations.
Migrate(ctx context.Context) error
// Ping verifies the store connection.
Ping(ctx context.Context) error
// Close releases store resources.
Close() error
}
Store is the composite persistence interface for all Bastion subsystems.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package memory provides an in-memory implementation of the Bastion composite store.
|
Package memory provides an in-memory implementation of the Bastion composite store. |
|
Package mongo provides a MongoDB implementation of the Bastion composite store using grove ORM.
|
Package mongo provides a MongoDB implementation of the Bastion composite store using grove ORM. |
|
Package postgres provides a PostgreSQL implementation of the Bastion composite store using grove ORM with programmatic migrations.
|
Package postgres provides a PostgreSQL implementation of the Bastion composite store using grove ORM with programmatic migrations. |
|
Package sqlite provides a SQLite implementation of the Bastion composite store using grove ORM with programmatic migrations.
|
Package sqlite provides a SQLite implementation of the Bastion composite store using grove ORM with programmatic migrations. |
Click to show internal directories.
Click to hide internal directories.