github

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateGitHubRepository

func CreateGitHubRepository(ctx context.Context, client *github.Client, owner, name string) (*github.Repository, *github.Response, error)

CreateGitHubRepository creates a new GitHub repository

func GetLatestRelease

func GetLatestRelease(ctx context.Context, client *github.Client, owner, repo string) (*github.RepositoryRelease, *github.Response, error)

gets the latest release from GitHub

func GetOrganizationTeams added in v0.18.1

func GetOrganizationTeams(ctx context.Context, client *github.Client, org string) ([]*github.Team, *github.Response, error)

func GetReleaseByTag

func GetReleaseByTag(ctx context.Context, client *github.Client, owner, repo, tag string) (*github.RepositoryRelease, *github.Response, error)

gets a release from GitHub by tag

func GetReleaseByTagOrLatest

func GetReleaseByTagOrLatest(ctx context.Context, client *github.Client, owner, repo, tag string) (*github.RepositoryRelease, *github.Response, error)

get a release by tag or get latest release

Types

This section is empty.

Jump to

Keyboard shortcuts

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