cmd

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2020 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetVulnerabilitiesCmd

func GetVulnerabilitiesCmd(executable string, cf *genericclioptions.ConfigFlags) *cobra.Command

func NewCleanupCmd

func NewCleanupCmd(cf *genericclioptions.ConfigFlags) *cobra.Command

func NewFindCmd

func NewFindCmd(executable string, cf *genericclioptions.ConfigFlags) *cobra.Command

func NewGetCmd

func NewGetCmd(executable string, cf *genericclioptions.ConfigFlags) *cobra.Command

func NewGetConfigAuditCmd

func NewGetConfigAuditCmd(cf *genericclioptions.ConfigFlags) *cobra.Command

func NewGetVulnerabilitiesCmd

func NewGetVulnerabilitiesCmd(executable string, cf *genericclioptions.ConfigFlags) *cobra.Command

func NewKubeBenchCmd

func NewKubeBenchCmd(cf *genericclioptions.ConfigFlags) *cobra.Command

func NewKubeHunterCmd

func NewKubeHunterCmd(cf *genericclioptions.ConfigFlags) *cobra.Command

func NewPolarisCmd

func NewPolarisCmd(cf *genericclioptions.ConfigFlags) *cobra.Command

func NewRootCmd

func NewRootCmd(executable string, version VersionInfo) *cobra.Command

func NewVersionCmd

func NewVersionCmd(version VersionInfo) *cobra.Command

func SetGlobalFlags added in v0.2.1

func SetGlobalFlags(cf *genericclioptions.ConfigFlags, cmd *cobra.Command)

func WorkloadFromArgs

func WorkloadFromArgs(namespace string, args []string) (workload kube.Workload, err error)

Types

type VersionInfo

type VersionInfo struct {
	Version string
	Commit  string
	Date    string
}

Jump to

Keyboard shortcuts

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