Help us shape the future of Go! Take the 2026 Go Developer Survey

task

package
v0.24.3 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2024 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlobStoreMigrator

type BlobStoreMigrator interface {
	Count(ctx context.Context) (int, error)
	FindBlobs(ctx context.Context, n uint, lastChecksum string) ([]string, error)
	MigrateBlob(ctx context.Context, checksum string, deleteOld bool) error
}

type InstallPackagesJob added in v0.24.0

type InstallPackagesJob struct {
	PackagesJob
	Packages []*models.PackageSpecInput
}

func (*InstallPackagesJob) Execute added in v0.24.0

func (j *InstallPackagesJob) Execute(ctx context.Context, progress *job.Progress)

type MigrateBlobsJob

type MigrateBlobsJob struct {
	TxnManager txn.Manager
	BlobStore  BlobStoreMigrator
	Vacuumer   Vacuumer
	DeleteOld  bool
}

func (*MigrateBlobsJob) Execute

func (j *MigrateBlobsJob) Execute(ctx context.Context, progress *job.Progress)

type MigrateSceneScreenshotsJob

type MigrateSceneScreenshotsJob struct {
	ScreenshotsPath string
	Input           scene.MigrateSceneScreenshotsInput
	SceneRepo       scene.HashFinderCoverUpdater
	TxnManager      txn.Manager
}

func (*MigrateSceneScreenshotsJob) Execute

func (j *MigrateSceneScreenshotsJob) Execute(ctx context.Context, progress *job.Progress)

type PackagesJob added in v0.24.0

type PackagesJob struct {
	PackageManager *pkg.Manager
	OnComplete     func()
}

type UninstallPackagesJob added in v0.24.0

type UninstallPackagesJob struct {
	PackagesJob
	Packages []*models.PackageSpecInput
}

func (*UninstallPackagesJob) Execute added in v0.24.0

func (j *UninstallPackagesJob) Execute(ctx context.Context, progress *job.Progress)

type UpdatePackagesJob added in v0.24.0

type UpdatePackagesJob struct {
	PackagesJob
	Packages []*models.PackageSpecInput
}

func (*UpdatePackagesJob) Execute added in v0.24.0

func (j *UpdatePackagesJob) Execute(ctx context.Context, progress *job.Progress)

type Vacuumer

type Vacuumer interface {
	Vacuum(ctx context.Context) error
}

Jump to

Keyboard shortcuts

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