usecase

package
v1.0.0-next.6 Latest Latest
Warning

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

Go to latest
Published: May 18, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBackup

func NewBackup(
	backupRepo domain.BackupRepository,
	stateRepo domain.BackupStateRepo,
	logger domain.LogRepository,
	configRepo config.ConfigRepo,
) domain.BackupUsecase

func NewBackupList

func NewBackupList(
	stateRepo domain.BackupStateRepo,
	namingStrategy domain.SnapshotNamestrategy,
	renderRepo domain.RenderRepository,
) domain.BackupListUsecase

func NewBackupSync

func NewBackupSync(
	backupUsecase domain.BackupUsecase,
	snapshotRepo domain.SnapshotRepository,
	stateRepo domain.BackupStateRepo,
	naming domain.SnapshotNamestrategy,
	volumeRepo domain.VolumeRepository,
) domain.BackupSyncUsecase

func NewSnapshot

func NewSnapshot(
	snapRepo domain.SnapshotRepository,
	volumeRepo domain.VolumeRepository,
	logger domain.LogRepository,
) domain.SnapshotUsecase

func NewTrimUseCase

func NewTrimUseCase(
	logger domain.LogRepository,
	volumeRepo domain.VolumeRepository,
	stateRepo domain.BackupStateRepo,
	configRepo config.ConfigRepo,
	backupRepo domain.BackupRepository,
	snapshotRepo domain.SnapshotRepository,
) domain.TrimUsecase

func NewVolumeUsecase

func NewVolumeUsecase(volumeRepository domain.VolumeRepository, renderRepository domain.RenderRepository, snapUsecase domain.SnapshotUsecase) domain.VolumeUsecase

Types

This section is empty.

Jump to

Keyboard shortcuts

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