Documentation
¶
Rendered for darwin/amd64
Index ¶
- Variables
- func Exec(ctx context.Context, args ...string) (string, string, error)
- func ExecWithEnv(ctx context.Context, env map[string]string, args ...string) (string, string, error)
- type Config
- type Env
- type Environment
- func (e *Environment) Copy(destPath string, files ...*container.FileEntry) common.Executor
- func (e *Environment) CopyDir(destPath string, srcPath string, useGitIgnore bool) common.Executor
- func (e *Environment) CopyTarStream(ctx context.Context, destPath string, tarStream io.Reader) error
- func (e *Environment) Exec(command []string, env map[string]string, user, workdir string) common.Executor
- func (e *Environment) ExecWithCmdLine(command []string, cmdline string, env map[string]string, user, workdir string) common.Executor
- func (e *Environment) GetActPath() string
- func (e *Environment) GetContainerArchive(ctx context.Context, srcPath string) (io.ReadCloser, error)
- func (e *Environment) GetRunnerContext(ctx context.Context) map[string]interface{}
- func (e *Environment) Remove() common.Executor
- func (e *Environment) Start(b bool) common.Executor
- func (e *Environment) Stop(ctx context.Context) error
- func (e *Environment) ToContainerPath(path string) string
- func (e *Environment) ToHostPath(path string) string
- type Registry
- type VM
- func (vm *VM) Delete() error
- func (vm *VM) IP(ctx context.Context) (string, error)
- func (vm *VM) MonitorTartRunOutput()
- func (vm *VM) OpenSSH(ctx context.Context, config Config) (*ssh.Client, error)
- func (vm *VM) Start(config Config, _ *Env, customDirectoryMounts []string) error
- func (vm *VM) Stop() error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type Env ¶
func (Env) VirtualMachineID ¶
type Environment ¶
type Environment struct { container.HostEnvironment Config Config Env *Env Miscpath string // contains filtered or unexported fields }
func (*Environment) CopyTarStream ¶
func (*Environment) ExecWithCmdLine ¶
func (*Environment) GetActPath ¶
func (e *Environment) GetActPath() string
func (*Environment) GetContainerArchive ¶
func (e *Environment) GetContainerArchive(ctx context.Context, srcPath string) (io.ReadCloser, error)
func (*Environment) GetRunnerContext ¶
func (e *Environment) GetRunnerContext(ctx context.Context) map[string]interface{}
func (*Environment) Remove ¶
func (e *Environment) Remove() common.Executor
func (*Environment) ToContainerPath ¶
func (e *Environment) ToContainerPath(path string) string
func (*Environment) ToHostPath ¶
func (e *Environment) ToHostPath(path string) string
"/Volumes/My Shared Files/act/"
type VM ¶
type VM struct {
// contains filtered or unexported fields
}
func CreateNewVM ¶
func ExistingVM ¶
func (*VM) MonitorTartRunOutput ¶
func (vm *VM) MonitorTartRunOutput()
Click to show internal directories.
Click to hide internal directories.