Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdGraph ¶
func NewCmdGraph(streams genericiooptions.IOStreams) *cobra.Command
NewCmdGraph creates the `kusion resource graph` command.
Types ¶
type GraphFlags ¶
type GraphFlags struct { Project *string Workspace *[]string Backend *string All bool Output string }
GraphFlags reflects the information that CLI is gathering via flags, which will be converted into GraphOptions.
func (*GraphFlags) AddFlags ¶
func (f *GraphFlags) AddFlags(cmd *cobra.Command)
AddFlags registers flags for the CLI.
func (*GraphFlags) ToOptions ¶
func (f *GraphFlags) ToOptions() (*GraphOptions, error)
ToOptions converts from CLI inputs to runtime inputs.
type GraphOptions ¶
type GraphOptions struct { Project string Workspace []string GraphStorage map[string]graph.Storage Output string }
GraphOptions defines the configuration parameters for the `kusion release graph` command.
func (*GraphOptions) Run ¶
func (o *GraphOptions) Run() error
Run executes the `kusion resource graph` command.
Click to show internal directories.
Click to hide internal directories.