Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var HyperclairURI string
HyperclairURI is the hyperclair server URI. As <hyperclair.uri>:<hypeclair.port>/v1
View Source
var RootCmd = &cobra.Command{
Use: "hyperclair",
Short: "Analyse your docker image with Clair, directly from your registry.",
Long: ``,
}
RootCmd represents the base command when called without any subcommands
Functions ¶
func Analyse ¶
func Analyse(imageName string) clair.ImageAnalysis
func Execute ¶
func Execute()
Execute adds all child commands to the root command sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func StartLocalServer ¶
func StartLocalServer()
StartLocalServer start the hyperclair local server needed for reverse proxy
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.