| 1 |
package entities |
| 2 |
|
| 3 |
import ( |
| 4 |
"context" |
| 5 |
|
| 6 |
"github.com/Azure/go-autorest/autorest" |
| 7 |
) |
| 8 |
|
| 9 |
type StorageTableEntity interface { |
| 10 |
Delete(ctx context.Context, accountName, tableName string, input DeleteEntityInput) (result autorest.Response, err error) |
| 11 |
Insert(ctx context.Context, accountName, tableName string, input InsertEntityInput) (result autorest.Response, err error) |
| 12 |
InsertOrReplace(ctx context.Context, accountName, tableName string, input InsertOrReplaceEntityInput) (result autorest.Response, err error) |
| 13 |
InsertOrMerge(ctx context.Context, accountName, tableName string, input InsertOrMergeEntityInput) (result autorest.Response, err error) |
| 14 |
Query(ctx context.Context, accountName, tableName string, input QueryEntitiesInput) (result QueryEntitiesResult, err error) |
| 15 |
Get(ctx context.Context, accountName, tableName string, input GetEntityInput) (result GetEntityResult, err error) |
| 16 |
GetResourceID(accountName, tableName, partitionKey, rowKey string) string |
| 17 |
} |