docker

package
v0.0.0-...-6ff77cb Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2024 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildAndUploadImage

func BuildAndUploadImage(buildSettings BuildSettings, ch chan<- string) error

func ComposePull

func ComposePull(cf, service string, output io.Writer) error

func ComposeRemove

func ComposeRemove(cf, service string, output io.Writer) error

func ComposeStop

func ComposeStop(cf, service string, output io.Writer) error

func ComposeUp

func ComposeUp(cf, service string, output io.Writer) error

func GetClient

func GetClient() *client.Client

func GetServiceContainerId

func GetServiceContainerId(cf, service string) (string, error)

func Init

func Init()

func NewFixLinebreakMiddleware

func NewFixLinebreakMiddleware(next io.Writer) io.Writer

func Ps

func Ps() []types.Container

Types

type BuildSettings

type BuildSettings struct {
	Repo *database.Repository
}

type ChanWriter

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

func NewChanWriter

func NewChanWriter(ch chan<- string) *ChanWriter

func (*ChanWriter) Write

func (w *ChanWriter) Write(p []byte) (int, error)

Jump to

Keyboard shortcuts

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