-
Notifications
You must be signed in to change notification settings - Fork 21
/
demodata.go
58 lines (53 loc) · 1.19 KB
/
demodata.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
//
// Copyright (c) 2016 Dean Jackson <deanishe@deanishe.net>
//
// MIT Licence. See http://opensource.org/licenses/MIT
//
// Created on 2016-05-23
//
package ssh
// Useful for screenshots
var testHostnames = []string{
"kurt.bartell.com",
"mail.gierschner.org",
"vpn.johann.com",
"hornich.junitz.com",
"gene.kassulke-spencer.com",
"roland.kassulke-spencer.com",
"ethelyn.kassulke-spencer.com",
"mail.kostolzin.de",
"gateway.kuhlman-wolf.info",
"www.kuhlman-wolf.info",
"monja.kuhlman-wolf.info",
"ftp.kuhlman-wolf.info",
"ermanno.kulas-douglas.biz",
"www.lind-sipes.com",
"zaida.lind-sipes.com",
"antonetta.lockman.com",
"valerius.lockman.com",
"gateway.losekann.com",
"leslee.losekann.com",
"ftp.mayer.biz",
"reiner.roemer.com",
"mail.roemer.com",
"gateway.scholz.net",
"vpn.sipes.com",
"mail.sipes.com",
"wulff.sipes.com",
"elias.wesack.com",
"gateway.wesack.com",
"heinz.zorbach.com",
}
// TestHosts loads fake test data instead of real hosts.
func TestHosts() []Host {
hosts := make([]Host, len(testHostnames))
for i, name := range testHostnames {
hosts[i] = &BaseHost{
name: name,
hostname: name,
source: "test data",
port: 22,
}
}
return hosts
}