jobs

package
v0.0.0-...-55f5305 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BucketDeletion

type BucketDeletion struct {
	BucketId string `json:"bucket_id"`
}

func (BucketDeletion) Kind

func (BucketDeletion) Kind() string

type BucketDeletionWorker

type BucketDeletionWorker struct {
	river.WorkerDefaults[BucketDeletion]
	// contains filtered or unexported fields
}

func NewBucketDeletionWorker

func NewBucketDeletionWorker(db *pgxpool.Pool, storage *storage.Storage, logger *zap.Logger) *BucketDeletionWorker

func (*BucketDeletionWorker) Work

func (w *BucketDeletionWorker) Work(ctx context.Context, bucketDeletion *river.Job[BucketDeletion]) error

type BucketEmptying

type BucketEmptying struct {
	BucketId string `json:"bucket_id"`
}

func (BucketEmptying) Kind

func (BucketEmptying) Kind() string

type BucketEmptyingWorker

type BucketEmptyingWorker struct {
	river.WorkerDefaults[BucketEmptying]
	// contains filtered or unexported fields
}

func NewBucketEmptyingWorker

func NewBucketEmptyingWorker(db *pgxpool.Pool, storage *storage.Storage, logger *zap.Logger) *BucketEmptyingWorker

func (*BucketEmptyingWorker) Work

func (w *BucketEmptyingWorker) Work(ctx context.Context, bucketEmpty *river.Job[BucketEmptying]) error

type ObjectDeletion

type ObjectDeletion struct {
	ObjectId string `json:"object_id"`
}

func (ObjectDeletion) Kind

func (ObjectDeletion) Kind() string

type ObjectDeletionWorker

type ObjectDeletionWorker struct {
	river.WorkerDefaults[ObjectDeletion]
	// contains filtered or unexported fields
}

func NewObjectDeletionWorker

func NewObjectDeletionWorker(db *pgxpool.Pool, storage *storage.Storage, logger *zap.Logger) *ObjectDeletionWorker

func (*ObjectDeletionWorker) Work

func (w *ObjectDeletionWorker) Work(ctx context.Context, objectDeletion *river.Job[ObjectDeletion]) error

type PreSignedUploadSessionCompletion

type PreSignedUploadSessionCompletion struct {
	ObjectId string `json:"object_id"`
}

func (PreSignedUploadSessionCompletion) Kind

type PreSignedUploadSessionCompletionWorker

type PreSignedUploadSessionCompletionWorker struct {
	river.WorkerDefaults[PreSignedUploadSessionCompletion]
	// contains filtered or unexported fields
}

func NewPreSignedUploadSessionCompletionWorker

func NewPreSignedUploadSessionCompletionWorker(db *pgxpool.Pool, storage *storage.Storage, logger *zap.Logger) *PreSignedUploadSessionCompletionWorker

func (*PreSignedUploadSessionCompletionWorker) Work

Jump to

Keyboard shortcuts

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