server

package
v0.0.0-...-8f56799 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2024 License: EPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServer

func NewServer(name string) (server *services.Server)

Types

type ArchiveService

type ArchiveService struct {
}

func (*ArchiveService) GetArchiveById

func (s *ArchiveService) GetArchiveById(id int64) (*models.Archive, *services.AppError)

func (*ArchiveService) GetArchives

func (s *ArchiveService) GetArchives() ([]*models.Archive, *services.AppError)

func (*ArchiveService) NewArchive

func (s *ArchiveService) NewArchive() (*models.Archive, *services.AppError)

func (*ArchiveService) UpdateArchive

func (s *ArchiveService) UpdateArchive(archive *models.Archive) (*models.Archive, *services.AppError)

type BackupService

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

func (*BackupService) GetBackupById

func (s *BackupService) GetBackupById(id int64) (*models.Backup, *services.AppError)

func (*BackupService) GetBackups

func (s *BackupService) GetBackups() ([]*models.Backup, *services.AppError)

func (*BackupService) NewBackup

func (s *BackupService) NewBackup() (*models.Backup, *services.AppError)

func (*BackupService) UpdateBackup

func (s *BackupService) UpdateBackup(backup *models.Backup) (*models.Backup, *services.AppError)

type LogService

type LogService struct {
}

func (*LogService) GetLogById

func (s *LogService) GetLogById(id int64) (*models.Log, *services.AppError)

func (*LogService) NewLog

func (s *LogService) NewLog() (*models.Log, *services.AppError)

func (*LogService) UpdateLog

func (s *LogService) UpdateLog(logs *models.Log) (*models.Log, *services.AppError)

type QuotaService

type QuotaService struct {
}

func (*QuotaService) GetQuotas

func (s *QuotaService) GetQuotas() ([]*models.Quota, *services.AppError)

type RestorationService

type RestorationService struct {
}

func (*RestorationService) GetRestorationById

func (s *RestorationService) GetRestorationById(id int64) (*models.Restoration, *services.AppError)

func (*RestorationService) GetRestorations

func (s *RestorationService) GetRestorations() ([]*models.Restoration, *services.AppError)

func (*RestorationService) NewRestoration

func (s *RestorationService) NewRestoration(backup *models.Backup) (*models.Restoration, *services.AppError)

func (*RestorationService) UpdateRestoration

func (s *RestorationService) UpdateRestoration(restoration *models.Restoration) (*models.Restoration, *services.AppError)

type SynchronizationService

type SynchronizationService struct {
}

func (*SynchronizationService) NewSynchronization

func (s *SynchronizationService) NewSynchronization() (*models.Synchronization, *services.AppError)

func (*SynchronizationService) UpdateSynchronization

func (s *SynchronizationService) UpdateSynchronization(synchronization *models.Synchronization) (*models.Synchronization, *services.AppError)

type TransferService

type TransferService struct {
}

func (*TransferService) GetTransferById

func (s *TransferService) GetTransferById(id int64) (*models.Transfer, *services.AppError)

func (*TransferService) GetTransfers

func (s *TransferService) GetTransfers() ([]*models.Transfer, *services.AppError)

func (*TransferService) NewTransfer

func (s *TransferService) NewTransfer(backup *models.Backup) (*models.Transfer, *services.AppError)

func (*TransferService) UpdateTransfer

func (s *TransferService) UpdateTransfer(transfer *models.Transfer) (*models.Transfer, *services.AppError)

Jump to

Keyboard shortcuts

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