cmd

package
v1.2.8 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2017 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "clairctl",
	Short: "Analyze your docker image with Clair, directly from your registry or local images.",
	Long:  ``,
}

RootCmd represents the base command when called without any subcommands

Functions

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.

Types

type PriorityCount added in v1.2.8

type PriorityCount struct {
	Priority types.Priority
	Count    int
}

func CountVulnerabilities added in v1.2.8

func CountVulnerabilities(l v1.LayerEnvelope) []PriorityCount

Jump to

Keyboard shortcuts

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