Documentation
¶
Index ¶
- Variables
- type Store
- func (s *Store) GetInvocation(ctx context.Context, task cid.Cid) (invocation.Invocation, error)
- func (s *Store) GetReceipt(ctx context.Context, task cid.Cid) (receipt.AnyReceipt, error)
- func (s *Store) Initialize(ctx context.Context) error
- func (s *Store) Shutdown(ctx context.Context) error
- func (s *Store) Write(ctx context.Context, message message.AgentMessage, index []agent.IndexEntry, ...) error
Constants ¶
This section is empty.
Variables ¶
View Source
var DynamoAgentTableProps = struct { KeySchema []types.KeySchemaElement Attributes []types.AttributeDefinition }{ KeySchema: []types.KeySchemaElement{ { AttributeName: aws.String("taskkind"), KeyType: types.KeyTypeHash, }, { AttributeName: aws.String("identifier"), KeyType: types.KeyTypeRange, }, }, Attributes: []types.AttributeDefinition{ { AttributeName: aws.String("taskkind"), AttributeType: types.ScalarAttributeTypeS, }, { AttributeName: aws.String("identifier"), AttributeType: types.ScalarAttributeTypeS, }, }, }
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) GetInvocation ¶
func (s *Store) GetInvocation(ctx context.Context, task cid.Cid) (invocation.Invocation, error)
func (*Store) GetReceipt ¶
func (*Store) Initialize ¶
Initialize creates the DynamoDB table and S3 bucket if they do not already exist.
Click to show internal directories.
Click to hide internal directories.