Documentation
¶
Index ¶
- Variables
- type BuildAnalysis
- func (*BuildAnalysis) Descriptor() ([]byte, []int)deprecated
- func (x *BuildAnalysis) GetId() string
- func (x *BuildAnalysis) GetQueueName() string
- func (*BuildAnalysis) ProtoMessage()
- func (x *BuildAnalysis) ProtoReflect() protoreflect.Message
- func (x *BuildAnalysis) Reset()
- func (x *BuildAnalysis) String() string
- type BuildRequest
- func (*BuildRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BuildRequest) GetId() string
- func (x *BuildRequest) GetQueueName() string
- func (*BuildRequest) ProtoMessage()
- func (x *BuildRequest) ProtoReflect() protoreflect.Message
- func (x *BuildRequest) Reset()
- func (x *BuildRequest) String() string
- type BuildSignal
- func (*BuildSignal) Descriptor() ([]byte, []int)deprecated
- func (x *BuildSignal) GetId() string
- func (x *BuildSignal) GetQueueName() string
- func (*BuildSignal) ProtoMessage()
- func (x *BuildSignal) ProtoReflect() protoreflect.Message
- func (x *BuildSignal) Reset()
- func (x *BuildSignal) String() string
- type FixRequest
- type IssueTrack
- func (*IssueTrack) Descriptor() ([]byte, []int)deprecated
- func (x *IssueTrack) GetQueueName() string
- func (x *IssueTrack) GetRequestId() string
- func (*IssueTrack) ProtoMessage()
- func (x *IssueTrack) ProtoReflect() protoreflect.Message
- func (x *IssueTrack) Reset()
- func (x *IssueTrack) String() string
- type PeriodicMetrics
- type ProcessRequest
- func (*ProcessRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProcessRequest) GetId() string
- func (x *ProcessRequest) GetQueueName() string
- func (*ProcessRequest) ProtoMessage()
- func (x *ProcessRequest) ProtoReflect() protoreflect.Message
- func (x *ProcessRequest) Reset()
- func (x *ProcessRequest) String() string
- type ProjectAnalysis
- func (*ProjectAnalysis) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectAnalysis) GetId() string
- func (x *ProjectAnalysis) GetQueueName() string
- func (*ProjectAnalysis) ProtoMessage()
- func (x *ProjectAnalysis) ProtoReflect() protoreflect.Message
- func (x *ProjectAnalysis) Reset()
- func (x *ProjectAnalysis) String() string
- type Record
Constants ¶
This section is empty.
Variables ¶
var File_build_proto protoreflect.FileDescriptor
var File_buildanalysis_proto protoreflect.FileDescriptor
var File_buildsignal_proto protoreflect.FileDescriptor
var File_fix_proto protoreflect.FileDescriptor
var File_issuetrack_proto protoreflect.FileDescriptor
var File_periodicmetrics_proto protoreflect.FileDescriptor
var File_process_proto protoreflect.FileDescriptor
var File_projectanalysis_proto protoreflect.FileDescriptor
var File_record_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BuildAnalysis ¶
type BuildAnalysis struct {
// id is the opaque runner-assigned build identifier.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// queue_name is the required queue namespace of the build.
QueueName string `protobuf:"bytes,2,opt,name=queue_name,json=queueName,proto3" json:"queue_name,omitempty"`
// contains filtered or unexported fields
}
BuildAnalysis identifies a persisted build whose issues should be observed. The controller reloads build status on each delivery and holds between polls.
func (*BuildAnalysis) Descriptor
deprecated
func (*BuildAnalysis) Descriptor() ([]byte, []int)
Deprecated: Use BuildAnalysis.ProtoReflect.Descriptor instead.
func (*BuildAnalysis) GetId ¶
func (x *BuildAnalysis) GetId() string
func (*BuildAnalysis) GetQueueName ¶
func (x *BuildAnalysis) GetQueueName() string
func (*BuildAnalysis) ProtoMessage ¶
func (*BuildAnalysis) ProtoMessage()
func (*BuildAnalysis) ProtoReflect ¶
func (x *BuildAnalysis) ProtoReflect() protoreflect.Message
func (*BuildAnalysis) Reset ¶
func (x *BuildAnalysis) Reset()
func (*BuildAnalysis) String ¶
func (x *BuildAnalysis) String() string
type BuildRequest ¶
type BuildRequest struct {
// id is the request id to build. Canonical positive decimal string; queue is carried separately.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// queue_name is the name of the queue processing the request, carried so
// the consumer can route by queue without loading state first. Empty on
// payloads written before the field existed.
QueueName string `protobuf:"bytes,2,opt,name=queue_name,json=queueName,proto3" json:"queue_name,omitempty"`
// contains filtered or unexported fields
}
BuildRequest is the payload process/analyze publishes to the build stage once the request's build scope (BuildStrategy/BaseURI) has been decided: only the request id travels on the queue. build reloads the full Request from storage by this id (producer and consumer share the store, so the id is enough and redelivery stays idempotent). See doc/rfc/stovepipe/steps/build.md.
func (*BuildRequest) Descriptor
deprecated
func (*BuildRequest) Descriptor() ([]byte, []int)
Deprecated: Use BuildRequest.ProtoReflect.Descriptor instead.
func (*BuildRequest) GetId ¶
func (x *BuildRequest) GetId() string
func (*BuildRequest) GetQueueName ¶
func (x *BuildRequest) GetQueueName() string
func (*BuildRequest) ProtoMessage ¶
func (*BuildRequest) ProtoMessage()
func (*BuildRequest) ProtoReflect ¶
func (x *BuildRequest) ProtoReflect() protoreflect.Message
func (*BuildRequest) Reset ¶
func (x *BuildRequest) Reset()
func (*BuildRequest) String ¶
func (x *BuildRequest) String() string
type BuildSignal ¶
type BuildSignal struct {
// id is the build id to poll: the runner-assigned id minted by
// BuildRunner.Trigger (entity.Build.ID / entity.BuildID.ID).
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// queue_name is the name of the queue processing the batch's request,
// carried so the consumer can route by queue without loading state first.
// Empty on payloads written before the field existed.
QueueName string `protobuf:"bytes,2,opt,name=queue_name,json=queueName,proto3" json:"queue_name,omitempty"`
// contains filtered or unexported fields
}
BuildSignal is the payload build publishes to the buildsignal stage, and buildsignal re-publishes to itself while polling: only the build id travels on the queue. buildsignal reloads the full Build from storage by this id (producer and consumer share the store, so the id is enough and redelivery stays idempotent). See doc/rfc/stovepipe/steps/buildsignal.md.
func (*BuildSignal) Descriptor
deprecated
func (*BuildSignal) Descriptor() ([]byte, []int)
Deprecated: Use BuildSignal.ProtoReflect.Descriptor instead.
func (*BuildSignal) GetId ¶
func (x *BuildSignal) GetId() string
func (*BuildSignal) GetQueueName ¶
func (x *BuildSignal) GetQueueName() string
func (*BuildSignal) ProtoMessage ¶
func (*BuildSignal) ProtoMessage()
func (*BuildSignal) ProtoReflect ¶
func (x *BuildSignal) ProtoReflect() protoreflect.Message
func (*BuildSignal) Reset ¶
func (x *BuildSignal) Reset()
func (*BuildSignal) String ¶
func (x *BuildSignal) String() string
type FixRequest ¶
type FixRequest struct {
// queue_name is the required queue namespace of the build.
QueueName string `protobuf:"bytes,2,opt,name=queue_name,json=queueName,proto3" json:"queue_name,omitempty"`
// id is the opaque runner-assigned build identifier.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
FixRequest identifies a persisted build whose issues should be considered for repair.
func (*FixRequest) Descriptor
deprecated
func (*FixRequest) Descriptor() ([]byte, []int)
Deprecated: Use FixRequest.ProtoReflect.Descriptor instead.
func (*FixRequest) GetId ¶
func (x *FixRequest) GetId() string
func (*FixRequest) GetQueueName ¶
func (x *FixRequest) GetQueueName() string
func (*FixRequest) ProtoMessage ¶
func (*FixRequest) ProtoMessage()
func (*FixRequest) ProtoReflect ¶
func (x *FixRequest) ProtoReflect() protoreflect.Message
func (*FixRequest) Reset ¶
func (x *FixRequest) Reset()
func (*FixRequest) String ¶
func (x *FixRequest) String() string
type IssueTrack ¶
type IssueTrack struct {
// queue_name identifies the validation queue.
QueueName string `protobuf:"bytes,2,opt,name=queue_name,json=queueName,proto3" json:"queue_name,omitempty"`
// request_id identifies a validation tracked until finalization or abandonment.
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
IssueTrack tracks one validation through its final issue reconciliation. Register in admission order before build dispatch; partition by queue.
func (*IssueTrack) Descriptor
deprecated
func (*IssueTrack) Descriptor() ([]byte, []int)
Deprecated: Use IssueTrack.ProtoReflect.Descriptor instead.
func (*IssueTrack) GetQueueName ¶
func (x *IssueTrack) GetQueueName() string
func (*IssueTrack) GetRequestId ¶
func (x *IssueTrack) GetRequestId() string
func (*IssueTrack) ProtoMessage ¶
func (*IssueTrack) ProtoMessage()
func (*IssueTrack) ProtoReflect ¶
func (x *IssueTrack) ProtoReflect() protoreflect.Message
func (*IssueTrack) Reset ¶
func (x *IssueTrack) Reset()
func (*IssueTrack) String ¶
func (x *IssueTrack) String() string
type PeriodicMetrics ¶
type PeriodicMetrics struct {
// queue_name is the queue whose health is sampled.
QueueName string `protobuf:"bytes,1,opt,name=queue_name,json=queueName,proto3" json:"queue_name,omitempty"`
// contains filtered or unexported fields
}
PeriodicMetrics identifies a recurring queue-health observation.
func (*PeriodicMetrics) Descriptor
deprecated
func (*PeriodicMetrics) Descriptor() ([]byte, []int)
Deprecated: Use PeriodicMetrics.ProtoReflect.Descriptor instead.
func (*PeriodicMetrics) GetQueueName ¶
func (x *PeriodicMetrics) GetQueueName() string
func (*PeriodicMetrics) ProtoMessage ¶
func (*PeriodicMetrics) ProtoMessage()
func (*PeriodicMetrics) ProtoReflect ¶
func (x *PeriodicMetrics) ProtoReflect() protoreflect.Message
func (*PeriodicMetrics) Reset ¶
func (x *PeriodicMetrics) Reset()
func (*PeriodicMetrics) String ¶
func (x *PeriodicMetrics) String() string
type ProcessRequest ¶
type ProcessRequest struct {
// id is the minted request id to process. Canonical positive decimal string; queue is carried separately.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// queue_name is the name of the queue processing the request, carried so
// the consumer can route by queue without loading state first. Empty on
// payloads written before the field existed.
QueueName string `protobuf:"bytes,2,opt,name=queue_name,json=queueName,proto3" json:"queue_name,omitempty"`
// contains filtered or unexported fields
}
ProcessRequest is the payload ingest publishes to the process stage once it has accepted a new head: only the minted request id travels on the queue. process reloads the full Request from storage by this id (producer and consumer share the store, so the id is enough and redelivery stays idempotent).
func (*ProcessRequest) Descriptor
deprecated
func (*ProcessRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProcessRequest.ProtoReflect.Descriptor instead.
func (*ProcessRequest) GetId ¶
func (x *ProcessRequest) GetId() string
func (*ProcessRequest) GetQueueName ¶
func (x *ProcessRequest) GetQueueName() string
func (*ProcessRequest) ProtoMessage ¶
func (*ProcessRequest) ProtoMessage()
func (*ProcessRequest) ProtoReflect ¶
func (x *ProcessRequest) ProtoReflect() protoreflect.Message
func (*ProcessRequest) Reset ¶
func (x *ProcessRequest) Reset()
func (*ProcessRequest) String ¶
func (x *ProcessRequest) String() string
type ProjectAnalysis ¶
type ProjectAnalysis struct {
// id is the canonical positive decimal request ID within the queue.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// queue_name identifies the configured validation queue.
QueueName string `protobuf:"bytes,2,opt,name=queue_name,json=queueName,proto3" json:"queue_name,omitempty"`
// contains filtered or unexported fields
}
ProjectAnalysis requests project-status resolution and issue attribution. Partitioned by request ID.
func (*ProjectAnalysis) Descriptor
deprecated
func (*ProjectAnalysis) Descriptor() ([]byte, []int)
Deprecated: Use ProjectAnalysis.ProtoReflect.Descriptor instead.
func (*ProjectAnalysis) GetId ¶
func (x *ProjectAnalysis) GetId() string
func (*ProjectAnalysis) GetQueueName ¶
func (x *ProjectAnalysis) GetQueueName() string
func (*ProjectAnalysis) ProtoMessage ¶
func (*ProjectAnalysis) ProtoMessage()
func (*ProjectAnalysis) ProtoReflect ¶
func (x *ProjectAnalysis) ProtoReflect() protoreflect.Message
func (*ProjectAnalysis) Reset ¶
func (x *ProjectAnalysis) Reset()
func (*ProjectAnalysis) String ¶
func (x *ProjectAnalysis) String() string
type Record ¶
type Record struct {
// id is the request id whose build reached a terminal status. Format:
// a canonical positive decimal string (entity.Request.ID).
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// queue_name is the name of the queue processing the request, carried so
// the consumer can route by queue without loading state first. Empty on
// payloads written before the field existed.
QueueName string `protobuf:"bytes,2,opt,name=queue_name,json=queueName,proto3" json:"queue_name,omitempty"`
// contains filtered or unexported fields
}
Record identifies a terminal request whose repository outcome can be recorded. Project analysis publishes normal outcomes; cancellation bypasses analysis.
func (*Record) Descriptor
deprecated
func (*Record) GetQueueName ¶
func (*Record) ProtoMessage ¶
func (*Record) ProtoMessage()
func (*Record) ProtoReflect ¶
func (x *Record) ProtoReflect() protoreflect.Message