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: 0

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

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

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

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