Discover Packages
github.com/chef/automate
components
authn-service
tokens
pg
package
Version:
v0.0.0-...-4b711b1
Opens a new window with list of versions in this module.
Published: Dec 27, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 19
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
Documentation
Documentation
¶
ProjectsListFromContext returns the project list from the context.
In the case that the project list was ["*"], we return an empty list,
since we do not wish to filter on projects.
type Config struct {
PGURL string `json:"pg_url"`
Database string `json:"database"`
MaxConnections int `json:"max_connections"`
MigrationsPath string `json:"migrations"`
}
Config is the configuration this adapter takes
Open returns a storage adapter based on the config.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.