Documentation ¶
Index ¶
- Variables
- func AddLogin(registry string, login Login) error
- func HyperclairConfig() string
- func HyperclairHome() string
- func Init(cfgFile string, logLevel string)
- func InterfaceIP(localInterface string) (string, error)
- func LocalServerIP() (string, error)
- func Print()
- func RemoveLogin(registry string) (bool, error)
- type Login
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrLoginNotFound = errors.New("user is not log in")
Functions ¶
func HyperclairConfig ¶
func HyperclairConfig() string
func HyperclairHome ¶
func HyperclairHome() string
func InterfaceIP ¶
InterfaceIP return the interface ip by running `ip route show | grep inerface | awk {print $9}`
func LocalServerIP ¶
LocalServerIP return the local hyperclair server IP
func RemoveLogin ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.