Documentation ¶
Index ¶
- Constants
- func Exists(path string) bool
- func ExtractVarsFromRequest(r *http.Request, varName string) string
- func GeneratePublicKey(privateKey []byte) (string, error)
- func GetPath(paths []string) string
- func GetSshClient(username string, privateKey []byte, ip string) (*awsSshClient, error)
- func MarshalAndRecord(object interface{}, dir string, fileName string) error
- func MarshalPublickKey(key ssh.PublicKey) string
- func MkDir(path string) bool
- func ProvisionDataFromRequest(r *http.Request, object interface{}) error
- func ReadAndUnmarshal(object interface{}, dir string, fileName string) error
- func ReadFile(path string) (content []byte, err error)
- func WriteFile(path string, content []byte) error
- func WriteResponse(w http.ResponseWriter, code int, object interface{})
- type SshClient
Constants ¶
View Source
const ( AWS = "AWS" SOFTLAYER = "SoftLayer" SL = "SL" )
Variables ¶
This section is empty.
Functions ¶
func GeneratePublicKey ¶
func GetSshClient ¶
func MarshalAndRecord ¶
func MarshalPublickKey ¶
func ReadAndUnmarshal ¶
func WriteResponse ¶
func WriteResponse(w http.ResponseWriter, code int, object interface{})
Types ¶
Click to show internal directories.
Click to hide internal directories.