cmd

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2023 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Version value is set by ldflags
	Version string //nolint
	// Name is cli command name
	Name = "leadtime" //nolint
)
View Source
var (
	ErrMultipleOutputFlag = errors.New("multiple output flags are specified at once")
)

Functions

func Execute

func Execute() int

Execute run leadtime process.

Types

type DetailLeadTimeStat added in v0.0.4

type DetailLeadTimeStat struct {
	LeadTimeStatistics *LeadTimeStat          `json:"lead_time_statistics,omitempty"`
	PullRequests       []*usecase.PullRequest `json:"pull_requests,omitempty"`
}

type LeadTimeStat added in v0.0.4

type LeadTimeStat struct {
	TotalPR           int     `json:"total_pr,omitempty"`
	LeadTimeMaximum   int     `json:"lead_time_maximum,omitempty"`
	LeadTimeMinimum   int     `json:"lead_time_minimum,omitempty"`
	LeadTimeSummation int     `json:"lead_time_summation,omitempty"`
	LeadTimeAverage   float64 `json:"lead_time_average,omitempty"`
	LeadTimeMedian    float64 `json:"lead_time_median,omitempty"`
}

LeadTimeStat is Lead time statistics.

Jump to

Keyboard shortcuts

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