Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DockerService ¶
type DockerService struct {
DockerTool string
}
func NewDockerService ¶
func NewDockerService(dockerTool string) *DockerService
func (*DockerService) CreateDockerImage ¶
func (ds *DockerService) CreateDockerImage(imageName string) errorsx.Error
func (*DockerService) EnsureDockerImage ¶
func (ds *DockerService) EnsureDockerImage(imageName string, forceRebuild bool) errorsx.Error
func (*DockerService) RunImage ¶
func (ds *DockerService) RunImage(imageName, workingDir string, yarnArgs []string, hostUser *user.User, portForward string, envVars []EnvironmentVariable, extraContainerArgs []string) errorsx.Error
type EnvironmentVariable ¶
type EnvironmentVariable struct {
Key, Value string
}
Click to show internal directories.
Click to hide internal directories.