report

package
v1.135.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package report is the `code-insights report` subcommand group.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdDelete

func NewCmdDelete(f *factory.Factory, runF func(*DeleteOptions) error) *cobra.Command

NewCmdDelete builds the `code-insights report delete` cobra command.

func NewCmdList

func NewCmdList(f *factory.Factory, runF func(*ListOptions) error) *cobra.Command

NewCmdList builds the `code-insights report list` cobra command.

func NewCmdReport

func NewCmdReport(f *factory.Factory) *cobra.Command

NewCmdReport builds the `code-insights report` command tree.

func NewCmdSet

func NewCmdSet(f *factory.Factory, runF func(*SetOptions) error) *cobra.Command

NewCmdSet builds the `code-insights report set` cobra command.

func NewCmdView

func NewCmdView(f *factory.Factory, runF func(*ViewOptions) error) *cobra.Command

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`.

Jump to

Keyboard shortcuts

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