Documentation ¶
Overview ¶
Package maintpb is a generated protocol buffer package.
It is generated from these files:
maintner.proto
It has these top-level messages:
Mutation GithubIssueMutation BoolChange GithubLabel GithubIssueCommentSyncStatus GithubIssueCommentMutation GithubUser GitMutation GitRepo GitCommit GitDiffTree GitDiffTreeFile
Index ¶
- type BoolChange
- type GitCommit
- type GitDiffTree
- type GitDiffTreeFile
- func (*GitDiffTreeFile) Descriptor() ([]byte, []int)
- func (m *GitDiffTreeFile) GetAdded() int64
- func (m *GitDiffTreeFile) GetBinary() bool
- func (m *GitDiffTreeFile) GetDeleted() int64
- func (m *GitDiffTreeFile) GetFile() string
- func (*GitDiffTreeFile) ProtoMessage()
- func (m *GitDiffTreeFile) Reset()
- func (m *GitDiffTreeFile) String() string
- type GitMutation
- type GitRepo
- type GithubIssueCommentMutation
- func (*GithubIssueCommentMutation) Descriptor() ([]byte, []int)
- func (m *GithubIssueCommentMutation) GetBody() string
- func (m *GithubIssueCommentMutation) GetCreated() *google_protobuf.Timestamp
- func (m *GithubIssueCommentMutation) GetId() int64
- func (m *GithubIssueCommentMutation) GetUpdated() *google_protobuf.Timestamp
- func (m *GithubIssueCommentMutation) GetUser() *GithubUser
- func (*GithubIssueCommentMutation) ProtoMessage()
- func (m *GithubIssueCommentMutation) Reset()
- func (m *GithubIssueCommentMutation) String() string
- type GithubIssueCommentSyncStatus
- func (*GithubIssueCommentSyncStatus) Descriptor() ([]byte, []int)
- func (m *GithubIssueCommentSyncStatus) GetServerDate() *google_protobuf.Timestamp
- func (*GithubIssueCommentSyncStatus) ProtoMessage()
- func (m *GithubIssueCommentSyncStatus) Reset()
- func (m *GithubIssueCommentSyncStatus) String() string
- type GithubIssueMutation
- func (*GithubIssueMutation) Descriptor() ([]byte, []int)
- func (m *GithubIssueMutation) GetAddLabel() []*GithubLabel
- func (m *GithubIssueMutation) GetAssignees() []*GithubUser
- func (m *GithubIssueMutation) GetBody() string
- func (m *GithubIssueMutation) GetClosed() *BoolChange
- func (m *GithubIssueMutation) GetClosedAt() *google_protobuf.Timestamp
- func (m *GithubIssueMutation) GetClosedBy() *GithubUser
- func (m *GithubIssueMutation) GetComment() []*GithubIssueCommentMutation
- func (m *GithubIssueMutation) GetCommentStatus() *GithubIssueCommentSyncStatus
- func (m *GithubIssueMutation) GetCreated() *google_protobuf.Timestamp
- func (m *GithubIssueMutation) GetDeletedAssignees() []int64
- func (m *GithubIssueMutation) GetId() int64
- func (m *GithubIssueMutation) GetLocked() *BoolChange
- func (m *GithubIssueMutation) GetMilestoneId() int64
- func (m *GithubIssueMutation) GetMilestoneNum() int64
- func (m *GithubIssueMutation) GetMilestoneTitle() string
- func (m *GithubIssueMutation) GetNoMilestone() bool
- func (m *GithubIssueMutation) GetNotExist() bool
- func (m *GithubIssueMutation) GetNumber() int32
- func (m *GithubIssueMutation) GetOwner() string
- func (m *GithubIssueMutation) GetRemoveLabel() []int64
- func (m *GithubIssueMutation) GetRepo() string
- func (m *GithubIssueMutation) GetTitle() string
- func (m *GithubIssueMutation) GetUpdated() *google_protobuf.Timestamp
- func (m *GithubIssueMutation) GetUser() *GithubUser
- func (*GithubIssueMutation) ProtoMessage()
- func (m *GithubIssueMutation) Reset()
- func (m *GithubIssueMutation) String() string
- type GithubLabel
- type GithubUser
- type Mutation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BoolChange ¶
type BoolChange struct {
Val bool `protobuf:"varint,1,opt,name=val" json:"val,omitempty"`
}
BoolChange represents a change to a boolean value.
func (*BoolChange) Descriptor ¶
func (*BoolChange) Descriptor() ([]byte, []int)
func (*BoolChange) GetVal ¶
func (m *BoolChange) GetVal() bool
func (*BoolChange) ProtoMessage ¶
func (*BoolChange) ProtoMessage()
func (*BoolChange) Reset ¶
func (m *BoolChange) Reset()
func (*BoolChange) String ¶
func (m *BoolChange) String() string
type GitCommit ¶
type GitCommit struct { Sha1 string `protobuf:"bytes,1,opt,name=sha1" json:"sha1,omitempty"` // raw is the "git cat-file commit $sha1" output. Raw []byte `protobuf:"bytes,2,opt,name=raw,proto3" json:"raw,omitempty"` DiffTree *GitDiffTree `protobuf:"bytes,3,opt,name=diff_tree,json=diffTree" json:"diff_tree,omitempty"` }
func (*GitCommit) Descriptor ¶
func (*GitCommit) GetDiffTree ¶
func (m *GitCommit) GetDiffTree() *GitDiffTree
func (*GitCommit) ProtoMessage ¶
func (*GitCommit) ProtoMessage()
type GitDiffTree ¶
type GitDiffTree struct {
File []*GitDiffTreeFile `protobuf:"bytes,1,rep,name=file" json:"file,omitempty"`
}
git diff-tree --numstat oldtree newtree
func (*GitDiffTree) Descriptor ¶
func (*GitDiffTree) Descriptor() ([]byte, []int)
func (*GitDiffTree) GetFile ¶
func (m *GitDiffTree) GetFile() []*GitDiffTreeFile
func (*GitDiffTree) ProtoMessage ¶
func (*GitDiffTree) ProtoMessage()
func (*GitDiffTree) Reset ¶
func (m *GitDiffTree) Reset()
func (*GitDiffTree) String ¶
func (m *GitDiffTree) String() string
type GitDiffTreeFile ¶
type GitDiffTreeFile struct { File string `protobuf:"bytes,1,opt,name=file" json:"file,omitempty"` Added int64 `protobuf:"varint,2,opt,name=added" json:"added,omitempty"` Deleted int64 `protobuf:"varint,3,opt,name=deleted" json:"deleted,omitempty"` Binary bool `protobuf:"varint,4,opt,name=binary" json:"binary,omitempty"` }
GitDiffTreeFile represents one line of `git diff-tree --numstat` output.
func (*GitDiffTreeFile) Descriptor ¶
func (*GitDiffTreeFile) Descriptor() ([]byte, []int)
func (*GitDiffTreeFile) GetAdded ¶
func (m *GitDiffTreeFile) GetAdded() int64
func (*GitDiffTreeFile) GetBinary ¶
func (m *GitDiffTreeFile) GetBinary() bool
func (*GitDiffTreeFile) GetDeleted ¶
func (m *GitDiffTreeFile) GetDeleted() int64
func (*GitDiffTreeFile) GetFile ¶
func (m *GitDiffTreeFile) GetFile() string
func (*GitDiffTreeFile) ProtoMessage ¶
func (*GitDiffTreeFile) ProtoMessage()
func (*GitDiffTreeFile) Reset ¶
func (m *GitDiffTreeFile) Reset()
func (*GitDiffTreeFile) String ¶
func (m *GitDiffTreeFile) String() string
type GitMutation ¶
type GitMutation struct { Repo *GitRepo `protobuf:"bytes,1,opt,name=repo" json:"repo,omitempty"` // commit adds a commit, or adds new information to a commit if fields // are added in the future. Commit *GitCommit `protobuf:"bytes,2,opt,name=commit" json:"commit,omitempty"` }
func (*GitMutation) Descriptor ¶
func (*GitMutation) Descriptor() ([]byte, []int)
func (*GitMutation) GetCommit ¶
func (m *GitMutation) GetCommit() *GitCommit
func (*GitMutation) GetRepo ¶
func (m *GitMutation) GetRepo() *GitRepo
func (*GitMutation) ProtoMessage ¶
func (*GitMutation) ProtoMessage()
func (*GitMutation) Reset ¶
func (m *GitMutation) Reset()
func (*GitMutation) String ¶
func (m *GitMutation) String() string
type GitRepo ¶
type GitRepo struct { // If go_repo is set, it identifies a go.googlesource.com/<go_repo> repo. GoRepo string `protobuf:"bytes,1,opt,name=go_repo,json=goRepo" json:"go_repo,omitempty"` }
GitRepo identifies a git repo being mutated.
func (*GitRepo) Descriptor ¶
func (*GitRepo) ProtoMessage ¶
func (*GitRepo) ProtoMessage()
type GithubIssueCommentMutation ¶
type GithubIssueCommentMutation struct { Id int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` User *GithubUser `protobuf:"bytes,2,opt,name=user" json:"user,omitempty"` Body string `protobuf:"bytes,3,opt,name=body" json:"body,omitempty"` Created *google_protobuf.Timestamp `protobuf:"bytes,4,opt,name=created" json:"created,omitempty"` Updated *google_protobuf.Timestamp `protobuf:"bytes,5,opt,name=updated" json:"updated,omitempty"` }
func (*GithubIssueCommentMutation) Descriptor ¶
func (*GithubIssueCommentMutation) Descriptor() ([]byte, []int)
func (*GithubIssueCommentMutation) GetBody ¶
func (m *GithubIssueCommentMutation) GetBody() string
func (*GithubIssueCommentMutation) GetCreated ¶
func (m *GithubIssueCommentMutation) GetCreated() *google_protobuf.Timestamp
func (*GithubIssueCommentMutation) GetId ¶
func (m *GithubIssueCommentMutation) GetId() int64
func (*GithubIssueCommentMutation) GetUpdated ¶
func (m *GithubIssueCommentMutation) GetUpdated() *google_protobuf.Timestamp
func (*GithubIssueCommentMutation) GetUser ¶
func (m *GithubIssueCommentMutation) GetUser() *GithubUser
func (*GithubIssueCommentMutation) ProtoMessage ¶
func (*GithubIssueCommentMutation) ProtoMessage()
func (*GithubIssueCommentMutation) Reset ¶
func (m *GithubIssueCommentMutation) Reset()
func (*GithubIssueCommentMutation) String ¶
func (m *GithubIssueCommentMutation) String() string
type GithubIssueCommentSyncStatus ¶
type GithubIssueCommentSyncStatus struct { // server_date is the "Date" response header from Github for the // final HTTP response. ServerDate *google_protobuf.Timestamp `protobuf:"bytes,1,opt,name=server_date,json=serverDate" json:"server_date,omitempty"` }
GithubIssueCommentSyncStatus notes where syncing is at for comments on an issue, This mutation type is only made at/after the same top-level mutation which created the corresponding comments.
func (*GithubIssueCommentSyncStatus) Descriptor ¶
func (*GithubIssueCommentSyncStatus) Descriptor() ([]byte, []int)
func (*GithubIssueCommentSyncStatus) GetServerDate ¶
func (m *GithubIssueCommentSyncStatus) GetServerDate() *google_protobuf.Timestamp
func (*GithubIssueCommentSyncStatus) ProtoMessage ¶
func (*GithubIssueCommentSyncStatus) ProtoMessage()
func (*GithubIssueCommentSyncStatus) Reset ¶
func (m *GithubIssueCommentSyncStatus) Reset()
func (*GithubIssueCommentSyncStatus) String ¶
func (m *GithubIssueCommentSyncStatus) String() string
type GithubIssueMutation ¶
type GithubIssueMutation struct { Owner string `protobuf:"bytes,1,opt,name=owner" json:"owner,omitempty"` Repo string `protobuf:"bytes,2,opt,name=repo" json:"repo,omitempty"` Number int32 `protobuf:"varint,3,opt,name=number" json:"number,omitempty"` // not_exist is set true if the issue has been found to not exist. // If true, the owner/repo/number fields above must still be set. // If a future issue mutation for the same number arrives without // not_exist set, then the issue comes back to life. NotExist bool `protobuf:"varint,13,opt,name=not_exist,json=notExist" json:"not_exist,omitempty"` Id int64 `protobuf:"varint,12,opt,name=id" json:"id,omitempty"` User *GithubUser `protobuf:"bytes,4,opt,name=user" json:"user,omitempty"` Assignees []*GithubUser `protobuf:"bytes,10,rep,name=assignees" json:"assignees,omitempty"` DeletedAssignees []int64 `protobuf:"varint,11,rep,packed,name=deleted_assignees,json=deletedAssignees" json:"deleted_assignees,omitempty"` Created *google_protobuf.Timestamp `protobuf:"bytes,5,opt,name=created" json:"created,omitempty"` Updated *google_protobuf.Timestamp `protobuf:"bytes,6,opt,name=updated" json:"updated,omitempty"` Body string `protobuf:"bytes,7,opt,name=body" json:"body,omitempty"` Title string `protobuf:"bytes,9,opt,name=title" json:"title,omitempty"` NoMilestone bool `protobuf:"varint,15,opt,name=no_milestone,json=noMilestone" json:"no_milestone,omitempty"` // When setting a milestone, the following are all each set if known: MilestoneId int64 `protobuf:"varint,16,opt,name=milestone_id,json=milestoneId" json:"milestone_id,omitempty"` MilestoneNum int64 `protobuf:"varint,17,opt,name=milestone_num,json=milestoneNum" json:"milestone_num,omitempty"` MilestoneTitle string `protobuf:"bytes,18,opt,name=milestone_title,json=milestoneTitle" json:"milestone_title,omitempty"` Closed *BoolChange `protobuf:"bytes,19,opt,name=closed" json:"closed,omitempty"` Locked *BoolChange `protobuf:"bytes,25,opt,name=locked" json:"locked,omitempty"` ClosedAt *google_protobuf.Timestamp `protobuf:"bytes,21,opt,name=closed_at,json=closedAt" json:"closed_at,omitempty"` ClosedBy *GithubUser `protobuf:"bytes,22,opt,name=closed_by,json=closedBy" json:"closed_by,omitempty"` RemoveLabel []int64 `protobuf:"varint,23,rep,packed,name=remove_label,json=removeLabel" json:"remove_label,omitempty"` AddLabel []*GithubLabel `protobuf:"bytes,24,rep,name=add_label,json=addLabel" json:"add_label,omitempty"` Comment []*GithubIssueCommentMutation `protobuf:"bytes,8,rep,name=comment" json:"comment,omitempty"` CommentStatus *GithubIssueCommentSyncStatus `protobuf:"bytes,14,opt,name=comment_status,json=commentStatus" json:"comment_status,omitempty"` }
func (*GithubIssueMutation) Descriptor ¶
func (*GithubIssueMutation) Descriptor() ([]byte, []int)
func (*GithubIssueMutation) GetAddLabel ¶
func (m *GithubIssueMutation) GetAddLabel() []*GithubLabel
func (*GithubIssueMutation) GetAssignees ¶
func (m *GithubIssueMutation) GetAssignees() []*GithubUser
func (*GithubIssueMutation) GetBody ¶
func (m *GithubIssueMutation) GetBody() string
func (*GithubIssueMutation) GetClosed ¶
func (m *GithubIssueMutation) GetClosed() *BoolChange
func (*GithubIssueMutation) GetClosedAt ¶
func (m *GithubIssueMutation) GetClosedAt() *google_protobuf.Timestamp
func (*GithubIssueMutation) GetClosedBy ¶
func (m *GithubIssueMutation) GetClosedBy() *GithubUser
func (*GithubIssueMutation) GetComment ¶
func (m *GithubIssueMutation) GetComment() []*GithubIssueCommentMutation
func (*GithubIssueMutation) GetCommentStatus ¶
func (m *GithubIssueMutation) GetCommentStatus() *GithubIssueCommentSyncStatus
func (*GithubIssueMutation) GetCreated ¶
func (m *GithubIssueMutation) GetCreated() *google_protobuf.Timestamp
func (*GithubIssueMutation) GetDeletedAssignees ¶
func (m *GithubIssueMutation) GetDeletedAssignees() []int64
func (*GithubIssueMutation) GetId ¶
func (m *GithubIssueMutation) GetId() int64
func (*GithubIssueMutation) GetLocked ¶
func (m *GithubIssueMutation) GetLocked() *BoolChange
func (*GithubIssueMutation) GetMilestoneId ¶
func (m *GithubIssueMutation) GetMilestoneId() int64
func (*GithubIssueMutation) GetMilestoneNum ¶
func (m *GithubIssueMutation) GetMilestoneNum() int64
func (*GithubIssueMutation) GetMilestoneTitle ¶
func (m *GithubIssueMutation) GetMilestoneTitle() string
func (*GithubIssueMutation) GetNoMilestone ¶
func (m *GithubIssueMutation) GetNoMilestone() bool
func (*GithubIssueMutation) GetNotExist ¶
func (m *GithubIssueMutation) GetNotExist() bool
func (*GithubIssueMutation) GetNumber ¶
func (m *GithubIssueMutation) GetNumber() int32
func (*GithubIssueMutation) GetOwner ¶
func (m *GithubIssueMutation) GetOwner() string
func (*GithubIssueMutation) GetRemoveLabel ¶
func (m *GithubIssueMutation) GetRemoveLabel() []int64
func (*GithubIssueMutation) GetRepo ¶
func (m *GithubIssueMutation) GetRepo() string
func (*GithubIssueMutation) GetTitle ¶
func (m *GithubIssueMutation) GetTitle() string
func (*GithubIssueMutation) GetUpdated ¶
func (m *GithubIssueMutation) GetUpdated() *google_protobuf.Timestamp
func (*GithubIssueMutation) GetUser ¶
func (m *GithubIssueMutation) GetUser() *GithubUser
func (*GithubIssueMutation) ProtoMessage ¶
func (*GithubIssueMutation) ProtoMessage()
func (*GithubIssueMutation) Reset ¶
func (m *GithubIssueMutation) Reset()
func (*GithubIssueMutation) String ¶
func (m *GithubIssueMutation) String() string
type GithubLabel ¶
type GithubLabel struct { Id int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` }
func (*GithubLabel) Descriptor ¶
func (*GithubLabel) Descriptor() ([]byte, []int)
func (*GithubLabel) GetId ¶
func (m *GithubLabel) GetId() int64
func (*GithubLabel) GetName ¶
func (m *GithubLabel) GetName() string
func (*GithubLabel) ProtoMessage ¶
func (*GithubLabel) ProtoMessage()
func (*GithubLabel) Reset ¶
func (m *GithubLabel) Reset()
func (*GithubLabel) String ¶
func (m *GithubLabel) String() string
type GithubUser ¶
type GithubUser struct { Id int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` Login string `protobuf:"bytes,2,opt,name=login" json:"login,omitempty"` }
func (*GithubUser) Descriptor ¶
func (*GithubUser) Descriptor() ([]byte, []int)
func (*GithubUser) GetId ¶
func (m *GithubUser) GetId() int64
func (*GithubUser) GetLogin ¶
func (m *GithubUser) GetLogin() string
func (*GithubUser) ProtoMessage ¶
func (*GithubUser) ProtoMessage()
func (*GithubUser) Reset ¶
func (m *GithubUser) Reset()
func (*GithubUser) String ¶
func (m *GithubUser) String() string
type Mutation ¶
type Mutation struct { GithubIssue *GithubIssueMutation `protobuf:"bytes,1,opt,name=github_issue,json=githubIssue" json:"github_issue,omitempty"` Git *GitMutation `protobuf:"bytes,2,opt,name=git" json:"git,omitempty"` }
func (*Mutation) Descriptor ¶
func (*Mutation) GetGit ¶
func (m *Mutation) GetGit() *GitMutation
func (*Mutation) GetGithubIssue ¶
func (m *Mutation) GetGithubIssue() *GithubIssueMutation
func (*Mutation) ProtoMessage ¶
func (*Mutation) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.