Documentation ¶
Index ¶
- Constants
- Variables
- type Compose
- type ComposeLogger
- type ComposeWrapper
- func (c *ComposeWrapper) Build(services ...string) error
- func (c *ComposeWrapper) Delete(services ...string) error
- func (c *ComposeWrapper) Kill(services ...string) error
- func (c *ComposeWrapper) Logs(services ...string) error
- func (c *ComposeWrapper) PS(quiet bool) error
- func (c *ComposeWrapper) Port(index int, proto, service, port string) error
- func (c *ComposeWrapper) Pull(services ...string) error
- func (c *ComposeWrapper) Restart(services ...string) error
- func (c *ComposeWrapper) Start(services ...string) error
- func (c *ComposeWrapper) Stop(services ...string) error
- func (c *ComposeWrapper) Up(services ...string) error
- type Context
Constants ¶
View Source
const (
DEFAULT_PROJECT string = "depcon_proj"
)
View Source
const (
DOCKER_TLS_VERIFY string = "DOCKER_TLS_VERIFY"
)
Variables ¶
View Source
var (
ErrorParamsMissing = errors.New("One or more ${PARAMS} that were defined in the compose file could not be resolved.")
)
Functions ¶
This section is empty.
Types ¶
type Compose ¶
type Compose interface { Up(services ...string) error Kill(services ...string) error Logs(services ...string) error Delete(services ...string) error Build(services ...string) error Restart(services ...string) error Pull(services ...string) error Start(services ...string) error Stop(services ...string) error Port(index int, proto, service, port string) error PS(quiet bool) error }
func NewCompose ¶
type ComposeLogger ¶
type ComposeLogger struct { }
func (*ComposeLogger) Err ¶
func (n *ComposeLogger) Err(b []byte)
func (*ComposeLogger) ErrWriter ¶ added in v0.9.2
func (n *ComposeLogger) ErrWriter() io.Writer
func (*ComposeLogger) Out ¶
func (n *ComposeLogger) Out(b []byte)
func (*ComposeLogger) OutWriter ¶ added in v0.9.2
func (n *ComposeLogger) OutWriter() io.Writer
type ComposeWrapper ¶
type ComposeWrapper struct {
// contains filtered or unexported fields
}
func (*ComposeWrapper) Build ¶
func (c *ComposeWrapper) Build(services ...string) error
func (*ComposeWrapper) Delete ¶
func (c *ComposeWrapper) Delete(services ...string) error
func (*ComposeWrapper) Kill ¶
func (c *ComposeWrapper) Kill(services ...string) error
func (*ComposeWrapper) Logs ¶
func (c *ComposeWrapper) Logs(services ...string) error
func (*ComposeWrapper) PS ¶
func (c *ComposeWrapper) PS(quiet bool) error
func (*ComposeWrapper) Port ¶
func (c *ComposeWrapper) Port(index int, proto, service, port string) error
func (*ComposeWrapper) Pull ¶
func (c *ComposeWrapper) Pull(services ...string) error
func (*ComposeWrapper) Restart ¶
func (c *ComposeWrapper) Restart(services ...string) error
func (*ComposeWrapper) Start ¶
func (c *ComposeWrapper) Start(services ...string) error
func (*ComposeWrapper) Stop ¶
func (c *ComposeWrapper) Stop(services ...string) error
func (*ComposeWrapper) Up ¶
func (c *ComposeWrapper) Up(services ...string) error
Click to show internal directories.
Click to hide internal directories.