docker

package
v0.0.0-...-d722593 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2023 License: GPL-2.0 Imports: 10 Imported by: 0

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL