github

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Changelog

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

func NewChangelog

func NewChangelog(title string) *Changelog

func (*Changelog) AddIssue

func (c *Changelog) AddIssue(issue *Issue) *Changelog

func (*Changelog) String

func (c *Changelog) String() string

type Client

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

func NewClient

func NewClient(token string) *Client

func (*Client) AddLabel

func (ghc *Client) AddLabel(githubOrg string, githubRepo string, issueId int, label string)

func (*Client) FetchIssues

func (ghc *Client) FetchIssues(githubOrg, githubRepo, label string) *Changelog

type Issue

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

func NewIssue

func NewIssue(issue *github.Issue) *Issue

func (*Issue) HasBrokerLabel

func (i *Issue) HasBrokerLabel() bool

func (*Issue) HasBugLabel

func (i *Issue) HasBugLabel() bool

func (*Issue) HasDocsLabel

func (i *Issue) HasDocsLabel() bool

func (*Issue) HasEnhancementLabel

func (i *Issue) HasEnhancementLabel() bool

func (*Issue) HasGatewayLabel

func (i *Issue) HasGatewayLabel() bool

func (*Issue) HasGoClientLabel

func (i *Issue) HasGoClientLabel() bool

func (*Issue) HasJavaClientLabel

func (i *Issue) HasJavaClientLabel() bool

func (*Issue) HasToilLabel

func (i *Issue) HasToilLabel() bool

func (*Issue) HasZbctlLabel

func (i *Issue) HasZbctlLabel() bool

func (*Issue) IsPullRequest

func (i *Issue) IsPullRequest() bool

func (*Issue) String

func (i *Issue) String() string

type Section

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

func NewSection

func NewSection() *Section

func (*Section) AddIssue

func (s *Section) AddIssue(issue *Issue) *Section

func (*Section) GetBrokerIssues

func (s *Section) GetBrokerIssues() []*Issue

func (*Section) GetGatewayIssues

func (s *Section) GetGatewayIssues() []*Issue

func (*Section) GetGoClientIssues

func (s *Section) GetGoClientIssues() []*Issue

func (*Section) GetJavaClientIssues

func (s *Section) GetJavaClientIssues() []*Issue

func (*Section) GetMiscIssues

func (s *Section) GetMiscIssues() []*Issue

func (*Section) GetZbctlIssues

func (s *Section) GetZbctlIssues() []*Issue

func (*Section) IsEmpty

func (s *Section) IsEmpty() bool

func (*Section) String

func (s *Section) String() string

Jump to

Keyboard shortcuts

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