report

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Report

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

type SprintReport

type SprintReport struct {
	*Report
	ImageSupported  bool
	TotalPoints     float64
	CompletedPoints float64
	Done            []*SprintReportIssue
	Todo            []*SprintReportIssue
	Open            []*SprintReportIssue
	// contains filtered or unexported fields
}

func NewSprintReport

func NewSprintReport(c *jira.Client, sprint *jira.Sprint) *SprintReport

func (*SprintReport) Build

func (r *SprintReport) Build() error

func (*SprintReport) Image

func (r *SprintReport) Image() (string, error)

func (*SprintReport) Print

func (r *SprintReport) Print()

func (*SprintReport) PrintImage

func (r *SprintReport) PrintImage() error

type SprintReportIssue

type SprintReportIssue struct {
	Key     string
	Points  float64
	Status  string
	Type    string
	Closed  time.Time
	Summary string
}

type SprintReportIssueSorter

type SprintReportIssueSorter []*SprintReportIssue

SprintCompletedDate is for sorting based on completed date

func (SprintReportIssueSorter) Len

func (a SprintReportIssueSorter) Len() int

Len fulfills the sort interface

func (SprintReportIssueSorter) Less

func (a SprintReportIssueSorter) Less(i, j int) bool

Less fulfills the sort interface

func (SprintReportIssueSorter) Swap

func (a SprintReportIssueSorter) Swap(i, j int)

Swap fulfills the sort interface

Jump to

Keyboard shortcuts

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