models

package
v0.0.0-...-f35954e Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2019 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect(user, password, host, key string, port int, cipherList []string) (*ssh.Session, error)

func CopyFile

func CopyFile(src, des string) (w int64, err error)

func GenSpec

func GenSpec(serv *ms.Serv, servenv ms.ServEnv)

Types

type ServConf

type ServConf struct {
	ms.Serv
	ServMd5 string `json:"serv_md5"`
}

type ServEnvWithMd5

type ServEnvWithMd5 struct {
	ms.Serv
	ServEnvMap map[string]ms.ServEnv `json:"servenv_list"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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