Documentation ¶
Index ¶
- type Executor
- func (exe *Executor) Exec(ctx context.Context, exePath string, args []string) (int, error)
- func (exe *Executor) ExecWithEnvs(ctx context.Context, exePath string, args, envs []string) (int, error)
- func (exe *Executor) ExecWithEnvsAndGetCombinedOutput(ctx context.Context, exePath string, args, envs []string) (string, int, error)
- func (exe *Executor) ExecXSys(exePath string, args []string) error
- func (exe *Executor) GoInstall(ctx context.Context, path, gobin string) (int, error)
- func (exe *Executor) HdiutilAttach(ctx context.Context, dmgPath, mountPoint string) (int, error)
- func (exe *Executor) HdiutilDetach(ctx context.Context, mountPath string) (int, error)
- type Mock
- func (exe *Mock) Exec(ctx context.Context, exePath string, args []string) (int, error)
- func (exe *Mock) ExecWithEnvs(ctx context.Context, exePath string, args, envs []string) (int, error)
- func (exe *Mock) ExecWithEnvsAndGetCombinedOutput(ctx context.Context, exePath string, args, envs []string) (string, int, error)
- func (exe *Mock) ExecXSys(exePath string, args []string) error
- func (exe *Mock) GoInstall(ctx context.Context, path, gobin string) (int, error)
- func (exe *Mock) HdiutilAttach(ctx context.Context, dmgPath, mountPoint string) (int, error)
- func (exe *Mock) HdiutilDetach(ctx context.Context, mountPath 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) ExecWithEnvs ¶
func (*Executor) ExecWithEnvsAndGetCombinedOutput ¶
func (*Executor) HdiutilAttach ¶
type Mock ¶
func (*Mock) ExecWithEnvs ¶
func (*Mock) ExecWithEnvsAndGetCombinedOutput ¶
func (*Mock) HdiutilAttach ¶
Click to show internal directories.
Click to hide internal directories.