protos

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2018 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CredType_name = map[int32]string{
	0: "VCS",
	1: "REPO",
	2: "K8S",
}
View Source
var CredType_value = map[string]int32{
	"VCS":  0,
	"REPO": 1,
	"K8S":  2,
}
View Source
var SubCredType_name = map[int32]string{
	0: "BITBUCKET",
	1: "GITHUB",
	2: "NEXUS",
	3: "MAVEN",
	4: "DOCKER",
	5: "KUBECONF",
}
View Source
var SubCredType_value = map[string]int32{
	"BITBUCKET": 0,
	"GITHUB":    1,
	"NEXUS":     2,
	"MAVEN":     3,
	"DOCKER":    4,
	"KUBECONF":  5,
}

Functions

func RegisterGuideOcelotServer

func RegisterGuideOcelotServer(s *grpc.Server, srv GuideOcelotServer)

Types

type AllCredsWrapper

type AllCredsWrapper struct {
	RepoCreds *RepoCredWrapper `protobuf:"bytes,1,opt,name=repoCreds" json:"repoCreds,omitempty"`
	VcsCreds  *CredWrapper     `protobuf:"bytes,3,opt,name=vcsCreds" json:"vcsCreds,omitempty"`
}

func (*AllCredsWrapper) Descriptor

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

func (*AllCredsWrapper) GetRepoCreds

func (m *AllCredsWrapper) GetRepoCreds() *RepoCredWrapper

func (*AllCredsWrapper) GetVcsCreds

func (m *AllCredsWrapper) GetVcsCreds() *CredWrapper

func (*AllCredsWrapper) ProtoMessage

func (*AllCredsWrapper) ProtoMessage()

func (*AllCredsWrapper) Reset

func (m *AllCredsWrapper) Reset()

func (*AllCredsWrapper) String

func (m *AllCredsWrapper) String() string

type BuildQuery

type BuildQuery struct {
	Hash    string `protobuf:"bytes,1,opt,name=hash" json:"hash,omitempty"`
	BuildId int64  `protobuf:"varint,2,opt,name=buildId" json:"buildId,omitempty"`
}

func (*BuildQuery) Descriptor

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

func (*BuildQuery) GetBuildId

func (m *BuildQuery) GetBuildId() int64

func (*BuildQuery) GetHash

func (m *BuildQuery) GetHash() string

func (*BuildQuery) ProtoMessage

func (*BuildQuery) ProtoMessage()

func (*BuildQuery) Reset

func (m *BuildQuery) Reset()

func (*BuildQuery) String

func (m *BuildQuery) String() string

type BuildReq

type BuildReq struct {
	AcctRepo string `protobuf:"bytes,1,opt,name=acctRepo" json:"acctRepo,omitempty"`
	Hash     string `protobuf:"bytes,2,opt,name=hash" json:"hash,omitempty"`
	Branch   string `protobuf:"bytes,3,opt,name=branch" json:"branch,omitempty"`
}

func (*BuildReq) Descriptor

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

func (*BuildReq) GetAcctRepo

func (m *BuildReq) GetAcctRepo() string

func (*BuildReq) GetBranch

func (m *BuildReq) GetBranch() string

func (*BuildReq) GetHash

func (m *BuildReq) GetHash() string

func (*BuildReq) ProtoMessage

func (*BuildReq) ProtoMessage()

func (*BuildReq) Reset

func (m *BuildReq) Reset()

func (*BuildReq) String

func (m *BuildReq) String() string

type BuildRuntimeInfo

type BuildRuntimeInfo struct {
	Done     bool   `protobuf:"varint,1,opt,name=done" json:"done,omitempty"`
	Ip       string `protobuf:"bytes,2,opt,name=ip" json:"ip,omitempty"`
	GrpcPort string `protobuf:"bytes,3,opt,name=grpcPort" json:"grpcPort,omitempty"`
	Hash     string `protobuf:"bytes,4,opt,name=hash" json:"hash,omitempty"`
	AcctName string `protobuf:"bytes,5,opt,name=acctName" json:"acctName,omitempty"`
	RepoName string `protobuf:"bytes,6,opt,name=repoName" json:"repoName,omitempty"`
}

func (*BuildRuntimeInfo) Descriptor

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

func (*BuildRuntimeInfo) GetAcctName

func (m *BuildRuntimeInfo) GetAcctName() string

func (*BuildRuntimeInfo) GetDone

func (m *BuildRuntimeInfo) GetDone() bool

func (*BuildRuntimeInfo) GetGrpcPort

func (m *BuildRuntimeInfo) GetGrpcPort() string

func (*BuildRuntimeInfo) GetHash

func (m *BuildRuntimeInfo) GetHash() string

func (*BuildRuntimeInfo) GetIp

func (m *BuildRuntimeInfo) GetIp() string

func (*BuildRuntimeInfo) GetRepoName

func (m *BuildRuntimeInfo) GetRepoName() string

func (*BuildRuntimeInfo) ProtoMessage

func (*BuildRuntimeInfo) ProtoMessage()

func (*BuildRuntimeInfo) Reset

func (m *BuildRuntimeInfo) Reset()

func (*BuildRuntimeInfo) String

func (m *BuildRuntimeInfo) String() string

type BuildSummary

type BuildSummary struct {
	Hash          string                      `protobuf:"bytes,1,opt,name=hash" json:"hash,omitempty"`
	Failed        bool                        `protobuf:"varint,2,opt,name=failed" json:"failed,omitempty"`
	BuildTime     *google_protobuf2.Timestamp `protobuf:"bytes,3,opt,name=buildTime" json:"buildTime,omitempty"`
	Account       string                      `protobuf:"bytes,4,opt,name=account" json:"account,omitempty"`
	BuildDuration float64                     `protobuf:"fixed64,5,opt,name=buildDuration" json:"buildDuration,omitempty"`
	Repo          string                      `protobuf:"bytes,6,opt,name=repo" json:"repo,omitempty"`
	Branch        string                      `protobuf:"bytes,7,opt,name=branch" json:"branch,omitempty"`
	BuildId       int64                       `protobuf:"varint,8,opt,name=buildId" json:"buildId,omitempty"`
	QueueTime     *google_protobuf2.Timestamp `protobuf:"bytes,9,opt,name=queueTime" json:"queueTime,omitempty"`
}

func (*BuildSummary) Descriptor

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

func (*BuildSummary) GetAccount

func (m *BuildSummary) GetAccount() string

func (*BuildSummary) GetBranch

func (m *BuildSummary) GetBranch() string

func (*BuildSummary) GetBuildDuration

func (m *BuildSummary) GetBuildDuration() float64

func (*BuildSummary) GetBuildId

func (m *BuildSummary) GetBuildId() int64

func (*BuildSummary) GetBuildTime

func (m *BuildSummary) GetBuildTime() *google_protobuf2.Timestamp

func (*BuildSummary) GetFailed

func (m *BuildSummary) GetFailed() bool

func (*BuildSummary) GetHash

func (m *BuildSummary) GetHash() string

func (*BuildSummary) GetQueueTime

func (m *BuildSummary) GetQueueTime() *google_protobuf2.Timestamp

func (*BuildSummary) GetRepo

func (m *BuildSummary) GetRepo() string

func (*BuildSummary) ProtoMessage

func (*BuildSummary) ProtoMessage()

func (*BuildSummary) Reset

func (m *BuildSummary) Reset()

func (*BuildSummary) String

func (m *BuildSummary) String() string

type Builds

type Builds struct {
	Builds map[string]*BuildRuntimeInfo `` /* 132-byte string literal not displayed */
}

func (*Builds) Descriptor

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

func (*Builds) GetBuilds

func (m *Builds) GetBuilds() map[string]*BuildRuntimeInfo

func (*Builds) ProtoMessage

func (*Builds) ProtoMessage()

func (*Builds) Reset

func (m *Builds) Reset()

func (*Builds) String

func (m *Builds) String() string

type CredType

type CredType int32
const (
	CredType_VCS  CredType = 0
	CredType_REPO CredType = 1
	CredType_K8S  CredType = 2
)

func (CredType) EnumDescriptor

func (CredType) EnumDescriptor() ([]byte, []int)

func (CredType) String

func (x CredType) String() string

type CredWrapper

type CredWrapper struct {
	Vcs []*VCSCreds `protobuf:"bytes,2,rep,name=vcs" json:"vcs,omitempty"`
}

func (*CredWrapper) Descriptor

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

func (*CredWrapper) GetVcs

func (m *CredWrapper) GetVcs() []*VCSCreds

func (*CredWrapper) ProtoMessage

func (*CredWrapper) ProtoMessage()

func (*CredWrapper) Reset

func (m *CredWrapper) Reset()

func (*CredWrapper) String

func (m *CredWrapper) String() string

type GuideOcelotClient

type GuideOcelotClient interface {
	GetVCSCreds(ctx context.Context, in *google_protobuf.Empty, opts ...grpc.CallOption) (*CredWrapper, error)
	SetVCSCreds(ctx context.Context, in *VCSCreds, opts ...grpc.CallOption) (*google_protobuf.Empty, error)
	CheckConn(ctx context.Context, in *google_protobuf.Empty, opts ...grpc.CallOption) (*google_protobuf.Empty, error)
	SetVCSPrivateKey(ctx context.Context, in *SSHKeyWrapper, opts ...grpc.CallOption) (*google_protobuf.Empty, error)
	GetRepoCreds(ctx context.Context, in *google_protobuf.Empty, opts ...grpc.CallOption) (*RepoCredWrapper, error)
	SetRepoCreds(ctx context.Context, in *RepoCreds, opts ...grpc.CallOption) (*google_protobuf.Empty, error)
	SetK8SCreds(ctx context.Context, in *K8SCreds, opts ...grpc.CallOption) (*google_protobuf.Empty, error)
	GetK8SCreds(ctx context.Context, in *google_protobuf.Empty, opts ...grpc.CallOption) (*K8SCredsWrapper, error)
	GetAllCreds(ctx context.Context, in *google_protobuf.Empty, opts ...grpc.CallOption) (*AllCredsWrapper, error)
	BuildRuntime(ctx context.Context, in *BuildQuery, opts ...grpc.CallOption) (*Builds, error)
	Logs(ctx context.Context, in *BuildQuery, opts ...grpc.CallOption) (GuideOcelot_LogsClient, error)
	LastFewSummaries(ctx context.Context, in *RepoAccount, opts ...grpc.CallOption) (*Summaries, error)
	GetStatus(ctx context.Context, in *StatusQuery, opts ...grpc.CallOption) (*Status, error)
	WatchRepo(ctx context.Context, in *RepoAccount, opts ...grpc.CallOption) (*google_protobuf.Empty, error)
	BuildRepoAndHash(ctx context.Context, in *BuildReq, opts ...grpc.CallOption) (GuideOcelot_BuildRepoAndHashClient, error)
	PollRepo(ctx context.Context, in *PollRequest, opts ...grpc.CallOption) (*google_protobuf.Empty, error)
	DeletePollRepo(ctx context.Context, in *PollRequest, opts ...grpc.CallOption) (*google_protobuf.Empty, error)
	FindWerker(ctx context.Context, in *BuildReq, opts ...grpc.CallOption) (*BuildRuntimeInfo, error)
	ListPolledRepos(ctx context.Context, in *google_protobuf.Empty, opts ...grpc.CallOption) (*Polls, error)
}

func NewGuideOcelotClient

func NewGuideOcelotClient(cc *grpc.ClientConn) GuideOcelotClient

type GuideOcelot_BuildRepoAndHashClient

type GuideOcelot_BuildRepoAndHashClient interface {
	Recv() (*LineResponse, error)
	grpc.ClientStream
}

type GuideOcelot_BuildRepoAndHashServer

type GuideOcelot_BuildRepoAndHashServer interface {
	Send(*LineResponse) error
	grpc.ServerStream
}

type GuideOcelot_LogsClient

type GuideOcelot_LogsClient interface {
	Recv() (*LineResponse, error)
	grpc.ClientStream
}

type GuideOcelot_LogsServer

type GuideOcelot_LogsServer interface {
	Send(*LineResponse) error
	grpc.ServerStream
}

type K8SCreds

type K8SCreds struct {
	AcctName    string      `protobuf:"bytes,1,opt,name=acctName" json:"acctName,omitempty"`
	K8SContents string      `protobuf:"bytes,2,opt,name=k8sContents" json:"k8sContents,omitempty"`
	Identifier  string      `protobuf:"bytes,3,opt,name=identifier" json:"identifier,omitempty"`
	Type        CredType    `protobuf:"varint,4,opt,name=type,enum=models.CredType" json:"type,omitempty"`
	SubType     SubCredType `protobuf:"varint,5,opt,name=subType,enum=models.SubCredType" json:"subType,omitempty"`
}

func (*K8SCreds) Descriptor

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

func (*K8SCreds) GetAcctName

func (m *K8SCreds) GetAcctName() string

func (*K8SCreds) GetIdentifier

func (m *K8SCreds) GetIdentifier() string

func (*K8SCreds) GetK8SContents

func (m *K8SCreds) GetK8SContents() string

func (*K8SCreds) GetSubType

func (m *K8SCreds) GetSubType() SubCredType

func (*K8SCreds) GetType

func (m *K8SCreds) GetType() CredType

func (*K8SCreds) ProtoMessage

func (*K8SCreds) ProtoMessage()

func (*K8SCreds) Reset

func (m *K8SCreds) Reset()

func (*K8SCreds) String

func (m *K8SCreds) String() string

type K8SCredsWrapper

type K8SCredsWrapper struct {
	K8SCreds []*K8SCreds `protobuf:"bytes,2,rep,name=k8sCreds" json:"k8sCreds,omitempty"`
}

func (*K8SCredsWrapper) Descriptor

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

func (*K8SCredsWrapper) GetK8SCreds

func (m *K8SCredsWrapper) GetK8SCreds() []*K8SCreds

func (*K8SCredsWrapper) ProtoMessage

func (*K8SCredsWrapper) ProtoMessage()

func (*K8SCredsWrapper) Reset

func (m *K8SCredsWrapper) Reset()

func (*K8SCredsWrapper) String

func (m *K8SCredsWrapper) String() string

type LineResponse

type LineResponse struct {
	OutputLine string `protobuf:"bytes,1,opt,name=outputLine" json:"outputLine,omitempty"`
}

func (*LineResponse) Descriptor

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

func (*LineResponse) GetOutputLine

func (m *LineResponse) GetOutputLine() string

func (*LineResponse) ProtoMessage

func (*LineResponse) ProtoMessage()

func (*LineResponse) Reset

func (m *LineResponse) Reset()

func (*LineResponse) String

func (m *LineResponse) String() string

type LinkAndName

type LinkAndName struct {
	Href string `protobuf:"bytes,1,opt,name=href" json:"href,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
}

func (*LinkAndName) Descriptor

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

func (*LinkAndName) GetHref

func (m *LinkAndName) GetHref() string

func (*LinkAndName) GetName

func (m *LinkAndName) GetName() string

func (*LinkAndName) ProtoMessage

func (*LinkAndName) ProtoMessage()

func (*LinkAndName) Reset

func (m *LinkAndName) Reset()

func (*LinkAndName) String

func (m *LinkAndName) String() string

type LinkUrl

type LinkUrl struct {
	Href string `protobuf:"bytes,1,opt,name=href" json:"href,omitempty"`
}

func (*LinkUrl) Descriptor

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

func (*LinkUrl) GetHref

func (m *LinkUrl) GetHref() string

func (*LinkUrl) ProtoMessage

func (*LinkUrl) ProtoMessage()

func (*LinkUrl) Reset

func (m *LinkUrl) Reset()

func (*LinkUrl) String

func (m *LinkUrl) String() string
type Links struct {
	Self   *LinkUrl `protobuf:"bytes,1,opt,name=self" json:"self,omitempty"`
	Html   *LinkUrl `protobuf:"bytes,2,opt,name=html" json:"html,omitempty"`
	Avatar *LinkUrl `protobuf:"bytes,3,opt,name=avatar" json:"avatar,omitempty"`
}

func (*Links) Descriptor

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

func (*Links) GetAvatar

func (m *Links) GetAvatar() *LinkUrl

func (*Links) GetHtml

func (m *Links) GetHtml() *LinkUrl

func (*Links) GetSelf

func (m *Links) GetSelf() *LinkUrl

func (*Links) ProtoMessage

func (*Links) ProtoMessage()

func (*Links) Reset

func (m *Links) Reset()

func (*Links) String

func (m *Links) String() string

type PaginatedRepository

type PaginatedRepository struct {
	Pagelen float64                                 `protobuf:"fixed64,1,opt,name=pagelen" json:"pagelen,omitempty"`
	Size    float64                                 `protobuf:"fixed64,2,opt,name=size" json:"size,omitempty"`
	Values  []*PaginatedRepository_RepositoryValues `protobuf:"bytes,3,rep,name=values" json:"values,omitempty"`
	Page    float64                                 `protobuf:"fixed64,4,opt,name=page" json:"page,omitempty"`
	Next    string                                  `protobuf:"bytes,5,opt,name=next" json:"next,omitempty"`
}

func (*PaginatedRepository) Descriptor

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

func (*PaginatedRepository) GetNext

func (m *PaginatedRepository) GetNext() string

func (*PaginatedRepository) GetPage

func (m *PaginatedRepository) GetPage() float64

func (*PaginatedRepository) GetPagelen

func (m *PaginatedRepository) GetPagelen() float64

func (*PaginatedRepository) GetSize

func (m *PaginatedRepository) GetSize() float64

func (*PaginatedRepository) GetValues

func (*PaginatedRepository) ProtoMessage

func (*PaginatedRepository) ProtoMessage()

func (*PaginatedRepository) Reset

func (m *PaginatedRepository) Reset()

func (*PaginatedRepository) String

func (m *PaginatedRepository) String() string

type PaginatedRepository_RepositoryValues

type PaginatedRepository_RepositoryValues struct {
	Name        string                                                `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Links       *PaginatedRepository_RepositoryValues_RepositoryLinks `protobuf:"bytes,2,opt,name=links" json:"links,omitempty"`
	Project     *PaginatedRepository_RepositoryValues_Project         `protobuf:"bytes,3,opt,name=project" json:"project,omitempty"`
	CreatedOn   *google_protobuf.Timestamp                            `protobuf:"bytes,4,opt,name=created_on,json=createdOn" json:"created_on,omitempty"`
	Mainbranch  *PaginatedRepository_RepositoryValues_MainBranch      `protobuf:"bytes,5,opt,name=mainbranch" json:"mainbranch,omitempty"`
	FullName    string                                                `protobuf:"bytes,6,opt,name=full_name,json=fullName" json:"full_name,omitempty"`
	UpdatedOn   *google_protobuf.Timestamp                            `protobuf:"bytes,7,opt,name=updated_on,json=updatedOn" json:"updated_on,omitempty"`
	Size        float64                                               `protobuf:"fixed64,8,opt,name=size" json:"size,omitempty"`
	Type        string                                                `protobuf:"bytes,9,opt,name=type" json:"type,omitempty"`
	Slug        string                                                `protobuf:"bytes,10,opt,name=slug" json:"slug,omitempty"`
	IsPrivate   bool                                                  `protobuf:"varint,11,opt,name=is_private,json=isPrivate" json:"is_private,omitempty"`
	Description string                                                `protobuf:"bytes,12,opt,name=description" json:"description,omitempty"`
}

func (*PaginatedRepository_RepositoryValues) Descriptor

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

func (*PaginatedRepository_RepositoryValues) GetCreatedOn

func (*PaginatedRepository_RepositoryValues) GetDescription

func (m *PaginatedRepository_RepositoryValues) GetDescription() string

func (*PaginatedRepository_RepositoryValues) GetFullName

func (*PaginatedRepository_RepositoryValues) GetIsPrivate

func (m *PaginatedRepository_RepositoryValues) GetIsPrivate() bool

func (*PaginatedRepository_RepositoryValues) GetMainbranch

func (*PaginatedRepository_RepositoryValues) GetName

func (*PaginatedRepository_RepositoryValues) GetProject

func (*PaginatedRepository_RepositoryValues) GetSize

func (*PaginatedRepository_RepositoryValues) GetSlug

func (*PaginatedRepository_RepositoryValues) GetType

func (*PaginatedRepository_RepositoryValues) GetUpdatedOn

func (*PaginatedRepository_RepositoryValues) ProtoMessage

func (*PaginatedRepository_RepositoryValues) ProtoMessage()

func (*PaginatedRepository_RepositoryValues) Reset

func (*PaginatedRepository_RepositoryValues) String

type PaginatedRepository_RepositoryValues_MainBranch

type PaginatedRepository_RepositoryValues_MainBranch struct {
	Type string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
}

func (*PaginatedRepository_RepositoryValues_MainBranch) Descriptor

func (*PaginatedRepository_RepositoryValues_MainBranch) GetName

func (*PaginatedRepository_RepositoryValues_MainBranch) GetType

func (*PaginatedRepository_RepositoryValues_MainBranch) ProtoMessage

func (*PaginatedRepository_RepositoryValues_MainBranch) Reset

func (*PaginatedRepository_RepositoryValues_MainBranch) String

type PaginatedRepository_RepositoryValues_Project

type PaginatedRepository_RepositoryValues_Project struct {
	Key   string                                                `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
	Type  string                                                `protobuf:"bytes,2,opt,name=type" json:"type,omitempty"`
	Uuid  string                                                `protobuf:"bytes,3,opt,name=uuid" json:"uuid,omitempty"`
	Links *PaginatedRepository_RepositoryValues_RepositoryLinks `protobuf:"bytes,4,opt,name=links" json:"links,omitempty"`
	Name  string                                                `protobuf:"bytes,5,opt,name=name" json:"name,omitempty"`
}

func (*PaginatedRepository_RepositoryValues_Project) Descriptor

func (*PaginatedRepository_RepositoryValues_Project) GetKey

func (*PaginatedRepository_RepositoryValues_Project) GetName

func (*PaginatedRepository_RepositoryValues_Project) GetType

func (*PaginatedRepository_RepositoryValues_Project) GetUuid

func (*PaginatedRepository_RepositoryValues_Project) ProtoMessage

func (*PaginatedRepository_RepositoryValues_Project) Reset

func (*PaginatedRepository_RepositoryValues_Project) String

type PaginatedRepository_RepositoryValues_RepositoryLinks struct {
	Watchers     *LinkUrl       `protobuf:"bytes,1,opt,name=watchers" json:"watchers,omitempty"`
	Branches     *LinkUrl       `protobuf:"bytes,2,opt,name=branches" json:"branches,omitempty"`
	Tags         *LinkUrl       `protobuf:"bytes,3,opt,name=tags" json:"tags,omitempty"`
	Commits      *LinkUrl       `protobuf:"bytes,4,opt,name=commits" json:"commits,omitempty"`
	Clone        []*LinkAndName `protobuf:"bytes,5,rep,name=clone" json:"clone,omitempty"`
	Self         *LinkUrl       `protobuf:"bytes,6,opt,name=self" json:"self,omitempty"`
	Source       *LinkUrl       `protobuf:"bytes,7,opt,name=source" json:"source,omitempty"`
	Hooks        *LinkUrl       `protobuf:"bytes,8,opt,name=hooks" json:"hooks,omitempty"`
	Forks        *LinkUrl       `protobuf:"bytes,9,opt,name=forks" json:"forks,omitempty"`
	Downloads    *LinkUrl       `protobuf:"bytes,10,opt,name=downloads" json:"downloads,omitempty"`
	Pullrequests *LinkUrl       `protobuf:"bytes,11,opt,name=pullrequests" json:"pullrequests,omitempty"`
}

func (*PaginatedRepository_RepositoryValues_RepositoryLinks) Descriptor

func (*PaginatedRepository_RepositoryValues_RepositoryLinks) GetBranches

func (*PaginatedRepository_RepositoryValues_RepositoryLinks) GetClone

func (*PaginatedRepository_RepositoryValues_RepositoryLinks) GetCommits

func (*PaginatedRepository_RepositoryValues_RepositoryLinks) GetDownloads

func (*PaginatedRepository_RepositoryValues_RepositoryLinks) GetForks

func (*PaginatedRepository_RepositoryValues_RepositoryLinks) GetHooks

func (*PaginatedRepository_RepositoryValues_RepositoryLinks) GetPullrequests

func (*PaginatedRepository_RepositoryValues_RepositoryLinks) GetSelf

func (*PaginatedRepository_RepositoryValues_RepositoryLinks) GetSource

func (*PaginatedRepository_RepositoryValues_RepositoryLinks) GetTags

func (*PaginatedRepository_RepositoryValues_RepositoryLinks) GetWatchers

func (*PaginatedRepository_RepositoryValues_RepositoryLinks) ProtoMessage

func (*PaginatedRepository_RepositoryValues_RepositoryLinks) Reset

func (*PaginatedRepository_RepositoryValues_RepositoryLinks) String

type PollRequest

type PollRequest struct {
	Account      string                      `protobuf:"bytes,1,opt,name=account" json:"account,omitempty"`
	Repo         string                      `protobuf:"bytes,2,opt,name=repo" json:"repo,omitempty"`
	Cron         string                      `protobuf:"bytes,4,opt,name=cron" json:"cron,omitempty"`
	Branches     string                      `protobuf:"bytes,5,opt,name=branches" json:"branches,omitempty"`
	LastCronTime *google_protobuf2.Timestamp `protobuf:"bytes,6,opt,name=lastCronTime" json:"lastCronTime,omitempty"`
}

func (*PollRequest) Descriptor

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

func (*PollRequest) GetAccount

func (m *PollRequest) GetAccount() string

func (*PollRequest) GetBranches

func (m *PollRequest) GetBranches() string

func (*PollRequest) GetCron

func (m *PollRequest) GetCron() string

func (*PollRequest) GetLastCronTime

func (m *PollRequest) GetLastCronTime() *google_protobuf2.Timestamp

func (*PollRequest) GetRepo

func (m *PollRequest) GetRepo() string

func (*PollRequest) ProtoMessage

func (*PollRequest) ProtoMessage()

func (*PollRequest) Reset

func (m *PollRequest) Reset()

func (*PollRequest) String

func (m *PollRequest) String() string

type Polls

type Polls struct {
	Polls []*PollRequest `protobuf:"bytes,1,rep,name=polls" json:"polls,omitempty"`
}

func (*Polls) Descriptor

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

func (*Polls) GetPolls

func (m *Polls) GetPolls() []*PollRequest

func (*Polls) ProtoMessage

func (*Polls) ProtoMessage()

func (*Polls) Reset

func (m *Polls) Reset()

func (*Polls) String

func (m *Polls) String() string

type RepoAccount

type RepoAccount struct {
	Repo    string `protobuf:"bytes,1,opt,name=repo" json:"repo,omitempty"`
	Account string `protobuf:"bytes,2,opt,name=account" json:"account,omitempty"`
	Limit   int32  `protobuf:"varint,3,opt,name=limit" json:"limit,omitempty"`
}

func (*RepoAccount) Descriptor

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

func (*RepoAccount) GetAccount

func (m *RepoAccount) GetAccount() string

func (*RepoAccount) GetLimit

func (m *RepoAccount) GetLimit() int32

func (*RepoAccount) GetRepo

func (m *RepoAccount) GetRepo() string

func (*RepoAccount) ProtoMessage

func (*RepoAccount) ProtoMessage()

func (*RepoAccount) Reset

func (m *RepoAccount) Reset()

func (*RepoAccount) String

func (m *RepoAccount) String() string

type RepoCredWrapper

type RepoCredWrapper struct {
	Repo []*RepoCreds `protobuf:"bytes,3,rep,name=repo" json:"repo,omitempty"`
}

func (*RepoCredWrapper) Descriptor

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

func (*RepoCredWrapper) GetRepo

func (m *RepoCredWrapper) GetRepo() []*RepoCreds

func (*RepoCredWrapper) ProtoMessage

func (*RepoCredWrapper) ProtoMessage()

func (*RepoCredWrapper) Reset

func (m *RepoCredWrapper) Reset()

func (*RepoCredWrapper) String

func (m *RepoCredWrapper) String() string

type RepoCreds

type RepoCreds struct {
	Username   string      `protobuf:"bytes,1,opt,name=username" json:"username,omitempty"`
	Password   string      `protobuf:"bytes,2,opt,name=password" json:"password,omitempty"`
	RepoUrl    string      `protobuf:"bytes,6,opt,name=repoUrl" json:"repoUrl,omitempty"`
	Identifier string      `protobuf:"bytes,8,opt,name=identifier" json:"identifier,omitempty"`
	AcctName   string      `protobuf:"bytes,4,opt,name=acctName" json:"acctName,omitempty"`
	Type       CredType    `protobuf:"varint,9,opt,name=type,enum=models.CredType" json:"type,omitempty"`
	SubType    SubCredType `protobuf:"varint,10,opt,name=subType,enum=models.SubCredType" json:"subType,omitempty"`
}

func (*RepoCreds) Descriptor

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

func (*RepoCreds) GetAcctName

func (m *RepoCreds) GetAcctName() string

func (*RepoCreds) GetIdentifier

func (m *RepoCreds) GetIdentifier() string

func (*RepoCreds) GetPassword

func (m *RepoCreds) GetPassword() string

func (*RepoCreds) GetRepoUrl

func (m *RepoCreds) GetRepoUrl() string

func (*RepoCreds) GetSubType

func (m *RepoCreds) GetSubType() SubCredType

func (*RepoCreds) GetType

func (m *RepoCreds) GetType() CredType

func (*RepoCreds) GetUsername

func (m *RepoCreds) GetUsername() string

func (*RepoCreds) ProtoMessage

func (*RepoCreds) ProtoMessage()

func (*RepoCreds) Reset

func (m *RepoCreds) Reset()

func (*RepoCreds) String

func (m *RepoCreds) String() string

type SSHKeyWrapper

type SSHKeyWrapper struct {
	AcctName   string `protobuf:"bytes,1,opt,name=acctName" json:"acctName,omitempty"`
	PrivateKey []byte `protobuf:"bytes,2,opt,name=privateKey,proto3" json:"privateKey,omitempty"`
	Type       string `protobuf:"bytes,3,opt,name=type" json:"type,omitempty"`
}

func (*SSHKeyWrapper) Descriptor

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

func (*SSHKeyWrapper) GetAcctName

func (m *SSHKeyWrapper) GetAcctName() string

func (*SSHKeyWrapper) GetPrivateKey

func (m *SSHKeyWrapper) GetPrivateKey() []byte

func (*SSHKeyWrapper) GetType

func (m *SSHKeyWrapper) GetType() string

func (*SSHKeyWrapper) ProtoMessage

func (*SSHKeyWrapper) ProtoMessage()

func (*SSHKeyWrapper) Reset

func (m *SSHKeyWrapper) Reset()

func (*SSHKeyWrapper) String

func (m *SSHKeyWrapper) String() string

type Stage

type Stage struct {
	Stage         string                      `protobuf:"bytes,1,opt,name=stage" json:"stage,omitempty"`
	Error         string                      `protobuf:"bytes,2,opt,name=error" json:"error,omitempty"`
	Status        int32                       `protobuf:"varint,3,opt,name=status" json:"status,omitempty"`
	Messages      []string                    `protobuf:"bytes,4,rep,name=messages" json:"messages,omitempty"`
	StartTime     *google_protobuf2.Timestamp `protobuf:"bytes,5,opt,name=startTime" json:"startTime,omitempty"`
	StageDuration float64                     `protobuf:"fixed64,6,opt,name=stageDuration" json:"stageDuration,omitempty"`
}

func (*Stage) Descriptor

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

func (*Stage) GetError

func (m *Stage) GetError() string

func (*Stage) GetMessages

func (m *Stage) GetMessages() []string

func (*Stage) GetStage

func (m *Stage) GetStage() string

func (*Stage) GetStageDuration

func (m *Stage) GetStageDuration() float64

func (*Stage) GetStartTime

func (m *Stage) GetStartTime() *google_protobuf2.Timestamp

func (*Stage) GetStatus

func (m *Stage) GetStatus() int32

func (*Stage) ProtoMessage

func (*Stage) ProtoMessage()

func (*Stage) Reset

func (m *Stage) Reset()

func (*Stage) String

func (m *Stage) String() string

type Status

type Status struct {
	BuildSum   *BuildSummary `protobuf:"bytes,1,opt,name=buildSum" json:"buildSum,omitempty"`
	Stages     []*Stage      `protobuf:"bytes,2,rep,name=stages" json:"stages,omitempty"`
	IsInConsul bool          `protobuf:"varint,3,opt,name=isInConsul" json:"isInConsul,omitempty"`
}

func (*Status) Descriptor

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

func (*Status) GetBuildSum

func (m *Status) GetBuildSum() *BuildSummary

func (*Status) GetIsInConsul

func (m *Status) GetIsInConsul() bool

func (*Status) GetStages

func (m *Status) GetStages() []*Stage

func (*Status) ProtoMessage

func (*Status) ProtoMessage()

func (*Status) Reset

func (m *Status) Reset()

func (*Status) String

func (m *Status) String() string

type StatusQuery

type StatusQuery struct {
	Hash        string `protobuf:"bytes,1,opt,name=hash" json:"hash,omitempty"`
	AcctName    string `protobuf:"bytes,2,opt,name=acctName" json:"acctName,omitempty"`
	RepoName    string `protobuf:"bytes,3,opt,name=repoName" json:"repoName,omitempty"`
	PartialRepo string `protobuf:"bytes,4,opt,name=partialRepo" json:"partialRepo,omitempty"`
}

func (*StatusQuery) Descriptor

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

func (*StatusQuery) GetAcctName

func (m *StatusQuery) GetAcctName() string

func (*StatusQuery) GetHash

func (m *StatusQuery) GetHash() string

func (*StatusQuery) GetPartialRepo

func (m *StatusQuery) GetPartialRepo() string

func (*StatusQuery) GetRepoName

func (m *StatusQuery) GetRepoName() string

func (*StatusQuery) ProtoMessage

func (*StatusQuery) ProtoMessage()

func (*StatusQuery) Reset

func (m *StatusQuery) Reset()

func (*StatusQuery) String

func (m *StatusQuery) String() string

type SubCredType

type SubCredType int32
const (
	SubCredType_BITBUCKET SubCredType = 0
	SubCredType_GITHUB    SubCredType = 1
	SubCredType_NEXUS     SubCredType = 2
	SubCredType_MAVEN     SubCredType = 3
	SubCredType_DOCKER    SubCredType = 4
	SubCredType_KUBECONF  SubCredType = 5
)

func (SubCredType) EnumDescriptor

func (SubCredType) EnumDescriptor() ([]byte, []int)

func (SubCredType) String

func (x SubCredType) String() string

func (*SubCredType) UnmarshalJSON

func (ct *SubCredType) UnmarshalJSON(val []byte) error

type Summaries

type Summaries struct {
	Sums []*BuildSummary `protobuf:"bytes,1,rep,name=sums" json:"sums,omitempty"`
}

func (*Summaries) Descriptor

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

func (*Summaries) GetSums

func (m *Summaries) GetSums() []*BuildSummary

func (*Summaries) ProtoMessage

func (*Summaries) ProtoMessage()

func (*Summaries) Reset

func (m *Summaries) Reset()

func (*Summaries) String

func (m *Summaries) String() string

type VCSCreds

type VCSCreds struct {
	ClientId     string      `protobuf:"bytes,1,opt,name=clientId" json:"clientId,omitempty"`
	ClientSecret string      `protobuf:"bytes,2,opt,name=clientSecret" json:"clientSecret,omitempty"`
	Identifier   string      `protobuf:"bytes,8,opt,name=identifier" json:"identifier,omitempty"`
	TokenURL     string      `protobuf:"bytes,3,opt,name=tokenURL" json:"tokenURL,omitempty"`
	AcctName     string      `protobuf:"bytes,4,opt,name=acctName" json:"acctName,omitempty"`
	SshFileLoc   string      `protobuf:"bytes,6,opt,name=sshFileLoc" json:"sshFileLoc,omitempty"`
	Type         CredType    `protobuf:"varint,9,opt,name=type,enum=models.CredType" json:"type,omitempty"`
	SubType      SubCredType `protobuf:"varint,10,opt,name=subType,enum=models.SubCredType" json:"subType,omitempty"`
}

func (*VCSCreds) Descriptor

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

func (*VCSCreds) GetAcctName

func (m *VCSCreds) GetAcctName() string

func (*VCSCreds) GetClientId

func (m *VCSCreds) GetClientId() string

func (*VCSCreds) GetClientSecret

func (m *VCSCreds) GetClientSecret() string

func (*VCSCreds) GetIdentifier

func (m *VCSCreds) GetIdentifier() string

func (*VCSCreds) GetSshFileLoc

func (m *VCSCreds) GetSshFileLoc() string

func (*VCSCreds) GetSubType

func (m *VCSCreds) GetSubType() SubCredType

func (*VCSCreds) GetTokenURL

func (m *VCSCreds) GetTokenURL() string

func (*VCSCreds) GetType

func (m *VCSCreds) GetType() CredType

func (*VCSCreds) ProtoMessage

func (*VCSCreds) ProtoMessage()

func (*VCSCreds) Reset

func (m *VCSCreds) Reset()

func (*VCSCreds) String

func (m *VCSCreds) String() string

Jump to

Keyboard shortcuts

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