docker

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Compose

type Compose struct {
	// contains filtered or unexported fields
}

func NewCompose

func NewCompose(cli cli, tui tui, overlayGenerator composeOverlayGenerator) *Compose

func (*Compose) DoesSvcExist

func (c *Compose) DoesSvcExist(ws *common.Workspace, p *common.Project, service string) (bool, error)

TODO: guard against nil arguments

func (*Compose) Down

func (c *Compose) Down(ws *common.Workspace, p *common.Project) error

TODO: guard against nil arguments

func (*Compose) Exec

func (c *Compose) Exec(ws *common.Workspace, p *common.Project, service string, cmdArgs []string) error

TODO: guard against nil inputs

func (*Compose) IsSvcRunning

func (c *Compose) IsSvcRunning(ws *common.Workspace, p *common.Project, service string) (bool, error)

TODO: guard against nil arguments

func (*Compose) LoadRawSpec

func (c *Compose) LoadRawSpec(ws *common.Workspace, p *common.Project) (string, error)

TODO: guard against nil arguments

func (*Compose) LoadSpec

func (c *Compose) LoadSpec(ws *common.Workspace, p *common.Project) (*types.Project, error)

TODO: guard against nil arguments

func (*Compose) Logs

func (c *Compose) Logs(ws *common.Workspace, p *common.Project, service string) error

TODO: guard against nil arguments

func (*Compose) Run

func (c *Compose) Run(ws *common.Workspace, p *common.Project, service string, cmdArgs []string) error

TODO: guard against nil inputs

func (*Compose) ShowCommand

func (c *Compose) ShowCommand(ws *common.Workspace, p *common.Project) error

TODO: guard against nil inputs

func (*Compose) ShowConfig

func (c *Compose) ShowConfig(ws *common.Workspace, p *common.Project) error

TODO: guard against nil inputs

func (*Compose) Up

func (c *Compose) Up(ws *common.Workspace, p *common.Project) error

TODO: guard against nil arguments

type ComposeOverlayGenerator

type ComposeOverlayGenerator struct {
	// contains filtered or unexported fields
}

func NewComposeOverlayGenerator

func NewComposeOverlayGenerator(fs afero.Fs, parser overlayComposeParser, overlayDir string, tlsCertsDir string) *ComposeOverlayGenerator

func (*ComposeOverlayGenerator) CreateOrRetrieve

func (cog *ComposeOverlayGenerator) CreateOrRetrieve(ws *common.Workspace, p *common.Project) (string, error)

type ComposeParser

type ComposeParser struct {
}

func NewComposeParser

func NewComposeParser() *ComposeParser

func (*ComposeParser) Parse

func (cp *ComposeParser) Parse(paths []string, envFiles []string) (*types.Project, error)

Jump to

Keyboard shortcuts

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