Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackupAllPlugin ¶ added in v0.2.0
type BackupAllPlugin struct {
// contains filtered or unexported fields
}
func NewBackupAllPlugin ¶ added in v0.2.0
func NewBackupAllPlugin() *BackupAllPlugin
func (*BackupAllPlugin) Description ¶ added in v0.2.0
func (p *BackupAllPlugin) Description() string
Description returns a short description of the plugin
func (*BackupAllPlugin) Execute ¶ added in v0.2.0
func (p *BackupAllPlugin) Execute(cfg *config.Config) error
Execute runs the plugin with the given configuration
func (*BackupAllPlugin) Name ¶ added in v0.2.0
func (p *BackupAllPlugin) Name() string
Name returns the name of the plugin (used as command name)
func (*BackupAllPlugin) SetupFlags ¶ added in v0.2.0
func (p *BackupAllPlugin) SetupFlags(cmd *cobra.Command)
type BackupKnowledgePlugin ¶
type BackupKnowledgePlugin struct {
// contains filtered or unexported fields
}
BackupKnowledgePlugin implements the Plugin interface for backing up knowledge
func NewBackupKnowledgePlugin ¶
func NewBackupKnowledgePlugin() *BackupKnowledgePlugin
NewBackupKnowledgePlugin creates a new BackupKnowledgePlugin
func (*BackupKnowledgePlugin) Description ¶
func (p *BackupKnowledgePlugin) Description() string
Description returns the command description
func (*BackupKnowledgePlugin) Execute ¶
func (p *BackupKnowledgePlugin) Execute(cfg *config.Config) error
Execute runs the backup knowledge command
func (*BackupKnowledgePlugin) Name ¶
func (p *BackupKnowledgePlugin) Name() string
Name returns the command name
func (*BackupKnowledgePlugin) SetupFlags ¶
func (p *BackupKnowledgePlugin) SetupFlags(cmd *cobra.Command)
SetupFlags adds custom flags to the command
type BackupModelPlugin ¶ added in v0.2.0
type BackupModelPlugin struct {
// contains filtered or unexported fields
}
func NewBackupModelPlugin ¶ added in v0.2.0
func NewBackupModelPlugin() *BackupModelPlugin
func (*BackupModelPlugin) Description ¶ added in v0.2.0
func (p *BackupModelPlugin) Description() string
Description returns a short description of the plugin
func (*BackupModelPlugin) Execute ¶ added in v0.2.0
func (p *BackupModelPlugin) Execute(cfg *config.Config) error
Execute runs the plugin with the given configuration
func (*BackupModelPlugin) Name ¶ added in v0.2.0
func (p *BackupModelPlugin) Name() string
Name returns the name of the plugin (used as command name)
func (*BackupModelPlugin) SetupFlags ¶ added in v0.2.0
func (p *BackupModelPlugin) SetupFlags(cmd *cobra.Command)
type RestoreAllPlugin ¶ added in v0.2.0
type RestoreAllPlugin struct {
// contains filtered or unexported fields
}
func NewRestoreAllPlugin ¶ added in v0.2.0
func NewRestoreAllPlugin() *RestoreAllPlugin
func (*RestoreAllPlugin) Description ¶ added in v0.2.0
func (p *RestoreAllPlugin) Description() string
Description returns a short description of the plugin
func (*RestoreAllPlugin) Execute ¶ added in v0.2.0
func (p *RestoreAllPlugin) Execute(cfg *config.Config) error
Execute runs the plugin with the given configuration
func (*RestoreAllPlugin) Name ¶ added in v0.2.0
func (p *RestoreAllPlugin) Name() string
Name returns the name of the plugin (used as command name)
func (*RestoreAllPlugin) SetupFlags ¶ added in v0.2.0
func (p *RestoreAllPlugin) SetupFlags(cmd *cobra.Command)
type RestoreKnowledgePlugin ¶
type RestoreKnowledgePlugin struct {
// contains filtered or unexported fields
}
RestoreKnowledgePlugin implements the Plugin interface for restoring knowledge
func NewRestoreKnowledgePlugin ¶
func NewRestoreKnowledgePlugin() *RestoreKnowledgePlugin
NewRestoreKnowledgePlugin creates a new RestoreKnowledgePlugin
func (*RestoreKnowledgePlugin) Description ¶
func (p *RestoreKnowledgePlugin) Description() string
Description returns the command description
func (*RestoreKnowledgePlugin) Execute ¶
func (p *RestoreKnowledgePlugin) Execute(cfg *config.Config) error
Execute runs the restore knowledge command
func (*RestoreKnowledgePlugin) Name ¶
func (p *RestoreKnowledgePlugin) Name() string
Name returns the command name
func (*RestoreKnowledgePlugin) SetupFlags ¶
func (p *RestoreKnowledgePlugin) SetupFlags(cmd *cobra.Command)
SetupFlags adds custom flags to the command
type RestoreModelPlugin ¶ added in v0.2.0
type RestoreModelPlugin struct {
// contains filtered or unexported fields
}
func NewRestoreModelPlugin ¶ added in v0.2.0
func NewRestoreModelPlugin() *RestoreModelPlugin
func (*RestoreModelPlugin) Description ¶ added in v0.2.0
func (p *RestoreModelPlugin) Description() string
Description returns a short description of the plugin
func (*RestoreModelPlugin) Execute ¶ added in v0.2.0
func (p *RestoreModelPlugin) Execute(cfg *config.Config) error
Execute runs the plugin with the given configuration
func (*RestoreModelPlugin) Name ¶ added in v0.2.0
func (p *RestoreModelPlugin) Name() string
Name returns the name of the plugin (used as command name)
func (*RestoreModelPlugin) SetupFlags ¶ added in v0.2.0
func (p *RestoreModelPlugin) SetupFlags(cmd *cobra.Command)