yolopb

package
v2.110.0 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2022 License: Apache-2.0, MIT Imports: 25 Imported by: 0

Documentation

Overview

Package yolopb is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthYolopb        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowYolopb          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupYolopb = fmt.Errorf("proto: unexpected end of group")
)
View Source
var Artifact_Kind_name = map[int32]string{
	0: "UnknownKind",
	1: "IPA",
	2: "APK",
	3: "DMG",
}
View Source
var Artifact_Kind_value = map[string]int32{
	"UnknownKind": 0,
	"IPA":         1,
	"APK":         2,
	"DMG":         3,
}
View Source
var Artifact_State_name = map[int32]string{
	0: "UnknownState",
	1: "Finished",
	2: "New",
	3: "Error",
	4: "Deleted",
}
View Source
var Artifact_State_value = map[string]int32{
	"UnknownState": 0,
	"Finished":     1,
	"New":          2,
	"Error":        3,
	"Deleted":      4,
}
View Source
var Build_State_name = map[int32]string{
	0: "UnknownState",
	1: "Running",
	2: "Failed",
	3: "Passed",
	4: "Canceled",
	5: "Scheduled",
	6: "Skipped",
	7: "NotRun",
	8: "Timedout",
}
View Source
var Build_State_value = map[string]int32{
	"UnknownState": 0,
	"Running":      1,
	"Failed":       2,
	"Passed":       3,
	"Canceled":     4,
	"Scheduled":    5,
	"Skipped":      6,
	"NotRun":       7,
	"Timedout":     8,
}
View Source
var Driver_name = map[int32]string{
	0: "UnknownDriver",
	1: "Buildkite",
	2: "CircleCI",
	3: "Bintray",
	4: "GitHub",
}
View Source
var Driver_value = map[string]int32{
	"UnknownDriver": 0,
	"Buildkite":     1,
	"CircleCI":      2,
	"Bintray":       3,
	"GitHub":        4,
}
View Source
var Entity_Kind_name = map[int32]string{
	0: "UnknownKind",
	1: "User",
	2: "Organization",
	3: "Bot",
}
View Source
var Entity_Kind_value = map[string]int32{
	"UnknownKind":  0,
	"User":         1,
	"Organization": 2,
	"Bot":          3,
}
View Source
var MergeRequest_State_name = map[int32]string{
	0: "UnknownState",
	1: "Opened",
	2: "Closed",
	3: "Merged",
}
View Source
var MergeRequest_State_value = map[string]int32{
	"UnknownState": 0,
	"Opened":       1,
	"Closed":       2,
	"Merged":       3,
}

Functions

func AllModels

func AllModels() []interface{}

func RegisterYoloServiceHandler

func RegisterYoloServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterYoloServiceHandler registers the http handlers for service YoloService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterYoloServiceHandlerClient

func RegisterYoloServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client YoloServiceClient) error

RegisterYoloServiceHandlerClient registers the http handlers for service YoloService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "YoloServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "YoloServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "YoloServiceClient" to call the correct interceptors.

func RegisterYoloServiceHandlerFromEndpoint

func RegisterYoloServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterYoloServiceHandlerFromEndpoint is same as RegisterYoloServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterYoloServiceHandlerServer

func RegisterYoloServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server YoloServiceServer) error

RegisterYoloServiceHandlerServer registers the http handlers for service YoloService to "mux". UnaryRPC :call YoloServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.

func RegisterYoloServiceServer

func RegisterYoloServiceServer(s *grpc.Server, srv YoloServiceServer)

Types

type Artifact

type Artifact struct {
	ID                  string         `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" gorm:"primary_key"`
	YoloID              string         `protobuf:"bytes,2,opt,name=yolo_id,json=yoloId,proto3" json:"yolo_id,omitempty"`
	CreatedAt           *time.Time     `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3,stdtime" json:"created_at,omitempty"`
	UpdatedAt           *time.Time     `protobuf:"bytes,4,opt,name=updated_at,json=updatedAt,proto3,stdtime" json:"updated_at,omitempty"`
	FileSize            int64          `protobuf:"varint,5,opt,name=file_size,json=fileSize,proto3" json:"file_size,omitempty"`
	LocalPath           string         `protobuf:"bytes,6,opt,name=local_path,json=localPath,proto3" json:"local_path,omitempty"`
	DownloadURL         string         `protobuf:"bytes,7,opt,name=download_url,json=downloadUrl,proto3" json:"download_url,omitempty"`
	MimeType            string         `protobuf:"bytes,8,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
	Sha1Sum             string         `protobuf:"bytes,9,opt,name=sha1_sum,json=sha1Sum,proto3" json:"sha1_sum,omitempty"`
	Sha256Sum           string         `protobuf:"bytes,10,opt,name=sha256_sum,json=sha256Sum,proto3" json:"sha256_sum,omitempty"`
	State               Artifact_State `protobuf:"varint,11,opt,name=state,proto3,enum=yolo.Artifact_State" json:"state,omitempty"`
	Kind                Artifact_Kind  `protobuf:"varint,12,opt,name=kind,proto3,enum=yolo.Artifact_Kind" json:"kind,omitempty"`
	Driver              Driver         `protobuf:"varint,13,opt,name=driver,proto3,enum=yolo.Driver" json:"driver,omitempty"`
	BundleName          string         `protobuf:"bytes,14,opt,name=bundle_name,json=bundleName,proto3" json:"bundle_name,omitempty"`
	BundleVersion       string         `protobuf:"bytes,15,opt,name=bundle_version,json=bundleVersion,proto3" json:"bundle_version,omitempty"`
	BundleID            string         `protobuf:"bytes,16,opt,name=bundle_id,json=bundleId,proto3" json:"bundle_id,omitempty"`
	BundleIcon          string         `protobuf:"bytes,17,opt,name=bundle_icon,json=bundleIcon,proto3" json:"bundle_icon,omitempty"`
	HasBuild            *Build         `protobuf:"bytes,101,opt,name=has_build,json=hasBuild,proto3" json:"has_build,omitempty"`
	HasBuildID          string         `protobuf:"bytes,102,opt,name=has_build_id,json=hasBuildId,proto3" json:"has_build_id,omitempty"`
	HasRelease          *Release       `protobuf:"bytes,103,opt,name=has_release,json=hasRelease,proto3" json:"has_release,omitempty"`
	HasReleaseID        string         `protobuf:"bytes,104,opt,name=has_release_id,json=hasReleaseId,proto3" json:"has_release_id,omitempty"`
	Downloads           []*Download    `protobuf:"bytes,105,rep,name=downloads,proto3" json:"downloads,omitempty"`
	DownloadsCount      int64          `protobuf:"varint,106,opt,name=downloads_count,json=downloadsCount,proto3" json:"downloads_count,omitempty" sql:"-"`
	DLArtifactSignedURL string         `protobuf:"bytes,201,opt,name=dl_artifact_signed_url,json=dlArtifactSignedUrl,proto3" json:"dl_artifact_signed_url,omitempty"`
	PListSignedURL      string         `protobuf:"bytes,202,opt,name=plist_signed_url,json=plistSignedUrl,proto3" json:"plist_signed_url,omitempty"`
}

func (*Artifact) AddSignedURLs

func (a *Artifact) AddSignedURLs(key string) error

AddSignedURLs adds new fields containing URLs with a signature

func (*Artifact) Descriptor

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

func (*Artifact) GetBundleID

func (m *Artifact) GetBundleID() string

func (*Artifact) GetBundleIcon

func (m *Artifact) GetBundleIcon() string

func (*Artifact) GetBundleName

func (m *Artifact) GetBundleName() string

func (*Artifact) GetBundleVersion

func (m *Artifact) GetBundleVersion() string

func (*Artifact) GetCreatedAt

func (m *Artifact) GetCreatedAt() *time.Time

func (*Artifact) GetDLArtifactSignedURL

func (m *Artifact) GetDLArtifactSignedURL() string

func (*Artifact) GetDownloadURL

func (m *Artifact) GetDownloadURL() string

func (*Artifact) GetDownloads

func (m *Artifact) GetDownloads() []*Download

func (*Artifact) GetDownloadsCount

func (m *Artifact) GetDownloadsCount() int64

func (*Artifact) GetDriver

func (m *Artifact) GetDriver() Driver

func (*Artifact) GetFileSize

func (m *Artifact) GetFileSize() int64

func (*Artifact) GetHasBuild

func (m *Artifact) GetHasBuild() *Build

func (*Artifact) GetHasBuildID

func (m *Artifact) GetHasBuildID() string

func (*Artifact) GetHasRelease

func (m *Artifact) GetHasRelease() *Release

func (*Artifact) GetHasReleaseID

func (m *Artifact) GetHasReleaseID() string

func (*Artifact) GetID

func (m *Artifact) GetID() string

func (*Artifact) GetKind

func (m *Artifact) GetKind() Artifact_Kind

func (*Artifact) GetLocalPath

func (m *Artifact) GetLocalPath() string

func (*Artifact) GetMimeType

func (m *Artifact) GetMimeType() string

func (*Artifact) GetPListSignedURL

func (m *Artifact) GetPListSignedURL() string

func (*Artifact) GetSha1Sum

func (m *Artifact) GetSha1Sum() string

func (*Artifact) GetSha256Sum

func (m *Artifact) GetSha256Sum() string

func (*Artifact) GetState

func (m *Artifact) GetState() Artifact_State

func (*Artifact) GetUpdatedAt

func (m *Artifact) GetUpdatedAt() *time.Time

func (*Artifact) GetYoloID

func (m *Artifact) GetYoloID() string

func (*Artifact) Marshal

func (m *Artifact) Marshal() (dAtA []byte, err error)

func (*Artifact) MarshalTo

func (m *Artifact) MarshalTo(dAtA []byte) (int, error)

func (*Artifact) MarshalToSizedBuffer

func (m *Artifact) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Artifact) ProtoMessage

func (*Artifact) ProtoMessage()

func (*Artifact) Reset

func (m *Artifact) Reset()

func (*Artifact) Size

func (m *Artifact) Size() (n int)

func (*Artifact) String

func (m *Artifact) String() string

func (*Artifact) Unmarshal

func (m *Artifact) Unmarshal(dAtA []byte) error

func (*Artifact) XXX_DiscardUnknown

func (m *Artifact) XXX_DiscardUnknown()

func (*Artifact) XXX_Marshal

func (m *Artifact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Artifact) XXX_Merge

func (m *Artifact) XXX_Merge(src proto.Message)

func (*Artifact) XXX_Size

func (m *Artifact) XXX_Size() int

func (*Artifact) XXX_Unmarshal

func (m *Artifact) XXX_Unmarshal(b []byte) error

type Artifact_Kind

type Artifact_Kind int32
const (
	Artifact_UnknownKind Artifact_Kind = 0
	Artifact_IPA         Artifact_Kind = 1
	Artifact_APK         Artifact_Kind = 2
	Artifact_DMG         Artifact_Kind = 3
)

func (Artifact_Kind) EnumDescriptor

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

func (Artifact_Kind) String

func (x Artifact_Kind) String() string

type Artifact_State

type Artifact_State int32
const (
	Artifact_UnknownState Artifact_State = 0
	Artifact_Finished     Artifact_State = 1
	Artifact_New          Artifact_State = 2
	Artifact_Error        Artifact_State = 3
	Artifact_Deleted      Artifact_State = 4
)

func (Artifact_State) EnumDescriptor

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

func (Artifact_State) String

func (x Artifact_State) String() string

type Batch

type Batch struct {
	Builds        []*Build        `protobuf:"bytes,1,rep,name=builds,proto3" json:"builds,omitempty"`
	Artifacts     []*Artifact     `protobuf:"bytes,2,rep,name=artifacts,proto3" json:"artifacts,omitempty"`
	Projects      []*Project      `protobuf:"bytes,3,rep,name=projects,proto3" json:"projects,omitempty"`
	Entities      []*Entity       `protobuf:"bytes,4,rep,name=entities,proto3" json:"entities,omitempty"`
	Releases      []*Release      `protobuf:"bytes,5,rep,name=releases,proto3" json:"releases,omitempty"`
	Commits       []*Commit       `protobuf:"bytes,6,rep,name=commits,proto3" json:"commits,omitempty"`
	MergeRequests []*MergeRequest `protobuf:"bytes,7,rep,name=merge_requests,json=mergeRequests,proto3" json:"merge_requests,omitempty"`
}

func NewBatch

func NewBatch() *Batch

func (*Batch) AllObjects

func (b *Batch) AllObjects() []interface{}

func (*Batch) Descriptor

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

func (*Batch) DisplayTreeFormat added in v2.104.0

func (b *Batch) DisplayTreeFormat() (res string)

func (*Batch) Empty

func (b *Batch) Empty() bool

func (*Batch) GetArtifacts

func (m *Batch) GetArtifacts() []*Artifact

func (*Batch) GetBuilds

func (m *Batch) GetBuilds() []*Build

func (*Batch) GetCommits

func (m *Batch) GetCommits() []*Commit

func (*Batch) GetEntities

func (m *Batch) GetEntities() []*Entity

func (*Batch) GetMergeRequests

func (m *Batch) GetMergeRequests() []*MergeRequest

func (*Batch) GetProjects

func (m *Batch) GetProjects() []*Project

func (*Batch) GetReleases

func (m *Batch) GetReleases() []*Release

func (*Batch) Marshal

func (m *Batch) Marshal() (dAtA []byte, err error)

func (*Batch) MarshalTo

func (m *Batch) MarshalTo(dAtA []byte) (int, error)

func (*Batch) MarshalToSizedBuffer

func (m *Batch) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Batch) Merge

func (b *Batch) Merge(n *Batch)

func (*Batch) Optimize

func (b *Batch) Optimize()

func (*Batch) ProtoMessage

func (*Batch) ProtoMessage()

func (*Batch) Reset

func (m *Batch) Reset()

func (*Batch) Size

func (m *Batch) Size() (n int)

func (*Batch) String

func (m *Batch) String() string

func (*Batch) Unmarshal

func (m *Batch) Unmarshal(dAtA []byte) error

func (*Batch) XXX_DiscardUnknown

func (m *Batch) XXX_DiscardUnknown()

func (*Batch) XXX_Marshal

func (m *Batch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Batch) XXX_Merge

func (m *Batch) XXX_Merge(src proto.Message)

func (*Batch) XXX_Size

func (m *Batch) XXX_Size() int

func (*Batch) XXX_Unmarshal

func (m *Batch) XXX_Unmarshal(b []byte) error

type Build

type Build struct {
	ID                   string        `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" gorm:"primary_key"`
	YoloID               string        `protobuf:"bytes,2,opt,name=yolo_id,json=yoloId,proto3" json:"yolo_id,omitempty"`
	CreatedAt            *time.Time    `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3,stdtime" json:"created_at,omitempty"`
	UpdatedAt            *time.Time    `protobuf:"bytes,4,opt,name=updated_at,json=updatedAt,proto3,stdtime" json:"updated_at,omitempty"`
	State                Build_State   `protobuf:"varint,5,opt,name=state,proto3,enum=yolo.Build_State" json:"state,omitempty"`
	CompletedAt          *time.Time    `protobuf:"bytes,6,opt,name=completed_at,json=completedAt,proto3,stdtime" json:"completed_at,omitempty"`
	Message              string        `protobuf:"bytes,7,opt,name=message,proto3" json:"message,omitempty"`
	StartedAt            *time.Time    `protobuf:"bytes,8,opt,name=started_at,json=startedAt,proto3,stdtime" json:"started_at,omitempty"`
	FinishedAt           *time.Time    `protobuf:"bytes,9,opt,name=finished_at,json=finishedAt,proto3,stdtime" json:"finished_at,omitempty"`
	CommitURL            string        `protobuf:"bytes,10,opt,name=commit_url,json=commitUrl,proto3" json:"commit_url,omitempty"`
	Branch               string        `protobuf:"bytes,11,opt,name=branch,proto3" json:"branch,omitempty"`
	Driver               Driver        `protobuf:"varint,12,opt,name=driver,proto3,enum=yolo.Driver" json:"driver,omitempty"`
	ShortID              string        `protobuf:"bytes,13,opt,name=short_id,json=shortId,proto3" json:"short_id,omitempty"`
	VCSTag               string        `protobuf:"bytes,14,opt,name=vcs_tag,json=vcsTag,proto3" json:"vcs_tag,omitempty"`
	VCSTagURL            string        `protobuf:"bytes,15,opt,name=vcs_tag_url,json=vcsTagUrl,proto3" json:"vcs_tag_url,omitempty"`
	RawBranch            string        `protobuf:"bytes,21,opt,name=raw_branch,json=rawBranch,proto3" json:"raw_branch,omitempty"`
	HasRawCommit         *Commit       `protobuf:"bytes,22,opt,name=has_raw_commit,json=hasRawCommit,proto3" json:"has_raw_commit,omitempty"`
	HasRawProject        *Project      `protobuf:"bytes,23,opt,name=has_raw_project,json=hasRawProject,proto3" json:"has_raw_project,omitempty"`
	HasRawMergerequest   *MergeRequest `protobuf:"bytes,24,opt,name=has_raw_mergerequest,json=hasRawMergerequest,proto3" json:"has_raw_mergerequest,omitempty"`
	HasRawCommitID       string        `protobuf:"bytes,25,opt,name=has_raw_commit_id,json=hasRawCommitId,proto3" json:"has_raw_commit_id,omitempty"`
	HasRawProjectID      string        `protobuf:"bytes,26,opt,name=has_raw_project_id,json=hasRawProjectId,proto3" json:"has_raw_project_id,omitempty"`
	HasRawMergerequestID string        `` /* 126-byte string literal not displayed */
	HasArtifacts         []*Artifact   `` /* 128-byte string literal not displayed */
	HasCommit            *Commit       `protobuf:"bytes,102,opt,name=has_commit,json=hasCommit,proto3" json:"has_commit,omitempty"`
	HasCommitID          string        `protobuf:"bytes,103,opt,name=has_commit_id,json=hasCommitId,proto3" json:"has_commit_id,omitempty"`
	HasProject           *Project      `protobuf:"bytes,104,opt,name=has_project,json=hasProject,proto3" json:"has_project,omitempty"`
	HasProjectID         string        `protobuf:"bytes,105,opt,name=has_project_id,json=hasProjectId,proto3" json:"has_project_id,omitempty"`
	HasMergerequest      *MergeRequest `protobuf:"bytes,106,opt,name=has_mergerequest,json=hasMergerequest,proto3" json:"has_mergerequest,omitempty"`
	HasMergerequestID    string        `protobuf:"bytes,107,opt,name=has_mergerequest_id,json=hasMergerequestId,proto3" json:"has_mergerequest_id,omitempty"`
}

func (*Build) ApplyMetadataOverride added in v2.105.0

func (b *Build) ApplyMetadataOverride(override *MetadataOverride)

func (*Build) Descriptor

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

func (*Build) GetBranch

func (m *Build) GetBranch() string

func (*Build) GetCommitURL

func (m *Build) GetCommitURL() string

func (*Build) GetCompletedAt

func (m *Build) GetCompletedAt() *time.Time

func (*Build) GetCreatedAt

func (m *Build) GetCreatedAt() *time.Time

func (*Build) GetDriver

func (m *Build) GetDriver() Driver

func (*Build) GetFinishedAt

func (m *Build) GetFinishedAt() *time.Time

func (*Build) GetHasArtifacts

func (m *Build) GetHasArtifacts() []*Artifact

func (*Build) GetHasCommit

func (m *Build) GetHasCommit() *Commit

func (*Build) GetHasCommitID

func (m *Build) GetHasCommitID() string

func (*Build) GetHasMergerequest

func (m *Build) GetHasMergerequest() *MergeRequest

func (*Build) GetHasMergerequestID

func (m *Build) GetHasMergerequestID() string

func (*Build) GetHasProject

func (m *Build) GetHasProject() *Project

func (*Build) GetHasProjectID

func (m *Build) GetHasProjectID() string

func (*Build) GetHasRawCommit added in v2.105.0

func (m *Build) GetHasRawCommit() *Commit

func (*Build) GetHasRawCommitID added in v2.105.0

func (m *Build) GetHasRawCommitID() string

func (*Build) GetHasRawMergerequest added in v2.107.0

func (m *Build) GetHasRawMergerequest() *MergeRequest

func (*Build) GetHasRawMergerequestID added in v2.107.0

func (m *Build) GetHasRawMergerequestID() string

func (*Build) GetHasRawProject added in v2.105.0

func (m *Build) GetHasRawProject() *Project

func (*Build) GetHasRawProjectID added in v2.105.0

func (m *Build) GetHasRawProjectID() string

func (*Build) GetID

func (m *Build) GetID() string

func (*Build) GetMessage

func (m *Build) GetMessage() string

func (*Build) GetRawBranch added in v2.105.0

func (m *Build) GetRawBranch() string

func (*Build) GetShortID

func (m *Build) GetShortID() string

func (*Build) GetStartedAt

func (m *Build) GetStartedAt() *time.Time

func (*Build) GetState

func (m *Build) GetState() Build_State

func (*Build) GetUpdatedAt

func (m *Build) GetUpdatedAt() *time.Time

func (*Build) GetVCSTag

func (m *Build) GetVCSTag() string

func (*Build) GetVCSTagURL

func (m *Build) GetVCSTagURL() string

func (*Build) GetYoloID

func (m *Build) GetYoloID() string

func (*Build) Marshal

func (m *Build) Marshal() (dAtA []byte, err error)

func (*Build) MarshalTo

func (m *Build) MarshalTo(dAtA []byte) (int, error)

func (*Build) MarshalToSizedBuffer

func (m *Build) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Build) PrepareOutput

func (b *Build) PrepareOutput(salt string) error

PrepareOutput adds new fields containing URLs with a signature and filters sensitive/useless data

func (*Build) ProtoMessage

func (*Build) ProtoMessage()

func (*Build) Reset

func (m *Build) Reset()

func (*Build) Size

func (m *Build) Size() (n int)

func (*Build) String

func (m *Build) String() string

func (*Build) Unmarshal

func (m *Build) Unmarshal(dAtA []byte) error

func (*Build) XXX_DiscardUnknown

func (m *Build) XXX_DiscardUnknown()

func (*Build) XXX_Marshal

func (m *Build) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Build) XXX_Merge

func (m *Build) XXX_Merge(src proto.Message)

func (*Build) XXX_Size

func (m *Build) XXX_Size() int

func (*Build) XXX_Unmarshal

func (m *Build) XXX_Unmarshal(b []byte) error

type BuildList

type BuildList struct {
}

func (*BuildList) Descriptor

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

func (*BuildList) Marshal

func (m *BuildList) Marshal() (dAtA []byte, err error)

func (*BuildList) MarshalTo

func (m *BuildList) MarshalTo(dAtA []byte) (int, error)

func (*BuildList) MarshalToSizedBuffer

func (m *BuildList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BuildList) ProtoMessage

func (*BuildList) ProtoMessage()

func (*BuildList) Reset

func (m *BuildList) Reset()

func (*BuildList) Size

func (m *BuildList) Size() (n int)

func (*BuildList) String

func (m *BuildList) String() string

func (*BuildList) Unmarshal

func (m *BuildList) Unmarshal(dAtA []byte) error

func (*BuildList) XXX_DiscardUnknown

func (m *BuildList) XXX_DiscardUnknown()

func (*BuildList) XXX_Marshal

func (m *BuildList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BuildList) XXX_Merge

func (m *BuildList) XXX_Merge(src proto.Message)

func (*BuildList) XXX_Size

func (m *BuildList) XXX_Size() int

func (*BuildList) XXX_Unmarshal

func (m *BuildList) XXX_Unmarshal(b []byte) error

type BuildListFilters

type BuildListFilters struct {
}

func (*BuildListFilters) Descriptor

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

func (*BuildListFilters) Marshal

func (m *BuildListFilters) Marshal() (dAtA []byte, err error)

func (*BuildListFilters) MarshalTo

func (m *BuildListFilters) MarshalTo(dAtA []byte) (int, error)

func (*BuildListFilters) MarshalToSizedBuffer

func (m *BuildListFilters) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BuildListFilters) ProtoMessage

func (*BuildListFilters) ProtoMessage()

func (*BuildListFilters) Reset

func (m *BuildListFilters) Reset()

func (*BuildListFilters) Size

func (m *BuildListFilters) Size() (n int)

func (*BuildListFilters) String

func (m *BuildListFilters) String() string

func (*BuildListFilters) Unmarshal

func (m *BuildListFilters) Unmarshal(dAtA []byte) error

func (*BuildListFilters) XXX_DiscardUnknown

func (m *BuildListFilters) XXX_DiscardUnknown()

func (*BuildListFilters) XXX_Marshal

func (m *BuildListFilters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BuildListFilters) XXX_Merge

func (m *BuildListFilters) XXX_Merge(src proto.Message)

func (*BuildListFilters) XXX_Size

func (m *BuildListFilters) XXX_Size() int

func (*BuildListFilters) XXX_Unmarshal

func (m *BuildListFilters) XXX_Unmarshal(b []byte) error

type BuildListFilters_Request

type BuildListFilters_Request struct {
}

func (*BuildListFilters_Request) Descriptor

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

func (*BuildListFilters_Request) Marshal

func (m *BuildListFilters_Request) Marshal() (dAtA []byte, err error)

func (*BuildListFilters_Request) MarshalTo

func (m *BuildListFilters_Request) MarshalTo(dAtA []byte) (int, error)

func (*BuildListFilters_Request) MarshalToSizedBuffer

func (m *BuildListFilters_Request) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BuildListFilters_Request) ProtoMessage

func (*BuildListFilters_Request) ProtoMessage()

func (*BuildListFilters_Request) Reset

func (m *BuildListFilters_Request) Reset()

func (*BuildListFilters_Request) Size

func (m *BuildListFilters_Request) Size() (n int)

func (*BuildListFilters_Request) String

func (m *BuildListFilters_Request) String() string

func (*BuildListFilters_Request) Unmarshal

func (m *BuildListFilters_Request) Unmarshal(dAtA []byte) error

func (*BuildListFilters_Request) XXX_DiscardUnknown

func (m *BuildListFilters_Request) XXX_DiscardUnknown()

func (*BuildListFilters_Request) XXX_Marshal

func (m *BuildListFilters_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BuildListFilters_Request) XXX_Merge

func (m *BuildListFilters_Request) XXX_Merge(src proto.Message)

func (*BuildListFilters_Request) XXX_Size

func (m *BuildListFilters_Request) XXX_Size() int

func (*BuildListFilters_Request) XXX_Unmarshal

func (m *BuildListFilters_Request) XXX_Unmarshal(b []byte) error

type BuildListFilters_Response

type BuildListFilters_Response struct {
	Entities []*Entity  `protobuf:"bytes,1,rep,name=entities,proto3" json:"entities,omitempty"`
	Projects []*Project `protobuf:"bytes,2,rep,name=projects,proto3" json:"projects,omitempty"`
}

func (*BuildListFilters_Response) Descriptor

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

func (*BuildListFilters_Response) GetEntities

func (m *BuildListFilters_Response) GetEntities() []*Entity

func (*BuildListFilters_Response) GetProjects

func (m *BuildListFilters_Response) GetProjects() []*Project

func (*BuildListFilters_Response) Marshal

func (m *BuildListFilters_Response) Marshal() (dAtA []byte, err error)

func (*BuildListFilters_Response) MarshalTo

func (m *BuildListFilters_Response) MarshalTo(dAtA []byte) (int, error)

func (*BuildListFilters_Response) MarshalToSizedBuffer

func (m *BuildListFilters_Response) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BuildListFilters_Response) ProtoMessage

func (*BuildListFilters_Response) ProtoMessage()

func (*BuildListFilters_Response) Reset

func (m *BuildListFilters_Response) Reset()

func (*BuildListFilters_Response) Size

func (m *BuildListFilters_Response) Size() (n int)

func (*BuildListFilters_Response) String

func (m *BuildListFilters_Response) String() string

func (*BuildListFilters_Response) Unmarshal

func (m *BuildListFilters_Response) Unmarshal(dAtA []byte) error

func (*BuildListFilters_Response) XXX_DiscardUnknown

func (m *BuildListFilters_Response) XXX_DiscardUnknown()

func (*BuildListFilters_Response) XXX_Marshal

func (m *BuildListFilters_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BuildListFilters_Response) XXX_Merge

func (m *BuildListFilters_Response) XXX_Merge(src proto.Message)

func (*BuildListFilters_Response) XXX_Size

func (m *BuildListFilters_Response) XXX_Size() int

func (*BuildListFilters_Response) XXX_Unmarshal

func (m *BuildListFilters_Response) XXX_Unmarshal(b []byte) error

type BuildList_Request

type BuildList_Request struct {
	// max amount of builds
	Limit int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
	// filter on artifact kinds
	ArtifactKinds []Artifact_Kind `` /* 132-byte string literal not displayed */
	// filter builds without any artifacts
	WithArtifacts bool `protobuf:"varint,3,opt,name=with_artifacts,json=withArtifacts,proto3" json:"with_artifacts,omitempty"`
	// only a specific build by its ID or yolo_id
	BuildID []string `protobuf:"bytes,4,rep,name=build_id,json=buildId,proto3" json:"build_id,omitempty"`
	// builds of a specific project by its ID or yolo_id
	ProjectID []string `protobuf:"bytes,5,rep,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// filter on builds that contain at least on of these artifacts
	ArtifactID []string `protobuf:"bytes,6,rep,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"`
	// filter by build driver (GitHub, CircleCI, ...)
	BuildDriver []Driver `protobuf:"varint,7,rep,packed,name=build_driver,json=buildDriver,proto3,enum=yolo.Driver" json:"build_driver,omitempty"`
	// filter by state of build (passed, running, failed, etc)
	BuildState []Build_State `protobuf:"varint,8,rep,packed,name=build_state,json=buildState,proto3,enum=yolo.Build_State" json:"build_state,omitempty"`
	// filter on builds for a specific merge request
	MergeRequestID []string `protobuf:"bytes,9,rep,name=mergerequest_id,json=mergerequestId,proto3" json:"mergerequest_id,omitempty"`
	// filter on builds linked to the merge requests opened by a specific author
	MergeRequestAuthorID []string `protobuf:"bytes,10,rep,name=mergerequest_author_id,json=mergerequestAuthorId,proto3" json:"mergerequest_author_id,omitempty"`
	// filter on builds with a linked merge request
	WithMergerequest bool `protobuf:"varint,11,opt,name=with_mergerequest,json=withMergerequest,proto3" json:"with_mergerequest,omitempty"`
	// filter on builds with a linked merge request of a specific state
	MergerequestState []MergeRequest_State `` /* 150-byte string literal not displayed */
	// filter on branch
	Branch []string `protobuf:"bytes,13,rep,name=branch,proto3" json:"branch,omitempty"`
	// filter builds with merge requests
	WithNoMergerequest bool `protobuf:"varint,14,opt,name=with_no_mergerequest,json=withNoMergerequest,proto3" json:"with_no_mergerequest,omitempty"`
	// sort by commit date
	SortByCommitDate bool `protobuf:"varint,15,opt,name=sort_by_commit_date,json=sortByCommitDate,proto3" json:"sort_by_commit_date,omitempty"`
}

func (*BuildList_Request) Descriptor

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

func (*BuildList_Request) GetArtifactID

func (m *BuildList_Request) GetArtifactID() []string

func (*BuildList_Request) GetArtifactKinds

func (m *BuildList_Request) GetArtifactKinds() []Artifact_Kind

func (*BuildList_Request) GetBranch

func (m *BuildList_Request) GetBranch() []string

func (*BuildList_Request) GetBuildDriver

func (m *BuildList_Request) GetBuildDriver() []Driver

func (*BuildList_Request) GetBuildID

func (m *BuildList_Request) GetBuildID() []string

func (*BuildList_Request) GetBuildState

func (m *BuildList_Request) GetBuildState() []Build_State

func (*BuildList_Request) GetLimit

func (m *BuildList_Request) GetLimit() int32

func (*BuildList_Request) GetMergeRequestAuthorID

func (m *BuildList_Request) GetMergeRequestAuthorID() []string

func (*BuildList_Request) GetMergeRequestID

func (m *BuildList_Request) GetMergeRequestID() []string

func (*BuildList_Request) GetMergerequestState

func (m *BuildList_Request) GetMergerequestState() []MergeRequest_State

func (*BuildList_Request) GetProjectID

func (m *BuildList_Request) GetProjectID() []string

func (*BuildList_Request) GetSortByCommitDate added in v2.110.0

func (m *BuildList_Request) GetSortByCommitDate() bool

func (*BuildList_Request) GetWithArtifacts

func (m *BuildList_Request) GetWithArtifacts() bool

func (*BuildList_Request) GetWithMergerequest

func (m *BuildList_Request) GetWithMergerequest() bool

func (*BuildList_Request) GetWithNoMergerequest

func (m *BuildList_Request) GetWithNoMergerequest() bool

func (*BuildList_Request) Marshal

func (m *BuildList_Request) Marshal() (dAtA []byte, err error)

func (*BuildList_Request) MarshalTo

func (m *BuildList_Request) MarshalTo(dAtA []byte) (int, error)

func (*BuildList_Request) MarshalToSizedBuffer

func (m *BuildList_Request) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BuildList_Request) ProtoMessage

func (*BuildList_Request) ProtoMessage()

func (*BuildList_Request) Reset

func (m *BuildList_Request) Reset()

func (*BuildList_Request) Size

func (m *BuildList_Request) Size() (n int)

func (*BuildList_Request) String

func (m *BuildList_Request) String() string

func (*BuildList_Request) Unmarshal

func (m *BuildList_Request) Unmarshal(dAtA []byte) error

func (*BuildList_Request) XXX_DiscardUnknown

func (m *BuildList_Request) XXX_DiscardUnknown()

func (*BuildList_Request) XXX_Marshal

func (m *BuildList_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BuildList_Request) XXX_Merge

func (m *BuildList_Request) XXX_Merge(src proto.Message)

func (*BuildList_Request) XXX_Size

func (m *BuildList_Request) XXX_Size() int

func (*BuildList_Request) XXX_Unmarshal

func (m *BuildList_Request) XXX_Unmarshal(b []byte) error

type BuildList_Response

type BuildList_Response struct {
	Builds []*Build `protobuf:"bytes,1,rep,name=builds,proto3" json:"builds,omitempty"`
}

func (*BuildList_Response) Descriptor

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

func (*BuildList_Response) GetBuilds

func (m *BuildList_Response) GetBuilds() []*Build

func (*BuildList_Response) Marshal

func (m *BuildList_Response) Marshal() (dAtA []byte, err error)

func (*BuildList_Response) MarshalTo

func (m *BuildList_Response) MarshalTo(dAtA []byte) (int, error)

func (*BuildList_Response) MarshalToSizedBuffer

func (m *BuildList_Response) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BuildList_Response) ProtoMessage

func (*BuildList_Response) ProtoMessage()

func (*BuildList_Response) Reset

func (m *BuildList_Response) Reset()

func (*BuildList_Response) Size

func (m *BuildList_Response) Size() (n int)

func (*BuildList_Response) String

func (m *BuildList_Response) String() string

func (*BuildList_Response) Unmarshal

func (m *BuildList_Response) Unmarshal(dAtA []byte) error

func (*BuildList_Response) XXX_DiscardUnknown

func (m *BuildList_Response) XXX_DiscardUnknown()

func (*BuildList_Response) XXX_Marshal

func (m *BuildList_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BuildList_Response) XXX_Merge

func (m *BuildList_Response) XXX_Merge(src proto.Message)

func (*BuildList_Response) XXX_Size

func (m *BuildList_Response) XXX_Size() int

func (*BuildList_Response) XXX_Unmarshal

func (m *BuildList_Response) XXX_Unmarshal(b []byte) error

type Build_State

type Build_State int32
const (
	Build_UnknownState Build_State = 0
	Build_Running      Build_State = 1
	Build_Failed       Build_State = 2
	Build_Passed       Build_State = 3
	Build_Canceled     Build_State = 4
	Build_Scheduled    Build_State = 5
	Build_Skipped      Build_State = 6
	Build_NotRun       Build_State = 7
	Build_Timedout     Build_State = 8
)

func (Build_State) EnumDescriptor

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

func (Build_State) String

func (x Build_State) String() string

type Commit

type Commit struct {
	ID              string        `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" gorm:"primary_key"`
	YoloID          string        `protobuf:"bytes,2,opt,name=yolo_id,json=yoloId,proto3" json:"yolo_id,omitempty"`
	CreatedAt       *time.Time    `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3,stdtime" json:"created_at,omitempty"`
	UpdatedAt       *time.Time    `protobuf:"bytes,4,opt,name=updated_at,json=updatedAt,proto3,stdtime" json:"updated_at,omitempty"`
	Message         string        `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`
	Driver          Driver        `protobuf:"varint,6,opt,name=driver,proto3,enum=yolo.Driver" json:"driver,omitempty"`
	Branch          string        `protobuf:"bytes,7,opt,name=branch,proto3" json:"branch,omitempty"`
	HasReleases     []*Release    `protobuf:"bytes,101,rep,name=has_releases,json=hasReleases,proto3" json:"has_releases,omitempty"`
	HasBuilds       []*Build      `protobuf:"bytes,102,rep,name=has_builds,json=hasBuilds,proto3" json:"has_builds,omitempty"`
	HasProject      *Project      `protobuf:"bytes,103,opt,name=has_project,json=hasProject,proto3" json:"has_project,omitempty"`
	HasAuthor       *Entity       `protobuf:"bytes,104,opt,name=has_author,json=hasAuthor,proto3" json:"has_author,omitempty"`
	HasMergerequest *MergeRequest `protobuf:"bytes,105,opt,name=has_mergerequest,json=hasMergerequest,proto3" json:"has_mergerequest,omitempty"`
}

func (*Commit) Descriptor

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

func (*Commit) GetBranch

func (m *Commit) GetBranch() string

func (*Commit) GetCreatedAt

func (m *Commit) GetCreatedAt() *time.Time

func (*Commit) GetDriver

func (m *Commit) GetDriver() Driver

func (*Commit) GetHasAuthor

func (m *Commit) GetHasAuthor() *Entity

func (*Commit) GetHasBuilds

func (m *Commit) GetHasBuilds() []*Build

func (*Commit) GetHasMergerequest

func (m *Commit) GetHasMergerequest() *MergeRequest

func (*Commit) GetHasProject

func (m *Commit) GetHasProject() *Project

func (*Commit) GetHasReleases

func (m *Commit) GetHasReleases() []*Release

func (*Commit) GetID

func (m *Commit) GetID() string

func (*Commit) GetMessage

func (m *Commit) GetMessage() string

func (*Commit) GetUpdatedAt

func (m *Commit) GetUpdatedAt() *time.Time

func (*Commit) GetYoloID

func (m *Commit) GetYoloID() string

func (*Commit) Marshal

func (m *Commit) Marshal() (dAtA []byte, err error)

func (*Commit) MarshalTo

func (m *Commit) MarshalTo(dAtA []byte) (int, error)

func (*Commit) MarshalToSizedBuffer

func (m *Commit) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Commit) ProtoMessage

func (*Commit) ProtoMessage()

func (*Commit) Reset

func (m *Commit) Reset()

func (*Commit) Size

func (m *Commit) Size() (n int)

func (*Commit) String

func (m *Commit) String() string

func (*Commit) Unmarshal

func (m *Commit) Unmarshal(dAtA []byte) error

func (*Commit) XXX_DiscardUnknown

func (m *Commit) XXX_DiscardUnknown()

func (*Commit) XXX_Marshal

func (m *Commit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Commit) XXX_Merge

func (m *Commit) XXX_Merge(src proto.Message)

func (*Commit) XXX_Size

func (m *Commit) XXX_Size() int

func (*Commit) XXX_Unmarshal

func (m *Commit) XXX_Unmarshal(b []byte) error

type DevDumpObjects

type DevDumpObjects struct {
}

func (*DevDumpObjects) Descriptor

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

func (*DevDumpObjects) Marshal

func (m *DevDumpObjects) Marshal() (dAtA []byte, err error)

func (*DevDumpObjects) MarshalTo

func (m *DevDumpObjects) MarshalTo(dAtA []byte) (int, error)

func (*DevDumpObjects) MarshalToSizedBuffer

func (m *DevDumpObjects) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DevDumpObjects) ProtoMessage

func (*DevDumpObjects) ProtoMessage()

func (*DevDumpObjects) Reset

func (m *DevDumpObjects) Reset()

func (*DevDumpObjects) Size

func (m *DevDumpObjects) Size() (n int)

func (*DevDumpObjects) String

func (m *DevDumpObjects) String() string

func (*DevDumpObjects) Unmarshal

func (m *DevDumpObjects) Unmarshal(dAtA []byte) error

func (*DevDumpObjects) XXX_DiscardUnknown

func (m *DevDumpObjects) XXX_DiscardUnknown()

func (*DevDumpObjects) XXX_Marshal

func (m *DevDumpObjects) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DevDumpObjects) XXX_Merge

func (m *DevDumpObjects) XXX_Merge(src proto.Message)

func (*DevDumpObjects) XXX_Size

func (m *DevDumpObjects) XXX_Size() int

func (*DevDumpObjects) XXX_Unmarshal

func (m *DevDumpObjects) XXX_Unmarshal(b []byte) error

type DevDumpObjects_Request

type DevDumpObjects_Request struct {
	WithPreloading bool `protobuf:"varint,1,opt,name=with_preloading,json=withPreloading,proto3" json:"with_preloading,omitempty"`
}

func (*DevDumpObjects_Request) Descriptor

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

func (*DevDumpObjects_Request) GetWithPreloading

func (m *DevDumpObjects_Request) GetWithPreloading() bool

func (*DevDumpObjects_Request) Marshal

func (m *DevDumpObjects_Request) Marshal() (dAtA []byte, err error)

func (*DevDumpObjects_Request) MarshalTo

func (m *DevDumpObjects_Request) MarshalTo(dAtA []byte) (int, error)

func (*DevDumpObjects_Request) MarshalToSizedBuffer

func (m *DevDumpObjects_Request) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DevDumpObjects_Request) ProtoMessage

func (*DevDumpObjects_Request) ProtoMessage()

func (*DevDumpObjects_Request) Reset

func (m *DevDumpObjects_Request) Reset()

func (*DevDumpObjects_Request) Size

func (m *DevDumpObjects_Request) Size() (n int)

func (*DevDumpObjects_Request) String

func (m *DevDumpObjects_Request) String() string

func (*DevDumpObjects_Request) Unmarshal

func (m *DevDumpObjects_Request) Unmarshal(dAtA []byte) error

func (*DevDumpObjects_Request) XXX_DiscardUnknown

func (m *DevDumpObjects_Request) XXX_DiscardUnknown()

func (*DevDumpObjects_Request) XXX_Marshal

func (m *DevDumpObjects_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DevDumpObjects_Request) XXX_Merge

func (m *DevDumpObjects_Request) XXX_Merge(src proto.Message)

func (*DevDumpObjects_Request) XXX_Size

func (m *DevDumpObjects_Request) XXX_Size() int

func (*DevDumpObjects_Request) XXX_Unmarshal

func (m *DevDumpObjects_Request) XXX_Unmarshal(b []byte) error

type DevDumpObjects_Response

type DevDumpObjects_Response struct {
	Batch     *Batch      `protobuf:"bytes,1,opt,name=batch,proto3" json:"batch,omitempty"`
	Downloads []*Download `protobuf:"bytes,2,rep,name=downloads,proto3" json:"downloads,omitempty"`
}

func (*DevDumpObjects_Response) Descriptor

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

func (*DevDumpObjects_Response) GetBatch

func (m *DevDumpObjects_Response) GetBatch() *Batch

func (*DevDumpObjects_Response) GetDownloads

func (m *DevDumpObjects_Response) GetDownloads() []*Download

func (*DevDumpObjects_Response) Marshal

func (m *DevDumpObjects_Response) Marshal() (dAtA []byte, err error)

func (*DevDumpObjects_Response) MarshalTo

func (m *DevDumpObjects_Response) MarshalTo(dAtA []byte) (int, error)

func (*DevDumpObjects_Response) MarshalToSizedBuffer

func (m *DevDumpObjects_Response) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DevDumpObjects_Response) ProtoMessage

func (*DevDumpObjects_Response) ProtoMessage()

func (*DevDumpObjects_Response) Reset

func (m *DevDumpObjects_Response) Reset()

func (*DevDumpObjects_Response) Size

func (m *DevDumpObjects_Response) Size() (n int)

func (*DevDumpObjects_Response) String

func (m *DevDumpObjects_Response) String() string

func (*DevDumpObjects_Response) Unmarshal

func (m *DevDumpObjects_Response) Unmarshal(dAtA []byte) error

func (*DevDumpObjects_Response) XXX_DiscardUnknown

func (m *DevDumpObjects_Response) XXX_DiscardUnknown()

func (*DevDumpObjects_Response) XXX_Marshal

func (m *DevDumpObjects_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DevDumpObjects_Response) XXX_Merge

func (m *DevDumpObjects_Response) XXX_Merge(src proto.Message)

func (*DevDumpObjects_Response) XXX_Size

func (m *DevDumpObjects_Response) XXX_Size() int

func (*DevDumpObjects_Response) XXX_Unmarshal

func (m *DevDumpObjects_Response) XXX_Unmarshal(b []byte) error

type Download

type Download struct {
	ID            int64      `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" gorm:"PRIMARY_KEY;AUTO_INCREMENT"`
	CreatedAt     *time.Time `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3,stdtime" json:"created_at,omitempty"`
	HasArtifact   *Artifact  `protobuf:"bytes,101,opt,name=has_artifact,json=hasArtifact,proto3" json:"has_artifact,omitempty"`
	HasArtifactID string     `protobuf:"bytes,102,opt,name=has_artifact_id,json=hasArtifactId,proto3" json:"has_artifact_id,omitempty"`
}

func (*Download) Descriptor

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

func (*Download) GetCreatedAt

func (m *Download) GetCreatedAt() *time.Time

func (*Download) GetHasArtifact

func (m *Download) GetHasArtifact() *Artifact

func (*Download) GetHasArtifactID

func (m *Download) GetHasArtifactID() string

func (*Download) GetID

func (m *Download) GetID() int64

func (*Download) Marshal

func (m *Download) Marshal() (dAtA []byte, err error)

func (*Download) MarshalTo

func (m *Download) MarshalTo(dAtA []byte) (int, error)

func (*Download) MarshalToSizedBuffer

func (m *Download) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Download) ProtoMessage

func (*Download) ProtoMessage()

func (*Download) Reset

func (m *Download) Reset()

func (*Download) Size

func (m *Download) Size() (n int)

func (*Download) String

func (m *Download) String() string

func (*Download) Unmarshal

func (m *Download) Unmarshal(dAtA []byte) error

func (*Download) XXX_DiscardUnknown

func (m *Download) XXX_DiscardUnknown()

func (*Download) XXX_Marshal

func (m *Download) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Download) XXX_Merge

func (m *Download) XXX_Merge(src proto.Message)

func (*Download) XXX_Size

func (m *Download) XXX_Size() int

func (*Download) XXX_Unmarshal

func (m *Download) XXX_Unmarshal(b []byte) error

type Driver

type Driver int32
const (
	Driver_UnknownDriver Driver = 0
	Driver_Buildkite     Driver = 1
	Driver_CircleCI      Driver = 2
	Driver_Bintray       Driver = 3
	Driver_GitHub        Driver = 4
)

func (Driver) EnumDescriptor

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

func (Driver) String

func (x Driver) String() string

type Entity

type Entity struct {
	ID               string          `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" gorm:"primary_key"`
	YoloID           string          `protobuf:"bytes,2,opt,name=yolo_id,json=yoloId,proto3" json:"yolo_id,omitempty"`
	CreatedAt        *time.Time      `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3,stdtime" json:"created_at,omitempty"`
	UpdatedAt        *time.Time      `protobuf:"bytes,4,opt,name=updated_at,json=updatedAt,proto3,stdtime" json:"updated_at,omitempty"`
	Name             string          `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	Driver           Driver          `protobuf:"varint,6,opt,name=driver,proto3,enum=yolo.Driver" json:"driver,omitempty"`
	AvatarURL        string          `protobuf:"bytes,7,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"`
	Kind             Entity_Kind     `protobuf:"varint,8,opt,name=kind,proto3,enum=yolo.Entity_Kind" json:"kind,omitempty"`
	Description      string          `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty"`
	HasProjects      []*Project      `protobuf:"bytes,101,rep,name=has_projects,json=hasProjects,proto3" json:"has_projects,omitempty"`
	HasCommits       []*Commit       `protobuf:"bytes,102,rep,name=has_commits,json=hasCommits,proto3" json:"has_commits,omitempty"`
	HasMergerequests []*MergeRequest `protobuf:"bytes,103,rep,name=has_mergerequests,json=hasMergerequests,proto3" json:"has_mergerequests,omitempty"`
}

func (*Entity) Descriptor

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

func (*Entity) GetAvatarURL

func (m *Entity) GetAvatarURL() string

func (*Entity) GetCreatedAt

func (m *Entity) GetCreatedAt() *time.Time

func (*Entity) GetDescription

func (m *Entity) GetDescription() string

func (*Entity) GetDriver

func (m *Entity) GetDriver() Driver

func (*Entity) GetHasCommits

func (m *Entity) GetHasCommits() []*Commit

func (*Entity) GetHasMergerequests

func (m *Entity) GetHasMergerequests() []*MergeRequest

func (*Entity) GetHasProjects

func (m *Entity) GetHasProjects() []*Project

func (*Entity) GetID

func (m *Entity) GetID() string

func (*Entity) GetKind

func (m *Entity) GetKind() Entity_Kind

func (*Entity) GetName

func (m *Entity) GetName() string

func (*Entity) GetUpdatedAt

func (m *Entity) GetUpdatedAt() *time.Time

func (*Entity) GetYoloID

func (m *Entity) GetYoloID() string

func (*Entity) Marshal

func (m *Entity) Marshal() (dAtA []byte, err error)

func (*Entity) MarshalTo

func (m *Entity) MarshalTo(dAtA []byte) (int, error)

func (*Entity) MarshalToSizedBuffer

func (m *Entity) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Entity) ProtoMessage

func (*Entity) ProtoMessage()

func (*Entity) Reset

func (m *Entity) Reset()

func (*Entity) Size

func (m *Entity) Size() (n int)

func (*Entity) String

func (m *Entity) String() string

func (*Entity) Unmarshal

func (m *Entity) Unmarshal(dAtA []byte) error

func (*Entity) XXX_DiscardUnknown

func (m *Entity) XXX_DiscardUnknown()

func (*Entity) XXX_Marshal

func (m *Entity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Entity) XXX_Merge

func (m *Entity) XXX_Merge(src proto.Message)

func (*Entity) XXX_Size

func (m *Entity) XXX_Size() int

func (*Entity) XXX_Unmarshal

func (m *Entity) XXX_Unmarshal(b []byte) error

type Entity_Kind

type Entity_Kind int32
const (
	Entity_UnknownKind  Entity_Kind = 0
	Entity_User         Entity_Kind = 1
	Entity_Organization Entity_Kind = 2
	Entity_Bot          Entity_Kind = 3
)

func (Entity_Kind) EnumDescriptor

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

func (Entity_Kind) String

func (x Entity_Kind) String() string

type MergeRequest

type MergeRequest struct {
	ID        string             `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" gorm:"primary_key"`
	YoloID    string             `protobuf:"bytes,2,opt,name=yolo_id,json=yoloId,proto3" json:"yolo_id,omitempty"`
	CreatedAt *time.Time         `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3,stdtime" json:"created_at,omitempty"`
	UpdatedAt *time.Time         `protobuf:"bytes,4,opt,name=updated_at,json=updatedAt,proto3,stdtime" json:"updated_at,omitempty"`
	MergedAt  *time.Time         `protobuf:"bytes,5,opt,name=merged_at,json=mergedAt,proto3,stdtime" json:"merged_at,omitempty"`
	Title     string             `protobuf:"bytes,6,opt,name=title,proto3" json:"title,omitempty"`
	Message   string             `protobuf:"bytes,7,opt,name=message,proto3" json:"message,omitempty"`
	Driver    Driver             `protobuf:"varint,8,opt,name=driver,proto3,enum=yolo.Driver" json:"driver,omitempty"`
	Branch    string             `protobuf:"bytes,9,opt,name=branch,proto3" json:"branch,omitempty"`
	State     MergeRequest_State `protobuf:"varint,10,opt,name=state,proto3,enum=yolo.MergeRequest_State" json:"state,omitempty"`
	CommitURL string             `protobuf:"bytes,11,opt,name=commit_url,json=commitUrl,proto3" json:"commit_url,omitempty"`
	BranchURL string             `protobuf:"bytes,12,opt,name=branch_url,json=branchUrl,proto3" json:"branch_url,omitempty"`
	ShortID   string             `protobuf:"bytes,13,opt,name=short_id,json=shortId,proto3" json:"short_id,omitempty"`
	// is WIP or Draft
	IsWIP        bool       `protobuf:"varint,14,opt,name=is_wip,json=isWip,proto3" json:"is_wip,omitempty"`
	HasReleases  []*Release `protobuf:"bytes,101,rep,name=has_releases,json=hasReleases,proto3" json:"has_releases,omitempty"`
	HasBuilds    []*Build   `protobuf:"bytes,102,rep,name=has_builds,json=hasBuilds,proto3" json:"has_builds,omitempty"`
	HasAssignees []*Entity  `` /* 129-byte string literal not displayed */
	HasReviewers []*Entity  `` /* 129-byte string literal not displayed */
	HasProject   *Project   `protobuf:"bytes,105,opt,name=has_project,json=hasProject,proto3" json:"has_project,omitempty"`
	HasProjectID string     `protobuf:"bytes,106,opt,name=has_project_id,json=hasProjectId,proto3" json:"has_project_id,omitempty"`
	HasAuthor    *Entity    `protobuf:"bytes,107,opt,name=has_author,json=hasAuthor,proto3" json:"has_author,omitempty"`
	HasAuthorID  string     `protobuf:"bytes,108,opt,name=has_author_id,json=hasAuthorId,proto3" json:"has_author_id,omitempty"`
	HasCommit    *Commit    `protobuf:"bytes,109,opt,name=has_commit,json=hasCommit,proto3" json:"has_commit,omitempty"`
	HasCommitID  string     `protobuf:"bytes,110,opt,name=has_commit_id,json=hasCommitId,proto3" json:"has_commit_id,omitempty"`
}

func (*MergeRequest) Descriptor

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

func (*MergeRequest) GetBranch

func (m *MergeRequest) GetBranch() string

func (*MergeRequest) GetBranchURL

func (m *MergeRequest) GetBranchURL() string

func (*MergeRequest) GetCommitURL

func (m *MergeRequest) GetCommitURL() string

func (*MergeRequest) GetCreatedAt

func (m *MergeRequest) GetCreatedAt() *time.Time

func (*MergeRequest) GetDriver

func (m *MergeRequest) GetDriver() Driver

func (*MergeRequest) GetHasAssignees

func (m *MergeRequest) GetHasAssignees() []*Entity

func (*MergeRequest) GetHasAuthor

func (m *MergeRequest) GetHasAuthor() *Entity

func (*MergeRequest) GetHasAuthorID

func (m *MergeRequest) GetHasAuthorID() string

func (*MergeRequest) GetHasBuilds

func (m *MergeRequest) GetHasBuilds() []*Build

func (*MergeRequest) GetHasCommit

func (m *MergeRequest) GetHasCommit() *Commit

func (*MergeRequest) GetHasCommitID

func (m *MergeRequest) GetHasCommitID() string

func (*MergeRequest) GetHasProject

func (m *MergeRequest) GetHasProject() *Project

func (*MergeRequest) GetHasProjectID

func (m *MergeRequest) GetHasProjectID() string

func (*MergeRequest) GetHasReleases

func (m *MergeRequest) GetHasReleases() []*Release

func (*MergeRequest) GetHasReviewers

func (m *MergeRequest) GetHasReviewers() []*Entity

func (*MergeRequest) GetID

func (m *MergeRequest) GetID() string

func (*MergeRequest) GetIsWIP

func (m *MergeRequest) GetIsWIP() bool

func (*MergeRequest) GetMergedAt

func (m *MergeRequest) GetMergedAt() *time.Time

func (*MergeRequest) GetMessage

func (m *MergeRequest) GetMessage() string

func (*MergeRequest) GetShortID

func (m *MergeRequest) GetShortID() string

func (*MergeRequest) GetState

func (m *MergeRequest) GetState() MergeRequest_State

func (*MergeRequest) GetTitle

func (m *MergeRequest) GetTitle() string

func (*MergeRequest) GetUpdatedAt

func (m *MergeRequest) GetUpdatedAt() *time.Time

func (*MergeRequest) GetYoloID

func (m *MergeRequest) GetYoloID() string

func (*MergeRequest) Marshal

func (m *MergeRequest) Marshal() (dAtA []byte, err error)

func (*MergeRequest) MarshalTo

func (m *MergeRequest) MarshalTo(dAtA []byte) (int, error)

func (*MergeRequest) MarshalToSizedBuffer

func (m *MergeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MergeRequest) ProtoMessage

func (*MergeRequest) ProtoMessage()

func (*MergeRequest) Reset

func (m *MergeRequest) Reset()

func (*MergeRequest) Size

func (m *MergeRequest) Size() (n int)

func (*MergeRequest) String

func (m *MergeRequest) String() string

func (*MergeRequest) Unmarshal

func (m *MergeRequest) Unmarshal(dAtA []byte) error

func (*MergeRequest) XXX_DiscardUnknown

func (m *MergeRequest) XXX_DiscardUnknown()

func (*MergeRequest) XXX_Marshal

func (m *MergeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MergeRequest) XXX_Merge

func (m *MergeRequest) XXX_Merge(src proto.Message)

func (*MergeRequest) XXX_Size

func (m *MergeRequest) XXX_Size() int

func (*MergeRequest) XXX_Unmarshal

func (m *MergeRequest) XXX_Unmarshal(b []byte) error

type MergeRequest_State

type MergeRequest_State int32
const (
	MergeRequest_UnknownState MergeRequest_State = 0
	MergeRequest_Opened       MergeRequest_State = 1
	MergeRequest_Closed       MergeRequest_State = 2
	MergeRequest_Merged       MergeRequest_State = 3
)

func (MergeRequest_State) EnumDescriptor

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

func (MergeRequest_State) String

func (x MergeRequest_State) String() string

type MetadataOverride added in v2.105.0

type MetadataOverride struct {
	Branch            string `protobuf:"bytes,11,opt,name=branch,proto3" json:"branch,omitempty"`
	HasCommitID       string `protobuf:"bytes,103,opt,name=has_commit_id,json=hasCommitId,proto3" json:"has_commit_id,omitempty"`
	HasProjectID      string `protobuf:"bytes,105,opt,name=has_project_id,json=hasProjectId,proto3" json:"has_project_id,omitempty"`
	HasMergeRequestID string `protobuf:"bytes,107,opt,name=has_mergerequest_id,json=hasMergerequestId,proto3" json:"has_mergerequest_id,omitempty"`
}

func (*MetadataOverride) Descriptor added in v2.105.0

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

func (*MetadataOverride) GetBranch added in v2.105.0

func (m *MetadataOverride) GetBranch() string

func (*MetadataOverride) GetHasCommitID added in v2.105.0

func (m *MetadataOverride) GetHasCommitID() string

func (*MetadataOverride) GetHasMergeRequestID added in v2.107.0

func (m *MetadataOverride) GetHasMergeRequestID() string

func (*MetadataOverride) GetHasProjectID added in v2.105.0

func (m *MetadataOverride) GetHasProjectID() string

func (*MetadataOverride) Marshal added in v2.105.0

func (m *MetadataOverride) Marshal() (dAtA []byte, err error)

func (*MetadataOverride) MarshalTo added in v2.105.0

func (m *MetadataOverride) MarshalTo(dAtA []byte) (int, error)

func (*MetadataOverride) MarshalToSizedBuffer added in v2.105.0

func (m *MetadataOverride) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MetadataOverride) ProtoMessage added in v2.105.0

func (*MetadataOverride) ProtoMessage()

func (*MetadataOverride) Reset added in v2.105.0

func (m *MetadataOverride) Reset()

func (*MetadataOverride) Size added in v2.105.0

func (m *MetadataOverride) Size() (n int)

func (*MetadataOverride) String added in v2.105.0

func (m *MetadataOverride) String() string

func (*MetadataOverride) Unmarshal added in v2.105.0

func (m *MetadataOverride) Unmarshal(dAtA []byte) error

func (*MetadataOverride) XXX_DiscardUnknown added in v2.105.0

func (m *MetadataOverride) XXX_DiscardUnknown()

func (*MetadataOverride) XXX_Marshal added in v2.105.0

func (m *MetadataOverride) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MetadataOverride) XXX_Merge added in v2.105.0

func (m *MetadataOverride) XXX_Merge(src proto.Message)

func (*MetadataOverride) XXX_Size added in v2.105.0

func (m *MetadataOverride) XXX_Size() int

func (*MetadataOverride) XXX_Unmarshal added in v2.105.0

func (m *MetadataOverride) XXX_Unmarshal(b []byte) error

type Ping

type Ping struct {
}

func (*Ping) Descriptor

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

func (*Ping) Marshal

func (m *Ping) Marshal() (dAtA []byte, err error)

func (*Ping) MarshalTo

func (m *Ping) MarshalTo(dAtA []byte) (int, error)

func (*Ping) MarshalToSizedBuffer

func (m *Ping) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Ping) ProtoMessage

func (*Ping) ProtoMessage()

func (*Ping) Reset

func (m *Ping) Reset()

func (*Ping) Size

func (m *Ping) Size() (n int)

func (*Ping) String

func (m *Ping) String() string

func (*Ping) Unmarshal

func (m *Ping) Unmarshal(dAtA []byte) error

func (*Ping) XXX_DiscardUnknown

func (m *Ping) XXX_DiscardUnknown()

func (*Ping) XXX_Marshal

func (m *Ping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Ping) XXX_Merge

func (m *Ping) XXX_Merge(src proto.Message)

func (*Ping) XXX_Size

func (m *Ping) XXX_Size() int

func (*Ping) XXX_Unmarshal

func (m *Ping) XXX_Unmarshal(b []byte) error

type Ping_Request

type Ping_Request struct {
}

func (*Ping_Request) Descriptor

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

func (*Ping_Request) Marshal

func (m *Ping_Request) Marshal() (dAtA []byte, err error)

func (*Ping_Request) MarshalTo

func (m *Ping_Request) MarshalTo(dAtA []byte) (int, error)

func (*Ping_Request) MarshalToSizedBuffer

func (m *Ping_Request) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Ping_Request) ProtoMessage

func (*Ping_Request) ProtoMessage()

func (*Ping_Request) Reset

func (m *Ping_Request) Reset()

func (*Ping_Request) Size

func (m *Ping_Request) Size() (n int)

func (*Ping_Request) String

func (m *Ping_Request) String() string

func (*Ping_Request) Unmarshal

func (m *Ping_Request) Unmarshal(dAtA []byte) error

func (*Ping_Request) XXX_DiscardUnknown

func (m *Ping_Request) XXX_DiscardUnknown()

func (*Ping_Request) XXX_Marshal

func (m *Ping_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Ping_Request) XXX_Merge

func (m *Ping_Request) XXX_Merge(src proto.Message)

func (*Ping_Request) XXX_Size

func (m *Ping_Request) XXX_Size() int

func (*Ping_Request) XXX_Unmarshal

func (m *Ping_Request) XXX_Unmarshal(b []byte) error

type Ping_Response

type Ping_Response struct {
}

func (*Ping_Response) Descriptor

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

func (*Ping_Response) Marshal

func (m *Ping_Response) Marshal() (dAtA []byte, err error)

func (*Ping_Response) MarshalTo

func (m *Ping_Response) MarshalTo(dAtA []byte) (int, error)

func (*Ping_Response) MarshalToSizedBuffer

func (m *Ping_Response) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Ping_Response) ProtoMessage

func (*Ping_Response) ProtoMessage()

func (*Ping_Response) Reset

func (m *Ping_Response) Reset()

func (*Ping_Response) Size

func (m *Ping_Response) Size() (n int)

func (*Ping_Response) String

func (m *Ping_Response) String() string

func (*Ping_Response) Unmarshal

func (m *Ping_Response) Unmarshal(dAtA []byte) error

func (*Ping_Response) XXX_DiscardUnknown

func (m *Ping_Response) XXX_DiscardUnknown()

func (*Ping_Response) XXX_Marshal

func (m *Ping_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Ping_Response) XXX_Merge

func (m *Ping_Response) XXX_Merge(src proto.Message)

func (*Ping_Response) XXX_Size

func (m *Ping_Response) XXX_Size() int

func (*Ping_Response) XXX_Unmarshal

func (m *Ping_Response) XXX_Unmarshal(b []byte) error

type Project

type Project struct {
	ID               string          `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" gorm:"primary_key"`
	YoloID           string          `protobuf:"bytes,2,opt,name=yolo_id,json=yoloId,proto3" json:"yolo_id,omitempty"`
	CreatedAt        *time.Time      `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3,stdtime" json:"created_at,omitempty"`
	UpdatedAt        *time.Time      `protobuf:"bytes,4,opt,name=updated_at,json=updatedAt,proto3,stdtime" json:"updated_at,omitempty"`
	Driver           Driver          `protobuf:"varint,5,opt,name=driver,proto3,enum=yolo.Driver" json:"driver,omitempty"`
	Name             string          `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	Description      string          `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"`
	HasArtifacts     []*Artifact     `protobuf:"bytes,101,rep,name=has_artifacts,json=hasArtifacts,proto3" json:"has_artifacts,omitempty"`
	HasBuilds        []*Build        `protobuf:"bytes,102,rep,name=has_builds,json=hasBuilds,proto3" json:"has_builds,omitempty"`
	HasCommits       []*Commit       `protobuf:"bytes,103,rep,name=has_commits,json=hasCommits,proto3" json:"has_commits,omitempty"`
	HasReleases      []*Release      `protobuf:"bytes,104,rep,name=has_releases,json=hasReleases,proto3" json:"has_releases,omitempty"`
	HasMergerequests []*MergeRequest `protobuf:"bytes,105,rep,name=has_mergerequests,json=hasMergerequests,proto3" json:"has_mergerequests,omitempty"`
	HasOwner         *Entity         `protobuf:"bytes,106,opt,name=has_owner,json=hasOwner,proto3" json:"has_owner,omitempty"`
	HasOwnerID       string          `protobuf:"bytes,107,opt,name=has_owner_id,json=hasOwnerId,proto3" json:"has_owner_id,omitempty"`
}

func (*Project) Descriptor

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

func (*Project) GetCreatedAt

func (m *Project) GetCreatedAt() *time.Time

func (*Project) GetDescription

func (m *Project) GetDescription() string

func (*Project) GetDriver

func (m *Project) GetDriver() Driver

func (*Project) GetHasArtifacts

func (m *Project) GetHasArtifacts() []*Artifact

func (*Project) GetHasBuilds

func (m *Project) GetHasBuilds() []*Build

func (*Project) GetHasCommits

func (m *Project) GetHasCommits() []*Commit

func (*Project) GetHasMergerequests

func (m *Project) GetHasMergerequests() []*MergeRequest

func (*Project) GetHasOwner

func (m *Project) GetHasOwner() *Entity

func (*Project) GetHasOwnerID

func (m *Project) GetHasOwnerID() string

func (*Project) GetHasReleases

func (m *Project) GetHasReleases() []*Release

func (*Project) GetID

func (m *Project) GetID() string

func (*Project) GetName

func (m *Project) GetName() string

func (*Project) GetUpdatedAt

func (m *Project) GetUpdatedAt() *time.Time

func (*Project) GetYoloID

func (m *Project) GetYoloID() string

func (*Project) Marshal

func (m *Project) Marshal() (dAtA []byte, err error)

func (*Project) MarshalTo

func (m *Project) MarshalTo(dAtA []byte) (int, error)

func (*Project) MarshalToSizedBuffer

func (m *Project) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Project) ProtoMessage

func (*Project) ProtoMessage()

func (*Project) Reset

func (m *Project) Reset()

func (*Project) Size

func (m *Project) Size() (n int)

func (*Project) String

func (m *Project) String() string

func (*Project) Unmarshal

func (m *Project) Unmarshal(dAtA []byte) error

func (*Project) XXX_DiscardUnknown

func (m *Project) XXX_DiscardUnknown()

func (*Project) XXX_Marshal

func (m *Project) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Project) XXX_Merge

func (m *Project) XXX_Merge(src proto.Message)

func (*Project) XXX_Size

func (m *Project) XXX_Size() int

func (*Project) XXX_Unmarshal

func (m *Project) XXX_Unmarshal(b []byte) error

type Release

type Release struct {
	ID              string        `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" gorm:"primary_key"`
	YoloID          string        `protobuf:"bytes,2,opt,name=yolo_id,json=yoloId,proto3" json:"yolo_id,omitempty"`
	CreatedAt       *time.Time    `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3,stdtime" json:"created_at,omitempty"`
	UpdatedAt       *time.Time    `protobuf:"bytes,4,opt,name=updated_at,json=updatedAt,proto3,stdtime" json:"updated_at,omitempty"`
	Message         string        `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`
	Driver          Driver        `protobuf:"varint,6,opt,name=driver,proto3,enum=yolo.Driver" json:"driver,omitempty"`
	CommitURL       string        `protobuf:"bytes,7,opt,name=commit_url,json=commitUrl,proto3" json:"commit_url,omitempty"`
	ShortID         string        `protobuf:"bytes,8,opt,name=short_id,json=shortId,proto3" json:"short_id,omitempty"`
	HasArtifacts    []*Artifact   `protobuf:"bytes,101,rep,name=has_artifacts,json=hasArtifacts,proto3" json:"has_artifacts,omitempty"`
	HasCommit       *Commit       `protobuf:"bytes,102,opt,name=has_commit,json=hasCommit,proto3" json:"has_commit,omitempty"`
	HasProject      *Project      `protobuf:"bytes,103,opt,name=has_project,json=hasProject,proto3" json:"has_project,omitempty"`
	HasMergerequest *MergeRequest `protobuf:"bytes,104,opt,name=has_mergerequest,json=hasMergerequest,proto3" json:"has_mergerequest,omitempty"`
}

func (*Release) Descriptor

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

func (*Release) GetCommitURL

func (m *Release) GetCommitURL() string

func (*Release) GetCreatedAt

func (m *Release) GetCreatedAt() *time.Time

func (*Release) GetDriver

func (m *Release) GetDriver() Driver

func (*Release) GetHasArtifacts

func (m *Release) GetHasArtifacts() []*Artifact

func (*Release) GetHasCommit

func (m *Release) GetHasCommit() *Commit

func (*Release) GetHasMergerequest

func (m *Release) GetHasMergerequest() *MergeRequest

func (*Release) GetHasProject

func (m *Release) GetHasProject() *Project

func (*Release) GetID

func (m *Release) GetID() string

func (*Release) GetMessage

func (m *Release) GetMessage() string

func (*Release) GetShortID

func (m *Release) GetShortID() string

func (*Release) GetUpdatedAt

func (m *Release) GetUpdatedAt() *time.Time

func (*Release) GetYoloID

func (m *Release) GetYoloID() string

func (*Release) Marshal

func (m *Release) Marshal() (dAtA []byte, err error)

func (*Release) MarshalTo

func (m *Release) MarshalTo(dAtA []byte) (int, error)

func (*Release) MarshalToSizedBuffer

func (m *Release) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Release) ProtoMessage

func (*Release) ProtoMessage()

func (*Release) Reset

func (m *Release) Reset()

func (*Release) Size

func (m *Release) Size() (n int)

func (*Release) String

func (m *Release) String() string

func (*Release) Unmarshal

func (m *Release) Unmarshal(dAtA []byte) error

func (*Release) XXX_DiscardUnknown

func (m *Release) XXX_DiscardUnknown()

func (*Release) XXX_Marshal

func (m *Release) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Release) XXX_Merge

func (m *Release) XXX_Merge(src proto.Message)

func (*Release) XXX_Size

func (m *Release) XXX_Size() int

func (*Release) XXX_Unmarshal

func (m *Release) XXX_Unmarshal(b []byte) error

type Status

type Status struct {
}

func (*Status) Descriptor

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

func (*Status) Marshal

func (m *Status) Marshal() (dAtA []byte, err error)

func (*Status) MarshalTo

func (m *Status) MarshalTo(dAtA []byte) (int, error)

func (*Status) MarshalToSizedBuffer

func (m *Status) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Status) ProtoMessage

func (*Status) ProtoMessage()

func (*Status) Reset

func (m *Status) Reset()

func (*Status) Size

func (m *Status) Size() (n int)

func (*Status) String

func (m *Status) String() string

func (*Status) Unmarshal

func (m *Status) Unmarshal(dAtA []byte) error

func (*Status) XXX_DiscardUnknown

func (m *Status) XXX_DiscardUnknown()

func (*Status) XXX_Marshal

func (m *Status) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Status) XXX_Merge

func (m *Status) XXX_Merge(src proto.Message)

func (*Status) XXX_Size

func (m *Status) XXX_Size() int

func (*Status) XXX_Unmarshal

func (m *Status) XXX_Unmarshal(b []byte) error

type Status_Request

type Status_Request struct {
}

func (*Status_Request) Descriptor

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

func (*Status_Request) Marshal

func (m *Status_Request) Marshal() (dAtA []byte, err error)

func (*Status_Request) MarshalTo

func (m *Status_Request) MarshalTo(dAtA []byte) (int, error)

func (*Status_Request) MarshalToSizedBuffer

func (m *Status_Request) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Status_Request) ProtoMessage

func (*Status_Request) ProtoMessage()

func (*Status_Request) Reset

func (m *Status_Request) Reset()

func (*Status_Request) Size

func (m *Status_Request) Size() (n int)

func (*Status_Request) String

func (m *Status_Request) String() string

func (*Status_Request) Unmarshal

func (m *Status_Request) Unmarshal(dAtA []byte) error

func (*Status_Request) XXX_DiscardUnknown

func (m *Status_Request) XXX_DiscardUnknown()

func (*Status_Request) XXX_Marshal

func (m *Status_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Status_Request) XXX_Merge

func (m *Status_Request) XXX_Merge(src proto.Message)

func (*Status_Request) XXX_Size

func (m *Status_Request) XXX_Size() int

func (*Status_Request) XXX_Unmarshal

func (m *Status_Request) XXX_Unmarshal(b []byte) error

type Status_Response

type Status_Response struct {
	Uptime          int32  `protobuf:"varint,1,opt,name=uptime,proto3" json:"uptime,omitempty"`
	DbErr           string `protobuf:"bytes,2,opt,name=db_err,json=dbErr,proto3" json:"db_err,omitempty"`
	NbEntities      int32  `protobuf:"varint,10,opt,name=nb_entities,json=nbEntities,proto3" json:"nb_entities,omitempty"`
	NbProjects      int32  `protobuf:"varint,11,opt,name=nb_projects,json=nbProjects,proto3" json:"nb_projects,omitempty"`
	NbCommits       int32  `protobuf:"varint,12,opt,name=nb_commits,json=nbCommits,proto3" json:"nb_commits,omitempty"`
	NbReleases      int32  `protobuf:"varint,13,opt,name=nb_releases,json=nbReleases,proto3" json:"nb_releases,omitempty"`
	NbBuilds        int32  `protobuf:"varint,14,opt,name=nb_builds,json=nbBuilds,proto3" json:"nb_builds,omitempty"`
	NbMergeRequests int32  `protobuf:"varint,15,opt,name=nb_merge_requests,json=nbMergeRequests,proto3" json:"nb_merge_requests,omitempty"`
}

func (*Status_Response) Descriptor

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

func (*Status_Response) GetDbErr

func (m *Status_Response) GetDbErr() string

func (*Status_Response) GetNbBuilds

func (m *Status_Response) GetNbBuilds() int32

func (*Status_Response) GetNbCommits

func (m *Status_Response) GetNbCommits() int32

func (*Status_Response) GetNbEntities

func (m *Status_Response) GetNbEntities() int32

func (*Status_Response) GetNbMergeRequests

func (m *Status_Response) GetNbMergeRequests() int32

func (*Status_Response) GetNbProjects

func (m *Status_Response) GetNbProjects() int32

func (*Status_Response) GetNbReleases

func (m *Status_Response) GetNbReleases() int32

func (*Status_Response) GetUptime

func (m *Status_Response) GetUptime() int32

func (*Status_Response) Marshal

func (m *Status_Response) Marshal() (dAtA []byte, err error)

func (*Status_Response) MarshalTo

func (m *Status_Response) MarshalTo(dAtA []byte) (int, error)

func (*Status_Response) MarshalToSizedBuffer

func (m *Status_Response) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Status_Response) ProtoMessage

func (*Status_Response) ProtoMessage()

func (*Status_Response) Reset

func (m *Status_Response) Reset()

func (*Status_Response) Size

func (m *Status_Response) Size() (n int)

func (*Status_Response) String

func (m *Status_Response) String() string

func (*Status_Response) Unmarshal

func (m *Status_Response) Unmarshal(dAtA []byte) error

func (*Status_Response) XXX_DiscardUnknown

func (m *Status_Response) XXX_DiscardUnknown()

func (*Status_Response) XXX_Marshal

func (m *Status_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Status_Response) XXX_Merge

func (m *Status_Response) XXX_Merge(src proto.Message)

func (*Status_Response) XXX_Size

func (m *Status_Response) XXX_Size() int

func (*Status_Response) XXX_Unmarshal

func (m *Status_Response) XXX_Unmarshal(b []byte) error

type UnimplementedYoloServiceServer

type UnimplementedYoloServiceServer struct {
}

UnimplementedYoloServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedYoloServiceServer) BuildList

func (*UnimplementedYoloServiceServer) BuildListFilters

func (*UnimplementedYoloServiceServer) DevDumpObjects

func (*UnimplementedYoloServiceServer) Ping

func (*UnimplementedYoloServiceServer) Status

type YoloServiceClient

type YoloServiceClient interface {
	Ping(ctx context.Context, in *Ping_Request, opts ...grpc.CallOption) (*Ping_Response, error)
	Status(ctx context.Context, in *Status_Request, opts ...grpc.CallOption) (*Status_Response, error)
	BuildList(ctx context.Context, in *BuildList_Request, opts ...grpc.CallOption) (*BuildList_Response, error)
	BuildListFilters(ctx context.Context, in *BuildListFilters_Request, opts ...grpc.CallOption) (*BuildListFilters_Response, error)
	DevDumpObjects(ctx context.Context, in *DevDumpObjects_Request, opts ...grpc.CallOption) (*DevDumpObjects_Response, error)
}

YoloServiceClient is the client API for YoloService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewYoloServiceClient

func NewYoloServiceClient(cc *grpc.ClientConn) YoloServiceClient

type YoloServiceServer

YoloServiceServer is the server API for YoloService service.

Jump to

Keyboard shortcuts

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