provisioner

package
v0.0.0-...-e1b6a04 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApacheConf

func ApacheConf(projectName string) string

func Deploy

func Deploy(url, CPath, repo string)

func SSHCommandBool

func SSHCommandBool(command string, sci ServerConnInfo) (bool, error)

func SSHCommandString

func SSHCommandString(command string, sci ServerConnInfo) (string, error)

func Serverinit

func Serverinit(CPath string)

func VhostConf

func VhostConf(port int, dns, projectName string) string

Types

type ServerConnInfo

type ServerConnInfo struct {
	Server string
	Port   string
	User   string
	Key    string
}

func ServerConf

func ServerConf(confPath string) ServerConnInfo

func (*ServerConnInfo) Socket

func (c *ServerConnInfo) Socket() string

Jump to

Keyboard shortcuts

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