package
0.0.0-20250203190900-6f9d371594d6
Repository: https://github.com/bennerv/go-cosmosdb.git
Documentation: pkg.go.dev
# Functions
IsErrorStatusCode returns true if err is of type Error and its StatusCode matches statusCode.
NewCollectionClient returns a new collection client.
NewDatabaseClient returns a new database client.
NewFakePersonClient returns a FakePersonClient.
NewFakePersonErroringRawIterator returns a PersonRawIterator which whose methods return the given error.
No description provided by the author
No description provided by the author
NewPermissionClient returns a new permission client.
NewPersonClient returns a new person client.
No description provided by the author
NewTriggerClient returns a new trigger client.
NewUserClient returns a new user client.
RetryOnPreconditionFailed retries a function if it fails due to PreconditionFailed.
# Constants
ConflictResolutionPolicyMode constants.
ConflictResolutionPolicyMode constants.
GeospatialConfigType constants.
IndexDataType constants.
IndexDataType constants.
IndexDataType constants.
IndexDataType constants.
IndexDataType constants.
IndexingPolicyMode constants.
IndexingPolicyMode constants.
IndexKind constants.
IndexKind constants.
IndexKind constants.
Order constants.
Order constants.
PartitionKeyKind constants.
PartitionKeyRangeStatus constants.
PermissionMode constants.
PermissionMode constants.
TriggerOperation constants.
TriggerOperation constants.
TriggerOperation constants.
TriggerOperation constants.
TriggerType constants.
TriggerType constants.
# Variables
ErrETagRequired is the error returned if the ETag field is not populate on a PUT or DELETE operation.
ErrNotImplemented is the error returned if a fake function is not implemented.
# Structs
Collection represents a collection.
Collections represents collections.
ConflictResolutionPolicy represents a conflict resolution policy.
Database represents a database.
Databases represents databases.
Error represents an error.
ExcludedPath represents an excluded path.
FakePersonClient is a FakePersonClient.
GeospatialConfig represents a geospatial config.
IncludedPath represents an included path.
Index represents an index.
IndexingPolicy represents an indexing policy.
MissingFields retains values that do not map to struct fields during JSON marshalling/unmarshalling.
Options represents API options.
Parameter represents a parameter.
PartitionKey represents a partition key.
PartitionKeyRange represents a partition key range.
PartitionKeyRanges represents partition key ranges.
Permission represents a permission.
Permissions represents permissions.
Query represents a query.
Trigger represents a trigger.
Triggers represents triggers.
UniqueKey represents a unique key.
UniqueKeyPolicy represents a unique key policy.
User represents a user.
Users represents users.
# Interfaces
No description provided by the author
CollectionClient is a collection client.
CollectionIterator is a collection iterator.
DatabaseClient is a database client.
DatabaseIterator is a database iterator.
PermissionClient is a permission client.
PermissionIterator is a permission iterator.
PersonClient is a person client.
PersonIterator is a person iterator.
PersonRawIterator is a person raw iterator.
TriggerClient is a trigger client.
TriggerIterator is a trigger iterator.
UserClient is a user client.
UserIterator is a user iterator.
# Type aliases
CompositeIndex represents a composite index.
ConflictResolutionPolicyMode represents a conflict resolution policy mode.
GeospatialConfigType represents geospatial config types.
IndexDataType represents an index data type.
IndexingPolicyMode represents an indexing policy mode.
IndexKind represents an index kind.
Order represents an order.
PartitionKeyKind represents a partition key kind.
PartitionKeyRangeStatus represents a partition key range status.
PermissionMode represents a permission mode.
TriggerOperation represents a trigger operation.
TriggerType represents a trigger type.