github

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API interface {
	GetActionsReleases() (map[string]time.Time, error)
	GetRepoVariable(repoName, varName string) (string, error)
	SetRepoVariable(repo, varName, varValue string) error
	GetWorkflowJob(wfName, wfTitle, repo, branch, event string) (int64, string, error)
	SubmitWorkflow(repo, branch, wfName string, inputs map[string]interface{}) error
	GetWorkflowRunByID(repo string, id int64) (*githubapi.WorkflowRun, error)
}

func NewAPIClient

func NewAPIClient(objParams *miscutils.NewObjParams, org, token string, httpClient *http.Client) API

Jump to

Keyboard shortcuts

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