infrastructure

package
v0.0.0-...-833cb33 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 29, 2020 License: AGPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlobDynamoRepository

type BlobDynamoRepository struct {
	// contains filtered or unexported fields
}

func NewBlobDynamoRepository

func NewBlobDynamoRepository(logger log.Logger, cfg *config.Kernel) *BlobDynamoRepository

func (*BlobDynamoRepository) FetchByID

func (r *BlobDynamoRepository) FetchByID(ctx context.Context, id string) (*domain.Blob, error)

func (*BlobDynamoRepository) Remove

func (r *BlobDynamoRepository) Remove(ctx context.Context, id string) error

func (*BlobDynamoRepository) Save

func (r *BlobDynamoRepository) Save(ctx context.Context, blobRef domain.Blob) error

type BlobKafkaEvent

type BlobKafkaEvent struct {
	// contains filtered or unexported fields
}

func NewBlobKafkaEvent

func NewBlobKafkaEvent(cfg *config.Kernel) *BlobKafkaEvent

func (*BlobKafkaEvent) Removed

func (e *BlobKafkaEvent) Removed(ctx context.Context, rootID, service string) error

func (*BlobKafkaEvent) Uploaded

func (e *BlobKafkaEvent) Uploaded(ctx context.Context, blob domain.Blob, snapshot *domain.Blob) error

type BlobS3Storage

type BlobS3Storage struct {
	// contains filtered or unexported fields
}

func NewBlobS3Storage

func NewBlobS3Storage(logger log.Logger) *BlobS3Storage

func (*BlobS3Storage) Delete

func (s *BlobS3Storage) Delete(ctx context.Context, key, service string) error

func (*BlobS3Storage) Store

func (s *BlobS3Storage) Store(ctx context.Context, blobRef *domain.Blob) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL