Version: v1.0.7 Latest Latest

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

Go to latest
Published: Aug 25, 2021 License: MIT Imports: 13 Imported by: 0




This section is empty.


This section is empty.


func Cmds

func Cmds(svcName string) []*cobra.Command

func DockerRegistry added in v1.0.4

func DockerRegistry(imgName string) string

func List

func List(svcName, env string) error


type Build

type Build struct {
	Env, Tag         string
	PrepareFlags     []string
	DockerBuildFlags []string

func (Build) Run

func (b Build) Run(svcName string) error

type DockerLogin added in v1.0.4

type DockerLogin struct {
	User     string
	Password string
	// contains filtered or unexported fields

func (*DockerLogin) BashCommand added in v1.0.4

func (dl *DockerLogin) BashCommand(env string, svcs []string) string

func (*DockerLogin) Command added in v1.0.4

func (dl *DockerLogin) Command(registry string, bashQuote bool) []string

func (*DockerLogin) Run added in v1.0.4

func (dl *DockerLogin) Run(imgName string) error

type Image

type Image struct {
	// contains filtered or unexported fields

func Get

func Get(svcName string) Image

func (Image) DefaultPort

func (i Image) DefaultPort() uint16

2. default port number

func (Image) FlagsForRun

func (i Image) FlagsForRun(env string) []string

3. flags for run

func (Image) PortEnvVar

func (i Image) PortEnvVar() string

1. port env variable name

type Push

type Push struct {
	Env, Tag string

func (Push) Run added in v1.0.4

func (p Push) Run(svcName string) error


Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL