Documentation ¶
Index ¶
- func NewAzureBlobStorageStore(logger logger.Logger) state.Store
- type StateStore
- func (r *StateStore) Delete(ctx context.Context, req *state.DeleteRequest) error
- func (r *StateStore) Features() []state.Feature
- func (r *StateStore) Get(ctx context.Context, req *state.GetRequest) (*state.GetResponse, error)
- func (r *StateStore) GetComponentMetadata() map[string]string
- func (r *StateStore) Init(ctx context.Context, metadata state.Metadata) error
- func (r *StateStore) Ping(ctx context.Context) error
- func (r *StateStore) Set(ctx context.Context, req *state.SetRequest) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type StateStore ¶
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 ¶
func (r *StateStore) Get(ctx context.Context, req *state.GetRequest) (*state.GetResponse, error)
Get the state.
func (*StateStore) GetComponentMetadata ¶ added in v1.10.1
func (r *StateStore) GetComponentMetadata() map[string]string
func (*StateStore) Init ¶
Init the connection to blob storage, optionally creates a blob container if it doesn't exist.
func (*StateStore) Set ¶
func (r *StateStore) Set(ctx context.Context, req *state.SetRequest) error
Set the state.
Click to show internal directories.
Click to hide internal directories.