Versions in this module Expand all Collapse all v0 v0.28.0 Aug 12, 2024 Changes in this version + type Client struct + Client *storage.Client + func NewWithBaseUri(baseUri string) (*Client, error) + func (c Client) Delete(ctx context.Context, tableName string, input DeleteEntityInput) (result DeleteEntityResponse, err error) + func (c Client) Get(ctx context.Context, tableName string, input GetEntityInput) (result GetEntityResponse, err error) + func (c Client) Insert(ctx context.Context, tableName string, input InsertEntityInput) (result InsertResponse, err error) + func (c Client) InsertOrMerge(ctx context.Context, tableName string, input InsertOrMergeEntityInput) (result InsertOrMergeResponse, err error) + func (c Client) InsertOrReplace(ctx context.Context, tableName string, input InsertOrReplaceEntityInput) (result InsertOrReplaceResponse, err error) + func (c Client) Query(ctx context.Context, tableName string, input QueryEntitiesInput) (result QueryEntitiesResponse, err error) + type DeleteEntityInput struct + PartitionKey string + RowKey string + type DeleteEntityResponse struct + HttpResponse *http.Response + type EntityId struct + AccountId accounts.AccountId + PartitionKey string + RowKey string + TableName string + func NewEntityID(accountId accounts.AccountId, tableName, partitionKey, rowKey string) EntityId + func ParseEntityID(input, domainSuffix string) (*EntityId, error) + func (b EntityId) ID() string + func (b EntityId) String() string + type GetEntityInput struct + MetaDataLevel MetaDataLevel + PartitionKey string + RowKey string + type GetEntityResponse struct + Entity map[string]interface{} + HttpResponse *http.Response + type InsertEntityInput struct + Entity map[string]interface{} + MetaDataLevel MetaDataLevel + PartitionKey string + RowKey string + type InsertOrMergeEntityInput struct + Entity map[string]interface{} + PartitionKey string + RowKey string + type InsertOrMergeResponse struct + HttpResponse *http.Response + type InsertOrReplaceEntityInput struct + Entity map[string]interface{} + PartitionKey string + RowKey string + type InsertOrReplaceResponse struct + HttpResponse *http.Response + type InsertResponse struct + HttpResponse *http.Response + type MetaDataLevel string + var FullMetaData MetaDataLevel = "fullmetadata" + var MinimalMetaData MetaDataLevel = "minimalmetadata" + var NoMetaData MetaDataLevel = "nometadata" + type QueryEntitiesInput struct + Filter *string + MetaDataLevel MetaDataLevel + NextPartitionKey *string + NextRowKey *string + PartitionKey string + PropertyNamesToSelect *[]string + RowKey string + Top *int + type QueryEntitiesResponse struct + Entities []map[string]interface{} + HttpResponse *http.Response + MetaData string + NextPartitionKey string + NextRowKey string + type StorageTableEntity interface + Delete func(ctx context.Context, tableName string, input DeleteEntityInput) (resp DeleteEntityResponse, err error) + Get func(ctx context.Context, tableName string, input GetEntityInput) (resp GetEntityResponse, err error) + Insert func(ctx context.Context, tableName string, input InsertEntityInput) (resp InsertResponse, err error) + InsertOrMerge func(ctx context.Context, tableName string, input InsertOrMergeEntityInput) (resp InsertOrMergeResponse, err error) + InsertOrReplace func(ctx context.Context, tableName string, input InsertOrReplaceEntityInput) (resp InsertOrReplaceResponse, err error) + Query func(ctx context.Context, tableName string, input QueryEntitiesInput) (resp QueryEntitiesResponse, err error)