github

package
v0.0.0-...-a4b85a5 Latest Latest
Warning

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

Go to latest
Published: May 18, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package github is a generated protocol buffer package.

It is generated from these files:

commit_author.proto
installation.proto
push_event.proto
repository.proto
repository_permission.proto
user.proto
webhook.proto

It has these top-level messages:

CommitAuthor
Installation
PushCommit
PushEvent
Repository
RepositoryPermission
User

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterGithubWebhookServer

func RegisterGithubWebhookServer(s *grpc.Server, srv GithubWebhookServer)

Types

type CommitAuthor

type CommitAuthor struct {
	Name     string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Email    string `protobuf:"bytes,2,opt,name=email" json:"email,omitempty"`
	Username string `protobuf:"bytes,3,opt,name=username" json:"username,omitempty"`
	Date     string `protobuf:"bytes,4,opt,name=date" json:"date,omitempty"`
}

func (*CommitAuthor) Descriptor

func (*CommitAuthor) Descriptor() ([]byte, []int)

func (*CommitAuthor) GetDate

func (m *CommitAuthor) GetDate() string

func (*CommitAuthor) GetEmail

func (m *CommitAuthor) GetEmail() string

func (*CommitAuthor) GetName

func (m *CommitAuthor) GetName() string

func (*CommitAuthor) GetUsername

func (m *CommitAuthor) GetUsername() string

func (*CommitAuthor) ProtoMessage

func (*CommitAuthor) ProtoMessage()

func (*CommitAuthor) Reset

func (m *CommitAuthor) Reset()

func (*CommitAuthor) String

func (m *CommitAuthor) String() string

type GithubWebhookClient

type GithubWebhookClient interface {
	OnPush(ctx context.Context, in *PushEvent, opts ...grpc.CallOption) (*google_protobuf.Empty, error)
}

func NewGithubWebhookClient

func NewGithubWebhookClient(cc *grpc.ClientConn) GithubWebhookClient

type GithubWebhookServer

type GithubWebhookServer interface {
	OnPush(context.Context, *PushEvent) (*google_protobuf.Empty, error)
}

type Installation

type Installation struct {
	Id              int32  `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	Account         *User  `protobuf:"bytes,2,opt,name=account" json:"account,omitempty"`
	AccessTokensUrl string `protobuf:"bytes,3,opt,name=access_tokens_url,json=accessTokensUrl" json:"access_tokens_url,omitempty"`
	RepositoriesUrl string `protobuf:"bytes,4,opt,name=repositories_url,json=repositoriesUrl" json:"repositories_url,omitempty"`
	HtmlUrl         string `protobuf:"bytes,5,opt,name=html_url,json=htmlUrl" json:"html_url,omitempty"`
}

func (*Installation) Descriptor

func (*Installation) Descriptor() ([]byte, []int)

func (*Installation) GetAccessTokensUrl

func (m *Installation) GetAccessTokensUrl() string

func (*Installation) GetAccount

func (m *Installation) GetAccount() *User

func (*Installation) GetHtmlUrl

func (m *Installation) GetHtmlUrl() string

func (*Installation) GetId

func (m *Installation) GetId() int32

func (*Installation) GetRepositoriesUrl

func (m *Installation) GetRepositoriesUrl() string

func (*Installation) ProtoMessage

func (*Installation) ProtoMessage()

func (*Installation) Reset

func (m *Installation) Reset()

func (*Installation) String

func (m *Installation) String() string

type PushCommit

type PushCommit struct {
	Sha       string        `protobuf:"bytes,1,opt,name=sha" json:"sha,omitempty"`
	Id        string        `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"`
	TreeId    string        `protobuf:"bytes,3,opt,name=tree_id,json=treeId" json:"tree_id,omitempty"`
	Distinct  bool          `protobuf:"varint,4,opt,name=distinct" json:"distinct,omitempty"`
	Message   string        `protobuf:"bytes,5,opt,name=message" json:"message,omitempty"`
	Timestamp string        `protobuf:"bytes,6,opt,name=timestamp" json:"timestamp,omitempty"`
	Url       string        `protobuf:"bytes,7,opt,name=url" json:"url,omitempty"`
	Author    *CommitAuthor `protobuf:"bytes,8,opt,name=author" json:"author,omitempty"`
	Committer *CommitAuthor `protobuf:"bytes,9,opt,name=committer" json:"committer,omitempty"`
	Added     []string      `protobuf:"bytes,10,rep,name=added" json:"added,omitempty"`
	Removed   []string      `protobuf:"bytes,11,rep,name=removed" json:"removed,omitempty"`
	Modified  []string      `protobuf:"bytes,12,rep,name=modified" json:"modified,omitempty"`
}

func (*PushCommit) Descriptor

func (*PushCommit) Descriptor() ([]byte, []int)

func (*PushCommit) GetAdded

func (m *PushCommit) GetAdded() []string

func (*PushCommit) GetAuthor

func (m *PushCommit) GetAuthor() *CommitAuthor

func (*PushCommit) GetCommitter

func (m *PushCommit) GetCommitter() *CommitAuthor

func (*PushCommit) GetDistinct

func (m *PushCommit) GetDistinct() bool

func (*PushCommit) GetId

func (m *PushCommit) GetId() string

func (*PushCommit) GetMessage

func (m *PushCommit) GetMessage() string

func (*PushCommit) GetModified

func (m *PushCommit) GetModified() []string

func (*PushCommit) GetRemoved

func (m *PushCommit) GetRemoved() []string

func (*PushCommit) GetSha

func (m *PushCommit) GetSha() string

func (*PushCommit) GetTimestamp

func (m *PushCommit) GetTimestamp() string

func (*PushCommit) GetTreeId

func (m *PushCommit) GetTreeId() string

func (*PushCommit) GetUrl

func (m *PushCommit) GetUrl() string

func (*PushCommit) ProtoMessage

func (*PushCommit) ProtoMessage()

func (*PushCommit) Reset

func (m *PushCommit) Reset()

func (*PushCommit) String

func (m *PushCommit) String() string

type PushEvent

type PushEvent struct {
	Ref          string        `protobuf:"bytes,1,opt,name=ref" json:"ref,omitempty"`
	Before       string        `protobuf:"bytes,2,opt,name=before" json:"before,omitempty"`
	After        string        `protobuf:"bytes,3,opt,name=after" json:"after,omitempty"`
	Created      bool          `protobuf:"varint,4,opt,name=created" json:"created,omitempty"`
	Deleted      bool          `protobuf:"varint,5,opt,name=deleted" json:"deleted,omitempty"`
	Forced       bool          `protobuf:"varint,6,opt,name=forced" json:"forced,omitempty"`
	BaseRef      string        `protobuf:"bytes,7,opt,name=base_ref,json=baseRef" json:"base_ref,omitempty"`
	Compare      string        `protobuf:"bytes,8,opt,name=compare" json:"compare,omitempty"`
	Commits      []*PushCommit `protobuf:"bytes,9,rep,name=commits" json:"commits,omitempty"`
	HeadCommit   *PushCommit   `protobuf:"bytes,10,opt,name=head_commit,json=headCommit" json:"head_commit,omitempty"`
	Repository   *Repository   `protobuf:"bytes,11,opt,name=repository" json:"repository,omitempty"`
	Pusher       *CommitAuthor `protobuf:"bytes,12,opt,name=pusher" json:"pusher,omitempty"`
	Sender       *User         `protobuf:"bytes,13,opt,name=sender" json:"sender,omitempty"`
	Installation *Installation `protobuf:"bytes,14,opt,name=installation" json:"installation,omitempty"`
	Organization *User         `protobuf:"bytes,15,opt,name=organization" json:"organization,omitempty"`
}

func (*PushEvent) Descriptor

func (*PushEvent) Descriptor() ([]byte, []int)

func (*PushEvent) GetAfter

func (m *PushEvent) GetAfter() string

func (*PushEvent) GetBaseRef

func (m *PushEvent) GetBaseRef() string

func (*PushEvent) GetBefore

func (m *PushEvent) GetBefore() string

func (*PushEvent) GetCommits

func (m *PushEvent) GetCommits() []*PushCommit

func (*PushEvent) GetCompare

func (m *PushEvent) GetCompare() string

func (*PushEvent) GetCreated

func (m *PushEvent) GetCreated() bool

func (*PushEvent) GetDeleted

func (m *PushEvent) GetDeleted() bool

func (*PushEvent) GetForced

func (m *PushEvent) GetForced() bool

func (*PushEvent) GetHeadCommit

func (m *PushEvent) GetHeadCommit() *PushCommit

func (*PushEvent) GetInstallation

func (m *PushEvent) GetInstallation() *Installation

func (*PushEvent) GetOrganization

func (m *PushEvent) GetOrganization() *User

func (*PushEvent) GetPusher

func (m *PushEvent) GetPusher() *CommitAuthor

func (*PushEvent) GetRef

func (m *PushEvent) GetRef() string

func (*PushEvent) GetRepository

func (m *PushEvent) GetRepository() *Repository

func (*PushEvent) GetSender

func (m *PushEvent) GetSender() *User

func (*PushEvent) ProtoMessage

func (*PushEvent) ProtoMessage()

func (*PushEvent) Reset

func (m *PushEvent) Reset()

func (*PushEvent) String

func (m *PushEvent) String() string

type Repository

type Repository struct {
	Id               int32                 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	Owner            *User                 `protobuf:"bytes,2,opt,name=owner" json:"owner,omitempty"`
	Name             string                `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"`
	FullName         string                `protobuf:"bytes,4,opt,name=full_name,json=fullName" json:"full_name,omitempty"`
	Description      string                `protobuf:"bytes,5,opt,name=description" json:"description,omitempty"`
	Private          bool                  `protobuf:"varint,6,opt,name=private" json:"private,omitempty"`
	Fork             bool                  `protobuf:"varint,7,opt,name=fork" json:"fork,omitempty"`
	Url              string                `protobuf:"bytes,8,opt,name=url" json:"url,omitempty"`
	HtmlUrl          string                `protobuf:"bytes,9,opt,name=html_url,json=htmlUrl" json:"html_url,omitempty"`
	ArchiveUrl       string                `protobuf:"bytes,10,opt,name=archive_url,json=archiveUrl" json:"archive_url,omitempty"`
	AssigneesUrl     string                `protobuf:"bytes,11,opt,name=assignees_url,json=assigneesUrl" json:"assignees_url,omitempty"`
	BlobsUrl         string                `protobuf:"bytes,12,opt,name=blobs_url,json=blobsUrl" json:"blobs_url,omitempty"`
	BranchesUrl      string                `protobuf:"bytes,13,opt,name=branches_url,json=branchesUrl" json:"branches_url,omitempty"`
	CloneUrl         string                `protobuf:"bytes,14,opt,name=clone_url,json=cloneUrl" json:"clone_url,omitempty"`
	CollaboratorsUrl string                `protobuf:"bytes,15,opt,name=collaborators_url,json=collaboratorsUrl" json:"collaborators_url,omitempty"`
	CommentsUrl      string                `protobuf:"bytes,16,opt,name=comments_url,json=commentsUrl" json:"comments_url,omitempty"`
	CommitsUrl       string                `protobuf:"bytes,17,opt,name=commits_url,json=commitsUrl" json:"commits_url,omitempty"`
	CompareUrl       string                `protobuf:"bytes,18,opt,name=compare_url,json=compareUrl" json:"compare_url,omitempty"`
	ContentsUrl      string                `protobuf:"bytes,19,opt,name=contents_url,json=contentsUrl" json:"contents_url,omitempty"`
	ContributorsUrl  string                `protobuf:"bytes,20,opt,name=contributors_url,json=contributorsUrl" json:"contributors_url,omitempty"`
	DeploymentsUrl   string                `protobuf:"bytes,21,opt,name=deployments_url,json=deploymentsUrl" json:"deployments_url,omitempty"`
	DownloadsUrl     string                `protobuf:"bytes,22,opt,name=downloads_url,json=downloadsUrl" json:"downloads_url,omitempty"`
	EventsUrl        string                `protobuf:"bytes,23,opt,name=events_url,json=eventsUrl" json:"events_url,omitempty"`
	ForksUrl         string                `protobuf:"bytes,24,opt,name=forks_url,json=forksUrl" json:"forks_url,omitempty"`
	GitCommitsUrl    string                `protobuf:"bytes,25,opt,name=git_commits_url,json=gitCommitsUrl" json:"git_commits_url,omitempty"`
	GitRefsUrl       string                `protobuf:"bytes,26,opt,name=git_refs_url,json=gitRefsUrl" json:"git_refs_url,omitempty"`
	GitTagsUrl       string                `protobuf:"bytes,27,opt,name=git_tags_url,json=gitTagsUrl" json:"git_tags_url,omitempty"`
	GitUrl           string                `protobuf:"bytes,28,opt,name=git_url,json=gitUrl" json:"git_url,omitempty"`
	HooksUrl         string                `protobuf:"bytes,29,opt,name=hooks_url,json=hooksUrl" json:"hooks_url,omitempty"`
	IssueCommentUrl  string                `protobuf:"bytes,30,opt,name=issue_comment_url,json=issueCommentUrl" json:"issue_comment_url,omitempty"`
	IssueEventsUrl   string                `protobuf:"bytes,31,opt,name=issue_events_url,json=issueEventsUrl" json:"issue_events_url,omitempty"`
	IssuesUrl        string                `protobuf:"bytes,32,opt,name=issues_url,json=issuesUrl" json:"issues_url,omitempty"`
	KeysUrl          string                `protobuf:"bytes,33,opt,name=keys_url,json=keysUrl" json:"keys_url,omitempty"`
	LabelsUrl        string                `protobuf:"bytes,34,opt,name=labels_url,json=labelsUrl" json:"labels_url,omitempty"`
	LanguagesUrl     string                `protobuf:"bytes,35,opt,name=languages_url,json=languagesUrl" json:"languages_url,omitempty"`
	MergesUrl        string                `protobuf:"bytes,36,opt,name=merges_url,json=mergesUrl" json:"merges_url,omitempty"`
	MilestonesUrl    string                `protobuf:"bytes,37,opt,name=milestones_url,json=milestonesUrl" json:"milestones_url,omitempty"`
	MirrorUrl        string                `protobuf:"bytes,38,opt,name=mirror_url,json=mirrorUrl" json:"mirror_url,omitempty"`
	NotificationsUrl string                `protobuf:"bytes,39,opt,name=notifications_url,json=notificationsUrl" json:"notifications_url,omitempty"`
	PullsUrl         string                `protobuf:"bytes,40,opt,name=pulls_url,json=pullsUrl" json:"pulls_url,omitempty"`
	ReleasesUrl      string                `protobuf:"bytes,41,opt,name=releases_url,json=releasesUrl" json:"releases_url,omitempty"`
	SshUrl           string                `protobuf:"bytes,42,opt,name=ssh_url,json=sshUrl" json:"ssh_url,omitempty"`
	StargazersUrl    string                `protobuf:"bytes,43,opt,name=stargazers_url,json=stargazersUrl" json:"stargazers_url,omitempty"`
	StatusesUrl      string                `protobuf:"bytes,44,opt,name=statuses_url,json=statusesUrl" json:"statuses_url,omitempty"`
	SubscribersUrl   string                `protobuf:"bytes,45,opt,name=subscribers_url,json=subscribersUrl" json:"subscribers_url,omitempty"`
	SubscriptionUrl  string                `protobuf:"bytes,46,opt,name=subscription_url,json=subscriptionUrl" json:"subscription_url,omitempty"`
	SvnUrl           string                `protobuf:"bytes,47,opt,name=svn_url,json=svnUrl" json:"svn_url,omitempty"`
	TagsUrl          string                `protobuf:"bytes,48,opt,name=tags_url,json=tagsUrl" json:"tags_url,omitempty"`
	TeamsUrl         string                `protobuf:"bytes,49,opt,name=teams_url,json=teamsUrl" json:"teams_url,omitempty"`
	TreesUrl         string                `protobuf:"bytes,50,opt,name=trees_url,json=treesUrl" json:"trees_url,omitempty"`
	Homepage         string                `protobuf:"bytes,51,opt,name=homepage" json:"homepage,omitempty"`
	Language         string                `protobuf:"bytes,52,opt,name=language" json:"language,omitempty"`
	ForksCount       int32                 `protobuf:"varint,53,opt,name=forks_count,json=forksCount" json:"forks_count,omitempty"`
	StargazersCount  int32                 `protobuf:"varint,54,opt,name=stargazers_count,json=stargazersCount" json:"stargazers_count,omitempty"`
	WatchersCount    int32                 `protobuf:"varint,55,opt,name=watchers_count,json=watchersCount" json:"watchers_count,omitempty"`
	NetworkCount     int32                 `protobuf:"varint,56,opt,name=network_count,json=networkCount" json:"network_count,omitempty"`
	RepoSize         int32                 `protobuf:"varint,57,opt,name=RepoSize" json:"RepoSize,omitempty"`
	DefaultBranch    string                `protobuf:"bytes,58,opt,name=default_branch,json=defaultBranch" json:"default_branch,omitempty"`
	OpenIssuesCount  int32                 `protobuf:"varint,59,opt,name=open_issues_count,json=openIssuesCount" json:"open_issues_count,omitempty"`
	HasIssues        bool                  `protobuf:"varint,60,opt,name=has_issues,json=hasIssues" json:"has_issues,omitempty"`
	HasWiki          bool                  `protobuf:"varint,61,opt,name=has_wiki,json=hasWiki" json:"has_wiki,omitempty"`
	HasPages         bool                  `protobuf:"varint,62,opt,name=has_pages,json=hasPages" json:"has_pages,omitempty"`
	HasDownloads     bool                  `protobuf:"varint,63,opt,name=has_downloads,json=hasDownloads" json:"has_downloads,omitempty"`
	PushedAt         int32                 `protobuf:"varint,64,opt,name=pushed_at,json=pushedAt" json:"pushed_at,omitempty"`
	CreatedAt        int32                 `protobuf:"varint,65,opt,name=created_at,json=createdAt" json:"created_at,omitempty"`
	UpdatedAt        string                `protobuf:"bytes,66,opt,name=updated_at,json=updatedAt" json:"updated_at,omitempty"`
	Permissions      *RepositoryPermission `protobuf:"bytes,67,opt,name=permissions" json:"permissions,omitempty"`
	SubscribersCount int32                 `protobuf:"varint,68,opt,name=subscribers_count,json=subscribersCount" json:"subscribers_count,omitempty"`
	Organization     *User                 `protobuf:"bytes,69,opt,name=organization" json:"organization,omitempty"`
	Parent           *Repository           `protobuf:"bytes,70,opt,name=parent" json:"parent,omitempty"`
	Source           *Repository           `protobuf:"bytes,71,opt,name=source" json:"source,omitempty"`
	AllowRebaseMerge bool                  `protobuf:"varint,72,opt,name=allow_rebase_merge,json=allowRebaseMerge" json:"allow_rebase_merge,omitempty"`
	AllowSquashMerge bool                  `protobuf:"varint,73,opt,name=allow_squash_merge,json=allowSquashMerge" json:"allow_squash_merge,omitempty"`
	AllowMergeCommit bool                  `protobuf:"varint,74,opt,name=allow_merge_commit,json=allowMergeCommit" json:"allow_merge_commit,omitempty"`
}

func (*Repository) Descriptor

func (*Repository) Descriptor() ([]byte, []int)

func (*Repository) GetAllowMergeCommit

func (m *Repository) GetAllowMergeCommit() bool

func (*Repository) GetAllowRebaseMerge

func (m *Repository) GetAllowRebaseMerge() bool

func (*Repository) GetAllowSquashMerge

func (m *Repository) GetAllowSquashMerge() bool

func (*Repository) GetArchiveUrl

func (m *Repository) GetArchiveUrl() string

func (*Repository) GetAssigneesUrl

func (m *Repository) GetAssigneesUrl() string

func (*Repository) GetBlobsUrl

func (m *Repository) GetBlobsUrl() string

func (*Repository) GetBranchesUrl

func (m *Repository) GetBranchesUrl() string

func (*Repository) GetCloneUrl

func (m *Repository) GetCloneUrl() string

func (*Repository) GetCollaboratorsUrl

func (m *Repository) GetCollaboratorsUrl() string

func (*Repository) GetCommentsUrl

func (m *Repository) GetCommentsUrl() string

func (*Repository) GetCommitsUrl

func (m *Repository) GetCommitsUrl() string

func (*Repository) GetCompareUrl

func (m *Repository) GetCompareUrl() string

func (*Repository) GetContentsUrl

func (m *Repository) GetContentsUrl() string

func (*Repository) GetContributorsUrl

func (m *Repository) GetContributorsUrl() string

func (*Repository) GetCreatedAt

func (m *Repository) GetCreatedAt() int32

func (*Repository) GetDefaultBranch

func (m *Repository) GetDefaultBranch() string

func (*Repository) GetDeploymentsUrl

func (m *Repository) GetDeploymentsUrl() string

func (*Repository) GetDescription

func (m *Repository) GetDescription() string

func (*Repository) GetDownloadsUrl

func (m *Repository) GetDownloadsUrl() string

func (*Repository) GetEventsUrl

func (m *Repository) GetEventsUrl() string

func (*Repository) GetFork

func (m *Repository) GetFork() bool

func (*Repository) GetForksCount

func (m *Repository) GetForksCount() int32

func (*Repository) GetForksUrl

func (m *Repository) GetForksUrl() string

func (*Repository) GetFullName

func (m *Repository) GetFullName() string

func (*Repository) GetGitCommitsUrl

func (m *Repository) GetGitCommitsUrl() string

func (*Repository) GetGitRefsUrl

func (m *Repository) GetGitRefsUrl() string

func (*Repository) GetGitTagsUrl

func (m *Repository) GetGitTagsUrl() string

func (*Repository) GetGitUrl

func (m *Repository) GetGitUrl() string

func (*Repository) GetHasDownloads

func (m *Repository) GetHasDownloads() bool

func (*Repository) GetHasIssues

func (m *Repository) GetHasIssues() bool

func (*Repository) GetHasPages

func (m *Repository) GetHasPages() bool

func (*Repository) GetHasWiki

func (m *Repository) GetHasWiki() bool

func (*Repository) GetHomepage

func (m *Repository) GetHomepage() string

func (*Repository) GetHooksUrl

func (m *Repository) GetHooksUrl() string

func (*Repository) GetHtmlUrl

func (m *Repository) GetHtmlUrl() string

func (*Repository) GetId

func (m *Repository) GetId() int32

func (*Repository) GetIssueCommentUrl

func (m *Repository) GetIssueCommentUrl() string

func (*Repository) GetIssueEventsUrl

func (m *Repository) GetIssueEventsUrl() string

func (*Repository) GetIssuesUrl

func (m *Repository) GetIssuesUrl() string

func (*Repository) GetKeysUrl

func (m *Repository) GetKeysUrl() string

func (*Repository) GetLabelsUrl

func (m *Repository) GetLabelsUrl() string

func (*Repository) GetLanguage

func (m *Repository) GetLanguage() string

func (*Repository) GetLanguagesUrl

func (m *Repository) GetLanguagesUrl() string

func (*Repository) GetMergesUrl

func (m *Repository) GetMergesUrl() string

func (*Repository) GetMilestonesUrl

func (m *Repository) GetMilestonesUrl() string

func (*Repository) GetMirrorUrl

func (m *Repository) GetMirrorUrl() string

func (*Repository) GetName

func (m *Repository) GetName() string

func (*Repository) GetNetworkCount

func (m *Repository) GetNetworkCount() int32

func (*Repository) GetNotificationsUrl

func (m *Repository) GetNotificationsUrl() string

func (*Repository) GetOpenIssuesCount

func (m *Repository) GetOpenIssuesCount() int32

func (*Repository) GetOrganization

func (m *Repository) GetOrganization() *User

func (*Repository) GetOwner

func (m *Repository) GetOwner() *User

func (*Repository) GetParent

func (m *Repository) GetParent() *Repository

func (*Repository) GetPermissions

func (m *Repository) GetPermissions() *RepositoryPermission

func (*Repository) GetPrivate

func (m *Repository) GetPrivate() bool

func (*Repository) GetPullsUrl

func (m *Repository) GetPullsUrl() string

func (*Repository) GetPushedAt

func (m *Repository) GetPushedAt() int32

func (*Repository) GetReleasesUrl

func (m *Repository) GetReleasesUrl() string

func (*Repository) GetRepoSize

func (m *Repository) GetRepoSize() int32

func (*Repository) GetSource

func (m *Repository) GetSource() *Repository

func (*Repository) GetSshUrl

func (m *Repository) GetSshUrl() string

func (*Repository) GetStargazersCount

func (m *Repository) GetStargazersCount() int32

func (*Repository) GetStargazersUrl

func (m *Repository) GetStargazersUrl() string

func (*Repository) GetStatusesUrl

func (m *Repository) GetStatusesUrl() string

func (*Repository) GetSubscribersCount

func (m *Repository) GetSubscribersCount() int32

func (*Repository) GetSubscribersUrl

func (m *Repository) GetSubscribersUrl() string

func (*Repository) GetSubscriptionUrl

func (m *Repository) GetSubscriptionUrl() string

func (*Repository) GetSvnUrl

func (m *Repository) GetSvnUrl() string

func (*Repository) GetTagsUrl

func (m *Repository) GetTagsUrl() string

func (*Repository) GetTeamsUrl

func (m *Repository) GetTeamsUrl() string

func (*Repository) GetTreesUrl

func (m *Repository) GetTreesUrl() string

func (*Repository) GetUpdatedAt

func (m *Repository) GetUpdatedAt() string

func (*Repository) GetUrl

func (m *Repository) GetUrl() string

func (*Repository) GetWatchersCount

func (m *Repository) GetWatchersCount() int32

func (*Repository) ProtoMessage

func (*Repository) ProtoMessage()

func (*Repository) Reset

func (m *Repository) Reset()

func (*Repository) String

func (m *Repository) String() string

type RepositoryPermission

type RepositoryPermission struct {
	Admin bool `protobuf:"varint,1,opt,name=admin" json:"admin,omitempty"`
	Push  bool `protobuf:"varint,2,opt,name=push" json:"push,omitempty"`
	Pull  bool `protobuf:"varint,3,opt,name=pull" json:"pull,omitempty"`
}

func (*RepositoryPermission) Descriptor

func (*RepositoryPermission) Descriptor() ([]byte, []int)

func (*RepositoryPermission) GetAdmin

func (m *RepositoryPermission) GetAdmin() bool

func (*RepositoryPermission) GetPull

func (m *RepositoryPermission) GetPull() bool

func (*RepositoryPermission) GetPush

func (m *RepositoryPermission) GetPush() bool

func (*RepositoryPermission) ProtoMessage

func (*RepositoryPermission) ProtoMessage()

func (*RepositoryPermission) Reset

func (m *RepositoryPermission) Reset()

func (*RepositoryPermission) String

func (m *RepositoryPermission) String() string

type User

type User struct {
	Id                int32                 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	Login             string                `protobuf:"bytes,2,opt,name=login" json:"login,omitempty"`
	AvatarUrl         string                `protobuf:"bytes,3,opt,name=avatar_url,json=avatarUrl" json:"avatar_url,omitempty"`
	GravatarId        string                `protobuf:"bytes,4,opt,name=gravatar_id,json=gravatarId" json:"gravatar_id,omitempty"`
	Url               string                `protobuf:"bytes,5,opt,name=url" json:"url,omitempty"`
	HtmlUrl           string                `protobuf:"bytes,6,opt,name=html_url,json=htmlUrl" json:"html_url,omitempty"`
	FollowersUrl      string                `protobuf:"bytes,7,opt,name=followers_url,json=followersUrl" json:"followers_url,omitempty"`
	FollowingUrl      string                `protobuf:"bytes,8,opt,name=following_url,json=followingUrl" json:"following_url,omitempty"`
	GistsUrl          string                `protobuf:"bytes,9,opt,name=gists_url,json=gistsUrl" json:"gists_url,omitempty"`
	StarredUrl        string                `protobuf:"bytes,10,opt,name=starred_url,json=starredUrl" json:"starred_url,omitempty"`
	SubscriptionsUrl  string                `protobuf:"bytes,11,opt,name=subscriptions_url,json=subscriptionsUrl" json:"subscriptions_url,omitempty"`
	OrganizationsUrl  string                `protobuf:"bytes,12,opt,name=organizations_url,json=organizationsUrl" json:"organizations_url,omitempty"`
	ReposUrl          string                `protobuf:"bytes,13,opt,name=repos_url,json=reposUrl" json:"repos_url,omitempty"`
	EventsUrl         string                `protobuf:"bytes,14,opt,name=events_url,json=eventsUrl" json:"events_url,omitempty"`
	ReceivedEventsUrl string                `protobuf:"bytes,15,opt,name=received_events_url,json=receivedEventsUrl" json:"received_events_url,omitempty"`
	HooksUrl          string                `protobuf:"bytes,16,opt,name=hooks_url,json=hooksUrl" json:"hooks_url,omitempty"`
	IssuesUrl         string                `protobuf:"bytes,17,opt,name=issues_url,json=issuesUrl" json:"issues_url,omitempty"`
	MembersUrl        string                `protobuf:"bytes,18,opt,name=members_url,json=membersUrl" json:"members_url,omitempty"`
	PublicMembersUrl  string                `protobuf:"bytes,19,opt,name=public_members_url,json=publicMembersUrl" json:"public_members_url,omitempty"`
	Description       string                `protobuf:"bytes,20,opt,name=description" json:"description,omitempty"`
	Type              string                `protobuf:"bytes,21,opt,name=type" json:"type,omitempty"`
	SiteAdmin         bool                  `protobuf:"varint,22,opt,name=site_admin,json=siteAdmin" json:"site_admin,omitempty"`
	Name              string                `protobuf:"bytes,23,opt,name=name" json:"name,omitempty"`
	Company           string                `protobuf:"bytes,24,opt,name=company" json:"company,omitempty"`
	Blog              string                `protobuf:"bytes,25,opt,name=blog" json:"blog,omitempty"`
	Location          string                `protobuf:"bytes,26,opt,name=location" json:"location,omitempty"`
	Email             string                `protobuf:"bytes,27,opt,name=email" json:"email,omitempty"`
	Hireable          bool                  `protobuf:"varint,28,opt,name=hireable" json:"hireable,omitempty"`
	Bio               string                `protobuf:"bytes,29,opt,name=bio" json:"bio,omitempty"`
	PublicRepos       int32                 `protobuf:"varint,30,opt,name=public_repos,json=publicRepos" json:"public_repos,omitempty"`
	PublicGists       int32                 `protobuf:"varint,31,opt,name=public_gists,json=publicGists" json:"public_gists,omitempty"`
	Followers         int32                 `protobuf:"varint,32,opt,name=followers" json:"followers,omitempty"`
	Following         int32                 `protobuf:"varint,33,opt,name=following" json:"following,omitempty"`
	CreatedAt         string                `protobuf:"bytes,34,opt,name=created_at,json=createdAt" json:"created_at,omitempty"`
	UpdatedAt         string                `protobuf:"bytes,35,opt,name=updated_at,json=updatedAt" json:"updated_at,omitempty"`
	OrgId             int32                 `protobuf:"varint,36,opt,name=org_id,json=orgId" json:"org_id,omitempty"`
	Permissions       *RepositoryPermission `protobuf:"bytes,37,opt,name=permissions" json:"permissions,omitempty"`
}

func (*User) Descriptor

func (*User) Descriptor() ([]byte, []int)

func (*User) GetAvatarUrl

func (m *User) GetAvatarUrl() string

func (*User) GetBio

func (m *User) GetBio() string

func (*User) GetBlog

func (m *User) GetBlog() string

func (*User) GetCompany

func (m *User) GetCompany() string

func (*User) GetCreatedAt

func (m *User) GetCreatedAt() string

func (*User) GetDescription

func (m *User) GetDescription() string

func (*User) GetEmail

func (m *User) GetEmail() string

func (*User) GetEventsUrl

func (m *User) GetEventsUrl() string

func (*User) GetFollowers

func (m *User) GetFollowers() int32

func (*User) GetFollowersUrl

func (m *User) GetFollowersUrl() string

func (*User) GetFollowing

func (m *User) GetFollowing() int32

func (*User) GetFollowingUrl

func (m *User) GetFollowingUrl() string

func (*User) GetGistsUrl

func (m *User) GetGistsUrl() string

func (*User) GetGravatarId

func (m *User) GetGravatarId() string

func (*User) GetHireable

func (m *User) GetHireable() bool

func (*User) GetHooksUrl

func (m *User) GetHooksUrl() string

func (*User) GetHtmlUrl

func (m *User) GetHtmlUrl() string

func (*User) GetId

func (m *User) GetId() int32

func (*User) GetIssuesUrl

func (m *User) GetIssuesUrl() string

func (*User) GetLocation

func (m *User) GetLocation() string

func (*User) GetLogin

func (m *User) GetLogin() string

func (*User) GetMembersUrl

func (m *User) GetMembersUrl() string

func (*User) GetName

func (m *User) GetName() string

func (*User) GetOrgId

func (m *User) GetOrgId() int32

func (*User) GetOrganizationsUrl

func (m *User) GetOrganizationsUrl() string

func (*User) GetPermissions

func (m *User) GetPermissions() *RepositoryPermission

func (*User) GetPublicGists

func (m *User) GetPublicGists() int32

func (*User) GetPublicMembersUrl

func (m *User) GetPublicMembersUrl() string

func (*User) GetPublicRepos

func (m *User) GetPublicRepos() int32

func (*User) GetReceivedEventsUrl

func (m *User) GetReceivedEventsUrl() string

func (*User) GetReposUrl

func (m *User) GetReposUrl() string

func (*User) GetSiteAdmin

func (m *User) GetSiteAdmin() bool

func (*User) GetStarredUrl

func (m *User) GetStarredUrl() string

func (*User) GetSubscriptionsUrl

func (m *User) GetSubscriptionsUrl() string

func (*User) GetType

func (m *User) GetType() string

func (*User) GetUpdatedAt

func (m *User) GetUpdatedAt() string

func (*User) GetUrl

func (m *User) GetUrl() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) Reset

func (m *User) Reset()

func (*User) String

func (m *User) String() string

Jump to

Keyboard shortcuts

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