Documentation ¶
Index ¶
- func RegisterCommands(app *cobra.Command, c *client.Client)
- type AbortScansCommand
- type ChecksScansCommand
- type CreateScansCommand
- type DownloadCommand
- type IndexAssettypesCommand
- type IndexChecktypesCommand
- type IndexScansCommand
- type ShowChecksCommand
- type ShowChecktypesCommand
- type ShowHealthcheckCommand
- type ShowScansCommand
- type StatsScansCommand
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AbortScansCommand ¶
AbortScansCommand is the command line data structure for the abort action of Scans
func (*AbortScansCommand) RegisterFlags ¶
func (cmd *AbortScansCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type ChecksScansCommand ¶
ChecksScansCommand is the command line data structure for the checks action of Scans
func (*ChecksScansCommand) RegisterFlags ¶
func (cmd *ChecksScansCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type CreateScansCommand ¶
CreateScansCommand is the command line data structure for the create action of Scans
func (*CreateScansCommand) RegisterFlags ¶
func (cmd *CreateScansCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type DownloadCommand ¶
type DownloadCommand struct { // OutFile is the path to the download output file. OutFile string }
DownloadCommand is the command line data structure for the download command.
type IndexAssettypesCommand ¶
type IndexAssettypesCommand struct {
PrettyPrint bool
}
IndexAssettypesCommand is the command line data structure for the index action of Assettypes
func (*IndexAssettypesCommand) RegisterFlags ¶
func (cmd *IndexAssettypesCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type IndexChecktypesCommand ¶
IndexChecktypesCommand is the command line data structure for the index action of Checktypes
func (*IndexChecktypesCommand) RegisterFlags ¶
func (cmd *IndexChecktypesCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type IndexScansCommand ¶
IndexScansCommand is the command line data structure for the index action of Scans
func (*IndexScansCommand) RegisterFlags ¶
func (cmd *IndexScansCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type ShowChecksCommand ¶
ShowChecksCommand is the command line data structure for the show action of Checks
func (*ShowChecksCommand) RegisterFlags ¶
func (cmd *ShowChecksCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type ShowChecktypesCommand ¶
ShowChecktypesCommand is the command line data structure for the show action of Checktypes
func (*ShowChecktypesCommand) RegisterFlags ¶
func (cmd *ShowChecktypesCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type ShowHealthcheckCommand ¶
type ShowHealthcheckCommand struct {
PrettyPrint bool
}
ShowHealthcheckCommand is the command line data structure for the show action of healthcheck
func (*ShowHealthcheckCommand) RegisterFlags ¶
func (cmd *ShowHealthcheckCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type ShowScansCommand ¶
ShowScansCommand is the command line data structure for the show action of Scans
func (*ShowScansCommand) RegisterFlags ¶
func (cmd *ShowScansCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type StatsScansCommand ¶
StatsScansCommand is the command line data structure for the stats action of Scans
func (*StatsScansCommand) RegisterFlags ¶
func (cmd *StatsScansCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.