Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackupPlugin ¶ added in v0.4.0
type BackupPlugin struct {
// contains filtered or unexported fields
}
func NewBackupPlugin ¶ added in v0.4.0
func NewBackupPlugin() *BackupPlugin
func (*BackupPlugin) Description ¶ added in v0.4.0
func (p *BackupPlugin) Description() string
Description returns a short description of the plugin
func (*BackupPlugin) Execute ¶ added in v0.4.0
func (p *BackupPlugin) Execute(cfg *config.Config) error
Execute runs the plugin with the given configuration
func (*BackupPlugin) Name ¶ added in v0.4.0
func (p *BackupPlugin) Name() string
Name returns the name of the plugin (used as command name)
func (*BackupPlugin) SetupFlags ¶ added in v0.4.0
func (p *BackupPlugin) SetupFlags(cmd *cobra.Command)
type PurgePlugin ¶ added in v0.4.0
type PurgePlugin struct {
// contains filtered or unexported fields
}
func NewPurgePlugin ¶ added in v0.4.0
func NewPurgePlugin() *PurgePlugin
func (*PurgePlugin) Description ¶ added in v0.4.0
func (p *PurgePlugin) Description() string
Description returns a short description of the plugin
func (*PurgePlugin) Execute ¶ added in v0.4.0
func (p *PurgePlugin) Execute(cfg *config.Config) error
Execute runs the plugin with the given configuration
func (*PurgePlugin) Name ¶ added in v0.4.0
func (p *PurgePlugin) Name() string
Name returns the name of the plugin (used as command name)
func (*PurgePlugin) SetupFlags ¶ added in v0.4.0
func (p *PurgePlugin) SetupFlags(cmd *cobra.Command)
type RestorePlugin ¶ added in v0.4.0
type RestorePlugin struct {
// contains filtered or unexported fields
}
func NewRestorePlugin ¶ added in v0.4.0
func NewRestorePlugin() *RestorePlugin
func (*RestorePlugin) Description ¶ added in v0.4.0
func (p *RestorePlugin) Description() string
Description returns a short description of the plugin
func (*RestorePlugin) Execute ¶ added in v0.4.0
func (p *RestorePlugin) Execute(cfg *config.Config) error
Execute runs the plugin with the given configuration
func (*RestorePlugin) Name ¶ added in v0.4.0
func (p *RestorePlugin) Name() string
Name returns the name of the plugin (used as command name)
func (*RestorePlugin) SetupFlags ¶ added in v0.4.0
func (p *RestorePlugin) SetupFlags(cmd *cobra.Command)
Click to show internal directories.
Click to hide internal directories.