github

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	GitHubToken string
}

type GitHub

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

func New

func New(c Config) (*GitHub, error)

func (*GitHub) GetFilesByBranch

func (gh *GitHub) GetFilesByBranch(ctx context.Context, owner, name, branch string) (github.Store, error)

func (*GitHub) GetFilesByTag

func (gh *GitHub) GetFilesByTag(ctx context.Context, owner, name, tag string) (github.Store, error)

func (*GitHub) GetLatestTag

func (gh *GitHub) GetLatestTag(ctx context.Context, owner, name, tagReference string) (string, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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