keyvalue

package
v0.0.0-...-709ed15 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2025 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AztableEntity

type AztableEntity struct {
	aztables.Entity

	Content aztables.EDMBinary
}

type AzureStorageClientFactory

type AzureStorageClientFactory func(tableName string) (*aztables.Client, error)

type AzureStorageTableKeyValueService

type AzureStorageTableKeyValueService struct {
	// contains filtered or unexported fields
}

AzureStorageTableKeyValueService - an Azure Storage Table implementation of the Nitric Key/Value Service

func New

New creates a new Azure Storage Table implementation of a KeyValueServer

func NewWithClient

func NewWithClient(clientFactory AzureStorageClientFactory) (*AzureStorageTableKeyValueService, error)

NewWithClient creates a DocumentServiceServer with an given DynamoDB client instance.

Primarily used for testing

func (*AzureStorageTableKeyValueService) DeleteKey

Delete a key/value pair from the Azure Storage table

func (*AzureStorageTableKeyValueService) GetValue

Get a value from the Azure Storage table

func (*AzureStorageTableKeyValueService) ScanKeys

Return all keys in the Azure Storage table for a key/value store

func (*AzureStorageTableKeyValueService) SetValue

Set a value in the Azure Storage table

Jump to

Keyboard shortcuts

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