Documentation
¶
Index ¶
- type Compose
- func (c *Compose) DoesSvcExist(ws *common.Workspace, p *common.Project, service string) (bool, error)
- func (c *Compose) Down(ws *common.Workspace, p *common.Project) error
- func (c *Compose) Exec(ws *common.Workspace, p *common.Project, service string, cmdArgs []string) error
- func (c *Compose) IsSvcRunning(ws *common.Workspace, p *common.Project, service string) (bool, error)
- func (c *Compose) LoadRawSpec(ws *common.Workspace, p *common.Project) (string, error)
- func (c *Compose) LoadSpec(ws *common.Workspace, p *common.Project) (*types.Project, error)
- func (c *Compose) Logs(ws *common.Workspace, p *common.Project, service string) error
- func (c *Compose) Run(ws *common.Workspace, p *common.Project, service string, cmdArgs []string) error
- func (c *Compose) ShowCommand(ws *common.Workspace, p *common.Project) error
- func (c *Compose) ShowConfig(ws *common.Workspace, p *common.Project) error
- func (c *Compose) Up(ws *common.Workspace, p *common.Project) error
- type ComposeOverlayGenerator
- type ComposeParser
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) 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 ¶
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 ¶
TODO: guard against nil inputs
func (*Compose) ShowConfig ¶
TODO: guard against nil inputs
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 ¶
type ComposeParser ¶
type ComposeParser struct {
}
func NewComposeParser ¶
func NewComposeParser() *ComposeParser
Click to show internal directories.
Click to hide internal directories.