github

package
v0.0.0-...-2b994e7 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2026 License: MIT Imports: 10 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerPackage

type ContainerPackage struct {
	ID         int
	Index      int
	Name       string
	Owner      string
	Visibility string
	CreatedAt  time.Time
}

func (ContainerPackage) PrintTable

func (cp ContainerPackage) PrintTable()

type GithubClient

type GithubClient struct {
	// contains filtered or unexported fields
}

GithubClient é um cliente para o GitHub.

func NewClient

func NewClient(ctx context.Context, token, username, url string) (*GithubClient, error)

NewClient retorna uma nova instância de GithubClient e um erro, se houver.

func (*GithubClient) DeleteContainerPackageVersion

func (gh *GithubClient) DeleteContainerPackageVersion(ctx context.Context, container string, pkg *github.PackageVersion, dryRun bool)

Delete container package version

func (*GithubClient) GetAllContainerPackages

func (gh *GithubClient) GetAllContainerPackages(ctx context.Context, username string) ([]*github.Package, error)

Get all packages of user

func (*GithubClient) GetAllContainerPackagesVersions

func (gh *GithubClient) GetAllContainerPackagesVersions(ctx context.Context, container string) ([]*github.PackageVersion, error)

Get all container package versions off a user

Jump to

Keyboard shortcuts

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