package
4.1.0+incompatible
Repository: https://github.com/openshift/origin.git
Documentation: pkg.go.dev
# Functions
AddAllBuildEdges adds build edges to all BuildConfig nodes in the given graph.
AddAllInputOutputEdges adds input and output edges for all BuildConfigs in the given graph.
AddBuildEdges adds edges that connect a BuildConfig to Builds to the given graph.
AddInputEdges links the build config to its input image and source nodes.
AddInputOutputEdges links the build config to other nodes for the images and source repositories it depends on.
AddOutputEdges links the build config to its output image node.
AddTriggerEdges links the build config to its trigger input image nodes.
BuildConfigsForTag returns the buildConfig that points to the provided imageStreamTag.
GetLatestBuild returns the latest build for the provided buildConfig.
RelevantBuilds returns the lastSuccessful build, lastUnsuccessful build, and a list of active builds.
# Constants
BuildEdgeKind goes from a BuildConfigNode to a BuildNode and indicates that the buildConfig owns the build.
BuildInputEdgeKind is an edge from a source repository to a BuildConfig.
BuildInputImageEdgeKind is an edge from an ImageStream to a BuildConfig, where the ImageStream is the source image for the build (builder in S2I builds, FROM in Docker builds, custom builder in Custom builds).
BuildOutputEdgeKind is an edge from a BuildConfig to an ImageStream.
BuildTriggerImageEdgeKind is an edge from an ImageStream to a BuildConfig that represents a trigger connection.