blobstorage

package
v1.10.7 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 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.DefaultBulkStore
	// 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 added in v1.1.1

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

Features returns the features available in this state store.

func (*StateStore) Get

Get the state.

func (*StateStore) GetComponentMetadata added in v1.10.1

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

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(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