Documentation ¶
Index ¶
- type BusSetup
- func (bs *BusSetup) Close(ctx context.Context) error
- func (bs *BusSetup) DumpManifestToFile(path string) error
- func (bs *BusSetup) LogStreamerStarted() bool
- func (bs *BusSetup) SetCI(isCI bool)
- func (bs *BusSetup) SetDefaultPlatform(platform string)
- func (bs *BusSetup) SetGitAuthor(gitAuthor, gitCommitEmail string)
- func (bs *BusSetup) SetOrgAndProject(orgName, projectName string)
- func (bs *BusSetup) StartLogStreamer(c *cloud.Client)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BusSetup ¶
type BusSetup struct { Bus *logbus.Bus ConsoleWriter *writersub.WriterSub Formatter *formatter.Formatter SolverMonitor *solvermon.SolverMonitor BusDebugWriter *writersub.RawWriterSub LogStreamer *ship.LogShipper InitialManifest *logstream.RunManifest // contains filtered or unexported fields }
BusSetup is a helper for setting up a logbus.Bus.
func New ¶
func New(ctx context.Context, bus *logbus.Bus, debug, verbose, displayStats, forceColor, noColor, disableOngoingUpdates bool, busDebugFile, buildID string, execStatsTracker *execstatssummary.Tracker, isGitHubActions bool) (*BusSetup, error)
New creates a new BusSetup.
func (*BusSetup) DumpManifestToFile ¶ added in v0.7.0
DumpManifestToFile dumps the manifest to the given file.
func (*BusSetup) LogStreamerStarted ¶ added in v0.7.5
LogStreamerStarted returns true if the log streamer has been started.
func (*BusSetup) SetCI ¶ added in v0.8.4
SetCI tracks whether this build is being run in a CI environment.
func (*BusSetup) SetDefaultPlatform ¶ added in v0.7.0
SetDefaultPlatform sets the default platform of the build.
func (*BusSetup) SetGitAuthor ¶ added in v0.8.4
SetGitAuthor records the Git author information on the initial manifest.
func (*BusSetup) SetOrgAndProject ¶ added in v0.7.0
SetOrgAndProject sets the org and project for the manifest.
func (*BusSetup) StartLogStreamer ¶
StartLogStreamer starts a LogStreamer for the given build. The LogStreamer streams logs to the cloud.
Click to show internal directories.
Click to hide internal directories.