lineage

package
v0.21.1 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AllCmd = &cobra.Command{
	Use:   "all",
	Short: "show complete lineage",
	Long: `get the complete lineage graph info. For example:
mim lineage all
`,
	Run: func(cmd *cobra.Command, args []string) {
		showAll(cmd)
	},

	TraverseChildren: true,
}
View Source
var SelectCmd = &cobra.Command{
	Use:   "select",
	Short: "select a dataset to show lineage",
	Long: `Zoom into a single dataset in the lineage graph and only show it with its adjacent nodes. For example:
mim lineage select <datasetName>
`,
	Run: func(cmd *cobra.Command, args []string) {
		if len(args) == 0 {
			cmd.Usage()
			os.Exit(0)
		}
		dataset := args[0]
		showDs(cmd, dataset)
	},

	TraverseChildren: true,
}

Functions

This section is empty.

Types

type LineageRel

type LineageRel struct {
	From string `json:"from"`
	To   string `json:"to"`
	Type string `json:"type"`
}

Jump to

Keyboard shortcuts

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