githubclient

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2018 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitHubReleaseNotesFetcher added in v0.17.0

type GitHubReleaseNotesFetcher interface {
	ResolveReleaseNotes(ctx context.Context, upstream string) (string, error)
}

type GithubClient

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

func NewGithubClient

func NewGithubClient(fs afero.Afero, logger log.Logger) *GithubClient

func (*GithubClient) GetFiles

func (g *GithubClient) GetFiles(
	ctx context.Context,
	upstream string,
	destinationPath string,
) error

func (*GithubClient) ResolveReleaseNotes added in v0.16.0

func (g *GithubClient) ResolveReleaseNotes(ctx context.Context, upstream string) (string, error)

Jump to

Keyboard shortcuts

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