handlers

package
v0.0.16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 2, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArchPkgCheckInstallHandler added in v0.0.13

type ArchPkgCheckInstallHandler interface {
	CheckInstall(ctx context.Context, name string) bool
}

func NewArchPkgCheckInstallHandler added in v0.0.13

func NewArchPkgCheckInstallHandler(execIF exec.Interface) ArchPkgCheckInstallHandler

type ArchPkgInstallHandler added in v0.0.13

type ArchPkgInstallHandler interface {
	Install(ctx context.Context, dryrun bool, p *ArchPkgInstallParams) error
}

func NewArchPkgInstallHandler added in v0.0.13

func NewArchPkgInstallHandler(execIF exec.Interface) ArchPkgInstallHandler

type ArchPkgInstallParams added in v0.0.13

type ArchPkgInstallParams struct {
	Name   string
	Option string
	Cmd    string
}

func (*ArchPkgInstallParams) String added in v0.0.13

func (p *ArchPkgInstallParams) String() string

type ArchPkgUninstallHandler added in v0.0.13

type ArchPkgUninstallHandler interface {
	Uninstall(ctx context.Context, dryrun bool, p *ArchPkgUninstallParams) error
}

func NewArchPkgUninstallHandler added in v0.0.13

func NewArchPkgUninstallHandler(execIF exec.Interface) ArchPkgUninstallHandler

type ArchPkgUninstallParams added in v0.0.13

type ArchPkgUninstallParams struct {
	Name string
	Cmd  string
}

func (*ArchPkgUninstallParams) String added in v0.0.13

func (p *ArchPkgUninstallParams) String() string

type DarwinPkgCheckInstallHandler added in v0.0.13

type DarwinPkgCheckInstallHandler interface {
	CheckInstall(ctx context.Context, name string) bool
}

func NewDarwinPkgCheckInstallHandler added in v0.0.13

func NewDarwinPkgCheckInstallHandler(execIF exec.Interface, fs afero.Fs) DarwinPkgCheckInstallHandler

type DarwinPkgInstallHandler added in v0.0.13

type DarwinPkgInstallHandler interface {
	Install(ctx context.Context, dryrun bool, p *DarwinPkgInstallParams) error
}

func NewDarwinPkgInstallHandler added in v0.0.13

func NewDarwinPkgInstallHandler(execIF exec.Interface, fs afero.Fs) DarwinPkgInstallHandler

type DarwinPkgInstallParams added in v0.0.13

type DarwinPkgInstallParams struct {
	Name   string
	Option string
	Cask   bool
	Cmd    string
}

type DarwinPkgUninstallHandler added in v0.0.13

type DarwinPkgUninstallHandler interface {
	Uninstall(ctx context.Context, dryrun bool, p *DarwinPkgUninstallParams) error
}

func NewDarwinPkgUninstallHandler added in v0.0.13

func NewDarwinPkgUninstallHandler(execIF exec.Interface, fs afero.Fs) DarwinPkgUninstallHandler

type DarwinPkgUninstallParams added in v0.0.13

type DarwinPkgUninstallParams struct {
	Name string
	Cask bool
	Cmd  string
}

Directories

Path Synopsis
Package mock_handlers is a generated GoMock package.
Package mock_handlers is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL