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) ExecXSys(exePath string, args []string) error
- func (exe *Executor) GoBuild(ctx context.Context, exePath, src, exeDir string) (int, error)
- func (exe *Executor) GoInstall(ctx context.Context, path, gobin 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) ExecXSys(exePath string, args []string) error
- func (exe *Mock) GoBuild(ctx context.Context, exePath, src, exeDir string) (int, error)
- func (exe *Mock) GoInstall(ctx context.Context, path, gobin 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 ¶ added in v1.26.0
Click to show internal directories.
Click to hide internal directories.