plugins

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

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 BackupFilePlugin added in v0.3.0

type BackupFilePlugin struct {
	// contains filtered or unexported fields
}

BackupFilePlugin implements the Plugin interface for backing up files

func NewBackupFilePlugin added in v0.3.0

func NewBackupFilePlugin() *BackupFilePlugin

NewBackupFilePlugin creates a new BackupFilePlugin

func (*BackupFilePlugin) Description added in v0.3.0

func (p *BackupFilePlugin) Description() string

Description returns the command description

func (*BackupFilePlugin) Execute added in v0.3.0

func (p *BackupFilePlugin) Execute(cfg *config.Config) error

Execute runs the backup dir command

func (*BackupFilePlugin) Name added in v0.3.0

func (p *BackupFilePlugin) Name() string

Name returns the command name

func (*BackupFilePlugin) SetupFlags added in v0.3.0

func (p *BackupFilePlugin) SetupFlags(cmd *cobra.Command)

SetupFlags adds custom flags to the 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 BackupPromptPlugin added in v0.3.0

type BackupPromptPlugin struct {
	// contains filtered or unexported fields
}

BackupPromptPlugin implements the Plugin interface for backing up prompts

func NewBackupPromptPlugin added in v0.3.0

func NewBackupPromptPlugin() *BackupPromptPlugin

NewBackupPromptPlugin creates a new BackupPromptPlugin

func (*BackupPromptPlugin) Description added in v0.3.0

func (p *BackupPromptPlugin) Description() string

Description returns the command description

func (*BackupPromptPlugin) Execute added in v0.3.0

func (p *BackupPromptPlugin) Execute(cfg *config.Config) error

Execute runs the backup prompt command

func (*BackupPromptPlugin) Name added in v0.3.0

func (p *BackupPromptPlugin) Name() string

Name returns the command name

func (*BackupPromptPlugin) SetupFlags added in v0.3.0

func (p *BackupPromptPlugin) SetupFlags(cmd *cobra.Command)

SetupFlags adds custom flags to the command

type BackupToolPlugin added in v0.3.0

type BackupToolPlugin struct {
	// contains filtered or unexported fields
}

BackupToolPlugin implements the Plugin interface for backing up tools

func NewBackupToolPlugin added in v0.3.0

func NewBackupToolPlugin() *BackupToolPlugin

NewBackupToolPlugin creates a new BackupToolPlugin

func (*BackupToolPlugin) Description added in v0.3.0

func (p *BackupToolPlugin) Description() string

Description returns the command description

func (*BackupToolPlugin) Execute added in v0.3.0

func (p *BackupToolPlugin) Execute(cfg *config.Config) error

Execute runs the backup tool command

func (*BackupToolPlugin) Name added in v0.3.0

func (p *BackupToolPlugin) Name() string

Name returns the command name

func (*BackupToolPlugin) SetupFlags added in v0.3.0

func (p *BackupToolPlugin) SetupFlags(cmd *cobra.Command)

SetupFlags adds custom flags to the 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 RestoreFilePlugin added in v0.3.0

type RestoreFilePlugin struct {
	// contains filtered or unexported fields
}

RestoreFilePlugin implements the Plugin interface for restoring files

func NewRestoreFilePlugin added in v0.3.0

func NewRestoreFilePlugin() *RestoreFilePlugin

NewRestoreFilePlugin creates a new RestoreFilePlugin

func (*RestoreFilePlugin) Description added in v0.3.0

func (p *RestoreFilePlugin) Description() string

Description returns the command description

func (*RestoreFilePlugin) Execute added in v0.3.0

func (p *RestoreFilePlugin) Execute(cfg *config.Config) error

Execute runs the restore dir command

func (*RestoreFilePlugin) Name added in v0.3.0

func (p *RestoreFilePlugin) Name() string

Name returns the command name

func (*RestoreFilePlugin) SetupFlags added in v0.3.0

func (p *RestoreFilePlugin) SetupFlags(cmd *cobra.Command)

SetupFlags adds custom flags to the 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)

type RestorePromptPlugin added in v0.3.0

type RestorePromptPlugin struct {
	// contains filtered or unexported fields
}

RestorePromptPlugin implements the Plugin interface for restoring prompts

func NewRestorePromptPlugin added in v0.3.0

func NewRestorePromptPlugin() *RestorePromptPlugin

NewRestorePromptPlugin creates a new RestorePromptPlugin

func (*RestorePromptPlugin) Description added in v0.3.0

func (p *RestorePromptPlugin) Description() string

Description returns the command description

func (*RestorePromptPlugin) Execute added in v0.3.0

func (p *RestorePromptPlugin) Execute(cfg *config.Config) error

Execute runs the restore prompt command

func (*RestorePromptPlugin) Name added in v0.3.0

func (p *RestorePromptPlugin) Name() string

Name returns the command name

func (*RestorePromptPlugin) SetupFlags added in v0.3.0

func (p *RestorePromptPlugin) SetupFlags(cmd *cobra.Command)

SetupFlags adds custom flags to the command

type RestoreToolPlugin added in v0.3.0

type RestoreToolPlugin struct {
	// contains filtered or unexported fields
}

RestoreToolPlugin implements the Plugin interface for restoring tools

func NewRestoreToolPlugin added in v0.3.0

func NewRestoreToolPlugin() *RestoreToolPlugin

NewRestoreToolPlugin creates a new RestoreToolPlugin

func (*RestoreToolPlugin) Description added in v0.3.0

func (p *RestoreToolPlugin) Description() string

Description returns the command description

func (*RestoreToolPlugin) Execute added in v0.3.0

func (p *RestoreToolPlugin) Execute(cfg *config.Config) error

Execute runs the restore tool command

func (*RestoreToolPlugin) Name added in v0.3.0

func (p *RestoreToolPlugin) Name() string

Name returns the command name

func (*RestoreToolPlugin) SetupFlags added in v0.3.0

func (p *RestoreToolPlugin) SetupFlags(cmd *cobra.Command)

SetupFlags adds custom flags to the command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL