File: api.go

package info (click to toggle)
golang-github-tombuildsstuff-giovanni 0.20.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 15,908 kB
  • sloc: makefile: 3
file content (17 lines) | stat: -rw-r--r-- 783 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package tables

import (
	"context"

	"github.com/Azure/go-autorest/autorest"
)

type StorageTable interface {
	Delete(ctx context.Context, accountName, tableName string) (result autorest.Response, err error)
	Exists(ctx context.Context, accountName, tableName string) (result autorest.Response, err error)
	GetACL(ctx context.Context, accountName, tableName string) (result GetACLResult, err error)
	Create(ctx context.Context, accountName, tableName string) (result autorest.Response, err error)
	GetResourceID(accountName, tableName string) string
	Query(ctx context.Context, accountName string, metaDataLevel MetaDataLevel) (result GetResult, err error)
	SetACL(ctx context.Context, accountName, tableName string, acls []SignedIdentifier) (result autorest.Response, err error)
}