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 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) IsExternal ¶
IsExternal defines if the database is external or not
Click to show internal directories.
Click to hide internal directories.