githubclient

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package githubclient sets up the client for communicating with Github and the subsequent queries to Github.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client contains the set up github client and allowed queries to communicate with Github.

func New

func New(token string) *Client

New bootstraps the Client struct

func (*Client) LatestCommitOnBranch

func (client *Client) LatestCommitOnBranch(owner, repo, reference, commit string) (bool, error)

func (*Client) SetCheckStatus added in v0.2.0

func (client *Client) SetCheckStatus(owner, repo, status, jobName, description, jobURL, commit string) error

Jump to

Keyboard shortcuts

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