Documentation ¶
Index ¶
- func NewCmdAnalyzeImports(parent string, out, errout io.Writer) *cobra.Command
- func NewCmdDepCheck(name string, out, errout io.Writer) *cobra.Command
- func NewCmdPinImports(parent string, out, errout io.Writer) *cobra.Command
- func NewCmdTraceImports(parent string, out, errout io.Writer) *cobra.Command
- type AnalyzeFlags
- type AnalyzeOptions
- type PinImportsFlags
- type PinImportsOpts
- type TraceFlags
- type TraceOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdAnalyzeImports ¶
Types ¶
type AnalyzeFlags ¶
type AnalyzeFlags struct { GraphFlags *graph.GraphFlags Dependencies []string }
func (*AnalyzeFlags) ToOptions ¶
func (o *AnalyzeFlags) ToOptions(out, errout io.Writer) (*AnalyzeOptions, error)
type AnalyzeOptions ¶
type AnalyzeOptions struct { GraphOptions *graph.GraphOptions // Packages to analyze Dependencies []string Out io.Writer ErrOut io.Writer }
func (*AnalyzeOptions) Complete ¶
func (o *AnalyzeOptions) Complete() error
func (*AnalyzeOptions) Run ¶
func (o *AnalyzeOptions) Run() error
func (*AnalyzeOptions) Validate ¶
func (o *AnalyzeOptions) Validate() error
type PinImportsFlags ¶
func (*PinImportsFlags) ToOptions ¶
func (o *PinImportsFlags) ToOptions(out, errout io.Writer) (*PinImportsOpts, error)
type PinImportsOpts ¶
type PinImportsOpts struct { LockFile *glide.LockFile YamlFile *glide.YamlFile ExistingGlideYamlContent []byte Out io.Writer ErrOut io.Writer }
func (*PinImportsOpts) Run ¶
func (o *PinImportsOpts) Run() error
func (*PinImportsOpts) Validate ¶
func (o *PinImportsOpts) Validate() error
type TraceFlags ¶
type TraceFlags struct { GraphFlags *depgraph.GraphFlags OutputFormat string }
func (*TraceFlags) ToOptions ¶
func (o *TraceFlags) ToOptions(out, errout io.Writer) (*TraceOptions, error)
type TraceOptions ¶
type TraceOptions struct { GraphOptions *depgraph.GraphOptions OutputFormat string Out io.Writer ErrOut io.Writer // contains filtered or unexported fields }
func (*TraceOptions) Complete ¶
func (o *TraceOptions) Complete() error
func (*TraceOptions) Run ¶
func (o *TraceOptions) Run() error
Run creates a dependency graph using user-specified options. Outputs graph contents in the format specified.
func (*TraceOptions) Validate ¶
func (o *TraceOptions) Validate() error
Click to show internal directories.
Click to hide internal directories.