bitbucketserver

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: 7 Imported by: 0

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

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 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) Descriptor() ([]byte, []int)

func (*Link) GetRel

func (m *Link) GetRel() string

func (*Link) GetUrl

func (m *Link) GetUrl() string

func (*Link) ProtoMessage

func (*Link) ProtoMessage()

func (*Link) Reset

func (m *Link) Reset()

func (*Link) String

func (m *Link) String() string

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) Descriptor() ([]byte, []int)

func (*Parent) GetDisplayId

func (m *Parent) GetDisplayId() string

func (*Parent) GetId

func (m *Parent) GetId() string

func (*Parent) ProtoMessage

func (*Parent) ProtoMessage()

func (*Parent) Reset

func (m *Parent) Reset()

func (*Parent) String

func (m *Parent) String() string

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) Descriptor() ([]byte, []int)

func (*Project) GetId

func (m *Project) GetId() int64

func (*Project) GetIsPersonal

func (m *Project) GetIsPersonal() bool

func (*Project) GetKey

func (m *Project) GetKey() string

func (*Project) GetName

func (m *Project) GetName() string

func (*Project) GetPublic

func (m *Project) GetPublic() bool

func (*Project) GetType

func (m *Project) GetType() string

func (*Project) ProtoMessage

func (*Project) ProtoMessage()

func (*Project) Reset

func (m *Project) Reset()

func (*Project) String

func (m *Project) String() string

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) Descriptor() ([]byte, []int)

func (*RefChange) GetFromHash

func (m *RefChange) GetFromHash() string

func (*RefChange) GetRefId

func (m *RefChange) GetRefId() string

func (*RefChange) GetToHash

func (m *RefChange) GetToHash() string

func (*RefChange) GetType

func (m *RefChange) GetType() string

func (*RefChange) ProtoMessage

func (*RefChange) ProtoMessage()

func (*RefChange) Reset

func (m *RefChange) Reset()

func (*RefChange) String

func (m *RefChange) String() string

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) Descriptor() ([]byte, []int)

func (*ToCommit) GetAuthor

func (m *ToCommit) GetAuthor() *CommitAuthor

func (*ToCommit) GetAuthorTimestamp

func (m *ToCommit) GetAuthorTimestamp() int64

func (*ToCommit) GetDisplayId

func (m *ToCommit) GetDisplayId() string

func (*ToCommit) GetId

func (m *ToCommit) GetId() string

func (*ToCommit) GetMessage

func (m *ToCommit) GetMessage() string

func (*ToCommit) GetParents

func (m *ToCommit) GetParents() []*Parent

func (*ToCommit) ProtoMessage

func (*ToCommit) ProtoMessage()

func (*ToCommit) Reset

func (m *ToCommit) Reset()

func (*ToCommit) String

func (m *ToCommit) String() string

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) Descriptor() ([]byte, []int)

func (*Value) GetChanges

func (m *Value) GetChanges() *Value_Changes

func (*Value) GetFromCommit

func (m *Value) GetFromCommit() *FromCommit
func (m *Value) GetLink() *Link

func (*Value) GetToCommit

func (m *Value) GetToCommit() *ToCommit

func (*Value) ProtoMessage

func (*Value) ProtoMessage()

func (*Value) Reset

func (m *Value) Reset()

func (*Value) String

func (m *Value) String() string

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 (m *Value_Changes_Values) GetLink() *Link

func (*Value_Changes_Values) GetNodeType

func (m *Value_Changes_Values) GetNodeType() string

func (*Value_Changes_Values) GetPath

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

Jump to

Keyboard shortcuts

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