Documentation ¶
Index ¶
- type File
- type FileInfo
- type SnapshotStorage
- func (s *SnapshotStorage) DeleteExpiredSnapshots(ctx context.Context, maxDays int, maxMonths int)
- func (s *SnapshotStorage) EphemeralUpload(ctx context.Context, filename, snapshotHeaderOutput string)
- func (s *SnapshotStorage) GetSnapshotItems(ctx context.Context) []snapshot.SnapshotItem
- func (s *SnapshotStorage) GetTodaySnapshotsItems(ctx context.Context) []snapshot.SnapshotItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct {
Name string
}
func (*File) HistoryMode ¶
func (f *File) HistoryMode() snapshot.HistoryModeType
func (*File) NetworkProtocol ¶
type SnapshotStorage ¶
type SnapshotStorage struct {
// contains filtered or unexported fields
}
func NewSnapshotStorage ¶
func NewSnapshotStorage(client *storage.Client, bucketName string) *SnapshotStorage
func (*SnapshotStorage) DeleteExpiredSnapshots ¶
func (s *SnapshotStorage) DeleteExpiredSnapshots(ctx context.Context, maxDays int, maxMonths int)
func (*SnapshotStorage) EphemeralUpload ¶
func (s *SnapshotStorage) EphemeralUpload(ctx context.Context, filename, snapshotHeaderOutput string)
func (*SnapshotStorage) GetSnapshotItems ¶
func (s *SnapshotStorage) GetSnapshotItems(ctx context.Context) []snapshot.SnapshotItem
func (*SnapshotStorage) GetTodaySnapshotsItems ¶
func (s *SnapshotStorage) GetTodaySnapshotsItems(ctx context.Context) []snapshot.SnapshotItem
Click to show internal directories.
Click to hide internal directories.