gf_github

package
v0.0.0-...-a1b0e2b Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: GPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetIPs

func GetIPs(pRuntimeSys *gf_core.RuntimeSys) ([]string, []string, *gf_core.GFerror)

Get IP's from which github servers are expected to send requests.

func RunActionsWorkflow

func RunActionsWorkflow(pRepoOwnerAndNameStr string,
	pWorkflowIDorFileNameStr string,
	pBranchNameStr string,
	pGithubBearerTokenStr string,
	pRuntimeSys *gf_core.RuntimeSys) *gf_core.GFerror

func RunGraphQLquery

func RunGraphQLquery(pGraphQLqueryStr string,
	pGithubBearerTokenStr string,
	pRuntimeSys *gf_core.RuntimeSys) (map[string]interface{}, *gf_core.GFerror)

Types

type GFgithubProject

type GFgithubProject struct {
	TitleStr     string
	URLstr       string
	GraphqlIDstr string
}

func GetProjects

func GetProjects(pOrgNameStr string,
	pGithubBearerTokenStr string,
	pRuntimeSys *gf_core.RuntimeSys) ([]GFgithubProject, *gf_core.GFerror)

get basic info on github projects belonging to an organization, using the Github GraphQL API.

type GFissue

type GFissue struct {
	TitleStr          string
	BodyStr           string
	UrlStr            string
	NumberInt         int
	StateStr          string
	LabelsLst         []GFissueLabel
	MilestoneTitleStr string
	MilestoneUrlStr   string
	CreatedAtStr      string
}

func GetIssues

func GetIssues(pRepoOwnerAndNameStr string,
	pGithubBearerTokenStr string,
	pRuntimeSys *gf_core.RuntimeSys) ([]GFissue, *gf_core.GFerror)

get a github issue associated with a particular repository

type GFissueLabel

type GFissueLabel struct {
	NameStr     string
	ColorHexStr string
}

type GFproject

type GFproject struct {
	NameStr string
	UrlStr  string
}

Jump to

Keyboard shortcuts

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