Documentation ¶
Overview ¶
Package bitbucketserver is a generated protocol buffer package.
It is generated from these files:
changesets.proto commit.proto commit_author.proto link.proto parent.proto post_webhook.proto project.proto ref_change.proto repository.proto value.proto webhook.proto
It has these top-level messages:
ChangeSets ToCommit FromCommit CommitAuthor Link Parent PostWebhook Project RefChange Repository Value
Index ¶
- func RegisterBitbucketServerPostWebhookServer(s *grpc.Server, srv BitbucketServerPostWebhookServer)
- type BitbucketServerPostWebhookClient
- type BitbucketServerPostWebhookServer
- type ChangeSets
- func (*ChangeSets) Descriptor() ([]byte, []int)
- func (m *ChangeSets) GetFilter() *google_protobuf.Struct
- func (m *ChangeSets) GetIsLastPage() bool
- func (m *ChangeSets) GetLimit() int64
- func (m *ChangeSets) GetSize() int64
- func (m *ChangeSets) GetStart() int64
- func (m *ChangeSets) GetValues() []*Value
- func (*ChangeSets) ProtoMessage()
- func (m *ChangeSets) Reset()
- func (m *ChangeSets) String() string
- type CommitAuthor
- type FromCommit
- type Link
- type Parent
- type PostWebhook
- func (*PostWebhook) Descriptor() ([]byte, []int)
- func (m *PostWebhook) GetChangesets() *ChangeSets
- func (m *PostWebhook) GetRefChanges() []*RefChange
- func (m *PostWebhook) GetRepository() *Repository
- func (*PostWebhook) ProtoMessage()
- func (m *PostWebhook) Reset()
- func (m *PostWebhook) String() string
- type Project
- func (*Project) Descriptor() ([]byte, []int)
- func (m *Project) GetId() int64
- func (m *Project) GetIsPersonal() bool
- func (m *Project) GetKey() string
- func (m *Project) GetName() string
- func (m *Project) GetPublic() bool
- func (m *Project) GetType() string
- func (*Project) ProtoMessage()
- func (m *Project) Reset()
- func (m *Project) String() string
- type RefChange
- type Repository
- func (*Repository) Descriptor() ([]byte, []int)
- func (m *Repository) GetForkable() bool
- func (m *Repository) GetId() int64
- func (m *Repository) GetName() string
- func (m *Repository) GetProject() *Project
- func (m *Repository) GetPublic() bool
- func (m *Repository) GetScmId() string
- func (m *Repository) GetSlug() string
- func (m *Repository) GetState() string
- func (m *Repository) GetStatusMessage() string
- func (*Repository) ProtoMessage()
- func (m *Repository) Reset()
- func (m *Repository) String() string
- type ToCommit
- func (*ToCommit) Descriptor() ([]byte, []int)
- func (m *ToCommit) GetAuthor() *CommitAuthor
- func (m *ToCommit) GetAuthorTimestamp() int64
- func (m *ToCommit) GetDisplayId() string
- func (m *ToCommit) GetId() string
- func (m *ToCommit) GetMessage() string
- func (m *ToCommit) GetParents() []*Parent
- func (*ToCommit) ProtoMessage()
- func (m *ToCommit) Reset()
- func (m *ToCommit) String() string
- type Value
- type Value_Changes
- func (*Value_Changes) Descriptor() ([]byte, []int)
- func (m *Value_Changes) GetFilter() *google_protobuf.Struct
- func (m *Value_Changes) GetIsLastPage() bool
- func (m *Value_Changes) GetLimit() int64
- func (m *Value_Changes) GetSize() int64
- func (m *Value_Changes) GetStart() int64
- func (m *Value_Changes) GetValues() []*Value_Changes_Values
- func (*Value_Changes) ProtoMessage()
- func (m *Value_Changes) Reset()
- func (m *Value_Changes) String() string
- type Value_Changes_Values
- func (*Value_Changes_Values) Descriptor() ([]byte, []int)
- func (m *Value_Changes_Values) GetContentId() string
- func (m *Value_Changes_Values) GetExecutable() bool
- func (m *Value_Changes_Values) GetLink() *Link
- func (m *Value_Changes_Values) GetNodeType() string
- func (m *Value_Changes_Values) GetPath() *Value_Changes_Values_Path
- func (m *Value_Changes_Values) GetPercentUnchanged() int64
- func (m *Value_Changes_Values) GetSrcExecutable() bool
- func (m *Value_Changes_Values) GetType() string
- func (*Value_Changes_Values) ProtoMessage()
- func (m *Value_Changes_Values) Reset()
- func (m *Value_Changes_Values) String() string
- type Value_Changes_Values_Path
- func (*Value_Changes_Values_Path) Descriptor() ([]byte, []int)
- func (m *Value_Changes_Values_Path) GetComponents() []string
- func (m *Value_Changes_Values_Path) GetExtension() string
- func (m *Value_Changes_Values_Path) GetName() string
- func (m *Value_Changes_Values_Path) GetParent() string
- func (m *Value_Changes_Values_Path) GetToString() string
- func (*Value_Changes_Values_Path) ProtoMessage()
- func (m *Value_Changes_Values_Path) Reset()
- func (m *Value_Changes_Values_Path) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterBitbucketServerPostWebhookServer ¶
func RegisterBitbucketServerPostWebhookServer(s *grpc.Server, srv BitbucketServerPostWebhookServer)
Types ¶
type BitbucketServerPostWebhookClient ¶
type BitbucketServerPostWebhookClient interface {
OnPush(ctx context.Context, in *PostWebhook, opts ...grpc.CallOption) (*google_protobuf1.Empty, error)
}
func NewBitbucketServerPostWebhookClient ¶
func NewBitbucketServerPostWebhookClient(cc *grpc.ClientConn) BitbucketServerPostWebhookClient
type BitbucketServerPostWebhookServer ¶
type BitbucketServerPostWebhookServer interface {
OnPush(context.Context, *PostWebhook) (*google_protobuf1.Empty, error)
}
type ChangeSets ¶
type ChangeSets struct { Filter *google_protobuf.Struct `protobuf:"bytes,1,opt,name=filter" json:"filter,omitempty"` IsLastPage bool `protobuf:"varint,2,opt,name=isLastPage" json:"isLastPage,omitempty"` Limit int64 `protobuf:"varint,3,opt,name=limit" json:"limit,omitempty"` Size int64 `protobuf:"varint,4,opt,name=size" json:"size,omitempty"` Start int64 `protobuf:"varint,5,opt,name=start" json:"start,omitempty"` Values []*Value `protobuf:"bytes,6,rep,name=values" json:"values,omitempty"` }
func (*ChangeSets) Descriptor ¶
func (*ChangeSets) Descriptor() ([]byte, []int)
func (*ChangeSets) GetFilter ¶
func (m *ChangeSets) GetFilter() *google_protobuf.Struct
func (*ChangeSets) GetIsLastPage ¶
func (m *ChangeSets) GetIsLastPage() bool
func (*ChangeSets) GetLimit ¶
func (m *ChangeSets) GetLimit() int64
func (*ChangeSets) GetSize ¶
func (m *ChangeSets) GetSize() int64
func (*ChangeSets) GetStart ¶
func (m *ChangeSets) GetStart() int64
func (*ChangeSets) GetValues ¶
func (m *ChangeSets) GetValues() []*Value
func (*ChangeSets) ProtoMessage ¶
func (*ChangeSets) ProtoMessage()
func (*ChangeSets) Reset ¶
func (m *ChangeSets) Reset()
func (*ChangeSets) String ¶
func (m *ChangeSets) String() string
type CommitAuthor ¶
type CommitAuthor struct { EmailAddress string `protobuf:"bytes,1,opt,name=emailAddress" json:"emailAddress,omitempty"` Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` }
func (*CommitAuthor) Descriptor ¶
func (*CommitAuthor) Descriptor() ([]byte, []int)
func (*CommitAuthor) GetEmailAddress ¶
func (m *CommitAuthor) GetEmailAddress() string
func (*CommitAuthor) GetName ¶
func (m *CommitAuthor) GetName() string
func (*CommitAuthor) ProtoMessage ¶
func (*CommitAuthor) ProtoMessage()
func (*CommitAuthor) Reset ¶
func (m *CommitAuthor) Reset()
func (*CommitAuthor) String ¶
func (m *CommitAuthor) String() string
type FromCommit ¶
type FromCommit struct { DisplayID string `protobuf:"bytes,1,opt,name=displayID" json:"displayID,omitempty"` Id string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"` }
func (*FromCommit) Descriptor ¶
func (*FromCommit) Descriptor() ([]byte, []int)
func (*FromCommit) GetDisplayID ¶
func (m *FromCommit) GetDisplayID() string
func (*FromCommit) GetId ¶
func (m *FromCommit) GetId() string
func (*FromCommit) ProtoMessage ¶
func (*FromCommit) ProtoMessage()
func (*FromCommit) Reset ¶
func (m *FromCommit) Reset()
func (*FromCommit) String ¶
func (m *FromCommit) String() string
type Link ¶
type Link struct { Rel string `protobuf:"bytes,1,opt,name=rel" json:"rel,omitempty"` Url string `protobuf:"bytes,2,opt,name=url" json:"url,omitempty"` }
func (*Link) Descriptor ¶
func (*Link) ProtoMessage ¶
func (*Link) ProtoMessage()
type Parent ¶
type Parent struct { DisplayId string `protobuf:"bytes,1,opt,name=displayId" json:"displayId,omitempty"` Id string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"` }
func (*Parent) Descriptor ¶
func (*Parent) GetDisplayId ¶
func (*Parent) ProtoMessage ¶
func (*Parent) ProtoMessage()
type PostWebhook ¶
type PostWebhook struct { Changesets *ChangeSets `protobuf:"bytes,1,opt,name=changesets" json:"changesets,omitempty"` RefChanges []*RefChange `protobuf:"bytes,2,rep,name=refChanges" json:"refChanges,omitempty"` Repository *Repository `protobuf:"bytes,3,opt,name=repository" json:"repository,omitempty"` }
func (*PostWebhook) Descriptor ¶
func (*PostWebhook) Descriptor() ([]byte, []int)
func (*PostWebhook) GetChangesets ¶
func (m *PostWebhook) GetChangesets() *ChangeSets
func (*PostWebhook) GetRefChanges ¶
func (m *PostWebhook) GetRefChanges() []*RefChange
func (*PostWebhook) GetRepository ¶
func (m *PostWebhook) GetRepository() *Repository
func (*PostWebhook) ProtoMessage ¶
func (*PostWebhook) ProtoMessage()
func (*PostWebhook) Reset ¶
func (m *PostWebhook) Reset()
func (*PostWebhook) String ¶
func (m *PostWebhook) String() string
type Project ¶
type Project struct { Id int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` IsPersonal bool `protobuf:"varint,2,opt,name=isPersonal" json:"isPersonal,omitempty"` Key string `protobuf:"bytes,3,opt,name=key" json:"key,omitempty"` Name string `protobuf:"bytes,4,opt,name=name" json:"name,omitempty"` Public bool `protobuf:"varint,5,opt,name=public" json:"public,omitempty"` Type string `protobuf:"bytes,6,opt,name=type" json:"type,omitempty"` }
func (*Project) Descriptor ¶
func (*Project) GetIsPersonal ¶
func (*Project) ProtoMessage ¶
func (*Project) ProtoMessage()
type RefChange ¶
type RefChange struct { FromHash string `protobuf:"bytes,1,opt,name=fromHash" json:"fromHash,omitempty"` RefId string `protobuf:"bytes,2,opt,name=refId" json:"refId,omitempty"` ToHash string `protobuf:"bytes,3,opt,name=toHash" json:"toHash,omitempty"` Type string `protobuf:"bytes,4,opt,name=type" json:"type,omitempty"` }
func (*RefChange) Descriptor ¶
func (*RefChange) GetFromHash ¶
func (*RefChange) ProtoMessage ¶
func (*RefChange) ProtoMessage()
type Repository ¶
type Repository struct { Forkable bool `protobuf:"varint,1,opt,name=forkable" json:"forkable,omitempty"` Id int64 `protobuf:"varint,2,opt,name=id" json:"id,omitempty"` Name string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"` Project *Project `protobuf:"bytes,4,opt,name=project" json:"project,omitempty"` Public bool `protobuf:"varint,5,opt,name=public" json:"public,omitempty"` ScmId string `protobuf:"bytes,6,opt,name=scmId" json:"scmId,omitempty"` Slug string `protobuf:"bytes,7,opt,name=slug" json:"slug,omitempty"` State string `protobuf:"bytes,8,opt,name=state" json:"state,omitempty"` StatusMessage string `protobuf:"bytes,9,opt,name=statusMessage" json:"statusMessage,omitempty"` }
func (*Repository) Descriptor ¶
func (*Repository) Descriptor() ([]byte, []int)
func (*Repository) GetForkable ¶
func (m *Repository) GetForkable() bool
func (*Repository) GetId ¶
func (m *Repository) GetId() int64
func (*Repository) GetName ¶
func (m *Repository) GetName() string
func (*Repository) GetProject ¶
func (m *Repository) GetProject() *Project
func (*Repository) GetPublic ¶
func (m *Repository) GetPublic() bool
func (*Repository) GetScmId ¶
func (m *Repository) GetScmId() string
func (*Repository) GetSlug ¶
func (m *Repository) GetSlug() string
func (*Repository) GetState ¶
func (m *Repository) GetState() string
func (*Repository) GetStatusMessage ¶
func (m *Repository) GetStatusMessage() string
func (*Repository) ProtoMessage ¶
func (*Repository) ProtoMessage()
func (*Repository) Reset ¶
func (m *Repository) Reset()
func (*Repository) String ¶
func (m *Repository) String() string
type ToCommit ¶
type ToCommit struct { AuthorTimestamp int64 `protobuf:"varint,1,opt,name=authorTimestamp" json:"authorTimestamp,omitempty"` DisplayId string `protobuf:"bytes,2,opt,name=displayId" json:"displayId,omitempty"` Id string `protobuf:"bytes,3,opt,name=id" json:"id,omitempty"` Message string `protobuf:"bytes,4,opt,name=message" json:"message,omitempty"` Author *CommitAuthor `protobuf:"bytes,5,opt,name=author" json:"author,omitempty"` Parents []*Parent `protobuf:"bytes,6,rep,name=parents" json:"parents,omitempty"` }
func (*ToCommit) Descriptor ¶
func (*ToCommit) GetAuthor ¶
func (m *ToCommit) GetAuthor() *CommitAuthor
func (*ToCommit) GetAuthorTimestamp ¶
func (*ToCommit) GetDisplayId ¶
func (*ToCommit) GetMessage ¶
func (*ToCommit) GetParents ¶
func (*ToCommit) ProtoMessage ¶
func (*ToCommit) ProtoMessage()
type Value ¶
type Value struct { Changes *Value_Changes `protobuf:"bytes,1,opt,name=changes" json:"changes,omitempty"` FromCommit *FromCommit `protobuf:"bytes,2,opt,name=fromCommit" json:"fromCommit,omitempty"` Link *Link `protobuf:"bytes,3,opt,name=link" json:"link,omitempty"` ToCommit *ToCommit `protobuf:"bytes,4,opt,name=toCommit" json:"toCommit,omitempty"` }
func (*Value) Descriptor ¶
func (*Value) GetChanges ¶
func (m *Value) GetChanges() *Value_Changes
func (*Value) GetFromCommit ¶
func (m *Value) GetFromCommit() *FromCommit
func (*Value) GetToCommit ¶
func (*Value) ProtoMessage ¶
func (*Value) ProtoMessage()
type Value_Changes ¶
type Value_Changes struct { Filter *google_protobuf.Struct `protobuf:"bytes,1,opt,name=filter" json:"filter,omitempty"` IsLastPage bool `protobuf:"varint,2,opt,name=isLastPage" json:"isLastPage,omitempty"` Limit int64 `protobuf:"varint,3,opt,name=limit" json:"limit,omitempty"` Size int64 `protobuf:"varint,4,opt,name=size" json:"size,omitempty"` Start int64 `protobuf:"varint,5,opt,name=start" json:"start,omitempty"` Values []*Value_Changes_Values `protobuf:"bytes,6,rep,name=values" json:"values,omitempty"` }
func (*Value_Changes) Descriptor ¶
func (*Value_Changes) Descriptor() ([]byte, []int)
func (*Value_Changes) GetFilter ¶
func (m *Value_Changes) GetFilter() *google_protobuf.Struct
func (*Value_Changes) GetIsLastPage ¶
func (m *Value_Changes) GetIsLastPage() bool
func (*Value_Changes) GetLimit ¶
func (m *Value_Changes) GetLimit() int64
func (*Value_Changes) GetSize ¶
func (m *Value_Changes) GetSize() int64
func (*Value_Changes) GetStart ¶
func (m *Value_Changes) GetStart() int64
func (*Value_Changes) GetValues ¶
func (m *Value_Changes) GetValues() []*Value_Changes_Values
func (*Value_Changes) ProtoMessage ¶
func (*Value_Changes) ProtoMessage()
func (*Value_Changes) Reset ¶
func (m *Value_Changes) Reset()
func (*Value_Changes) String ¶
func (m *Value_Changes) String() string
type Value_Changes_Values ¶
type Value_Changes_Values struct { ContentId string `protobuf:"bytes,1,opt,name=contentId" json:"contentId,omitempty"` Executable bool `protobuf:"varint,2,opt,name=executable" json:"executable,omitempty"` Link *Link `protobuf:"bytes,3,opt,name=link" json:"link,omitempty"` NodeType string `protobuf:"bytes,4,opt,name=nodeType" json:"nodeType,omitempty"` Path *Value_Changes_Values_Path `protobuf:"bytes,5,opt,name=path" json:"path,omitempty"` PercentUnchanged int64 `protobuf:"varint,6,opt,name=percentUnchanged" json:"percentUnchanged,omitempty"` SrcExecutable bool `protobuf:"varint,7,opt,name=srcExecutable" json:"srcExecutable,omitempty"` Type string `protobuf:"bytes,8,opt,name=type" json:"type,omitempty"` }
func (*Value_Changes_Values) Descriptor ¶
func (*Value_Changes_Values) Descriptor() ([]byte, []int)
func (*Value_Changes_Values) GetContentId ¶
func (m *Value_Changes_Values) GetContentId() string
func (*Value_Changes_Values) GetExecutable ¶
func (m *Value_Changes_Values) GetExecutable() bool
func (*Value_Changes_Values) GetLink ¶
func (m *Value_Changes_Values) GetLink() *Link
func (*Value_Changes_Values) GetNodeType ¶
func (m *Value_Changes_Values) GetNodeType() string
func (*Value_Changes_Values) GetPath ¶
func (m *Value_Changes_Values) GetPath() *Value_Changes_Values_Path
func (*Value_Changes_Values) GetPercentUnchanged ¶
func (m *Value_Changes_Values) GetPercentUnchanged() int64
func (*Value_Changes_Values) GetSrcExecutable ¶
func (m *Value_Changes_Values) GetSrcExecutable() bool
func (*Value_Changes_Values) GetType ¶
func (m *Value_Changes_Values) GetType() string
func (*Value_Changes_Values) ProtoMessage ¶
func (*Value_Changes_Values) ProtoMessage()
func (*Value_Changes_Values) Reset ¶
func (m *Value_Changes_Values) Reset()
func (*Value_Changes_Values) String ¶
func (m *Value_Changes_Values) String() string
type Value_Changes_Values_Path ¶
type Value_Changes_Values_Path struct { Components []string `protobuf:"bytes,1,rep,name=components" json:"components,omitempty"` Extension string `protobuf:"bytes,2,opt,name=extension" json:"extension,omitempty"` Name string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"` Parent string `protobuf:"bytes,4,opt,name=parent" json:"parent,omitempty"` ToString string `protobuf:"bytes,5,opt,name=toString" json:"toString,omitempty"` }
func (*Value_Changes_Values_Path) Descriptor ¶
func (*Value_Changes_Values_Path) Descriptor() ([]byte, []int)
func (*Value_Changes_Values_Path) GetComponents ¶
func (m *Value_Changes_Values_Path) GetComponents() []string
func (*Value_Changes_Values_Path) GetExtension ¶
func (m *Value_Changes_Values_Path) GetExtension() string
func (*Value_Changes_Values_Path) GetName ¶
func (m *Value_Changes_Values_Path) GetName() string
func (*Value_Changes_Values_Path) GetParent ¶
func (m *Value_Changes_Values_Path) GetParent() string
func (*Value_Changes_Values_Path) GetToString ¶
func (m *Value_Changes_Values_Path) GetToString() string
func (*Value_Changes_Values_Path) ProtoMessage ¶
func (*Value_Changes_Values_Path) ProtoMessage()
func (*Value_Changes_Values_Path) Reset ¶
func (m *Value_Changes_Values_Path) Reset()
func (*Value_Changes_Values_Path) String ¶
func (m *Value_Changes_Values_Path) String() string
Click to show internal directories.
Click to hide internal directories.