client

package
v0.72.0 Latest Latest
Warning

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

Go to latest
Published: May 1, 2018 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package client contains the client implementations for several providers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	CreateRelease(ctx *context.Context, body string) (releaseID int64, err error)
	CreateFile(ctx *context.Context, commitAuthor config.CommitAuthor, repo config.Repo, content bytes.Buffer, path, message string) (err error)
	Upload(ctx *context.Context, releaseID int64, name string, file *os.File) (err error)
}

Client interface

func NewGitHub

func NewGitHub(ctx *context.Context) (Client, error)

NewGitHub returns a github client implementation

type Info

type Info struct {
	Description string
	Homepage    string
	URL         string
}

Info of the repository

Jump to

Keyboard shortcuts

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