Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseStorageError ¶
ParseStorageError parses common storage errors into a user-readable format.
Types ¶
type Service ¶
type Service struct { Logger logger.Logger ConnFactory *secureconn.Factory Storage storage.Storage Secrets secrets.SecretsServiceClient }
Service holds the internal state and configuration of the Infra proxy service.
func Start ¶
func Start(l logger.Logger, migrationsConfig migration.Config, connFactory *secureconn.Factory, secretsClient secrets.SecretsServiceClient, authzClient authz.AuthorizationServiceClient) (*Service, error)
Start returns an instance of Service that connects to a postgres storage backend.
Click to show internal directories.
Click to hide internal directories.