Documentation
¶
Overview ¶
Package resourcegroups publishes the generated Trino resource-group document (#598) into the tables Trino's database resource group manager reads (#599). The write is idempotent (it replaces the environment's groups and selectors wholesale) and every write is a new revision, so a rollback re-applies an earlier one. Trino reloads the tables every second, so publishing is the reload: no coordinator restart is involved.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ErrRevisionNotFound = errors.New("resource group revision not found")
ErrRevisionNotFound means the revision to roll back to does not exist.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store writes resource groups through the GORM store.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package publish writes the generated Trino resource-group document through the narrow Writer surface the store implements (ADR 0020).
|
Package publish writes the generated Trino resource-group document through the narrow Writer surface the store implements (ADR 0020). |