blobstorage

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StateStore

type StateStore struct {
	state.DefaultBulkStore
	// contains filtered or unexported fields
}

StateStore Type.

func NewAzureBlobStorageStore

func NewAzureBlobStorageStore(logger logger.Logger) *StateStore

NewAzureBlobStorageStore instance.

func (*StateStore) Delete

func (r *StateStore) Delete(req *state.DeleteRequest) error

Delete the state.

func (*StateStore) Features added in v1.1.1

func (r *StateStore) Features() []state.Feature

Features returns the features available in this state store.

func (*StateStore) Get

func (r *StateStore) Get(req *state.GetRequest) (*state.GetResponse, error)

Get the state.

func (*StateStore) Init

func (r *StateStore) Init(metadata state.Metadata) error

Init the connection to blob storage, optionally creates a blob container if it doesn't exist.

func (*StateStore) Ping added in v1.4.4

func (r *StateStore) Ping() error

func (*StateStore) Set

func (r *StateStore) Set(req *state.SetRequest) error

Set the state.

Jump to

Keyboard shortcuts

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