package
0.0.0-20250307045944-cf6c03992e2e
Repository: https://github.com/sapcc/limes.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
No description provided by the author
NewSetup prepares most or all pieces of Keppel for a test.
NoJitter replaces test.AddJitter in unit tests, to provide deterministic behavior.
WithAPIHandler is a SetupOption that initializes a http.Handler with the Limes API.
WithConfig is a SetupOption that initializes the test cluster from a configuration provided as YAML.
WithDBFixtureFile is a SetupOption that prefills the test DB by executing the SQL statements in the given file.
# Structs
PolicyEnforcer is a gopherpolicy.Enforcer implementation for API tests.
Setup contains all the pieces that are needed for most tests.
# Type aliases
SetupOption is an option that can be given to NewSetup().