Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( BuildConfigNodeKind = reflect.TypeOf(buildapi.BuildConfig{}).Name() BuildNodeKind = reflect.TypeOf(buildapi.Build{}).Name() // non-api types SourceRepositoryNodeKind = reflect.TypeOf(buildapi.BuildSource{}).Name() )
Functions ¶
func BuildConfigNodeName ¶
func BuildConfigNodeName(o *buildapi.BuildConfig) osgraph.UniqueName
func BuildNodeName ¶
func BuildNodeName(o *buildapi.Build) osgraph.UniqueName
func SourceRepositoryNodeName ¶
func SourceRepositoryNodeName(source buildapi.BuildSource) osgraph.UniqueName
Types ¶
type BuildConfigNode ¶
type BuildConfigNode struct { osgraph.Node BuildConfig *buildapi.BuildConfig }
func EnsureBuildConfigNode ¶
func EnsureBuildConfigNode(g osgraph.MutableUniqueGraph, config *buildapi.BuildConfig) *BuildConfigNode
EnsureBuildConfigNode adds a graph node for the specific build config if it does not exist
func (*BuildConfigNode) Kind ¶
func (*BuildConfigNode) Kind() string
func (BuildConfigNode) Object ¶
func (n BuildConfigNode) Object() interface{}
func (BuildConfigNode) ResourceString ¶ added in v1.0.2
func (n BuildConfigNode) ResourceString() string
func (BuildConfigNode) String ¶
func (n BuildConfigNode) String() string
type BuildNode ¶
func EnsureBuildNode ¶
func EnsureBuildNode(g osgraph.MutableUniqueGraph, build *buildapi.Build) *BuildNode
EnsureBuildNode adds a graph node for the build if it does not already exist.
func (BuildNode) ResourceString ¶ added in v1.0.2
type SourceRepositoryNode ¶
type SourceRepositoryNode struct { osgraph.Node Source buildapi.BuildSource }
func EnsureSourceRepositoryNode ¶
func EnsureSourceRepositoryNode(g osgraph.MutableUniqueGraph, source buildapi.BuildSource) *SourceRepositoryNode
EnsureSourceRepositoryNode adds the specific BuildSource to the graph if it does not already exist.
func (SourceRepositoryNode) Kind ¶
func (SourceRepositoryNode) Kind() string
func (SourceRepositoryNode) String ¶
func (n SourceRepositoryNode) String() string
Click to show internal directories.
Click to hide internal directories.