graphutil

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGraphCommand

func NewGraphCommand(p cli.Params, runE func(cmd *cobra.Command, args []string, p cli.Params, opts *GraphOptions) error) *cobra.Command

func RunGraphCommand

func RunGraphCommand(cmd *cobra.Command, args []string, p cli.Params, opts *GraphOptions, fetcher GraphFetcher) error

Types

type GraphData

type GraphData struct {
	Name string
	Spec v1.PipelineSpec
}

type GraphFetcher

type GraphFetcher func(cs *cli.Clients, name []string, namespace string) ([]GraphData, error)

type GraphOptions

type GraphOptions struct {
	OutputFormat string
	OutputDir    string
	WithTaskRef  bool
}

Jump to

Keyboard shortcuts

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