gen

package
v0.0.0-...-1eeb5f6 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	COMP_APP = "application"
	COMP_DB  = "db"
)

names of known components

Variables

View Source
var (
	RegAuth = os.Getenv("DREG_AUTH")
	RegHost = flag.String("r", "10.10.0.33:17889", "Docker registry")
	AuthSvr = flag.String("a", "", "Docker registry auth server")
	ImgName = flag.String("n", "", "Image name")
)

Functions

This section is empty.

Types

type Gen

type Gen struct {
	Reg *common.Registry
}

func NewGen

func NewGen() *Gen

func (*Gen) LatestTag

func (g *Gen) LatestTag(image_name string) string

func (*Gen) NewAppComp

func (g *Gen) NewAppComp(image_name, version string) *manifest.Component

func (*Gen) NewDbComp

func (g *Gen) NewDbComp(image_name, version string) *manifest.Component

func (*Gen) NewUpdaterComp

func (g *Gen) NewUpdaterComp(image_name, version string) *manifest.Component

Jump to

Keyboard shortcuts

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