aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/google/go-github
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/google/go-github')
-rw-r--r--vendor/github.com/google/go-github/AUTHORS174
-rw-r--r--vendor/github.com/google/go-github/LICENSE27
-rw-r--r--vendor/github.com/google/go-github/github/activity.go69
-rw-r--r--vendor/github.com/google/go-github/github/activity_events.go328
-rw-r--r--vendor/github.com/google/go-github/github/activity_notifications.go223
-rw-r--r--vendor/github.com/google/go-github/github/activity_star.go135
-rw-r--r--vendor/github.com/google/go-github/github/activity_watching.go146
-rw-r--r--vendor/github.com/google/go-github/github/admin.go101
-rw-r--r--vendor/github.com/google/go-github/github/admin_stats.go171
-rw-r--r--vendor/github.com/google/go-github/github/apps.go223
-rw-r--r--vendor/github.com/google/go-github/github/apps_installation.go101
-rw-r--r--vendor/github.com/google/go-github/github/apps_marketplace.go168
-rw-r--r--vendor/github.com/google/go-github/github/authorizations.go435
-rw-r--r--vendor/github.com/google/go-github/github/checks.go428
-rw-r--r--vendor/github.com/google/go-github/github/doc.go187
-rw-r--r--vendor/github.com/google/go-github/github/event_types.go786
-rw-r--r--vendor/github.com/google/go-github/github/gen-accessors.go332
-rw-r--r--vendor/github.com/google/go-github/github/gists.go358
-rw-r--r--vendor/github.com/google/go-github/github/gists_comments.go119
-rw-r--r--vendor/github.com/google/go-github/github/git.go12
-rw-r--r--vendor/github.com/google/go-github/github/git_blobs.go69
-rw-r--r--vendor/github.com/google/go-github/github/git_commits.go134
-rw-r--r--vendor/github.com/google/go-github/github/git_refs.go218
-rw-r--r--vendor/github.com/google/go-github/github/git_tags.go79
-rw-r--r--vendor/github.com/google/go-github/github/git_trees.go99
-rw-r--r--vendor/github.com/google/go-github/github/github-accessors.go11861
-rw-r--r--vendor/github.com/google/go-github/github/github.go994
-rw-r--r--vendor/github.com/google/go-github/github/gitignore.go64
-rw-r--r--vendor/github.com/google/go-github/github/issues.go347
-rw-r--r--vendor/github.com/google/go-github/github/issues_assignees.go85
-rw-r--r--vendor/github.com/google/go-github/github/issues_comments.go152
-rw-r--r--vendor/github.com/google/go-github/github/issues_events.go158
-rw-r--r--vendor/github.com/google/go-github/github/issues_labels.go261
-rw-r--r--vendor/github.com/google/go-github/github/issues_milestones.go148
-rw-r--r--vendor/github.com/google/go-github/github/issues_timeline.go149
-rw-r--r--vendor/github.com/google/go-github/github/licenses.go97
-rw-r--r--vendor/github.com/google/go-github/github/messages.go247
-rw-r--r--vendor/github.com/google/go-github/github/migrations.go224
-rw-r--r--vendor/github.com/google/go-github/github/migrations_source_import.go329
-rw-r--r--vendor/github.com/google/go-github/github/migrations_user.go214
-rw-r--r--vendor/github.com/google/go-github/github/misc.go257
-rw-r--r--vendor/github.com/google/go-github/github/orgs.go197
-rw-r--r--vendor/github.com/google/go-github/github/orgs_hooks.go107
-rw-r--r--vendor/github.com/google/go-github/github/orgs_members.go370
-rw-r--r--vendor/github.com/google/go-github/github/orgs_outside_collaborators.go81
-rw-r--r--vendor/github.com/google/go-github/github/orgs_projects.go60
-rw-r--r--vendor/github.com/google/go-github/github/orgs_users_blocking.go91
-rw-r--r--vendor/github.com/google/go-github/github/projects.go448
-rw-r--r--vendor/github.com/google/go-github/github/pulls.go383
-rw-r--r--vendor/github.com/google/go-github/github/pulls_comments.go188
-rw-r--r--vendor/github.com/google/go-github/github/pulls_reviewers.go79
-rw-r--r--vendor/github.com/google/go-github/github/pulls_reviews.go236
-rw-r--r--vendor/github.com/google/go-github/github/reactions.go274
-rw-r--r--vendor/github.com/google/go-github/github/repos.go1082
-rw-r--r--vendor/github.com/google/go-github/github/repos_collaborators.go140
-rw-r--r--vendor/github.com/google/go-github/github/repos_comments.go161
-rw-r--r--vendor/github.com/google/go-github/github/repos_commits.go237
-rw-r--r--vendor/github.com/google/go-github/github/repos_community_health.go59
-rw-r--r--vendor/github.com/google/go-github/github/repos_contents.go266
-rw-r--r--vendor/github.com/google/go-github/github/repos_deployments.go224
-rw-r--r--vendor/github.com/google/go-github/github/repos_forks.go89
-rw-r--r--vendor/github.com/google/go-github/github/repos_hooks.go200
-rw-r--r--vendor/github.com/google/go-github/github/repos_invitations.go98
-rw-r--r--vendor/github.com/google/go-github/github/repos_keys.go111
-rw-r--r--vendor/github.com/google/go-github/github/repos_merging.go38
-rw-r--r--vendor/github.com/google/go-github/github/repos_pages.go143
-rw-r--r--vendor/github.com/google/go-github/github/repos_prereceive_hooks.go110
-rw-r--r--vendor/github.com/google/go-github/github/repos_projects.go69
-rw-r--r--vendor/github.com/google/go-github/github/repos_releases.go329
-rw-r--r--vendor/github.com/google/go-github/github/repos_stats.go226
-rw-r--r--vendor/github.com/google/go-github/github/repos_statuses.go129
-rw-r--r--vendor/github.com/google/go-github/github/repos_traffic.go141
-rw-r--r--vendor/github.com/google/go-github/github/search.go261
-rw-r--r--vendor/github.com/google/go-github/github/strings.go93
-rw-r--r--vendor/github.com/google/go-github/github/teams.go357
-rw-r--r--vendor/github.com/google/go-github/github/teams_discussion_comments.go154
-rw-r--r--vendor/github.com/google/go-github/github/teams_discussions.go159
-rw-r--r--vendor/github.com/google/go-github/github/teams_members.go174
-rw-r--r--vendor/github.com/google/go-github/github/timestamp.go41
-rw-r--r--vendor/github.com/google/go-github/github/users.go284
-rw-r--r--vendor/github.com/google/go-github/github/users_administration.go67
-rw-r--r--vendor/github.com/google/go-github/github/users_blocking.go91
-rw-r--r--vendor/github.com/google/go-github/github/users_emails.go71
-rw-r--r--vendor/github.com/google/go-github/github/users_followers.go119
-rw-r--r--vendor/github.com/google/go-github/github/users_gpg_keys.go140
-rw-r--r--vendor/github.com/google/go-github/github/users_keys.go108
-rw-r--r--vendor/github.com/google/go-github/github/with_appengine.go20
-rw-r--r--vendor/github.com/google/go-github/github/without_appengine.go19
88 files changed, 0 insertions, 29233 deletions
diff --git a/vendor/github.com/google/go-github/AUTHORS b/vendor/github.com/google/go-github/AUTHORS
deleted file mode 100644
index 56622a4..0000000
--- a/vendor/github.com/google/go-github/AUTHORS
+++ /dev/null
@@ -1,174 +0,0 @@
-# This is the official list of go-github authors for copyright purposes.
-#
-# This does not necessarily list everyone who has contributed code, since in
-# some cases, their employer may be the copyright holder. To see the full list
-# of contributors, see the revision history in source control or
-# https://github.com/google/go-github/graphs/contributors.
-#
-# Authors who wish to be recognized in this file should add themselves (or
-# their employer, as appropriate).
-
-178inaba <masahiro.furudate@gmail.com>
-Abhinav Gupta <mail@abhinavg.net>
-Ahmed Hagy <a.akram93@gmail.com>
-Ainsley Chong <ainsley.chong@gmail.com>
-Akeda Bagus <akeda@x-team.com>
-Alec Thomas <alec@swapoff.org>
-Aleks Clark <aleks.clark@gmail.com>
-Alex Bramley <a.bramley@gmail.com>
-Alexander Harkness <me@bearbin.net>
-Allen Sun <shlallen1990@gmail.com>
-Amey Sakhadeo <me@ameyms.com>
-Andreas Garnæs <https://github.com/andreas>
-Andrew Ryabchun <aryabchun@mail.ua>
-Andy Hume <andyhume@gmail.com>
-Andy Lindeman <andy@lindeman.io>
-Anshuman Bhartiya <anshuman.bhartiya@gmail.com>
-Antoine Pelisse <apelisse@gmail.com>
-Anubha Kushwaha <anubha_bt2k14@dtu.ac.in>
-Aravind <aravindkp@outlook.in>
-Arıl Bozoluk <arilbozoluk@hotmail.com>
-Austin Dizzy <dizzy@wow.com>
-Beshr Kayali <beshrkayali@gmail.com>
-Beyang Liu <beyang.liu@gmail.com>
-Billy Lynch <wlynch92@gmail.com>
-Björn Häuser <b.haeuser@rebuy.de>
-Brad Harris <bmharris@gmail.com>
-Bradley Falzon <brad@teambrad.net>
-Brian Egizi <brian@mojotech.com>
-Bryan Boreham <bryan@weave.works>
-Cami Diez <diezcami@gmail.com>
-Carlos Alexandro Becker <caarlos0@gmail.com>
-chandresh-pancholi <chandreshpancholi007@gmail.com>
-Charles Fenwick Elliott <Charles@FenwickElliott.io>
-Charlie Yan <charlieyan08@gmail.com>
-Chris King <chriskingnet@gmail.com>
-Chris Roche <chris@vsco.co>
-Chris Schaefer <chris@dtzq.com>
-Christoph Sassenberg <defsprite@gmail.com>
-Colin Misare <github.com/cmisare>
-Craig Peterson <cpeterson@stackoverflow.com>
-Cristian Maglie <c.maglie@bug.st>
-Daehyeok Mun <daehyeok@gmail.com>
-Daniel Leavitt <daniel.leavitt@gmail.com>
-Dave Du Cros <davidducros@gmail.com>
-Dave Henderson <dhenderson@gmail.com>
-David Deng <daviddengcn@gmail.com>
-Dennis Webb <dennis@bluesentryit.com>
-Diego Lapiduz <diego.lapiduz@cfpb.gov>
-Dmitri Shuralyov <shurcooL@gmail.com>
-dmnlk <seikima2demon@gmail.com>
-Don Petersen <don@donpetersen.net>
-Doug Turner <doug.turner@gmail.com>
-Drew Fradette <drew.fradette@gmail.com>
-Eli Uriegas <seemethere101@gmail.com>
-Elliott Beach <elliott2.71828@gmail.com>
-erwinvaneyk <erwinvaneyk@gmail.com>
-Fabrice <fabrice.vaillant@student.ecp.fr>
-Filippo Valsorda <hi@filippo.io>
-Florian Forster <ff@octo.it>
-Francesc Gil <xescugil@gmail.com>
-Francis <hello@francismakes.com>
-Fredrik Jönsson <fredrik.jonsson@izettle.com>
-Garrett Squire <garrettsquire@gmail.com>
-Georgy Buranov <gburanov@gmail.com>
-Gnahz <p@oath.pl>
-Google Inc.
-griffin_stewie <panterathefamilyguy@gmail.com>
-Guz Alexander <kalimatas@gmail.com>
-Hanno Hecker <hanno.hecker@zalando.de>
-Hari haran <hariharan.uno@gmail.com>
-haya14busa <hayabusa1419@gmail.com>
-Huy Tr <kingbazoka@gmail.com>
-huydx <doxuanhuy@gmail.com>
-i2bskn <i2bskn@gmail.com>
-Isao Jonas <isao.jonas@gmail.com>
-isqua <isqua@isqua.ru>
-Jameel Haffejee <RC1140@republiccommandos.co.za>
-Jan Kosecki <jan.kosecki91@gmail.com>
-Jeremy Morris <jeremylevanmorris@gmail.com>
-Jihoon Chung <j.c@navercorp.com>
-Jimmi Dyson <jimmidyson@gmail.com>
-Joe Tsai <joetsai@digital-static.net>
-John Barton <jrbarton@gmail.com>
-John Engelman <john.r.engelman@gmail.com>
-jpbelanger-mtl <jp.belanger@gmail.com>
-Juan Basso <jrbasso@gmail.com>
-Julien Rostand <jrostand@users.noreply.github.com>
-Justin Abrahms <justin@abrah.ms>
-jzhoucliqr <jzhou@cliqr.com>
-Katrina Owen <kytrinyx@github.com>
-Keita Urashima <ursm@ursm.jp>
-Kevin Burke <kev@inburke.com>
-Konrad Malawski <konrad.malawski@project13.pl>
-Kookheon Kwon <kucuny@gmail.com>
-Krzysztof Kowalczyk <kkowalczyk@gmail.com>
-Kshitij Saraogi <KshitijSaraogi@gmail.com>
-kyokomi <kyoko1220adword@gmail.com>
-Lucas Alcantara <lucasalcantaraf@gmail.com>
-Luke Evers <me@lukevers.com>
-Luke Kysow <lkysow@gmail.com>
-Luke Roberts <email@luke-roberts.co.uk>
-Luke Young <luke@hydrantlabs.org>
-Maksim Zhylinski <uzzable@gmail.com>
-Martin-Louis Bright <mlbright@gmail.com>
-Mat Geist <matgeist@gmail.com>
-Matt Brender <mjbrender@gmail.com>
-Matt Landis <landis.matt@gmail.com>
-Maxime Bury <maxime.bury@gmail.com>
-Michael Tiller <michael.tiller@gmail.com>
-Michał Glapa <michal.glapa@gmail.com>
-Nathan VanBenschoten <nvanbenschoten@gmail.com>
-Neil O'Toole <neilotoole@apache.org>
-Nick Miyake <nmiyake@palantir.com>
-Nick Spragg <nick.spragg@bbc.co.uk>
-Nikhita Raghunath <nikitaraghunath@gmail.com>
-Noah Zoschke <noah+sso2@convox.com>
-ns-cweber <cweber@narrativescience.com>
-Ondřej Kupka <ondra.cap@gmail.com>
-Panagiotis Moustafellos <pmoust@gmail.com>
-Parker Moore <parkrmoore@gmail.com>
-Pavel Shtanko <pavel.shtanko@gmail.com>
-Petr Shevtsov <petr.shevtsov@gmail.com>
-Pierre Carrier <pierre@meteor.com>
-Piotr Zurek <p.zurek@gmail.com>
-Quinn Slack <qslack@qslack.com>
-Rackspace US, Inc.
-Rajendra arora <rajendraarora16@yahoo.com>
-RaviTeja Pothana <ravi-teja@live.com>
-rc1140 <jameel@republiccommandos.co.za>
-Red Hat, Inc.
-Rob Figueiredo <robfig@yext.com>
-Ronak Jain <ronakjain@outlook.in>
-Ruben Vereecken <rubenvereecken@gmail.com>
-Ryan Lower <rpjlower@gmail.com>
-Sahil Dua <sahildua2305@gmail.com>
-saisi <saisi@users.noreply.github.com>
-Sam Minnée <sam@silverstripe.com>
-Sander van Harmelen <svanharmelen@schubergphilis.com>
-Sanket Payghan <sanket.payghan8@gmail.com>
-Sarasa Kisaragi <lingsamuelgrace@gmail.com>
-Sean Wang <sean@decrypted.org>
-Sebastian Mandrean <sebastian.mandrean@gmail.com>
-Sebastian Mæland Pedersen <sem.pedersen@stud.uis.no>
-Sevki <s@sevki.org>
-Shawn Catanzarite <me@shawncatz.com>
-Shawn Smith <shawnpsmith@gmail.com>
-sona-tar <sona.zip@gmail.com>
-SoundCloud, Ltd.
-Stian Eikeland <stian@eikeland.se>
-Thomas Bruyelle <thomas.bruyelle@gmail.com>
-Timothée Peignier <timothee.peignier@tryphon.org>
-Trey Tacon <ttacon@gmail.com>
-ttacon <ttacon@gmail.com>
-Varadarajan Aravamudhan <varadaraajan@gmail.com>
-Victor Castell <victor@victorcastell.com>
-Victor Vrantchan <vrancean+github@gmail.com>
-Vlad Ungureanu <vladu@palantir.com>
-Will Maier <wcmaier@gmail.com>
-William Bailey <mail@williambailey.org.uk>
-Yann Malet <yann.malet@gmail.com>
-Yannick Utard <yannickutard@gmail.com>
-Yicheng Qin <qycqycqycqycqyc@gmail.com>
-Yumikiyo Osanai <yumios.art@gmail.com>
-Zach Latta <zach@zachlatta.com>
diff --git a/vendor/github.com/google/go-github/LICENSE b/vendor/github.com/google/go-github/LICENSE
deleted file mode 100644
index 28b6486..0000000
--- a/vendor/github.com/google/go-github/LICENSE
+++ /dev/null
@@ -1,27 +0,0 @@
-Copyright (c) 2013 The go-github AUTHORS. All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are
-met:
-
- * Redistributions of source code must retain the above copyright
-notice, this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above
-copyright notice, this list of conditions and the following disclaimer
-in the documentation and/or other materials provided with the
-distribution.
- * Neither the name of Google Inc. nor the names of its
-contributors may be used to endorse or promote products derived from
-this software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/vendor/github.com/google/go-github/github/activity.go b/vendor/github.com/google/go-github/github/activity.go
deleted file mode 100644
index d6c992c..0000000
--- a/vendor/github.com/google/go-github/github/activity.go
+++ /dev/null
@@ -1,69 +0,0 @@
-// Copyright 2013 The go-github AUTHORS. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package github
-
-import "context"
-
-// ActivityService handles communication with the activity related
-// methods of the GitHub API.
-//
-// GitHub API docs: https://developer.github.com/v3/activity/
-type ActivityService service
-
-// FeedLink represents a link to a related resource.
-type FeedLink struct {
- HRef *string `json:"href,omitempty"`
- Type *string `json:"type,omitempty"`
-}
-
-// Feeds represents timeline resources in Atom format.
-type Feeds struct {
- TimelineURL *string `json:"timeline_url,omitempty"`
- UserURL *string `json:"user_url,omitempty"`
- CurrentUserPublicURL *string `json:"current_user_public_url,omitempty"`
- CurrentUserURL *string `json:"current_user_url,omitempty"`
- CurrentUserActorURL *string `json:"current_user_actor_url,omitempty"`
- CurrentUserOrganizationURL *string `json:"current_user_organization_url,omitempty"`
- CurrentUserOrganizationURLs []string `json:"current_user_organization_urls,omitempty"`
- Links *struct {
- Timeline *FeedLink `json:"timeline,omitempty"`
- User *FeedLink `json:"user,omitempty"`
- CurrentUserPublic *FeedLink `json:"current_user_public,omitempty"`
- CurrentUser *FeedLink `json:"current_user,omitempty"`
- CurrentUserActor *FeedLink `json:"current_user_actor,omitempty"`
- CurrentUserOrganization *FeedLink `json:"current_user_organization,omitempty"`
- CurrentUserOrganizations []FeedLink `json:"current_user_organizations,omitempty"`
- } `json:"_links,omitempty"`
-}
-
-// ListFeeds lists all the feeds available to the authenticated user.
-//
-// GitHub provides several timeline resources in Atom format:
-// Timeline: The GitHub global public timeline
-// User: The public timeline for any user, using URI template
-// Current user public: The public timeline for the authenticated user
-// Current user: The private timeline for the authenticated user
-// Current user actor: The private timeline for activity created by the
-// authenticated user
-// Current user organizations: The private timeline for the organizations
-// the authenticated user is a member of.
-//
-// Note: Private feeds are only returned when authenticating via Basic Auth
-// since current feed URIs use the older, non revocable auth tokens.
-func (s *ActivityService) ListFeeds(ctx context.Context) (*Feeds, *Response, error) {
- req, err := s.client.NewRequest("GET", "feeds", nil)
- if err != nil {
- return nil, nil, err