Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ActivateManager ¶
type ActivateManager struct {
// contains filtered or unexported fields
}
ActivateManager is an extension manater to manage tag activation process
func NewActivateManager ¶
func NewActivateManager(manifester model.Manifester, verbose bool) (*ActivateManager, error)
NewActivateManager initializes activate manager
func (*ActivateManager) Activate ¶
func (a *ActivateManager) Activate(commandName, tagName string) error
Activate activates the tag for an extension specified by the command name
type InstallManager ¶
type InstallManager struct {
// contains filtered or unexported fields
}
InstallManager is an extension manager to manage installation process
func NewInstallManager ¶
func NewInstallManager( manifester model.Manifester, assetOperator model.AssetOperator, verbose bool, reservedCommandNames ...string, ) (*InstallManager, error)
NewInstallManager initializes install manager
type RenameManager ¶
type RenameManager struct {
// contains filtered or unexported fields
}
RenameManager is an extension manater to manage command rename process
func NewRenameManager ¶
func NewRenameManager( manifester model.Manifester, verbose bool, reservedCommandNames ...string, ) (*RenameManager, error)
NewRenameManager initializes rename manager
func (*RenameManager) Rename ¶
func (r *RenameManager) Rename(sourceCommandName, targetCommandName string) error
Rename renames an existing command name into a targeted command name
type RunManager ¶
type RunManager struct {
// contains filtered or unexported fields
}
RunManager is an extension manager to manage run operation
func NewRunManager ¶
func NewRunManager( manifester model.Manifester, assetOperator model.AssetOperator, verbose bool, ) (*RunManager, error)
NewRunManager initializes run manager
type UninstallManager ¶
type UninstallManager struct {
// contains filtered or unexported fields
}
UninstallManager is an extension manager to manage uninstallation process
func NewUninstallManager ¶
func NewUninstallManager( manifester model.Manifester, assetOperator model.AssetOperator, verbose bool, ) (*UninstallManager, error)
NewUninstallManager initializes uninstall manager
func (*UninstallManager) Uninstall ¶
func (u *UninstallManager) Uninstall(commandName, tagName string) error
Uninstall uninstalls extension based on the command name and the tag
type UpgradeManager ¶
type UpgradeManager struct {
// contains filtered or unexported fields
}
UpgradeManager is an extension manager to manage upgrade process
func NewUpgradeManager ¶
func NewUpgradeManager( manifester model.Manifester, assetOperator model.AssetOperator, verbose bool, ) (*UpgradeManager, error)
NewUpgradeManager initializes upgrade manager