Documentation ¶
Index ¶
- func New() (interface{}, error)
- type MongoDBAtlas
- func (c MongoDBAtlas) Close() error
- func (c MongoDBAtlas) Connection(_ context.Context) (interface{}, error)
- func (m *MongoDBAtlas) DeleteUser(ctx context.Context, req dbplugin.DeleteUserRequest) (dbplugin.DeleteUserResponse, error)
- func (m *MongoDBAtlas) Initialize(ctx context.Context, req dbplugin.InitializeRequest) (dbplugin.InitializeResponse, error)
- func (m *MongoDBAtlas) NewUser(ctx context.Context, req dbplugin.NewUserRequest) (dbplugin.NewUserResponse, error)
- func (m *MongoDBAtlas) Type() (string, error)
- func (m *MongoDBAtlas) UpdateUser(ctx context.Context, req dbplugin.UpdateUserRequest) (dbplugin.UpdateUserResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MongoDBAtlas ¶
type MongoDBAtlas struct {
// contains filtered or unexported fields
}
func (MongoDBAtlas) Close ¶
func (c MongoDBAtlas) Close() error
Close terminates the database connection.
func (MongoDBAtlas) Connection ¶
func (*MongoDBAtlas) DeleteUser ¶ added in v0.2.0
func (m *MongoDBAtlas) DeleteUser(ctx context.Context, req dbplugin.DeleteUserRequest) (dbplugin.DeleteUserResponse, error)
func (*MongoDBAtlas) Initialize ¶
func (m *MongoDBAtlas) Initialize(ctx context.Context, req dbplugin.InitializeRequest) (dbplugin.InitializeResponse, error)
func (*MongoDBAtlas) NewUser ¶ added in v0.2.0
func (m *MongoDBAtlas) NewUser(ctx context.Context, req dbplugin.NewUserRequest) (dbplugin.NewUserResponse, error)
func (*MongoDBAtlas) Type ¶
func (m *MongoDBAtlas) Type() (string, error)
Type returns the TypeName for this backend
func (*MongoDBAtlas) UpdateUser ¶ added in v0.2.0
func (m *MongoDBAtlas) UpdateUser(ctx context.Context, req dbplugin.UpdateUserRequest) (dbplugin.UpdateUserResponse, error)
Click to show internal directories.
Click to hide internal directories.