component: Rename and simplification

This commit is contained in:
Tom Wiesing 2022-10-18 09:17:25 +02:00
parent e320bb37bb
commit f7c8a43844
No known key found for this signature in database
26 changed files with 99 additions and 101 deletions

View file

@ -17,7 +17,7 @@ import (
// Exporter manages snapshots and backups
type Exporter struct {
component.ComponentBase
component.Base
SQL *sql.SQL
Instances *instances.Instances

View file

@ -9,7 +9,7 @@ import (
)
type Bookkeeping struct {
component.ComponentBase
component.Base
}
// SnapshotNeedsRunning returns if this Snapshotable requires a running instance.

View file

@ -8,7 +8,7 @@ import (
// Config implements backing up configuration
type Config struct {
component.ComponentBase
component.Base
}
func (*Config) BackupName() string {

View file

@ -7,7 +7,7 @@ import (
// Filesystem implements snapshotting an instnace filesystem
type Filesystem struct {
component.ComponentBase
component.Base
}
// SnapshotNeedsRunning returns if this Snapshotable requires a running instance.

View file

@ -9,7 +9,7 @@ import (
)
type Pathbuilders struct {
component.ComponentBase
component.Base
Instances *instances.Instances
}

View file

@ -10,7 +10,7 @@ import (
// Logger is responsible for logging backups and snapshots
type Logger struct {
component.ComponentBase
component.Base
SQL *sql.SQL
}