Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Info ¶
type Info struct { SecretName string DatabaseName string External bool ReaderEndpoints bool DatabaseCheckURL bool // contains filtered or unexported fields }
Info contains information on a database connection.
func GenerateDatabaseInfoFromSecret ¶
GenerateDatabaseInfoFromSecret takes a secret and returns database based on the characteristics of the secret.
func (*Info) HasDatabaseCheckURL ¶
HasDatabaseCheckURL returns if the database has an endpoint check defined.
func (*Info) HasReaderEndpoints ¶ added in v1.8.0
HasReaderEndpoints returns if the database has reader endpoints defined.
func (*Info) IsExternal ¶
IsExternal defines if the database is external or not.
Click to show internal directories.
Click to hide internal directories.