Documentation ¶
Index ¶
- Variables
- func ArrayCountValueTop(arrInit []string, length int, flag bool) (arrTop []string, arrLen []int)
- func CheckLive(hostslist []string, LiveTop int) []string
- func EtcdRequest(opt EtcdRequestOption) (string, error)
- func ExecCommandPing(ip string, bsenv string) bool
- func GenerateQuery(key string) (query string)
- func GetKeys(content string, silent bool) (map[string]string, error)
- func GetVersion(endpoint string) (string, error)
- func PortConnect(addr Addr, respondingHosts chan<- string, adjustedTimeout int64, ...)
- func PortScan(hostslist []string, ports string, timeout int64, threads int) []string
- func ServerAccountRequest(opts K8sRequestOption) (string, error)
- type Addr
- type EtcdRequestOption
- type IcmpLoader
- type K8sRequestOption
Constants ¶
This section is empty.
Variables ¶
View Source
var OS = runtime.GOOS
Functions ¶
func ArrayCountValueTop ¶
func EtcdRequest ¶
func EtcdRequest(opt EtcdRequestOption) (string, error)
func ExecCommandPing ¶
func GenerateQuery ¶
func GetVersion ¶
func PortConnect ¶
func ServerAccountRequest ¶
func ServerAccountRequest(opts K8sRequestOption) (string, error)
Types ¶
type EtcdRequestOption ¶
type IcmpLoader ¶
type IcmpLoader struct { AliveHosts []string ExistHosts map[string]struct{} // contains filtered or unexported fields }
func (*IcmpLoader) RunIcmp1 ¶
func (l *IcmpLoader) RunIcmp1(hostslist []string, conn *icmp.PacketConn, chanHosts chan string)
func (*IcmpLoader) RunIcmp2 ¶
func (l *IcmpLoader) RunIcmp2(hostslist []string, chanHosts chan string)
func (*IcmpLoader) RunPing ¶
func (l *IcmpLoader) RunPing(hostslist []string, chanHosts chan string)
Click to show internal directories.
Click to hide internal directories.