Documentation ¶
Index ¶
- Constants
- func AddAllBuildEdges(g osgraph.MutableUniqueGraph)
- func AddAllInputOutputEdges(g osgraph.MutableUniqueGraph)
- func AddBuildEdges(g osgraph.MutableUniqueGraph, node *buildgraph.BuildConfigNode)
- func AddInputOutputEdges(g osgraph.MutableUniqueGraph, node *buildgraph.BuildConfigNode) *buildgraph.BuildConfigNode
- func RelevantBuilds(g osgraph.Graph, bcNode *buildgraph.BuildConfigNode) (*buildgraph.BuildNode, *buildgraph.BuildNode, []*buildgraph.BuildNode)
- type RecentBuildReferences
Constants ¶
View Source
const ( BuildInputImageEdgeKind = "BuildInputImage" BuildOutputEdgeKind = "BuildOutput" BuildInputEdgeKind = "BuildInput" // BuildEdgeKind goes from a BuildConfigNode to a BuildNode and indicates that the buildConfig owns the build BuildEdgeKind = "Build" )
Variables ¶
This section is empty.
Functions ¶
func AddAllBuildEdges ¶ added in v1.0.2
func AddAllBuildEdges(g osgraph.MutableUniqueGraph)
func AddAllInputOutputEdges ¶
func AddAllInputOutputEdges(g osgraph.MutableUniqueGraph)
func AddBuildEdges ¶ added in v1.0.2
func AddBuildEdges(g osgraph.MutableUniqueGraph, node *buildgraph.BuildConfigNode)
func AddInputOutputEdges ¶
func AddInputOutputEdges(g osgraph.MutableUniqueGraph, node *buildgraph.BuildConfigNode) *buildgraph.BuildConfigNode
AddInputOutputEdges links the build config to other nodes for the images and source repositories it depends on.
func RelevantBuilds ¶ added in v1.0.2
func RelevantBuilds(g osgraph.Graph, bcNode *buildgraph.BuildConfigNode) (*buildgraph.BuildNode, *buildgraph.BuildNode, []*buildgraph.BuildNode)
RelevantBuilds returns the lastSuccessful build, lastUnsuccesful build, and a list of active builds
Types ¶
type RecentBuildReferences ¶
type RecentBuildReferences []*buildgraph.BuildNode
func (RecentBuildReferences) Len ¶
func (m RecentBuildReferences) Len() int
func (RecentBuildReferences) Less ¶
func (m RecentBuildReferences) Less(i, j int) bool
func (RecentBuildReferences) Swap ¶
func (m RecentBuildReferences) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.