Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAzureCredential ¶
func NewAzureCredential() (*azidentity.DefaultAzureCredential, error)
Types ¶
type CosmosDBClient ¶ added in v0.0.19
type CosmosDBClient struct {
// contains filtered or unexported fields
}
func NewCosmosDBClient ¶ added in v0.0.19
func NewCosmosDBClient(account string, db string, container string, cred azcore.TokenCredential) (*CosmosDBClient, error)
type CosmosDBContainerClient ¶ added in v0.0.19
type CosmosDBContainerClient[T any] struct { // contains filtered or unexported fields }
func NewCosmosDBContainerClient ¶ added in v0.0.19
func NewCosmosDBContainerClient[T any](cosmosDBClient *CosmosDBClient, partitionKey string, ttl *int) (*CosmosDBContainerClient[T], error)
Click to show internal directories.
Click to hide internal directories.