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, fs afero.Fs) CheckInstallHandler
type CheckInstallHandlerFunc ¶
type InstallHandler ¶
type InstallHandler interface {
Run(ctx context.Context, dryrun bool, p *InstallParams) (err error)
}
func NewInstall ¶
func NewInstall(checkInstall CheckInstallHandler, 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 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 ¶
Click to show internal directories.
Click to hide internal directories.