Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Credentials ¶
type DBEngine ¶
type DBEngine interface { GenerateCredentials(instanceID, bindingID string) (*Credentials, error) RevokeCredentials(instanceID, bindingID string) error }
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) (*Credentials, error)
func (*ElasticSearchEngine) RevokeCredentials ¶ added in v0.11.0
func (e *ElasticSearchEngine) RevokeCredentials(instanceID, bindingID string) error
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) (*Credentials, error)
func (*MongoEngine) RevokeCredentials ¶ added in v0.11.0
func (e *MongoEngine) RevokeCredentials(instanceID, bindingID string) error
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)
type RedisEngine ¶ added in v0.11.0
type RedisEngine struct {
// contains filtered or unexported fields
}
func NewRedisEngine ¶ added in v0.11.0
func NewRedisEngine(deployment *composeapi.Deployment) *RedisEngine
func (*RedisEngine) GenerateCredentials ¶ added in v0.11.0
func (e *RedisEngine) GenerateCredentials(instanceID, bindingID string) (*Credentials, error)
func (*RedisEngine) RevokeCredentials ¶ added in v0.11.0
func (e *RedisEngine) RevokeCredentials(instanceID, bindingID string) error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.