Documentation ¶
Index ¶
- type Executor
- func (e *Executor) Exec(ctx context.Context, exePath string, args ...string) (int, error)
- func (e *Executor) ExecCommand(cmd *exec.Cmd) (int, error)
- func (e *Executor) ExecWithEnvs(ctx context.Context, exePath string, args, envs []string) (int, error)
- func (e *Executor) ExecWithEnvsAndGetCombinedOutput(ctx context.Context, exePath string, args, envs []string) (string, int, error)
- func (e *Executor) ExecXSys(exePath string, args ...string) error
- func (e *Executor) HdiutilAttach(ctx context.Context, dmgPath, mountPoint string) (int, error)
- func (e *Executor) HdiutilDetach(ctx context.Context, mountPath string) (int, error)
- func (e *Executor) UnarchivePkg(ctx context.Context, pkgFilePath, dest string) (int, error)
- type Mock
- func (e *Mock) Exec(ctx context.Context, exePath string, args ...string) (int, error)
- func (e *Mock) ExecWithEnvs(ctx context.Context, exePath string, args, envs []string) (int, error)
- func (e *Mock) ExecWithEnvsAndGetCombinedOutput(ctx context.Context, exePath string, args, envs []string) (string, int, error)
- func (e *Mock) ExecXSys(exePath string, args ...string) error
- func (e *Mock) HdiutilAttach(ctx context.Context, dmgPath, mountPoint string) (int, error)
- func (e *Mock) HdiutilDetach(ctx context.Context, mountPath string) (int, error)
- func (e *Mock) UnarchivePkg(ctx context.Context, pkgFilePath, dest string) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Executor ¶
type Executor struct {
// contains filtered or unexported fields
}
func (*Executor) ExecCommand ¶ added in v2.11.0
func (*Executor) ExecWithEnvs ¶
func (*Executor) ExecWithEnvsAndGetCombinedOutput ¶
func (*Executor) HdiutilAttach ¶
func (*Executor) HdiutilDetach ¶
type Mock ¶
func (*Mock) ExecWithEnvs ¶
func (*Mock) ExecWithEnvsAndGetCombinedOutput ¶
func (*Mock) HdiutilAttach ¶
func (*Mock) HdiutilDetach ¶
Click to show internal directories.
Click to hide internal directories.