Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckInstallHandler ¶
func NewCheckInstall ¶
func NewCheckInstall(execIF exec.Interface, fs afero.Fs) CheckInstallHandler
type CheckInstallHandlerFunc ¶
func (CheckInstallHandlerFunc) CheckInstall ¶
func (f CheckInstallHandlerFunc) CheckInstall(ctx context.Context, name string) bool
type InstallHandler ¶
type InstallHandler interface {
Install(ctx context.Context, dryrun bool, p *InstallParams) error
}
func NewInstall ¶
func NewInstall(execIF exec.Interface, fs afero.Fs) InstallHandler
type InstallHandlerFunc ¶
type InstallHandlerFunc func(ctx context.Context, dryrun bool, p *InstallParams) error
func (InstallHandlerFunc) Install ¶
func (f InstallHandlerFunc) Install(ctx context.Context, dryrun bool, p *InstallParams) error
type InstallParams ¶
func (*InstallParams) String ¶
func (p *InstallParams) String() string
type UninstallHandler ¶
type UninstallHandler interface {
Uninstall(ctx context.Context, dryrun bool, p *UninstallParams) error
}
func NewUninstall ¶
func NewUninstall(execIF exec.Interface, fs afero.Fs) UninstallHandler
type UninstallHandlerFunc ¶
type UninstallHandlerFunc func(ctx context.Context, dryrun bool, p *UninstallParams) error
func (UninstallHandlerFunc) Uninstall ¶
func (f UninstallHandlerFunc) Uninstall(ctx context.Context, dryrun bool, p *UninstallParams) error
type UninstallParams ¶
type UninstallParams struct {
Name string
}
func (*UninstallParams) String ¶
func (p *UninstallParams) String() string
Click to show internal directories.
Click to hide internal directories.