graph

package
v0.0.0-...-7cc3570 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Graph

type Graph struct {
	// contains filtered or unexported fields
}

Graph represents a graph of k8s resources

func NewGraph

func NewGraph(res *resources.Resources, dir string) *Graph

NewGraph returns a Graph of k8s resources

func (*Graph) PlotDotFile

func (g *Graph) PlotDotFile(outFile, outType string) error

PlotDotFile plots the graph to outFile with outType format

func (*Graph) WriteDotFile

func (g *Graph) WriteDotFile(outFile string) error

WriteDotFile writes the graph to outFile with dot format

Jump to

Keyboard shortcuts

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