store

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChangeName

func ChangeName(hostId string, newHostId string)

func DeleteHost

func DeleteHost(hostId string) bool

func GetHostKV

func GetHostKV(hostId string) (res []*ssh_config.KV)

func GetHostTags

func GetHostTags(hostId string) (res []string)

func GetKeys

func GetKeys() (res []string)

func GetSSHHostList

func GetSSHHostList(tag string, all bool) (hosts []string)

func GetTagList

func GetTagList() (tags []string)

func GetTerminalType

func GetTerminalType() utils.TerminalType

func Init

func Init() (err error)

func IsHostVisible

func IsHostVisible(name string, all bool) bool

func Reload

func Reload() (err error)

func SaveHostKV

func SaveHostKV(hostId string, newHostId string, kv []*ssh_config.KV) (update bool)

func SaveHostTags

func SaveHostTags(hostId string, tags []string) (updated bool)

func SaveSSHConfig

func SaveSSHConfig() (err error)

func SetHostVisible

func SetHostVisible(name string, visible bool) (update bool)

func SetTerminalType

func SetTerminalType(typ utils.TerminalType) (err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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