Documentation ¶
Index ¶
- type CheckInstallHandler
- type CheckInstallHandlerFunc
- type CommandHandler
- type CommandHandlerFunc
- type CommandParams
- type CreateDirectoryHandler
- type CreateDirectoryHandlerFunc
- type CreateDirectoryParams
- type FileCopyHandler
- type FileCopyHandlerFunc
- type FileCopyParams
- type FileMoveHandler
- type FileMoveHandlerFunc
- type FileMoveParams
- type FishSetPathHandler
- type FishSetPathHandlerFunc
- type FishSetPathParams
- type FishSetVariableHandler
- type FishSetVariableHandlerFunc
- type FishSetVariableParams
- type FishVariableScope
- type HTTPRequestHandler
- type HTTPRequestHandlerFunc
- type HTTPRequestParams
- type InstallHandler
- type InstallHandlerFunc
- type InstallParams
- type SymlinkHandler
- type SymlinkHandlerFunc
- type SymlinkParams
- type UninstallHandler
- type UninstallHandlerFunc
- type UninstallParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckInstallHandler ¶
type CheckInstallHandlerFunc ¶
func (CheckInstallHandlerFunc) CheckInstall ¶
func (f CheckInstallHandlerFunc) CheckInstall(ctx context.Context, name string) bool
type CommandHandler ¶
type CommandHandler interface {
Command(ctx context.Context, dryrun bool, p *CommandParams) error
}
type CommandHandlerFunc ¶
type CommandHandlerFunc func(ctx context.Context, dryrun bool, p *CommandParams) error
func (CommandHandlerFunc) Command ¶
func (f CommandHandlerFunc) Command(ctx context.Context, dryrun bool, p *CommandParams) error
type CommandParams ¶
type CreateDirectoryHandler ¶ added in v0.0.10
type CreateDirectoryHandler interface {
CreateDirectory(ctx context.Context, dryrun bool, p *CreateDirectoryParams) error
}
type CreateDirectoryHandlerFunc ¶ added in v0.0.10
type CreateDirectoryHandlerFunc func(ctx context.Context, dryrun bool, p *CreateDirectoryParams) error
func (CreateDirectoryHandlerFunc) FileExists ¶ added in v0.0.10
func (f CreateDirectoryHandlerFunc) FileExists(ctx context.Context, dryrun bool, p *CreateDirectoryParams) error
type CreateDirectoryParams ¶ added in v0.0.10
type FileCopyHandler ¶
type FileCopyHandler interface {
FileCopy(ctx context.Context, dryrun bool, p *FileCopyParams) error
}
type FileCopyHandlerFunc ¶
type FileCopyHandlerFunc func(ctx context.Context, dryrun bool, p *FileCopyParams) error
func (FileCopyHandlerFunc) FileCopy ¶
func (f FileCopyHandlerFunc) FileCopy(ctx context.Context, dryrun bool, p *FileCopyParams) error
type FileMoveHandler ¶
type FileMoveHandler interface {
FileMove(ctx context.Context, dryrun bool, p *FileMoveParams) error
}
type FileMoveHandlerFunc ¶
type FileMoveHandlerFunc func(ctx context.Context, dryrun bool, p *FileMoveParams) error
func (FileMoveHandlerFunc) FileMove ¶
func (f FileMoveHandlerFunc) FileMove(ctx context.Context, dryrun bool, p *FileMoveParams) error
type FileMoveParams ¶
type FishSetPathHandler ¶
type FishSetPathHandler interface {
FishSetPath(ctx context.Context, dryrun bool, p *FishSetPathParams) error
}
type FishSetPathHandlerFunc ¶
type FishSetPathHandlerFunc func(ctx context.Context, dryrun bool, p *FishSetPathParams) error
func (FishSetPathHandlerFunc) FishSetPath ¶
func (f FishSetPathHandlerFunc) FishSetPath(ctx context.Context, dryrun bool, p *FishSetPathParams) error
type FishSetPathParams ¶
type FishSetPathParams struct {
Values []string
}
type FishSetVariableHandler ¶
type FishSetVariableHandler interface {
FishSetVariable(ctx context.Context, dryrun bool, p *FishSetVariableParams) error
}
type FishSetVariableHandlerFunc ¶
type FishSetVariableHandlerFunc func(ctx context.Context, dryrun bool, p *FishSetVariableParams) error
func (FishSetVariableHandlerFunc) FishSetVariable ¶
func (f FishSetVariableHandlerFunc) FishSetVariable(ctx context.Context, dryrun bool, p *FishSetVariableParams) error
type FishSetVariableParams ¶
type FishSetVariableParams struct { Name string Value string Scope FishVariableScope Export bool }
type FishVariableScope ¶
type FishVariableScope int
const ( FishVariableUniversalScope FishVariableScope = iota + 1 FishVariableGlobalScope FishVariableLocalScope )
type HTTPRequestHandler ¶
type HTTPRequestHandler interface {
HTTPRequest(ctx context.Context, dryrun bool, p *HTTPRequestParams) error
}
type HTTPRequestHandlerFunc ¶
type HTTPRequestHandlerFunc func(ctx context.Context, dryrun bool, p *HTTPRequestParams) error
func (HTTPRequestHandlerFunc) HTTPRequest ¶
func (f HTTPRequestHandlerFunc) HTTPRequest(ctx context.Context, dryrun bool, p *HTTPRequestParams) error
type HTTPRequestParams ¶
type InstallHandler ¶
type InstallHandler interface {
Install(ctx context.Context, dryrun bool, p *InstallParams) error
}
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 ¶
type SymlinkHandler ¶
type SymlinkHandler interface {
Symlink(ctx context.Context, dryrun bool, p *SymlinkParams) error
}
type SymlinkHandlerFunc ¶
type SymlinkHandlerFunc func(ctx context.Context, dryrun bool, p *SymlinkParams) error
func (SymlinkHandlerFunc) Symlink ¶
func (f SymlinkHandlerFunc) Symlink(ctx context.Context, dryrun bool, p *SymlinkParams) error
type SymlinkParams ¶
type UninstallHandler ¶
type UninstallHandler interface {
Uninstall(ctx context.Context, dryrun bool, p *UninstallParams) error
}
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
}
Click to show internal directories.
Click to hide internal directories.