component: Rename and simplification
This commit is contained in:
parent
e320bb37bb
commit
f7c8a43844
26 changed files with 99 additions and 101 deletions
|
|
@ -17,7 +17,7 @@ import (
|
|||
|
||||
// Exporter manages snapshots and backups
|
||||
type Exporter struct {
|
||||
component.ComponentBase
|
||||
component.Base
|
||||
|
||||
SQL *sql.SQL
|
||||
Instances *instances.Instances
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import (
|
|||
)
|
||||
|
||||
type Bookkeeping struct {
|
||||
component.ComponentBase
|
||||
component.Base
|
||||
}
|
||||
|
||||
// SnapshotNeedsRunning returns if this Snapshotable requires a running instance.
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ import (
|
|||
|
||||
// Config implements backing up configuration
|
||||
type Config struct {
|
||||
component.ComponentBase
|
||||
component.Base
|
||||
}
|
||||
|
||||
func (*Config) BackupName() string {
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import (
|
|||
)
|
||||
|
||||
type Pathbuilders struct {
|
||||
component.ComponentBase
|
||||
component.Base
|
||||
Instances *instances.Instances
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ import (
|
|||
|
||||
// Logger is responsible for logging backups and snapshots
|
||||
type Logger struct {
|
||||
component.ComponentBase
|
||||
component.Base
|
||||
|
||||
SQL *sql.SQL
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue