Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrUnknownBuildPhase is returned for WaitForRunningBuild if an unknown phase is returned. ErrUnknownBuildPhase = fmt.Errorf("unknown build phase") ErrBuildDeleted = fmt.Errorf("build was deleted") )
Functions ¶
func WaitForRunningBuild ¶
func WaitForRunningBuild(buildClient buildtypedclient.BuildsGetter, buildNamespace, buildName string, timeout time.Duration) (*buildv1.Build, bool, error)
WaitForRunningBuild waits until the specified build is no longer New or Pending. Returns true if the build ran within timeout, false if it did not, and an error if any other error state occurred. The last observed Build state is returned.
Types ¶
type ErrWatchError ¶
type ErrWatchError struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.