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