Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckInstallHandler ¶
func NewCheckInstall ¶
func NewCheckInstall(exc exec.Interface) CheckInstallHandler
type CheckInstallHandlerFunc ¶
type InstallHandler ¶
type InstallHandler interface {
Run(ctx context.Context, dryrun bool, p *InstallParams) (err error)
}
func NewInstall ¶
func NewInstall(checkInstall CheckInstallHandler, executable command.ExecutableHandler, exc exec.Interface) InstallHandler
type InstallHandlerFunc ¶
type InstallHandlerFunc func(ctx context.Context, dryrun bool, p *InstallParams) error
func (InstallHandlerFunc) Run ¶
func (f InstallHandlerFunc) Run(ctx context.Context, dryrun bool, p *InstallParams) error
type InstallParams ¶
type MultipleInstallHandler ¶
type MultipleInstallHandler interface {
Run(ctx context.Context, dryrun bool, p *MultipleInstallParams) (err error)
}
func NewMultipleInstall ¶
func NewMultipleInstall(executable command.ExecutableHandler, exc exec.Interface) MultipleInstallHandler
type MultipleInstallHandlerFunc ¶
type MultipleInstallHandlerFunc func(ctx context.Context, dryrun bool, p *MultipleInstallParams) error
func (MultipleInstallHandlerFunc) Run ¶
func (f MultipleInstallHandlerFunc) Run(ctx context.Context, dryrun bool, p *MultipleInstallParams) error
type MultipleInstallParams ¶
type MultipleInstallParams struct {
Names []string
}
type UninstallHandler ¶
type UninstallHandler interface {
Run(ctx context.Context, dryrun bool, p *UninstallParams) (err error)
}
func NewUninstall ¶
func NewUninstall(checkInstall CheckInstallHandler, exc exec.Interface) UninstallHandler
type UninstallHandlerFunc ¶
type UninstallHandlerFunc func(ctx context.Context, dryrun bool, p *UninstallParams) error
func (UninstallHandlerFunc) Run ¶
func (f UninstallHandlerFunc) Run(ctx context.Context, dryrun bool, p *UninstallParams) error
type UninstallParams ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.