Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Script = func() http.FileSystem { fs := vfsgen۰FS{ "/": &vfsgen۰DirInfo{ name: "/", modTime: time.Date(2019, 9, 6, 9, 2, 12, 0, time.UTC), }, "/deploy.sh": &vfsgen۰CompressedFileInfo{ name: "deploy.sh", modTime: time.Date(2019, 9, 6, 9, 2, 12, 0, time.UTC), uncompressedSize: 376, compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x64\x90\xb1\x4e\xc4\x30\x0c\x86\xf7\x3e\x85\x75\xea\x70\x37\xa4\xde\x19\x58\x60\x81\x05\x24\x1e\xa0\xca\xa5\x26\x89\x68\x92\x62\x3b\x74\x00\xde\x1d\x5d\xaf\x14\x55\x8c\xfe\xf5\xfb\xd3\xa7\xff\xb5\x66\xa7\xb1\x64\x88\x59\xd4\x8e\x63\x3f\x14\xf7\x46\x7c\x3c\xc1\x67\x03\x00\xe0\x2a\x8f\x60\xe4\x05\x82\xea\x24\x37\x88\x9e\xb4\xbb\x76\x3a\x57\x12\xc2\x17\x48\x68\xbe\x9b\xe6\x1f\xa8\x54\x1d\x63\xa6\x95\x73\xb6\x12\xc0\x38\x38\xb4\xc7\xd9\x93\x82\x79\x7f\x32\x1b\x93\xed\xdc\xf9\xa8\xa1\x9e\xab\x10\xbb\x92\x95\xb2\x2e\xf8\xc7\xe8\xc5\xce\xe6\xae\x0c\x84\x2b\xd0\x08\xf1\x07\x31\x26\x2b\x4a\x8c\xc2\x0e\xaf\x49\x9f\x6c\xb6\x9e\x18\x7f\x0d\xc4\x71\x9c\x54\xfe\xee\xa5\xd6\x49\x38\x1d\x76\xc6\x33\x47\xa5\xfe\xf9\xe1\x7e\x75\x25\x17\x0a\xb4\x2d\xdc\x02\x6a\x9a\x70\x8a\xc3\xae\x9e\x6c\xcc\xdb\x3e\xdb\xef\x72\xed\x47\xdc\x45\xab\xfd\x85\x74\x01\xfc\x04\x00\x00\xff\xff\x4e\xc8\x2c\x54\x78\x01\x00\x00"), }, } fs["/"].(*vfsgen۰DirInfo).entries = []os.FileInfo{ fs["/deploy.sh"].(os.FileInfo), } return fs }()
Script statically implements the virtual filesystem provided to vfsgen.
Functions ¶
Types ¶
type SecureShell ¶
type SecureShell struct {
// contains filtered or unexported fields
}
func (SecureShell) Deploy ¶
func (s SecureShell) Deploy(ip string) error
func (SecureShell) GetCredentialPub ¶
func (s SecureShell) GetCredentialPub() string
func (SecureShell) GetServiceCert ¶
func (s SecureShell) GetServiceCert(ip string) (ol.APICert, error)
func (SecureShell) Watch ¶
func (s SecureShell) Watch(ip string) error
Click to show internal directories.
Click to hide internal directories.