Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateGraphCommand ¶
func CreateGraphCommand(p cli.Params, fetcher GraphFetcher) *cobra.Command
func RunGraphCommand ¶
func RunGraphCommand(p cli.Params, opts *GraphOptions, fetcher GraphFetcher, args []string) error
Types ¶
type GraphFetcher ¶
type GraphFetcher interface { GetByName(cs *cli.Clients, name, namespace string) (*Pipeline, error) GetAll(cs *cli.Clients, namespace string) ([]Pipeline, error) }
GraphFetcher is an interface that defines the methods to fetch the Pipeline
type GraphOptions ¶
GraphOptions holds the options for the graph command OutputFormat: dot, puml, mmd OutputDir: the directory to save the output files. Otherwise, the output is printed to the screen WithTaskRef: Include TaskRefName information in the output
Click to show internal directories.
Click to hide internal directories.