common

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetDeployDescDefault

func SetDeployDescDefault(desc *DeployDesc)

func SetServerDefault

func SetServerDefault(s *Server)

Types

type DeployDesc

type DeployDesc struct {
	Type        string `yaml:"type"`
	Path        string `yaml:"path"`
	WorkDir     string `yaml:"work_dir"`
	ProjectName string `yaml:"project_name"`
}

type Image

type Image = string

type Server

type Server struct {
	PrivateKeyFile     string `yaml:"private_key_file"`
	PrivateKeyPassword string `yaml:"private_key_password"`
	Host               string `yaml:"host"`
	Port               string `yaml:"port"`
	User               string `yaml:"user"`
	PassWord           string `yaml:"password"`
}

func (*Server) String

func (s *Server) String() string

Jump to

Keyboard shortcuts

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