buildchain

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2015 License: Apache-2.0 Imports: 14 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 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 ImageRepo

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

ImageRepo is a representation of a node inside a tree

func (*ImageRepo) String

func (root *ImageRepo) 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