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-- 878 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package queues

import (
	"context"

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

type StorageQueue interface {
	Delete(ctx context.Context, accountName, queueName string) (result autorest.Response, err error)
	GetMetaData(ctx context.Context, accountName, queueName string) (result GetMetaDataResult, err error)
	SetMetaData(ctx context.Context, accountName, queueName string, metaData map[string]string) (result autorest.Response, err error)
	Create(ctx context.Context, accountName, queueName string, metaData map[string]string) (result autorest.Response, err error)
	GetResourceID(accountName, queueName string) string
	SetServiceProperties(ctx context.Context, accountName string, properties StorageServiceProperties) (result autorest.Response, err error)
	GetServiceProperties(ctx context.Context, accountName string) (result StorageServicePropertiesResponse, err error)
}