util

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildStepsToDAG

func BuildStepsToDAG(steps []*cloudbuild.BuildStep) *cgraph.Graph

BuildStepsToDAG takes the list of build steps and build a directed acyclic graph

func Contains

func Contains(s []string, e string) bool

Contains will check if the string array contains the target string

func ParseYaml

func ParseYaml(filePath string) (*cloudbuild.Build, error)

ParseYaml takes a string of file path and returns the cloud build object

func SaveGraph

func SaveGraph(graph *cgraph.Graph, filename string) error

SaveGraph is a high level API to save the graph

func Visualize

func Visualize(graph *cgraph.Graph) error

Visualize is a high level API to show the graph

Types

This section is empty.

Jump to

Keyboard shortcuts

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