github

package
v0.0.26 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateRepository

func CreateRepository(
	ctx context.Context,
	repositorySha string,
	repository string,
	mirrorVisibilityMode string,
	sourceURL string,
) *github.Repository

CreateRepository - Create github repository

func FetchOwnerRepos

func FetchOwnerRepos(
	ctx context.Context,
	repoSha, owner, githubVisibility, githubAffiliation string,
) []*github.Repository

FetchOwnerRepos - fetch owner repositories via API, being it Organization or User

func RepositoryExists

func RepositoryExists(ctx context.Context, repositorySha string, owner string, repository string) bool

RepositoryExists - check if remote github repository exists

Types

This section is empty.

Jump to

Keyboard shortcuts

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