service

package
v0.0.0-...-b7bc9cd Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Deploy

func Deploy(reqDeploy *entity.ReqDeploy) (resp entity.RespPostDeploy, err error)

Deploy handles POST /deploy

func TestConnection

func TestConnection(reqDeploy *entity.ReqDeploy) (resp entity.Resp, err error)

TestConnection check if server can be connected

Types

type SSHConfig

type SSHConfig struct {
	Host         string
	Port         string
	ClientConfig *ssh.ClientConfig
}

SSHConfig is a wrapper of ClientConfig, with host and port

Jump to

Keyboard shortcuts

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