releasegen

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReleaseReport

type ReleaseReport []*TeamInfo

func GenerateReport

func GenerateReport(conf *config.Config) ReleaseReport

GenerateReport takes a given config, and generates the output JSON

func (ReleaseReport) Dump

func (r ReleaseReport) Dump()

type Team

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

Team represents a given "real-life Team"

func NewTeam

func NewTeam(configTeam config.Team) *Team

NewTeam creates a new team, and populates it's fields using the Github/Launchpad APIs

func (*Team) Info

func (t *Team) Info() *TeamInfo

Info returns a serialisable form of a given team

func (*Team) Process

func (t *Team) Process() error

Process is used to populate a given team with the details of its Github Org and Launchpad repositories

type TeamInfo

type TeamInfo struct {
	Name  string                        `json:"team"`
	Repos []repositories.RepositoryInfo `json:"repos"`
}

TeamInfo is the serialisable form of a real-life team

Jump to

Keyboard shortcuts

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