commands

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CodeQualityCmd = &cobra.Command{
	Use:   "codequality",
	Short: "Code quality report",
	RunE:  codeQualityCmdF,
}

CodeQualityCmd ...

View Source
var CoverageCmd = &cobra.Command{
	Use:   "coverage",
	Short: "Coverage report",
	RunE:  coverageCmdF,
}

CoverageCmd ...

View Source
var RootCmd = &cobra.Command{
	Use:   "gitlab-reporter",
	Short: "Gitlab Reporter",
	Long:  `Swiss army knife reporter tool for Gitlab`,
}

RootCmd ..

Functions

func Run

func Run(args []string) error

Run ...

Types

type CodeQualityCommand

type CodeQualityCommand struct {
	// contains filtered or unexported fields
}

func NewCodeQualityCommand

func NewCodeQualityCommand(flags *pflag.FlagSet) *CodeQualityCommand

func (*CodeQualityCommand) AddReport

func (t *CodeQualityCommand) AddReport(reportFile string, reportType string, reportEngine string) *CodeQualityCommand

func (*CodeQualityCommand) CreateFile

func (t *CodeQualityCommand) CreateFile(fileData []byte) error

func (*CodeQualityCommand) FindReport

func (t *CodeQualityCommand) FindReport(reportLocation string) []string

type CoverageCommand

type CoverageCommand struct {
	// contains filtered or unexported fields
}

func NewCoverageCommand

func NewCoverageCommand(flags *pflag.FlagSet) *CoverageCommand

Jump to

Keyboard shortcuts

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