Documentation ¶
Index ¶
- type BEValues
- func (v *BEValues) AddEvent(event *build_event_stream.BuildEvent)
- func (v *BEValues) Command() string
- func (v *BEValues) CommitSHA() string
- func (v *BEValues) InvocationID() string
- func (v *BEValues) Pattern() string
- func (v *BEValues) RepoURL() string
- func (v *BEValues) Role() string
- func (v *BEValues) WorkspaceIsLoaded() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BEValues ¶
type BEValues struct {
// contains filtered or unexported fields
}
BEValues is an in-memory data structure created for each new stream of build events. Every event in the stream is passed through BEValues, which extracts common values that many functions are interested in. By holding a reference to BEValues, those functions can obtain those common values without duplicating the BES parsing logic.
N.B. Commonly extracted values should be added here. BEValues is held in memory for the life of the stream, so it should not save every single event in full (that data lives in blobstore).
func NewBEValues ¶
func (*BEValues) AddEvent ¶
func (v *BEValues) AddEvent(event *build_event_stream.BuildEvent)
func (*BEValues) InvocationID ¶
func (*BEValues) WorkspaceIsLoaded ¶
Click to show internal directories.
Click to hide internal directories.