internal

package
v1.13.0-rc.4 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAzureBlobStorageStore

func NewAzureBlobStorageStore(logger logger.Logger, getFileNameFn func(string) string) state.Store

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() (metadataInfo mdutils.MetadataMap)

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