Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DatabaseNames ¶ added in v0.15.0
type ElasticSearchCredentials ¶ added in v0.14.0
type ElasticSearchEngine ¶
type ElasticSearchEngine struct {
// contains filtered or unexported fields
}
func NewElasticSearchEngine ¶
func NewElasticSearchEngine(deployment *composeapi.Deployment) *ElasticSearchEngine
func (*ElasticSearchEngine) GenerateCredentials ¶ added in v0.11.0
func (e *ElasticSearchEngine) GenerateCredentials(instanceID, bindingID string) (interface{}, error)
func (*ElasticSearchEngine) RevokeCredentials ¶ added in v0.11.0
func (e *ElasticSearchEngine) RevokeCredentials(instanceID, bindingID string) error
type MongoCredentials ¶ added in v0.14.0
type MongoEngine ¶
type MongoEngine struct {
// contains filtered or unexported fields
}
func NewMongoEngine ¶
func NewMongoEngine(deployment *composeapi.Deployment) *MongoEngine
func (*MongoEngine) GenerateCredentials ¶ added in v0.11.0
func (e *MongoEngine) GenerateCredentials(instanceID, bindingID string) (interface{}, error)
func (*MongoEngine) GetDatabaseName ¶ added in v0.15.0
func (e *MongoEngine) GetDatabaseName(session MongoSession, defaultName string) (string, error)
func (*MongoEngine) RevokeCredentials ¶ added in v0.11.0
func (e *MongoEngine) RevokeCredentials(instanceID, bindingID string) error
type MongoSession ¶ added in v0.15.0
type MongoSession interface {
Run(cmd interface{}, result interface{}) error
}
MongoSession is an incomplete interface for mgo.Session
type Provider ¶
type Provider interface {
GetDBEngine(*composeapi.Deployment) (DBEngine, error)
}
type ProviderService ¶
type ProviderService struct{}
func NewProviderService ¶
func NewProviderService() *ProviderService
func (*ProviderService) GetDBEngine ¶
func (p *ProviderService) GetDBEngine(deployment *composeapi.Deployment) (DBEngine, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.