Documentation
¶
Index ¶
- Variables
- func IsGoodCommitConclusion(conclusion string) bool
- type Build
- type BuildTarget
- func (bt *BuildTarget) IsCommitCompleted() bool
- func (bt *BuildTarget) IsCommitFailed() bool
- func (bt *BuildTarget) IsCompleted() bool
- func (bt *BuildTarget) IsGoodCommitConclusion() bool
- func (bt *BuildTarget) IsInProgress() bool
- func (bt *BuildTarget) StepInfo(step string) (status, url, conclusion string)
- func (bt *BuildTarget) StepUnion(step string) any
- func (bt *BuildTarget) Steps() []string
- func (bt *BuildTarget) Target() stainless.Target
Constants ¶
This section is empty.
Variables ¶
View Source
var GOOD_COMMIT_CONCLUSIONS = []string{"error", "warning", "note", "success"}
Functions ¶
func IsGoodCommitConclusion ¶
Types ¶
type Build ¶
Build wraps stainless.Build to provide convenience methods
func (*Build) BuildTarget ¶
func (b *Build) BuildTarget(target stainless.Target) *BuildTarget
BuildTarget returns the build target wrapper for a given target type, replacing getBuildTarget
func (*Build) IsCompleted ¶
IsCompleted checks if the entire build is completed (all targets)
type BuildTarget ¶
type BuildTarget struct {
*stainless.BuildTarget
// contains filtered or unexported fields
}
BuildTarget wraps stainless.BuildTarget to provide convenience methods
func NewBuildTarget ¶
func NewBuildTarget(buildTarget *stainless.BuildTarget, target stainless.Target) *BuildTarget
NewBuildTarget creates a new BuildTarget wrapper
func (*BuildTarget) IsCommitCompleted ¶
func (bt *BuildTarget) IsCommitCompleted() bool
func (*BuildTarget) IsCommitFailed ¶
func (bt *BuildTarget) IsCommitFailed() bool
func (*BuildTarget) IsCompleted ¶
func (bt *BuildTarget) IsCompleted() bool
func (*BuildTarget) IsGoodCommitConclusion ¶
func (bt *BuildTarget) IsGoodCommitConclusion() bool
func (*BuildTarget) IsInProgress ¶
func (bt *BuildTarget) IsInProgress() bool
func (*BuildTarget) StepInfo ¶
func (bt *BuildTarget) StepInfo(step string) (status, url, conclusion string)
StepInfo extracts status, url, and conclusion from a step union
func (*BuildTarget) StepUnion ¶
func (bt *BuildTarget) StepUnion(step string) any
StepUnion returns the step union for a given step name
func (*BuildTarget) Steps ¶
func (bt *BuildTarget) Steps() []string
Steps returns all available steps for this build target
func (*BuildTarget) Target ¶
func (bt *BuildTarget) Target() stainless.Target
Target returns the target type (node, python, etc.)
Click to show internal directories.
Click to hide internal directories.