Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Checkpoint ¶
Checkpoint - represents a row in Azure Table
func NewCheckpoint ¶
func NewCheckpoint(partitionKey, rowKey string) *Checkpoint
NewCheckpoint creates a new instance of Checkpoint
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
Config contains information required to connect to Azure Table
type Table ¶
type Table struct {
// contains filtered or unexported fields
}
Table interacts with Azure Table to manage state checkpoints.
func NewCheckpointTable ¶
func NewCheckpointTable(accountName, accountKey, checkpointsTableName string, timeout uint) (*Table, error)
NewCheckpointTable creates a new instance of CheckpointsTable. During initialization the table will be created if it doesn't already exist.
func (*Table) CreateOrUpdateCheckpoint ¶
func (ct *Table) CreateOrUpdateCheckpoint(checkpoint *Checkpoint) error
CreateOrUpdateCheckpoint creates or updates checkpoint in checkpoints table
func (*Table) GetCheckpoint ¶
func (ct *Table) GetCheckpoint(partitionKey, rowKey string) (*Checkpoint, error)
GetCheckpoint gets checkpoint from checkpoints table
func (*Table) UpdateCheckpoint ¶
UpdateCheckpoint updates etag and index on checkpoint identified by partition key and row key.
Click to show internal directories.
Click to hide internal directories.