buildchain

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: 15 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdBuildChain

func NewCmdBuildChain(f *clientcmd.Factory, parentName, name string) *cobra.Command

NewCmdBuildChain implements the OpenShift experimental build-chain command

func RunBuildChain added in v0.4.3

func RunBuildChain(f *clientcmd.Factory, cmd *cobra.Command, args []string) error

RunBuildChain contains all the necessary functionality for the OpenShift experimental build-chain command

Types

type Edge

type Edge struct {
	FullName string `json:"fullname"`
	To       string `json:"to"`
}

Edge represents a build configuration relationship between two nodes

Note that this type has no relation with the dot.Edge type

func NewEdge

func NewEdge(fullname, to string) *Edge

NewEdge adds a new edge on a parent node

Note that this function has no relation with the dot.Edge type

type Node added in v0.5.1

type Node struct {
	FullName string   `json:"fullname"`
	Tags     []string `json:"tags,omitempty"`
	Edges    []*Edge  `json:"edges,omitempty"`
	Children []*Node  `json:"children,omitempty"`
}

Node is a representation of an image stream inside a tree

func (*Node) String added in v0.5.1

func (root *Node) String() string

String helps in dumping a tree in AST format

Jump to

Keyboard shortcuts

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