Documentation
¶
Index ¶
- Variables
- func PullOutput(output, url, ref, targetDir string, targetGroup *console.Group) error
- func View(build stainless.Build, downloads map[stainless.Target]DownloadStatus) string
- func ViewBuildPipeline(build stainless.Build, target stainless.Target, ...) string
- func ViewStepSymbol(status, conclusion string) string
- type DownloadMsg
- type DownloadStatus
- type ErrorMsg
- type FetchBuildMsg
- type Model
- type TickMsg
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUserCancelled = errors.New("user cancelled")
Functions ¶
func PullOutput ¶
PullOutput handles downloading or cloning a build target output
func ViewBuildPipeline ¶
func ViewBuildPipeline(build stainless.Build, target stainless.Target, downloads map[stainless.Target]DownloadStatus) string
View renders the build pipeline for a target
func ViewStepSymbol ¶
ViewStepSymbol returns a colored symbol for a build step status
Types ¶
type DownloadMsg ¶
type DownloadStatus ¶
type FetchBuildMsg ¶
type Model ¶
type Model struct {
stainless.Build // Current build. This component will keep fetching it until the build is completed. A zero value is permitted.
Client stainless.Client
Ctx context.Context
Downloads map[stainless.Target]DownloadStatus // When a BuildTarget has a commit available, this target will download it, if it has been specified in the initialization.
Err error // This will be populated if the model concludes with an error
}
Click to show internal directories.
Click to hide internal directories.