Documentation ¶
Index ¶
- func NewCosmosDB(logger logger.Logger) bindings.OutputBinding
- type CosmosDB
- func (c *CosmosDB) GetComponentMetadata() map[string]string
- func (c *CosmosDB) Init(ctx context.Context, metadata bindings.Metadata) error
- func (c *CosmosDB) Invoke(ctx context.Context, req *bindings.InvokeRequest) (*bindings.InvokeResponse, error)
- func (c *CosmosDB) Operations() []bindings.OperationKind
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCosmosDB ¶
func NewCosmosDB(logger logger.Logger) bindings.OutputBinding
NewCosmosDB returns a new CosmosDB instance.
Types ¶
type CosmosDB ¶
type CosmosDB struct {
// contains filtered or unexported fields
}
CosmosDB allows performing state operations on collections.
func (*CosmosDB) GetComponentMetadata ¶ added in v1.11.0
GetComponentMetadata returns the metadata of the component.
func (*CosmosDB) Invoke ¶
func (c *CosmosDB) Invoke(ctx context.Context, req *bindings.InvokeRequest) (*bindings.InvokeResponse, error)
func (*CosmosDB) Operations ¶
func (c *CosmosDB) Operations() []bindings.OperationKind
Click to show internal directories.
Click to hide internal directories.