Documentation ¶
Index ¶
- func NewCleanupCmd(cf *genericclioptions.ConfigFlags) *cobra.Command
- func NewConfigCmd(cf *genericclioptions.ConfigFlags, outWriter io.Writer) *cobra.Command
- func NewFindCmd(buildInfo starboard.BuildInfo, cf *genericclioptions.ConfigFlags) *cobra.Command
- func NewFindVulnerabilitiesCmd(buildInfo starboard.BuildInfo, cf *genericclioptions.ConfigFlags) *cobra.Command
- func NewGetCmd(buildInfo starboard.BuildInfo, cf *genericclioptions.ConfigFlags, ...) *cobra.Command
- func NewGetConfigAuditCmd(executable string, cf *genericclioptions.ConfigFlags, outWriter io.Writer) *cobra.Command
- func NewGetReportCmd(info starboard.BuildInfo, cf *genericclioptions.ConfigFlags, ...) *cobra.Command
- func NewGetVulnerabilitiesCmd(executable string, cf *genericclioptions.ConfigFlags, outWriter io.Writer) *cobra.Command
- func NewInitCmd(cf *genericclioptions.ConfigFlags) *cobra.Command
- func NewKubeBenchCmd(cf *genericclioptions.ConfigFlags) *cobra.Command
- func NewKubeHunterCmd(cf *genericclioptions.ConfigFlags) *cobra.Command
- func NewPolarisCmd(buildInfo starboard.BuildInfo, cf *genericclioptions.ConfigFlags) *cobra.Command
- func NewRootCmd(buildInfo starboard.BuildInfo, args []string, outWriter io.Writer, ...) *cobra.Command
- func NewScanCmd(buildInfo starboard.BuildInfo, cf *genericclioptions.ConfigFlags) *cobra.Command
- func NewScanConfigAuditReportsCmd(buildInfo starboard.BuildInfo, cf *genericclioptions.ConfigFlags) *cobra.Command
- func NewScanKubeBenchReportsCmd(cf *genericclioptions.ConfigFlags) *cobra.Command
- func NewScanKubeHunterReportsCmd(cf *genericclioptions.ConfigFlags) *cobra.Command
- func NewScanVulnerabilityReportsCmd(buildInfo starboard.BuildInfo, cf *genericclioptions.ConfigFlags) *cobra.Command
- func NewVersionCmd(buildInfo starboard.BuildInfo, outWriter io.Writer) *cobra.Command
- func Run(version starboard.BuildInfo, args []string, outWriter io.Writer, ...) error
- func ScanConfigAuditReports(buildInfo starboard.BuildInfo, cf *genericclioptions.ConfigFlags) func(cmd *cobra.Command, args []string) error
- func ScanKubeBenchReports(cf *genericclioptions.ConfigFlags) func(cmd *cobra.Command, args []string) error
- func ScanKubeHunterReports(cf *genericclioptions.ConfigFlags) func(cmd *cobra.Command, args []string) (err error)
- func ScanVulnerabilityReports(buildInfo starboard.BuildInfo, cf *genericclioptions.ConfigFlags) func(cmd *cobra.Command, args []string) error
- func SetGlobalFlags(cf *genericclioptions.ConfigFlags, cmd *cobra.Command)
- func WorkloadFromArgs(mapper meta.RESTMapper, namespace string, args []string) (workload kube.Object, gvk schema.GroupVersionKind, err error)
- type LocalFlags
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCleanupCmd ¶
func NewCleanupCmd(cf *genericclioptions.ConfigFlags) *cobra.Command
func NewConfigCmd ¶ added in v0.6.0
func NewConfigCmd(cf *genericclioptions.ConfigFlags, outWriter io.Writer) *cobra.Command
func NewFindCmd ¶
func NewFindCmd(buildInfo starboard.BuildInfo, cf *genericclioptions.ConfigFlags) *cobra.Command
func NewFindVulnerabilitiesCmd ¶ added in v0.3.0
func NewFindVulnerabilitiesCmd(buildInfo starboard.BuildInfo, cf *genericclioptions.ConfigFlags) *cobra.Command
Deprecated Use NewScanVulnerabilityReportsCmd instead.
func NewGetCmd ¶
func NewGetCmd(buildInfo starboard.BuildInfo, cf *genericclioptions.ConfigFlags, outWriter io.Writer) *cobra.Command
func NewGetConfigAuditCmd ¶
func NewGetConfigAuditCmd(executable string, cf *genericclioptions.ConfigFlags, outWriter io.Writer) *cobra.Command
func NewGetReportCmd ¶ added in v0.3.0
func NewGetReportCmd(info starboard.BuildInfo, cf *genericclioptions.ConfigFlags, outWriter io.Writer) *cobra.Command
func NewGetVulnerabilitiesCmd ¶
func NewGetVulnerabilitiesCmd(executable string, cf *genericclioptions.ConfigFlags, outWriter io.Writer) *cobra.Command
func NewInitCmd ¶
func NewInitCmd(cf *genericclioptions.ConfigFlags) *cobra.Command
func NewKubeBenchCmd ¶
func NewKubeBenchCmd(cf *genericclioptions.ConfigFlags) *cobra.Command
Deprecated Use NewScanKubeBenchReportsCmd instead.
func NewKubeHunterCmd ¶
func NewKubeHunterCmd(cf *genericclioptions.ConfigFlags) *cobra.Command
Deprecated Use NewScanKubeHunterReportsCmd instead.
func NewPolarisCmd ¶
func NewPolarisCmd(buildInfo starboard.BuildInfo, cf *genericclioptions.ConfigFlags) *cobra.Command
Deprecated Use NewScanConfigAuditReportsCmd instead.
func NewRootCmd ¶
func NewScanCmd ¶ added in v0.7.0
func NewScanCmd(buildInfo starboard.BuildInfo, cf *genericclioptions.ConfigFlags) *cobra.Command
func NewScanConfigAuditReportsCmd ¶ added in v0.7.0
func NewScanConfigAuditReportsCmd(buildInfo starboard.BuildInfo, cf *genericclioptions.ConfigFlags) *cobra.Command
func NewScanKubeBenchReportsCmd ¶ added in v0.7.0
func NewScanKubeBenchReportsCmd(cf *genericclioptions.ConfigFlags) *cobra.Command
func NewScanKubeHunterReportsCmd ¶ added in v0.7.0
func NewScanKubeHunterReportsCmd(cf *genericclioptions.ConfigFlags) *cobra.Command
func NewScanVulnerabilityReportsCmd ¶ added in v0.7.0
func NewScanVulnerabilityReportsCmd(buildInfo starboard.BuildInfo, cf *genericclioptions.ConfigFlags) *cobra.Command
func NewVersionCmd ¶
func Run ¶ added in v0.3.0
func Run(version starboard.BuildInfo, args []string, outWriter io.Writer, errWriter io.Writer) error
Run is the entry point of the Starboard CLI. It runs the specified command based on the specified args.
func ScanConfigAuditReports ¶ added in v0.7.0
func ScanConfigAuditReports(buildInfo starboard.BuildInfo, cf *genericclioptions.ConfigFlags) func(cmd *cobra.Command, args []string) error
func ScanKubeBenchReports ¶ added in v0.7.0
func ScanKubeBenchReports(cf *genericclioptions.ConfigFlags) func(cmd *cobra.Command, args []string) error
func ScanKubeHunterReports ¶ added in v0.7.0
func ScanKubeHunterReports(cf *genericclioptions.ConfigFlags) func(cmd *cobra.Command, args []string) (err error)
func ScanVulnerabilityReports ¶ added in v0.7.0
func ScanVulnerabilityReports(buildInfo starboard.BuildInfo, cf *genericclioptions.ConfigFlags) func(cmd *cobra.Command, args []string) error
func SetGlobalFlags ¶ added in v0.2.1
func SetGlobalFlags(cf *genericclioptions.ConfigFlags, cmd *cobra.Command)
func WorkloadFromArgs ¶
func WorkloadFromArgs(mapper meta.RESTMapper, namespace string, args []string) (workload kube.Object, gvk schema.GroupVersionKind, err error)
Types ¶
type LocalFlags ¶ added in v0.6.0
type LocalFlags struct {
// contains filtered or unexported fields
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.