images

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cmds

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

func List

func List(svcName, env string) error

func Push

func Push(svcName, env, tag string) error

Types

type Build

type Build struct {
	Env, Tag         string
	GoBuildFlags     []string
	DockerBuildFlags []string
}

func (Build) Run

func (b Build) Run(svcName 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() []string

3. flags for run

func (Image) PortEnvVar

func (i Image) PortEnvVar() string

1. port env variable name

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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