Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadCachedTree ¶
Types ¶
type CoverageGenerator ¶
type CoverageGenerator struct { // Root url.Url // Depth int Sources []*core.Source Repos []repositories.CoverageRepository }
CovreageGen holds configuration for coverage analysis
func NewCoverageGenerator ¶
func NewCoverageGenerator(repoIds []string, patterns []string) *CoverageGenerator
NewCoverageGenerator creates a CoverageGenerator with the default properties
func (CoverageGenerator) Summary ¶
func (c CoverageGenerator) Summary() (*Summary, error)
type CoverageRequests ¶
type CoverageRequests int
func (CoverageRequests) Summary ¶
func (CoverageRequests) Summary(p *CoverageSummaryParams, res *Summary) error
func (CoverageRequests) Tree ¶
func (CoverageRequests) Tree(p *CoverageTreeParams, res *tree.Node) error
type CoverageSummaryParams ¶
type CoverageSummaryParams struct { // root url to work from // TODO - support root param // Root string // patterns to filter results against, optional Patterns []string // ids of repositories to limit query to, default is all RepoIds []string }
func (*CoverageSummaryParams) Validate ¶
func (p *CoverageSummaryParams) Validate() error
type CoverageTreeParams ¶
type CoverageTreeParams struct { // root url to work from Root string // depth of tree to return Depth int // patterns to filter results against, optional Patterns []string // ids of repositories to limit query to, default is all RepoIds []string }
func (*CoverageTreeParams) Validate ¶
func (p *CoverageTreeParams) Validate() error
Click to show internal directories.
Click to hide internal directories.