azure

package
v0.0.0-...-79fabe2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 9, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAzureStore

func NewAzureStore(options *TableProviderOptions) (kv.KV, error)

NewAzureStore initializes a new AzureTableProvider.

func NewSharedKeyCredential

func NewSharedKeyCredential(accountName, accountKey string) (*aztables.SharedKeyCredential, error)

Types

type Entity

type Entity struct {
	PartitionKey lexkey.LexKey `json:"PartitionKey"`
	RowKey       lexkey.LexKey `json:"RowKey"`
	Value        []byte        `json:"Value"`
}

type TableProviderOptions

type TableProviderOptions struct {
	Prefix                    string
	Table                     string
	Endpoint                  string
	UseDefaultAzureCredential bool
	SharedKeyCredential       *aztables.SharedKeyCredential
}

TableProviderOptions holds configuration options for Azure Storage Tables.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL