Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DefaultDbDriverName = "mongodb"
)
Functions ¶
func RegisterDbDriver ¶
RegisterDbDriver registers a new DB driver
Types ¶
type DbDriver ¶
type DbDriver struct { TeamStorage auth.TeamStorage PlatformStorage app.PlatformStorage PlanStorage app.PlanStorage AppCacheStorage cache.CacheStorage TeamTokenStorage auth.TeamTokenStorage UserQuotaStorage quota.QuotaStorage AppQuotaStorage quota.QuotaStorage WebhookStorage event.WebhookStorage ClusterStorage provision.ClusterStorage ServiceBrokerStorage service.ServiceBrokerStorage ServiceBrokerCatalogCacheStorage cache.CacheStorage PlatformImageStorage image.PlatformImageStorage }
func GetCurrentDbDriver ¶
GetCurrentDbDriver returns the DB driver specified in the configuration file. If this configuration was omitted, it returns the default DB driver
func GetDbDriver ¶
GetDbDriver returns the DB driver that was registered with a specific name
func GetDefaultDbDriver ¶
GetDefaultDbDriver returns the default DB driver
Click to show internal directories.
Click to hide internal directories.