Documentation ¶
Overview ¶
Package state implements state capabilties for integrations
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Persistence ¶
type Persistence interface { Exists(context.Context, string) (bool, error) Add(context.Context, string, interface{}) error Rm(context.Context, string) error Get(context.Context, string, interface{}) error }
Persistence is an interface for state management
type S3State ¶
type S3State struct {
// contains filtered or unexported fields
}
S3State implements Persistence using AWS S3 as a backend
func NewS3State ¶
NewS3State creates a new S3State Persistence object
Click to show internal directories.
Click to hide internal directories.