Documentation
¶
Index ¶
- Constants
- func FindCircularBuilds(g osgraph.Graph, f osgraph.Namer) []osgraph.Marker
- func FindMissingInputImageStreams(g osgraph.Graph, f osgraph.Namer) []osgraph.Marker
- func FindPendingTags(g osgraph.Graph, f osgraph.Namer) []osgraph.Marker
- func FindUnpushableBuildConfigs(g osgraph.Graph, f osgraph.Namer) []osgraph.Marker
Constants ¶
const (
TagNotAvailableWarning = "ImageStreamTagNotAvailable"
LatestBuildFailedErr = "LatestBuildFailed"
MissingRequiredRegistryErr = "MissingRequiredRegistry"
MissingOutputImageStreamErr = "MissingOutputImageStream"
CyclicBuildConfigWarning = "CyclicBuildConfig"
MissingImageStreamTagWarning = "MissingImageStreamTag"
MissingImageStreamImageWarning = "MissingImageStreamImage"
)
Variables ¶
This section is empty.
Functions ¶
func FindCircularBuilds ¶
func FindCircularBuilds(g osgraph.Graph, f osgraph.Namer) []osgraph.Marker
FindCircularBuilds checks all build configs for cycles
func FindMissingInputImageStreams ¶
func FindMissingInputImageStreams(g osgraph.Graph, f osgraph.Namer) []osgraph.Marker
FindMissingInputImageStreams checks all build configs and confirms that their From element exists
Precedence of failures: 1. A build config's input points to an image stream that does not exist 2. A build config's input uses an image stream tag reference in an existing image stream, but no images within the image stream have that tag assigned 3. A build config's input uses an image stream image reference in an exisiting image stream, but no images within the image stream have the supplied image hexadecimal ID
func FindPendingTags ¶
func FindPendingTags(g osgraph.Graph, f osgraph.Namer) []osgraph.Marker
FindPendingTags inspects all imageStreamTags that serve as outputs to builds.
Precedence of failures: 1. A build config points to the non existent tag but no current build exists. 2. A build config points to the non existent tag but the latest build has failed.
func FindUnpushableBuildConfigs ¶
func FindUnpushableBuildConfigs(g osgraph.Graph, f osgraph.Namer) []osgraph.Marker
FindUnpushableBuildConfigs checks all build configs that will output to an IST backed by an ImageStream and checks to make sure their builds can push.
Types ¶
This section is empty.