Documentation ¶
Index ¶
- type Compose
- func (t *Compose) Build(containers string, force bool) string
- func (t *Compose) CheckDockerComposeVersion() string
- func (t *Compose) CheckDockerVersion() string
- func (t *Compose) CheckDotEnv() bool
- func (t *Compose) CopyEnv() string
- func (t *Compose) DotEnvContent() map[string]string
- func (t *Compose) Down() string
- func (t *Compose) Exec(container string, user string) string
- func (t *Compose) GetContainers() string
- func (t *Compose) GetContainersWithStatuses() string
- func (t *Compose) GetContainersWithStatusesSlice() ([]container, error)
- func (t *Compose) HasRunning() bool
- func (t *Compose) Logs(container string) string
- func (t *Compose) SaveDotEnvContent(data string) string
- func (t *Compose) SetLaradockPath(path string) bool
- func (t *Compose) SetTerminalPath(path string) bool
- func (t *Compose) Stats()
- func (t *Compose) StatsStop()
- func (t *Compose) Toggle(state string, containers string) string
- func (t *Compose) Up(containers string) string
- func (t *Compose) WailsInit(runtime *wails.Runtime) error
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Compose ¶
Compose DockerCompose struct
func NewDockerCompose ¶
NewDockerCompose Create a new DockerCompose struct
func (*Compose) CheckDockerComposeVersion ¶
CheckDockerComposeVersion Check the docker-compose executable's version
func (*Compose) CheckDockerVersion ¶
CheckDockerVersion Check the docker executable's version
func (*Compose) CheckDotEnv ¶
CheckDotEnv Check if .env file exists
func (*Compose) DotEnvContent ¶
DotEnvContent Return dot env contents
func (*Compose) GetContainers ¶ added in v0.4.0
GetContainers run docker-compose ps --services and parse the output
func (*Compose) GetContainersWithStatuses ¶ added in v0.4.0
GetContainersWithStatuses run docker-compose ps and parse the output
func (*Compose) GetContainersWithStatusesSlice ¶ added in v0.4.0
GetContainersWithStatusesSlice get a slice of statuses
func (*Compose) HasRunning ¶ added in v0.4.0
HasRunning check if there are any containers running
func (*Compose) SaveDotEnvContent ¶
SaveDotEnvContent save dot env contents
func (*Compose) SetLaradockPath ¶
SetLaradockPath Check if .env file exists
func (*Compose) SetTerminalPath ¶
SetTerminalPath Check if .env file exists
func (*Compose) StatsStop ¶ added in v0.4.0
func (t *Compose) StatsStop()
StatsStop stops docker stats go routine