Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JsonPathMatch ¶
Types ¶
type DeleteOption ¶
type DeleteRequest ¶
type DeleteRequest struct { ID string `json:"id"` ETag *string `json:"etag,omitempty"` Metadata map[string]interface{} `json:"metadata"` Options DeleteOption `json:"options,omitempty"` }
type GetOption ¶
type GetOption struct {
Consistency string `json:"consistency"` //eventual or strong
}
type GetRequest ¶
type IStateProvider ¶
type IStateProvider interface { Init(config providers.IProviderConfig) error Upsert(context.Context, UpsertRequest) (string, error) Delete(context.Context, DeleteRequest) error Get(context.Context, GetRequest) (StateEntry, error) List(context.Context, ListRequest) ([]StateEntry, string, error) SetContext(context *contexts.ManagerContext) }
type ListRequest ¶
type StateEntry ¶
type UpsertOption ¶
type UpsertRequest ¶
type UpsertRequest struct { Value StateEntry `json:"value"` ETag *string `json:"etag,omitempty"` Metadata map[string]interface{} `json:"metadata"` Options UpsertOption `json:"options,omitempty"` }
Click to show internal directories.
Click to hide internal directories.