Documentation
¶
Index ¶
Constants ¶
View Source
const (
DefaultContainerNetwork = "default"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultManager ¶
type DefaultManager struct { Environment *Environment Client *client.Client Config *config.Config }
DefaultManager - struct for default implementation
type Docker ¶
type Docker struct { ServiceBase Environment session.Caps LogConfig *ctr.LogConfig Client *client.Client }
Docker - docker container manager
func (*Docker) StartWithCancel ¶
func (d *Docker) StartWithCancel() (*StartedService, error)
StartWithCancel - Starter interface implementation
type Driver ¶
type Driver struct { ServiceBase Environment session.Caps }
Driver - driver processes manager
func (*Driver) StartWithCancel ¶
func (d *Driver) StartWithCancel() (*StartedService, error)
StartWithCancel - Starter interface implementation
type Environment ¶
type Environment struct { IP string InDocker bool CPU int64 Memory int64 Network string Hostname string StartupTimeout time.Duration SessionDeleteTimeout time.Duration CaptureDriverLogs bool VideoOutputDir string VideoContainerImage string LogOutputDir string SaveAllLogs bool Privileged bool }
Environment - all settings that influence browser startup
type ServiceBase ¶
ServiceBase - stores fields required by all services
type StartedService ¶
type StartedService struct { Url *url.URL Container *session.Container HostPort session.HostPort Origin string Cancel func() }
StartedService - all started service properties
type Starter ¶
type Starter interface {
StartWithCancel() (*StartedService, error)
}
Starter - interface to create session with cancellation ability
Click to show internal directories.
Click to hide internal directories.