package
0.0.0-20240820180514-79772de91d0a
Repository: https://github.com/tailscale/setec.git
Documentation: pkg.go.dev
# Functions
AllAccess is a WhoIs function implementation that returns a successful response containing a capability for full access to all secrets.
NewDB constructs a new empty DB that persists for the duration of the test and subtests governed by t.
NewServer constructs a new Server that reads data from db and persists for the duration of the test and subtests governed by t.
# Structs
DB is a wrapper around a setec database to simplify creating database instances for unit tests with the testing package.
DBOptions are options for constructing a test database.
Server is a wrapper to support running a standalone setec Server for unit tests with the testing package.
ServerOptions are options for constructing a test server.