pb

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// BuildServiceCreateBuildProcedure is the fully-qualified name of the BuildService's CreateBuild
	// RPC.
	BuildServiceCreateBuildProcedure = "/proto.BuildService/CreateBuild"
	// BuildServiceCreateBulkBuildProcedure is the fully-qualified name of the BuildService's
	// CreateBulkBuild RPC.
	BuildServiceCreateBulkBuildProcedure = "/proto.BuildService/CreateBulkBuild"
	// BuildServiceGetBuildByIdProcedure is the fully-qualified name of the BuildService's GetBuildById
	// RPC.
	BuildServiceGetBuildByIdProcedure = "/proto.BuildService/GetBuildById"
	// BuildServiceGetBuildByCommitShaProcedure is the fully-qualified name of the BuildService's
	// GetBuildByCommitSha RPC.
	BuildServiceGetBuildByCommitShaProcedure = "/proto.BuildService/GetBuildByCommitSha"
	// BuildServiceUpdateBuildProcedure is the fully-qualified name of the BuildService's UpdateBuild
	// RPC.
	BuildServiceUpdateBuildProcedure = "/proto.BuildService/UpdateBuild"
	// BuildServiceDeleteBuildProcedure is the fully-qualified name of the BuildService's DeleteBuild
	// RPC.
	BuildServiceDeleteBuildProcedure = "/proto.BuildService/DeleteBuild"
	// BuildServiceDeleteAllBuildProcedure is the fully-qualified name of the BuildService's
	// DeleteAllBuild RPC.
	BuildServiceDeleteAllBuildProcedure = "/proto.BuildService/DeleteAllBuild"
	// BuildServiceListAllBuildProcedure is the fully-qualified name of the BuildService's ListAllBuild
	// RPC.
	BuildServiceListAllBuildProcedure = "/proto.BuildService/ListAllBuild"
	// BuildServiceListBuildByBranchProcedure is the fully-qualified name of the BuildService's
	// ListBuildByBranch RPC.
	BuildServiceListBuildByBranchProcedure = "/proto.BuildService/ListBuildByBranch"
	// BuildServiceListBranchStatusHistoryProcedure is the fully-qualified name of the BuildService's
	// ListBranchStatusHistory RPC.
	BuildServiceListBranchStatusHistoryProcedure = "/proto.BuildService/ListBranchStatusHistory"
	// BuildServiceListLatestBuildsProcedure is the fully-qualified name of the BuildService's
	// ListLatestBuilds RPC.
	BuildServiceListLatestBuildsProcedure = "/proto.BuildService/ListLatestBuilds"
	// BuildServiceSearchBuildsProcedure is the fully-qualified name of the BuildService's SearchBuilds
	// RPC.
	BuildServiceSearchBuildsProcedure = "/proto.BuildService/SearchBuilds"
	// BuildServiceListBranchesProcedure is the fully-qualified name of the BuildService's ListBranches
	// RPC.
	BuildServiceListBranchesProcedure = "/proto.BuildService/ListBranches"
	// BuildServiceListEnvBranchesProcedure is the fully-qualified name of the BuildService's
	// ListEnvBranches RPC.
	BuildServiceListEnvBranchesProcedure = "/proto.BuildService/ListEnvBranches"
	// BuildServiceListBranchStatusesProcedure is the fully-qualified name of the BuildService's
	// ListBranchStatuses RPC.
	BuildServiceListBranchStatusesProcedure = "/proto.BuildService/ListBranchStatuses"
	// BuildServiceBuildTotalsProcedure is the fully-qualified name of the BuildService's BuildTotals
	// RPC.
	BuildServiceBuildTotalsProcedure = "/proto.BuildService/BuildTotals"
	// BuildServiceBranchDurationsProcedure is the fully-qualified name of the BuildService's
	// BranchDurations RPC.
	BuildServiceBranchDurationsProcedure = "/proto.BuildService/BranchDurations"
	// BuildServiceListEnvBranchDurationsProcedure is the fully-qualified name of the BuildService's
	// ListEnvBranchDurations RPC.
	BuildServiceListEnvBranchDurationsProcedure = "/proto.BuildService/ListEnvBranchDurations"
)

These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.

Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.

View Source
const (
	// BuildServiceName is the fully-qualified name of the BuildService service.
	BuildServiceName = "proto.BuildService"
)

Variables

View Source
var File_schema_proto protoreflect.FileDescriptor

Functions

func NewBuildServiceHandler

func NewBuildServiceHandler(svc BuildServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewBuildServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.

By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.

Types

type BranchDurationsRequest

type BranchDurationsRequest struct {
	// contains filtered or unexported fields
}

func (*BranchDurationsRequest) Descriptor deprecated

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

Deprecated: Use BranchDurationsRequest.ProtoReflect.Descriptor instead.

func (*BranchDurationsRequest) ProtoMessage

func (*BranchDurationsRequest) ProtoMessage()

func (*BranchDurationsRequest) ProtoReflect

func (x *BranchDurationsRequest) ProtoReflect() protoreflect.Message

func (*BranchDurationsRequest) Reset

func (x *BranchDurationsRequest) Reset()

func (*BranchDurationsRequest) String

func (x *BranchDurationsRequest) String() string

type BranchDurationsResponse

type BranchDurationsResponse struct {
	Rows []*BranchDurationsRow `protobuf:"bytes,1,rep,name=rows,proto3" json:"rows,omitempty"`
	// contains filtered or unexported fields
}

func (*BranchDurationsResponse) Descriptor deprecated

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

Deprecated: Use BranchDurationsResponse.ProtoReflect.Descriptor instead.

func (*BranchDurationsResponse) GetRows

func (*BranchDurationsResponse) ProtoMessage

func (*BranchDurationsResponse) ProtoMessage()

func (*BranchDurationsResponse) ProtoReflect

func (x *BranchDurationsResponse) ProtoReflect() protoreflect.Message

func (*BranchDurationsResponse) Reset

func (x *BranchDurationsResponse) Reset()

func (*BranchDurationsResponse) String

func (x *BranchDurationsResponse) String() string

type BranchDurationsRow

type BranchDurationsRow struct {
	Branch        string `protobuf:"bytes,1,opt,name=branch,proto3" json:"branch,omitempty"`
	SumDurationMs int64  `protobuf:"varint,2,opt,name=sum_duration_ms,json=sumDurationMs,proto3" json:"sum_duration_ms,omitempty"`
	// contains filtered or unexported fields
}

func (*BranchDurationsRow) Descriptor deprecated

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

Deprecated: Use BranchDurationsRow.ProtoReflect.Descriptor instead.

func (*BranchDurationsRow) GetBranch

func (x *BranchDurationsRow) GetBranch() string

func (*BranchDurationsRow) GetSumDurationMs

func (x *BranchDurationsRow) GetSumDurationMs() int64

func (*BranchDurationsRow) ProtoMessage

func (*BranchDurationsRow) ProtoMessage()

func (*BranchDurationsRow) ProtoReflect

func (x *BranchDurationsRow) ProtoReflect() protoreflect.Message

func (*BranchDurationsRow) Reset

func (x *BranchDurationsRow) Reset()

func (*BranchDurationsRow) String

func (x *BranchDurationsRow) String() string

type Build

type Build struct {
	Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// unique, so it can be a GetBy key and an Upsert target
	CommitSha string `protobuf:"bytes,2,opt,name=commit_sha,json=commitSha,proto3" json:"commit_sha,omitempty"`
	// these repeat across rows, so Distinct has something to deduplicate
	Branch      string                 `protobuf:"bytes,3,opt,name=branch,proto3" json:"branch,omitempty"`
	Env         string                 `protobuf:"bytes,4,opt,name=env,proto3" json:"env,omitempty"`
	Status      string                 `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
	Author      string                 `protobuf:"bytes,6,opt,name=author,proto3" json:"author,omitempty"`
	Message     string                 `protobuf:"bytes,7,opt,name=message,proto3" json:"message,omitempty"`
	DurationMs  int64                  `protobuf:"varint,8,opt,name=duration_ms,json=durationMs,proto3" json:"duration_ms,omitempty"`
	StartedAt   *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	FailedTests *int32                 `protobuf:"varint,10,opt,name=failed_tests,json=failedTests,proto3,oneof" json:"failed_tests,omitempty"`
	// contains filtered or unexported fields
}

Build is one run of a ci pipeline, recorded when it finishes

func (*Build) Descriptor deprecated

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

Deprecated: Use Build.ProtoReflect.Descriptor instead.

func (*Build) GetAuthor

func (x *Build) GetAuthor() string

func (*Build) GetBranch

func (x *Build) GetBranch() string

func (*Build) GetCommitSha

func (x *Build) GetCommitSha() string

func (*Build) GetDurationMs

func (x *Build) GetDurationMs() int64

func (*Build) GetEnv

func (x *Build) GetEnv() string

func (*Build) GetFailedTests

func (x *Build) GetFailedTests() int32

func (*Build) GetId

func (x *Build) GetId() int32

func (*Build) GetMessage

func (x *Build) GetMessage() string

func (*Build) GetStartedAt

func (x *Build) GetStartedAt() *timestamppb.Timestamp

func (*Build) GetStatus

func (x *Build) GetStatus() string

func (*Build) ProtoMessage

func (*Build) ProtoMessage()

func (*Build) ProtoReflect

func (x *Build) ProtoReflect() protoreflect.Message

func (*Build) Reset

func (x *Build) Reset()

func (*Build) String

func (x *Build) String() string

type BuildServiceClient

type BuildServiceClient interface {
	// re-running the same commit overwrites the row instead of failing on the
	// unique column
	CreateBuild(context.Context, *connect.Request[CreateBuildRequest]) (*connect.Response[Build], error)
	// many rows in one call, the wrapper loops the single row insert
	CreateBulkBuild(context.Context, *connect.Request[CreateBulkBuildRequest]) (*connect.Response[CreateBulkBuildResponse], error)
	// Get() keys on the primary key
	GetBuildById(context.Context, *connect.Request[GetBuildByIdRequest]) (*connect.Response[Build], error)
	// GetBy names the columns itself, they have to be unique together
	GetBuildByCommitSha(context.Context, *connect.Request[GetBuildByCommitShaRequest]) (*connect.Response[Build], error)
	UpdateBuild(context.Context, *connect.Request[UpdateBuildRequest]) (*connect.Response[Build], error)
	DeleteBuild(context.Context, *connect.Request[DeleteBuildRequest]) (*connect.Response[emptypb.Empty], error)
	DeleteAllBuild(context.Context, *connect.Request[DeleteAllBuildRequest]) (*connect.Response[emptypb.Empty], error)
	// no filters, the whole table
	ListAllBuild(context.Context, *connect.Request[ListAllBuildRequest]) (*connect.Response[ListAllBuildResponse], error)
	// a string field becomes an = filter, the caller sends the value
	ListBuildByBranch(context.Context, *connect.Request[ListBuildByBranchRequest]) (*connect.Response[ListBuildByBranchResponse], error)
	// two fields are two = filters joined by AND, and the sort chain order is
	// the order of the columns in ORDER BY
	ListBranchStatusHistory(context.Context, *connect.Request[ListBranchStatusHistoryRequest]) (*connect.Response[ListBranchStatusHistoryResponse], error)
	// a fixed Limit(10) stays in the sql, so it is not part of the request
	ListLatestBuilds(context.Context, *connect.Request[ListLatestBuildsRequest]) (*connect.Response[ListLatestBuildsResponse], error)
	// Count() returns how many rows match, counted before Limit cuts the page.
	// Limit() and Offset() take their values from the caller.
	SearchBuilds(context.Context, *connect.Request[SearchBuildsRequest]) (*connect.Response[SearchBuildsResponse], error)
	// one column returns the values, the method gives []string
	ListBranches(context.Context, *connect.Request[ListBranchesRequest]) (*connect.Response[ListBranchesResponse], error)
	// the same, narrowed by a filter first
	ListEnvBranches(context.Context, *connect.Request[ListEnvBranchesRequest]) (*connect.Response[ListEnvBranchesResponse], error)
	// several columns dedupe on the tuple and return a row struct
	ListBranchStatuses(context.Context, *connect.Request[ListBranchStatusesRequest]) (*connect.Response[ListBranchStatusesResponse], error)
	// without a GroupBy the aggregates fold the whole table into one row
	BuildTotals(context.Context, *connect.Request[BuildTotalsRequest]) (*connect.Response[BuildTotalsResponse], error)
	// GroupBy returns one row per branch, an aggregate query names itself
	BranchDurations(context.Context, *connect.Request[BranchDurationsRequest]) (*connect.Response[BranchDurationsResponse], error)
	// the groups take filters, sorting and paging like any other list
	ListEnvBranchDurations(context.Context, *connect.Request[ListEnvBranchDurationsRequest]) (*connect.Response[ListEnvBranchDurationsResponse], error)
}

BuildServiceClient is a client for the proto.BuildService service.

func NewBuildServiceClient

func NewBuildServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) BuildServiceClient

NewBuildServiceClient constructs a client for the proto.BuildService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.

The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).

type BuildServiceHandler

type BuildServiceHandler interface {
	// re-running the same commit overwrites the row instead of failing on the
	// unique column
	CreateBuild(context.Context, *connect.Request[CreateBuildRequest]) (*connect.Response[Build], error)
	// many rows in one call, the wrapper loops the single row insert
	CreateBulkBuild(context.Context, *connect.Request[CreateBulkBuildRequest]) (*connect.Response[CreateBulkBuildResponse], error)
	// Get() keys on the primary key
	GetBuildById(context.Context, *connect.Request[GetBuildByIdRequest]) (*connect.Response[Build], error)
	// GetBy names the columns itself, they have to be unique together
	GetBuildByCommitSha(context.Context, *connect.Request[GetBuildByCommitShaRequest]) (*connect.Response[Build], error)
	UpdateBuild(context.Context, *connect.Request[UpdateBuildRequest]) (*connect.Response[Build], error)
	DeleteBuild(context.Context, *connect.Request[DeleteBuildRequest]) (*connect.Response[emptypb.Empty], error)
	DeleteAllBuild(context.Context, *connect.Request[DeleteAllBuildRequest]) (*connect.Response[emptypb.Empty], error)
	// no filters, the whole table
	ListAllBuild(context.Context, *connect.Request[ListAllBuildRequest]) (*connect.Response[ListAllBuildResponse], error)
	// a string field becomes an = filter, the caller sends the value
	ListBuildByBranch(context.Context, *connect.Request[ListBuildByBranchRequest]) (*connect.Response[ListBuildByBranchResponse], error)
	// two fields are two = filters joined by AND, and the sort chain order is
	// the order of the columns in ORDER BY
	ListBranchStatusHistory(context.Context, *connect.Request[ListBranchStatusHistoryRequest]) (*connect.Response[ListBranchStatusHistoryResponse], error)
	// a fixed Limit(10) stays in the sql, so it is not part of the request
	ListLatestBuilds(context.Context, *connect.Request[ListLatestBuildsRequest]) (*connect.Response[ListLatestBuildsResponse], error)
	// Count() returns how many rows match, counted before Limit cuts the page.
	// Limit() and Offset() take their values from the caller.
	SearchBuilds(context.Context, *connect.Request[SearchBuildsRequest]) (*connect.Response[SearchBuildsResponse], error)
	// one column returns the values, the method gives []string
	ListBranches(context.Context, *connect.Request[ListBranchesRequest]) (*connect.Response[ListBranchesResponse], error)
	// the same, narrowed by a filter first
	ListEnvBranches(context.Context, *connect.Request[ListEnvBranchesRequest]) (*connect.Response[ListEnvBranchesResponse], error)
	// several columns dedupe on the tuple and return a row struct
	ListBranchStatuses(context.Context, *connect.Request[ListBranchStatusesRequest]) (*connect.Response[ListBranchStatusesResponse], error)
	// without a GroupBy the aggregates fold the whole table into one row
	BuildTotals(context.Context, *connect.Request[BuildTotalsRequest]) (*connect.Response[BuildTotalsResponse], error)
	// GroupBy returns one row per branch, an aggregate query names itself
	BranchDurations(context.Context, *connect.Request[BranchDurationsRequest]) (*connect.Response[BranchDurationsResponse], error)
	// the groups take filters, sorting and paging like any other list
	ListEnvBranchDurations(context.Context, *connect.Request[ListEnvBranchDurationsRequest]) (*connect.Response[ListEnvBranchDurationsResponse], error)
}

BuildServiceHandler is an implementation of the proto.BuildService service.

type BuildTotalsRequest

type BuildTotalsRequest struct {
	// contains filtered or unexported fields
}

func (*BuildTotalsRequest) Descriptor deprecated

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

Deprecated: Use BuildTotalsRequest.ProtoReflect.Descriptor instead.

func (*BuildTotalsRequest) ProtoMessage

func (*BuildTotalsRequest) ProtoMessage()

func (*BuildTotalsRequest) ProtoReflect

func (x *BuildTotalsRequest) ProtoReflect() protoreflect.Message

func (*BuildTotalsRequest) Reset

func (x *BuildTotalsRequest) Reset()

func (*BuildTotalsRequest) String

func (x *BuildTotalsRequest) String() string

type BuildTotalsResponse

type BuildTotalsResponse struct {
	SumDurationMs  int64   `protobuf:"varint,1,opt,name=sum_duration_ms,json=sumDurationMs,proto3" json:"sum_duration_ms,omitempty"`
	AvgDurationMs  float64 `protobuf:"fixed64,2,opt,name=avg_duration_ms,json=avgDurationMs,proto3" json:"avg_duration_ms,omitempty"`
	MaxFailedTests int64   `protobuf:"varint,3,opt,name=max_failed_tests,json=maxFailedTests,proto3" json:"max_failed_tests,omitempty"`
	// contains filtered or unexported fields
}

func (*BuildTotalsResponse) Descriptor deprecated

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

Deprecated: Use BuildTotalsResponse.ProtoReflect.Descriptor instead.

func (*BuildTotalsResponse) GetAvgDurationMs

func (x *BuildTotalsResponse) GetAvgDurationMs() float64

func (*BuildTotalsResponse) GetMaxFailedTests

func (x *BuildTotalsResponse) GetMaxFailedTests() int64

func (*BuildTotalsResponse) GetSumDurationMs

func (x *BuildTotalsResponse) GetSumDurationMs() int64

func (*BuildTotalsResponse) ProtoMessage

func (*BuildTotalsResponse) ProtoMessage()

func (*BuildTotalsResponse) ProtoReflect

func (x *BuildTotalsResponse) ProtoReflect() protoreflect.Message

func (*BuildTotalsResponse) Reset

func (x *BuildTotalsResponse) Reset()

func (*BuildTotalsResponse) String

func (x *BuildTotalsResponse) String() string

type CreateBuildRequest

type CreateBuildRequest struct {

	// unique, so it can be a GetBy key and an Upsert target
	CommitSha string `protobuf:"bytes,2,opt,name=commit_sha,json=commitSha,proto3" json:"commit_sha,omitempty"`
	// these repeat across rows, so Distinct has something to deduplicate
	Branch      string                 `protobuf:"bytes,3,opt,name=branch,proto3" json:"branch,omitempty"`
	Env         string                 `protobuf:"bytes,4,opt,name=env,proto3" json:"env,omitempty"`
	Status      string                 `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
	Author      string                 `protobuf:"bytes,6,opt,name=author,proto3" json:"author,omitempty"`
	Message     string                 `protobuf:"bytes,7,opt,name=message,proto3" json:"message,omitempty"`
	DurationMs  int64                  `protobuf:"varint,8,opt,name=duration_ms,json=durationMs,proto3" json:"duration_ms,omitempty"`
	StartedAt   *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	FailedTests *int32                 `protobuf:"varint,10,opt,name=failed_tests,json=failedTests,proto3,oneof" json:"failed_tests,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateBuildRequest) Descriptor deprecated

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

Deprecated: Use CreateBuildRequest.ProtoReflect.Descriptor instead.

func (*CreateBuildRequest) GetAuthor

func (x *CreateBuildRequest) GetAuthor() string

func (*CreateBuildRequest) GetBranch

func (x *CreateBuildRequest) GetBranch() string

func (*CreateBuildRequest) GetCommitSha

func (x *CreateBuildRequest) GetCommitSha() string

func (*CreateBuildRequest) GetDurationMs

func (x *CreateBuildRequest) GetDurationMs() int64

func (*CreateBuildRequest) GetEnv

func (x *CreateBuildRequest) GetEnv() string

func (*CreateBuildRequest) GetFailedTests

func (x *CreateBuildRequest) GetFailedTests() int32

func (*CreateBuildRequest) GetMessage

func (x *CreateBuildRequest) GetMessage() string

func (*CreateBuildRequest) GetStartedAt

func (x *CreateBuildRequest) GetStartedAt() *timestamppb.Timestamp

func (*CreateBuildRequest) GetStatus

func (x *CreateBuildRequest) GetStatus() string

func (*CreateBuildRequest) ProtoMessage

func (*CreateBuildRequest) ProtoMessage()

func (*CreateBuildRequest) ProtoReflect

func (x *CreateBuildRequest) ProtoReflect() protoreflect.Message

func (*CreateBuildRequest) Reset

func (x *CreateBuildRequest) Reset()

func (*CreateBuildRequest) String

func (x *CreateBuildRequest) String() string

type CreateBulkBuildRequest

type CreateBulkBuildRequest struct {
	Rows []*CreateBulkBuildRow `protobuf:"bytes,1,rep,name=rows,proto3" json:"rows,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateBulkBuildRequest) Descriptor deprecated

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

Deprecated: Use CreateBulkBuildRequest.ProtoReflect.Descriptor instead.

func (*CreateBulkBuildRequest) GetRows

func (*CreateBulkBuildRequest) ProtoMessage

func (*CreateBulkBuildRequest) ProtoMessage()

func (*CreateBulkBuildRequest) ProtoReflect

func (x *CreateBulkBuildRequest) ProtoReflect() protoreflect.Message

func (*CreateBulkBuildRequest) Reset

func (x *CreateBulkBuildRequest) Reset()

func (*CreateBulkBuildRequest) String

func (x *CreateBulkBuildRequest) String() string

type CreateBulkBuildResponse

type CreateBulkBuildResponse struct {
	Rows []*Build `protobuf:"bytes,1,rep,name=rows,proto3" json:"rows,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateBulkBuildResponse) Descriptor deprecated

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

Deprecated: Use CreateBulkBuildResponse.ProtoReflect.Descriptor instead.

func (*CreateBulkBuildResponse) GetRows

func (x *CreateBulkBuildResponse) GetRows() []*Build

func (*CreateBulkBuildResponse) ProtoMessage

func (*CreateBulkBuildResponse) ProtoMessage()

func (*CreateBulkBuildResponse) ProtoReflect

func (x *CreateBulkBuildResponse) ProtoReflect() protoreflect.Message

func (*CreateBulkBuildResponse) Reset

func (x *CreateBulkBuildResponse) Reset()

func (*CreateBulkBuildResponse) String

func (x *CreateBulkBuildResponse) String() string

type CreateBulkBuildRow

type CreateBulkBuildRow struct {

	// unique, so it can be a GetBy key and an Upsert target
	CommitSha string `protobuf:"bytes,2,opt,name=commit_sha,json=commitSha,proto3" json:"commit_sha,omitempty"`
	// these repeat across rows, so Distinct has something to deduplicate
	Branch      string                 `protobuf:"bytes,3,opt,name=branch,proto3" json:"branch,omitempty"`
	Env         string                 `protobuf:"bytes,4,opt,name=env,proto3" json:"env,omitempty"`
	Status      string                 `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
	Author      string                 `protobuf:"bytes,6,opt,name=author,proto3" json:"author,omitempty"`
	Message     string                 `protobuf:"bytes,7,opt,name=message,proto3" json:"message,omitempty"`
	DurationMs  int64                  `protobuf:"varint,8,opt,name=duration_ms,json=durationMs,proto3" json:"duration_ms,omitempty"`
	StartedAt   *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	FailedTests *int32                 `protobuf:"varint,10,opt,name=failed_tests,json=failedTests,proto3,oneof" json:"failed_tests,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateBulkBuildRow) Descriptor deprecated

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

Deprecated: Use CreateBulkBuildRow.ProtoReflect.Descriptor instead.

func (*CreateBulkBuildRow) GetAuthor

func (x *CreateBulkBuildRow) GetAuthor() string

func (*CreateBulkBuildRow) GetBranch

func (x *CreateBulkBuildRow) GetBranch() string

func (*CreateBulkBuildRow) GetCommitSha

func (x *CreateBulkBuildRow) GetCommitSha() string

func (*CreateBulkBuildRow) GetDurationMs

func (x *CreateBulkBuildRow) GetDurationMs() int64

func (*CreateBulkBuildRow) GetEnv

func (x *CreateBulkBuildRow) GetEnv() string

func (*CreateBulkBuildRow) GetFailedTests

func (x *CreateBulkBuildRow) GetFailedTests() int32

func (*CreateBulkBuildRow) GetMessage

func (x *CreateBulkBuildRow) GetMessage() string

func (*CreateBulkBuildRow) GetStartedAt

func (x *CreateBulkBuildRow) GetStartedAt() *timestamppb.Timestamp

func (*CreateBulkBuildRow) GetStatus

func (x *CreateBulkBuildRow) GetStatus() string

func (*CreateBulkBuildRow) ProtoMessage

func (*CreateBulkBuildRow) ProtoMessage()

func (*CreateBulkBuildRow) ProtoReflect

func (x *CreateBulkBuildRow) ProtoReflect() protoreflect.Message

func (*CreateBulkBuildRow) Reset

func (x *CreateBulkBuildRow) Reset()

func (*CreateBulkBuildRow) String

func (x *CreateBulkBuildRow) String() string

type DeleteAllBuildRequest

type DeleteAllBuildRequest struct {
	// contains filtered or unexported fields
}

func (*DeleteAllBuildRequest) Descriptor deprecated

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

Deprecated: Use DeleteAllBuildRequest.ProtoReflect.Descriptor instead.

func (*DeleteAllBuildRequest) ProtoMessage

func (*DeleteAllBuildRequest) ProtoMessage()

func (*DeleteAllBuildRequest) ProtoReflect

func (x *DeleteAllBuildRequest) ProtoReflect() protoreflect.Message

func (*DeleteAllBuildRequest) Reset

func (x *DeleteAllBuildRequest) Reset()

func (*DeleteAllBuildRequest) String

func (x *DeleteAllBuildRequest) String() string

type DeleteBuildRequest

type DeleteBuildRequest struct {
	Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteBuildRequest) Descriptor deprecated

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

Deprecated: Use DeleteBuildRequest.ProtoReflect.Descriptor instead.

func (*DeleteBuildRequest) GetId

func (x *DeleteBuildRequest) GetId() int32

func (*DeleteBuildRequest) ProtoMessage

func (*DeleteBuildRequest) ProtoMessage()

func (*DeleteBuildRequest) ProtoReflect

func (x *DeleteBuildRequest) ProtoReflect() protoreflect.Message

func (*DeleteBuildRequest) Reset

func (x *DeleteBuildRequest) Reset()

func (*DeleteBuildRequest) String

func (x *DeleteBuildRequest) String() string

type GetBuildByCommitShaRequest

type GetBuildByCommitShaRequest struct {
	CommitSha string `protobuf:"bytes,2,opt,name=commit_sha,json=commitSha,proto3" json:"commit_sha,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBuildByCommitShaRequest) Descriptor deprecated

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

Deprecated: Use GetBuildByCommitShaRequest.ProtoReflect.Descriptor instead.

func (*GetBuildByCommitShaRequest) GetCommitSha

func (x *GetBuildByCommitShaRequest) GetCommitSha() string

func (*GetBuildByCommitShaRequest) ProtoMessage

func (*GetBuildByCommitShaRequest) ProtoMessage()

func (*GetBuildByCommitShaRequest) ProtoReflect

func (*GetBuildByCommitShaRequest) Reset

func (x *GetBuildByCommitShaRequest) Reset()

func (*GetBuildByCommitShaRequest) String

func (x *GetBuildByCommitShaRequest) String() string

type GetBuildByIdRequest

type GetBuildByIdRequest struct {
	Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBuildByIdRequest) Descriptor deprecated

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

Deprecated: Use GetBuildByIdRequest.ProtoReflect.Descriptor instead.

func (*GetBuildByIdRequest) GetId

func (x *GetBuildByIdRequest) GetId() int32

func (*GetBuildByIdRequest) ProtoMessage

func (*GetBuildByIdRequest) ProtoMessage()

func (*GetBuildByIdRequest) ProtoReflect

func (x *GetBuildByIdRequest) ProtoReflect() protoreflect.Message

func (*GetBuildByIdRequest) Reset

func (x *GetBuildByIdRequest) Reset()

func (*GetBuildByIdRequest) String

func (x *GetBuildByIdRequest) String() string

type ListAllBuildRequest

type ListAllBuildRequest struct {
	// contains filtered or unexported fields
}

func (*ListAllBuildRequest) Descriptor deprecated

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

Deprecated: Use ListAllBuildRequest.ProtoReflect.Descriptor instead.

func (*ListAllBuildRequest) ProtoMessage

func (*ListAllBuildRequest) ProtoMessage()

func (*ListAllBuildRequest) ProtoReflect

func (x *ListAllBuildRequest) ProtoReflect() protoreflect.Message

func (*ListAllBuildRequest) Reset

func (x *ListAllBuildRequest) Reset()

func (*ListAllBuildRequest) String

func (x *ListAllBuildRequest) String() string

type ListAllBuildResponse

type ListAllBuildResponse struct {
	Rows []*Build `protobuf:"bytes,1,rep,name=rows,proto3" json:"rows,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAllBuildResponse) Descriptor deprecated

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

Deprecated: Use ListAllBuildResponse.ProtoReflect.Descriptor instead.

func (*ListAllBuildResponse) GetRows

func (x *ListAllBuildResponse) GetRows() []*Build

func (*ListAllBuildResponse) ProtoMessage

func (*ListAllBuildResponse) ProtoMessage()

func (*ListAllBuildResponse) ProtoReflect

func (x *ListAllBuildResponse) ProtoReflect() protoreflect.Message

func (*ListAllBuildResponse) Reset

func (x *ListAllBuildResponse) Reset()

func (*ListAllBuildResponse) String

func (x *ListAllBuildResponse) String() string

type ListBranchStatusHistoryRequest

type ListBranchStatusHistoryRequest struct {
	Branch string `protobuf:"bytes,3,opt,name=branch,proto3" json:"branch,omitempty"`
	Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*ListBranchStatusHistoryRequest) Descriptor deprecated

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

Deprecated: Use ListBranchStatusHistoryRequest.ProtoReflect.Descriptor instead.

func (*ListBranchStatusHistoryRequest) GetBranch

func (x *ListBranchStatusHistoryRequest) GetBranch() string

func (*ListBranchStatusHistoryRequest) GetStatus

func (x *ListBranchStatusHistoryRequest) GetStatus() string

func (*ListBranchStatusHistoryRequest) ProtoMessage

func (*ListBranchStatusHistoryRequest) ProtoMessage()

func (*ListBranchStatusHistoryRequest) ProtoReflect

func (*ListBranchStatusHistoryRequest) Reset

func (x *ListBranchStatusHistoryRequest) Reset()

func (*ListBranchStatusHistoryRequest) String

type ListBranchStatusHistoryResponse

type ListBranchStatusHistoryResponse struct {
	Rows []*Build `protobuf:"bytes,1,rep,name=rows,proto3" json:"rows,omitempty"`
	// contains filtered or unexported fields
}

func (*ListBranchStatusHistoryResponse) Descriptor deprecated

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

Deprecated: Use ListBranchStatusHistoryResponse.ProtoReflect.Descriptor instead.

func (*ListBranchStatusHistoryResponse) GetRows

func (x *ListBranchStatusHistoryResponse) GetRows() []*Build

func (*ListBranchStatusHistoryResponse) ProtoMessage

func (*ListBranchStatusHistoryResponse) ProtoMessage()

func (*ListBranchStatusHistoryResponse) ProtoReflect

func (*ListBranchStatusHistoryResponse) Reset

func (*ListBranchStatusHistoryResponse) String

type ListBranchStatusesRequest

type ListBranchStatusesRequest struct {
	// contains filtered or unexported fields
}

func (*ListBranchStatusesRequest) Descriptor deprecated

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

Deprecated: Use ListBranchStatusesRequest.ProtoReflect.Descriptor instead.

func (*ListBranchStatusesRequest) ProtoMessage

func (*ListBranchStatusesRequest) ProtoMessage()

func (*ListBranchStatusesRequest) ProtoReflect

func (*ListBranchStatusesRequest) Reset

func (x *ListBranchStatusesRequest) Reset()

func (*ListBranchStatusesRequest) String

func (x *ListBranchStatusesRequest) String() string

type ListBranchStatusesResponse

type ListBranchStatusesResponse struct {
	Rows []*ListBranchStatusesRow `protobuf:"bytes,1,rep,name=rows,proto3" json:"rows,omitempty"`
	// contains filtered or unexported fields
}

func (*ListBranchStatusesResponse) Descriptor deprecated

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

Deprecated: Use ListBranchStatusesResponse.ProtoReflect.Descriptor instead.

func (*ListBranchStatusesResponse) GetRows

func (*ListBranchStatusesResponse) ProtoMessage

func (*ListBranchStatusesResponse) ProtoMessage()

func (*ListBranchStatusesResponse) ProtoReflect

func (*ListBranchStatusesResponse) Reset

func (x *ListBranchStatusesResponse) Reset()

func (*ListBranchStatusesResponse) String

func (x *ListBranchStatusesResponse) String() string

type ListBranchStatusesRow

type ListBranchStatusesRow struct {
	Branch string `protobuf:"bytes,1,opt,name=branch,proto3" json:"branch,omitempty"`
	Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*ListBranchStatusesRow) Descriptor deprecated

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

Deprecated: Use ListBranchStatusesRow.ProtoReflect.Descriptor instead.

func (*ListBranchStatusesRow) GetBranch

func (x *ListBranchStatusesRow) GetBranch() string

func (*ListBranchStatusesRow) GetStatus

func (x *ListBranchStatusesRow) GetStatus() string

func (*ListBranchStatusesRow) ProtoMessage

func (*ListBranchStatusesRow) ProtoMessage()

func (*ListBranchStatusesRow) ProtoReflect

func (x *ListBranchStatusesRow) ProtoReflect() protoreflect.Message

func (*ListBranchStatusesRow) Reset

func (x *ListBranchStatusesRow) Reset()

func (*ListBranchStatusesRow) String

func (x *ListBranchStatusesRow) String() string

type ListBranchesRequest

type ListBranchesRequest struct {
	// contains filtered or unexported fields
}

func (*ListBranchesRequest) Descriptor deprecated

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

Deprecated: Use ListBranchesRequest.ProtoReflect.Descriptor instead.

func (*ListBranchesRequest) ProtoMessage

func (*ListBranchesRequest) ProtoMessage()

func (*ListBranchesRequest) ProtoReflect

func (x *ListBranchesRequest) ProtoReflect() protoreflect.Message

func (*ListBranchesRequest) Reset

func (x *ListBranchesRequest) Reset()

func (*ListBranchesRequest) String

func (x *ListBranchesRequest) String() string

type ListBranchesResponse

type ListBranchesResponse struct {
	Branch []string `protobuf:"bytes,1,rep,name=branch,proto3" json:"branch,omitempty"`
	// contains filtered or unexported fields
}

func (*ListBranchesResponse) Descriptor deprecated

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

Deprecated: Use ListBranchesResponse.ProtoReflect.Descriptor instead.

func (*ListBranchesResponse) GetBranch

func (x *ListBranchesResponse) GetBranch() []string

func (*ListBranchesResponse) ProtoMessage

func (*ListBranchesResponse) ProtoMessage()

func (*ListBranchesResponse) ProtoReflect

func (x *ListBranchesResponse) ProtoReflect() protoreflect.Message

func (*ListBranchesResponse) Reset

func (x *ListBranchesResponse) Reset()

func (*ListBranchesResponse) String

func (x *ListBranchesResponse) String() string

type ListBuildByBranchRequest

type ListBuildByBranchRequest struct {
	Branch string `protobuf:"bytes,3,opt,name=branch,proto3" json:"branch,omitempty"`
	// contains filtered or unexported fields
}

func (*ListBuildByBranchRequest) Descriptor deprecated

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

Deprecated: Use ListBuildByBranchRequest.ProtoReflect.Descriptor instead.

func (*ListBuildByBranchRequest) GetBranch

func (x *ListBuildByBranchRequest) GetBranch() string

func (*ListBuildByBranchRequest) ProtoMessage

func (*ListBuildByBranchRequest) ProtoMessage()

func (*ListBuildByBranchRequest) ProtoReflect

func (x *ListBuildByBranchRequest) ProtoReflect() protoreflect.Message

func (*ListBuildByBranchRequest) Reset

func (x *ListBuildByBranchRequest) Reset()

func (*ListBuildByBranchRequest) String

func (x *ListBuildByBranchRequest) String() string

type ListBuildByBranchResponse

type ListBuildByBranchResponse struct {
	Rows []*Build `protobuf:"bytes,1,rep,name=rows,proto3" json:"rows,omitempty"`
	// contains filtered or unexported fields
}

func (*ListBuildByBranchResponse) Descriptor deprecated

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

Deprecated: Use ListBuildByBranchResponse.ProtoReflect.Descriptor instead.

func (*ListBuildByBranchResponse) GetRows

func (x *ListBuildByBranchResponse) GetRows() []*Build

func (*ListBuildByBranchResponse) ProtoMessage

func (*ListBuildByBranchResponse) ProtoMessage()

func (*ListBuildByBranchResponse) ProtoReflect

func (*ListBuildByBranchResponse) Reset

func (x *ListBuildByBranchResponse) Reset()

func (*ListBuildByBranchResponse) String

func (x *ListBuildByBranchResponse) String() string

type ListEnvBranchDurationsRequest

type ListEnvBranchDurationsRequest struct {
	Env string `protobuf:"bytes,3,opt,name=env,proto3" json:"env,omitempty"`
	// contains filtered or unexported fields
}

func (*ListEnvBranchDurationsRequest) Descriptor deprecated

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

Deprecated: Use ListEnvBranchDurationsRequest.ProtoReflect.Descriptor instead.

func (*ListEnvBranchDurationsRequest) GetEnv

func (*ListEnvBranchDurationsRequest) ProtoMessage

func (*ListEnvBranchDurationsRequest) ProtoMessage()

func (*ListEnvBranchDurationsRequest) ProtoReflect

func (*ListEnvBranchDurationsRequest) Reset

func (x *ListEnvBranchDurationsRequest) Reset()

func (*ListEnvBranchDurationsRequest) String

type ListEnvBranchDurationsResponse

type ListEnvBranchDurationsResponse struct {
	Rows []*ListEnvBranchDurationsRow `protobuf:"bytes,1,rep,name=rows,proto3" json:"rows,omitempty"`
	// contains filtered or unexported fields
}

func (*ListEnvBranchDurationsResponse) Descriptor deprecated

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

Deprecated: Use ListEnvBranchDurationsResponse.ProtoReflect.Descriptor instead.

func (*ListEnvBranchDurationsResponse) GetRows

func (*ListEnvBranchDurationsResponse) ProtoMessage

func (*ListEnvBranchDurationsResponse) ProtoMessage()

func (*ListEnvBranchDurationsResponse) ProtoReflect

func (*ListEnvBranchDurationsResponse) Reset

func (x *ListEnvBranchDurationsResponse) Reset()

func (*ListEnvBranchDurationsResponse) String

type ListEnvBranchDurationsRow

type ListEnvBranchDurationsRow struct {
	Branch        string  `protobuf:"bytes,1,opt,name=branch,proto3" json:"branch,omitempty"`
	SumDurationMs int64   `protobuf:"varint,2,opt,name=sum_duration_ms,json=sumDurationMs,proto3" json:"sum_duration_ms,omitempty"`
	AvgDurationMs float64 `protobuf:"fixed64,3,opt,name=avg_duration_ms,json=avgDurationMs,proto3" json:"avg_duration_ms,omitempty"`
	// contains filtered or unexported fields
}

func (*ListEnvBranchDurationsRow) Descriptor deprecated

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

Deprecated: Use ListEnvBranchDurationsRow.ProtoReflect.Descriptor instead.

func (*ListEnvBranchDurationsRow) GetAvgDurationMs

func (x *ListEnvBranchDurationsRow) GetAvgDurationMs() float64

func (*ListEnvBranchDurationsRow) GetBranch

func (x *ListEnvBranchDurationsRow) GetBranch() string

func (*ListEnvBranchDurationsRow) GetSumDurationMs

func (x *ListEnvBranchDurationsRow) GetSumDurationMs() int64

func (*ListEnvBranchDurationsRow) ProtoMessage

func (*ListEnvBranchDurationsRow) ProtoMessage()

func (*ListEnvBranchDurationsRow) ProtoReflect

func (*ListEnvBranchDurationsRow) Reset

func (x *ListEnvBranchDurationsRow) Reset()

func (*ListEnvBranchDurationsRow) String

func (x *ListEnvBranchDurationsRow) String() string

type ListEnvBranchesRequest

type ListEnvBranchesRequest struct {
	Env string `protobuf:"bytes,3,opt,name=env,proto3" json:"env,omitempty"`
	// contains filtered or unexported fields
}

func (*ListEnvBranchesRequest) Descriptor deprecated

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

Deprecated: Use ListEnvBranchesRequest.ProtoReflect.Descriptor instead.

func (*ListEnvBranchesRequest) GetEnv

func (x *ListEnvBranchesRequest) GetEnv() string

func (*ListEnvBranchesRequest) ProtoMessage

func (*ListEnvBranchesRequest) ProtoMessage()

func (*ListEnvBranchesRequest) ProtoReflect

func (x *ListEnvBranchesRequest) ProtoReflect() protoreflect.Message

func (*ListEnvBranchesRequest) Reset

func (x *ListEnvBranchesRequest) Reset()

func (*ListEnvBranchesRequest) String

func (x *ListEnvBranchesRequest) String() string

type ListEnvBranchesResponse

type ListEnvBranchesResponse struct {
	Branch []string `protobuf:"bytes,1,rep,name=branch,proto3" json:"branch,omitempty"`
	// contains filtered or unexported fields
}

func (*ListEnvBranchesResponse) Descriptor deprecated

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

Deprecated: Use ListEnvBranchesResponse.ProtoReflect.Descriptor instead.

func (*ListEnvBranchesResponse) GetBranch

func (x *ListEnvBranchesResponse) GetBranch() []string

func (*ListEnvBranchesResponse) ProtoMessage

func (*ListEnvBranchesResponse) ProtoMessage()

func (*ListEnvBranchesResponse) ProtoReflect

func (x *ListEnvBranchesResponse) ProtoReflect() protoreflect.Message

func (*ListEnvBranchesResponse) Reset

func (x *ListEnvBranchesResponse) Reset()

func (*ListEnvBranchesResponse) String

func (x *ListEnvBranchesResponse) String() string

type ListLatestBuildsRequest

type ListLatestBuildsRequest struct {
	Branch string `protobuf:"bytes,3,opt,name=branch,proto3" json:"branch,omitempty"`
	// contains filtered or unexported fields
}

func (*ListLatestBuildsRequest) Descriptor deprecated

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

Deprecated: Use ListLatestBuildsRequest.ProtoReflect.Descriptor instead.

func (*ListLatestBuildsRequest) GetBranch

func (x *ListLatestBuildsRequest) GetBranch() string

func (*ListLatestBuildsRequest) ProtoMessage

func (*ListLatestBuildsRequest) ProtoMessage()

func (*ListLatestBuildsRequest) ProtoReflect

func (x *ListLatestBuildsRequest) ProtoReflect() protoreflect.Message

func (*ListLatestBuildsRequest) Reset

func (x *ListLatestBuildsRequest) Reset()

func (*ListLatestBuildsRequest) String

func (x *ListLatestBuildsRequest) String() string

type ListLatestBuildsResponse

type ListLatestBuildsResponse struct {
	Rows []*Build `protobuf:"bytes,1,rep,name=rows,proto3" json:"rows,omitempty"`
	// contains filtered or unexported fields
}

func (*ListLatestBuildsResponse) Descriptor deprecated

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

Deprecated: Use ListLatestBuildsResponse.ProtoReflect.Descriptor instead.

func (*ListLatestBuildsResponse) GetRows

func (x *ListLatestBuildsResponse) GetRows() []*Build

func (*ListLatestBuildsResponse) ProtoMessage

func (*ListLatestBuildsResponse) ProtoMessage()

func (*ListLatestBuildsResponse) ProtoReflect

func (x *ListLatestBuildsResponse) ProtoReflect() protoreflect.Message

func (*ListLatestBuildsResponse) Reset

func (x *ListLatestBuildsResponse) Reset()

func (*ListLatestBuildsResponse) String

func (x *ListLatestBuildsResponse) String() string

type SearchBuildsRequest

type SearchBuildsRequest struct {
	Limit        int32                  `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset       int32                  `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	Env          string                 `protobuf:"bytes,3,opt,name=env,proto3" json:"env,omitempty"`
	MinStartedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=min_started_at,json=minStartedAt,proto3" json:"min_started_at,omitempty"`
	MaxStartedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=max_started_at,json=maxStartedAt,proto3" json:"max_started_at,omitempty"`
	Message      string                 `protobuf:"bytes,6,opt,name=message,proto3" json:"message,omitempty"`
	Status       string                 `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchBuildsRequest) Descriptor deprecated

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

Deprecated: Use SearchBuildsRequest.ProtoReflect.Descriptor instead.

func (*SearchBuildsRequest) GetEnv

func (x *SearchBuildsRequest) GetEnv() string

func (*SearchBuildsRequest) GetLimit

func (x *SearchBuildsRequest) GetLimit() int32

func (*SearchBuildsRequest) GetMaxStartedAt

func (x *SearchBuildsRequest) GetMaxStartedAt() *timestamppb.Timestamp

func (*SearchBuildsRequest) GetMessage

func (x *SearchBuildsRequest) GetMessage() string

func (*SearchBuildsRequest) GetMinStartedAt

func (x *SearchBuildsRequest) GetMinStartedAt() *timestamppb.Timestamp

func (*SearchBuildsRequest) GetOffset

func (x *SearchBuildsRequest) GetOffset() int32

func (*SearchBuildsRequest) GetStatus

func (x *SearchBuildsRequest) GetStatus() string

func (*SearchBuildsRequest) ProtoMessage

func (*SearchBuildsRequest) ProtoMessage()

func (*SearchBuildsRequest) ProtoReflect

func (x *SearchBuildsRequest) ProtoReflect() protoreflect.Message

func (*SearchBuildsRequest) Reset

func (x *SearchBuildsRequest) Reset()

func (*SearchBuildsRequest) String

func (x *SearchBuildsRequest) String() string

type SearchBuildsResponse

type SearchBuildsResponse struct {
	Rows      []*Build `protobuf:"bytes,1,rep,name=rows,proto3" json:"rows,omitempty"`
	TotalSize int64    `protobuf:"varint,2,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchBuildsResponse) Descriptor deprecated

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

Deprecated: Use SearchBuildsResponse.ProtoReflect.Descriptor instead.

func (*SearchBuildsResponse) GetRows

func (x *SearchBuildsResponse) GetRows() []*Build

func (*SearchBuildsResponse) GetTotalSize

func (x *SearchBuildsResponse) GetTotalSize() int64

func (*SearchBuildsResponse) ProtoMessage

func (*SearchBuildsResponse) ProtoMessage()

func (*SearchBuildsResponse) ProtoReflect

func (x *SearchBuildsResponse) ProtoReflect() protoreflect.Message

func (*SearchBuildsResponse) Reset

func (x *SearchBuildsResponse) Reset()

func (*SearchBuildsResponse) String

func (x *SearchBuildsResponse) String() string

type UnimplementedBuildServiceHandler

type UnimplementedBuildServiceHandler struct{}

UnimplementedBuildServiceHandler returns CodeUnimplemented from all methods.

func (UnimplementedBuildServiceHandler) CreateBuild

func (UnimplementedBuildServiceHandler) DeleteBuild

func (UnimplementedBuildServiceHandler) GetBuildByCommitSha

func (UnimplementedBuildServiceHandler) GetBuildById

func (UnimplementedBuildServiceHandler) UpdateBuild

type UpdateBuildRequest

type UpdateBuildRequest struct {
	Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// unique, so it can be a GetBy key and an Upsert target
	CommitSha string `protobuf:"bytes,2,opt,name=commit_sha,json=commitSha,proto3" json:"commit_sha,omitempty"`
	// these repeat across rows, so Distinct has something to deduplicate
	Branch      string                 `protobuf:"bytes,3,opt,name=branch,proto3" json:"branch,omitempty"`
	Env         string                 `protobuf:"bytes,4,opt,name=env,proto3" json:"env,omitempty"`
	Status      string                 `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
	Author      string                 `protobuf:"bytes,6,opt,name=author,proto3" json:"author,omitempty"`
	Message     string                 `protobuf:"bytes,7,opt,name=message,proto3" json:"message,omitempty"`
	DurationMs  int64                  `protobuf:"varint,8,opt,name=duration_ms,json=durationMs,proto3" json:"duration_ms,omitempty"`
	StartedAt   *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	FailedTests *int32                 `protobuf:"varint,10,opt,name=failed_tests,json=failedTests,proto3,oneof" json:"failed_tests,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateBuildRequest) Descriptor deprecated

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

Deprecated: Use UpdateBuildRequest.ProtoReflect.Descriptor instead.

func (*UpdateBuildRequest) GetAuthor

func (x *UpdateBuildRequest) GetAuthor() string

func (*UpdateBuildRequest) GetBranch

func (x *UpdateBuildRequest) GetBranch() string

func (*UpdateBuildRequest) GetCommitSha

func (x *UpdateBuildRequest) GetCommitSha() string

func (*UpdateBuildRequest) GetDurationMs

func (x *UpdateBuildRequest) GetDurationMs() int64

func (*UpdateBuildRequest) GetEnv

func (x *UpdateBuildRequest) GetEnv() string

func (*UpdateBuildRequest) GetFailedTests

func (x *UpdateBuildRequest) GetFailedTests() int32

func (*UpdateBuildRequest) GetId

func (x *UpdateBuildRequest) GetId() int32

func (*UpdateBuildRequest) GetMessage

func (x *UpdateBuildRequest) GetMessage() string

func (*UpdateBuildRequest) GetStartedAt

func (x *UpdateBuildRequest) GetStartedAt() *timestamppb.Timestamp

func (*UpdateBuildRequest) GetStatus

func (x *UpdateBuildRequest) GetStatus() string

func (*UpdateBuildRequest) ProtoMessage

func (*UpdateBuildRequest) ProtoMessage()

func (*UpdateBuildRequest) ProtoReflect

func (x *UpdateBuildRequest) ProtoReflect() protoreflect.Message

func (*UpdateBuildRequest) Reset

func (x *UpdateBuildRequest) Reset()

func (*UpdateBuildRequest) String

func (x *UpdateBuildRequest) String() string

type ValidateInterceptor

type ValidateInterceptor struct{}

ValidateInterceptor calls the generated Validate() method on any request message that implements it

func NewValidateInterceptor

func NewValidateInterceptor() *ValidateInterceptor

func (*ValidateInterceptor) WrapStreamingClient

WrapStreamingClient implements connect.Interceptor.

func (*ValidateInterceptor) WrapStreamingHandler

WrapStreamingHandler implements connect.Interceptor.

func (*ValidateInterceptor) WrapUnary

WrapUnary implements connect.Interceptor.

Jump to

Keyboard shortcuts

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