hostdata

package
v2.0.0-...-8b2605a Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2025 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HostData

type HostData struct {
	Username string `json:"username"`
	Password string `json:"password"`
	Secret   string `json:"secret"`
}

func GetHostAccountByGroupName

func GetHostAccountByGroupName(fileName string, groupName string) (result HostData, found bool)

type HostIpData

type HostIpData struct {
	Ip_e  string
	Ip_e1 string
	Ip_t1 string
	Ip_t2 string
}

func NewHostIpData

func NewHostIpData(ip_e, ip_e1, ip_t1, ip_t2 string) HostIpData

type Response

type Response struct {
	HostName  string
	HostIp    string
	UserName  string
	Password  string
	EnablePwd string
	IpData    HostIpData
}

func GetHostDataInfo

func GetHostDataInfo(hostName string, hostGroups []string, groupsMap map[string]map[string]string) Response

Jump to

Keyboard shortcuts

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