graph

package
v1.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2015 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

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

AddInputOutputEdges links the build config to other nodes for the images and source repositories it depends on.

func RelevantBuilds added in v1.0.2

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)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL