types

package
v0.4.7 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2020 License: Apache-2.0 Imports: 0 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BranchOutput

type BranchOutput struct {
	Name string `json:"name"`
	Head string `json:"head"`
}

type Collector

type Collector struct {
	Name       string   `yaml:"name"`
	Path       string   `yaml:"path"`
	Parser     string   `yaml:"parser"`
	Collectors []string `yaml:"collectors"`
}

Collector represents a single collect definition

func (Collector) Equals

func (c Collector) Equals(other Collector) bool

func (*Collector) Merge

func (c *Collector) Merge(other Collector)

type Output

type Output struct {
	Recommendations []*ProactionRecommendation `json:"recommendations,omitempty"`
	Repos           []*RepoOutput              `json:"repos,omitempty"`
}

type ProactionRecommendation

type ProactionRecommendation struct {
	Owner   string   `json:"owner"`
	Repo    string   `json:"repo"`
	RefType string   `json:"refType"`
	Refs    []string `json:"refs"`
}

type RepoOutput

type RepoOutput struct {
	WorkflowInfo  `json:",inline"`
	ID            int64    `json:"id"`
	Owner         string   `json:"owner"`
	Repo          string   `json:"repo"`
	Path          string   `json:"path"`
	IsPublic      bool     `json:"isPublic"`
	IsArchived    bool     `json:"isArchived"`
	DefaultBranch string   `json:"defaultBranch"`
	IsFork        bool     `json:"isFork"`
	Forks         []string `json:"forks,omitempty"`
	Parent        string   `json:"parent,omitempty"`
	Head          string   `json:"head"`

	// included when refInfo
	Ref     string `json:"ref"`
	RefType string `json:"refType"`

	// included in branches
	Branches []BranchOutput `json:"branches,omitempty"`

	// included in tags
	Tags []TagOutput `json:"tags,omitempty"`

	// included in commits
	Commits []string `json:"commits,omitempty"`
}

type TagOutput

type TagOutput struct {
	Name string `json:"name"`
	Head string `json:"head"`
}

type WorkflowInfo

type WorkflowInfo struct {
	Workflow    string `json:"workflow"`
	LineNumber  int    `json:"lineNumber"`
	LineContent string `json:"lineContent"`
}

Jump to

Keyboard shortcuts

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