Documentation
¶
Index ¶
- func ChangeName(hostId string, newHostId string)
- func DeleteHost(hostId string) bool
- func GetHostKV(hostId string) (res []*ssh_config.KV)
- func GetHostTags(hostId string) (res []string)
- func GetKeys() (res []string)
- func GetSSHHostList(tag string, all bool) (hosts []string)
- func GetTagList() (tags []string)
- func GetTerminalType() utils.TerminalType
- func Init() (err error)
- func IsHostVisible(name string, all bool) bool
- func Reload() (err error)
- func SaveHostKV(hostId string, newHostId string, kv []*ssh_config.KV) (update bool)
- func SaveHostTags(hostId string, tags []string) (updated bool)
- func SaveSSHConfig() (err error)
- func SetHostVisible(name string, visible bool) (update bool)
- func SetTerminalType(typ utils.TerminalType) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChangeName ¶
func DeleteHost ¶
func GetHostKV ¶
func GetHostKV(hostId string) (res []*ssh_config.KV)
func GetHostTags ¶
func GetSSHHostList ¶
func GetTagList ¶
func GetTagList() (tags []string)
func GetTerminalType ¶
func GetTerminalType() utils.TerminalType
func IsHostVisible ¶
func SaveHostKV ¶
func SaveHostKV(hostId string, newHostId string, kv []*ssh_config.KV) (update bool)
func SaveHostTags ¶
func SaveSSHConfig ¶
func SaveSSHConfig() (err error)
func SetHostVisible ¶
func SetTerminalType ¶
func SetTerminalType(typ utils.TerminalType) (err error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.