Documentation
¶
Overview ¶
Package report is the `code-insights report` subcommand group.
Index ¶
- func NewCmdDelete(f *factory.Factory, runF func(*DeleteOptions) error) *cobra.Command
- func NewCmdList(f *factory.Factory, runF func(*ListOptions) error) *cobra.Command
- func NewCmdReport(f *factory.Factory) *cobra.Command
- func NewCmdSet(f *factory.Factory, runF func(*SetOptions) error) *cobra.Command
- func NewCmdView(f *factory.Factory, runF func(*ViewOptions) error) *cobra.Command
- type DeleteOptions
- type ListOptions
- type SetOptions
- type ViewOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdDelete ¶
NewCmdDelete builds the `code-insights report delete` cobra command.
func NewCmdList ¶
NewCmdList builds the `code-insights report list` cobra command.
func NewCmdReport ¶
NewCmdReport builds the `code-insights report` command tree.
func NewCmdView ¶
NewCmdView builds the `code-insights report view` cobra command.
Types ¶
type DeleteOptions ¶
type DeleteOptions struct {
Hostname string
// Args[0]=PROJECT/REPO Args[1]=HASH Args[2]=KEY
Args []string
}
DeleteOptions holds parsed flags for `code-insights report delete`.
type ListOptions ¶
type ListOptions struct {
Output format.OutputConfig
Hostname string
// Args[0]=PROJECT/REPO Args[1]=HASH
Args []string
}
ListOptions holds parsed flags for `code-insights report list`.
type SetOptions ¶
type SetOptions struct {
Hostname string
Title string
Result string
ReportType string
Details string
Reporter string
Link string
LogoURL string
Data []string // each "K=V:TYPE"
// Args[0]=PROJECT/REPO Args[1]=HASH Args[2]=KEY
Args []string
}
SetOptions holds parsed flags for `code-insights report set`.
type ViewOptions ¶
type ViewOptions struct {
Output format.OutputConfig
Hostname string
// Args[0]=PROJECT/REPO Args[1]=HASH Args[2]=KEY
Args []string
}
ViewOptions holds parsed flags for `code-insights report view`.
Click to show internal directories.
Click to hide internal directories.