Documentation ¶
Index ¶
- Variables
- func CreateBranchsWithProgress(branch string, from string, xapOnly bool, client *github.Client) (progressChan chan RepoStatus, resChan chan map[string]interface{})
- func DeleteBranchWithProgress(branch string, client *github.Client) (progressChan chan RepoStatus, resChan chan map[string]interface{})
- func GetEvents(owner, repo string, lastEventId *string, client *github.Client) (firstEventId *string, eventsMap map[string]*BranchOwnershipEvent, ...)
- func GetEventsForRepos(client *github.Client) (created chan map[string]map[string]*BranchOwnershipEvent)
- func ListAllRefsAsMap(client *github.Client) chan map[string]map[string]string
- func ListRefs(client *github.Client, owner string, repo string) ([]*github.Reference, error)
- type BranchOnRepositories
- type BranchOwnershipEvent
- type EventData
- type RefList
- type Repo
- type RepoStatus
- type SortByDateBranchOwnershipEvents
- type UIBranch
Constants ¶
This section is empty.
Variables ¶
View Source
var ReposNames []string
Functions ¶
func DeleteBranchWithProgress ¶
func DeleteBranchWithProgress(branch string, client *github.Client) (progressChan chan RepoStatus, resChan chan map[string]interface{})
func GetEventsForRepos ¶
func GetEventsForRepos(client *github.Client) (created chan map[string]map[string]*BranchOwnershipEvent)
func ListAllRefsAsMap ¶
Types ¶
type BranchOnRepositories ¶
type BranchOwnershipEvent ¶
type EventData ¶
type EventData struct { Ref string `json:"ref"` RefType string `json:"ref_type"` PusherType string `json:"pusher_type"` }
{"ref":"yaelna_120","ref_type":"branch","pusher_type":"user"}
type RepoStatus ¶
type SortByDateBranchOwnershipEvents ¶
type SortByDateBranchOwnershipEvents []*BranchOwnershipEvent
func (SortByDateBranchOwnershipEvents) Len ¶
func (s SortByDateBranchOwnershipEvents) Len() int
func (SortByDateBranchOwnershipEvents) Less ¶
func (s SortByDateBranchOwnershipEvents) Less(i, j int) bool
func (SortByDateBranchOwnershipEvents) Swap ¶
func (s SortByDateBranchOwnershipEvents) Swap(i, j int)
type UIBranch ¶
type UIBranch struct { Name string `json:"name"` Repos []RepoStatus `json:"repos"` }
Click to show internal directories.
Click to hide internal directories.