blobstorage

package
v0.0.0-...-ebb33e4 Latest Latest
Warning

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

Go to latest
Published: May 18, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAzureBlobStorageStore

func NewAzureBlobStorageStore(logger logger.Logger) state.Store

NewAzureBlobStorageStore instance.

Types

type StateStore

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

StateStore Type.

func (*StateStore) Delete

func (r *StateStore) Delete(ctx context.Context, req *state.DeleteRequest) error

Delete the state.

func (*StateStore) Features

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

Features returns the features available in this state store.

func (*StateStore) Get

Get the state.

func (*StateStore) GetComponentMetadata

func (r *StateStore) GetComponentMetadata() map[string]string

func (*StateStore) Init

func (r *StateStore) Init(ctx context.Context, metadata state.Metadata) error

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

func (*StateStore) Ping

func (r *StateStore) Ping(ctx context.Context) error

func (*StateStore) Set

func (r *StateStore) Set(ctx context.Context, 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