Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
WhenUtc string
Storage string
RTStorage string
RTJsons []RTJsonFile
FGAEndpoint string
FGAModelFile string
FGAModelTuples []authz.TupleKey
// AllowAll installs an AllowAllChecker. Required for tests that exercise
// mutations. Ignored when FGAEndpoint is set.
AllowAll bool
// UseGeohashFilter enables the secondary stop-geohash filter on bbox/within/near
// queries. Requires the test database to have tl_feed_version_geohashes populated.
UseGeohashFilter bool
// UseMaterializedDepartures plans departure queries from a materialized CTE.
UseMaterializedDepartures bool
// UseMaterialized reads active entities from the materialized active tables.
UseMaterialized bool
}
type RTJsonFile ¶
type RTJsonFile struct {
Feed string
Ftype string
Fname string
// How long before the test's time the fixture was fetched; zero for a
// fixture fetched then.
Age time.Duration
}
func DefaultRTJson ¶
func DefaultRTJson() []RTJsonFile
Click to show internal directories.
Click to hide internal directories.