Documentation ¶
Index ¶
- func NewMongoDB(logger logger.Logger) bindings.OutputBinding
- type MongoDBOperations
- func (mongoOps *MongoDBOperations) GetRole(ctx context.Context, request *bindings.InvokeRequest, ...) (string, error)
- func (mongoOps *MongoDBOperations) Init(metadata bindings.Metadata) error
- func (mongoOps *MongoDBOperations) LockInstance(ctx context.Context) error
- func (mongoOps *MongoDBOperations) StatusCheck(ctx context.Context, cmd string, response *bindings.InvokeResponse) (OpsResult, error)
- func (mongoOps *MongoDBOperations) UnlockInstance(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMongoDB ¶
func NewMongoDB(logger logger.Logger) bindings.OutputBinding
NewMongoDB returns a new MongoDB Binding
Types ¶
type MongoDBOperations ¶
type MongoDBOperations struct { BaseOperations // contains filtered or unexported fields }
MongoDBOperations is a binding implementation for MongoDB.
func (*MongoDBOperations) GetRole ¶
func (mongoOps *MongoDBOperations) GetRole(ctx context.Context, request *bindings.InvokeRequest, response *bindings.InvokeResponse) (string, error)
func (*MongoDBOperations) Init ¶
func (mongoOps *MongoDBOperations) Init(metadata bindings.Metadata) error
Init initializes the MongoDB Binding.
func (*MongoDBOperations) LockInstance ¶ added in v0.6.0
func (mongoOps *MongoDBOperations) LockInstance(ctx context.Context) error
func (*MongoDBOperations) StatusCheck ¶
func (mongoOps *MongoDBOperations) StatusCheck(ctx context.Context, cmd string, response *bindings.InvokeResponse) (OpsResult, error)
func (*MongoDBOperations) UnlockInstance ¶
func (mongoOps *MongoDBOperations) UnlockInstance(ctx context.Context) error
Click to show internal directories.
Click to hide internal directories.