cmd

package
v3.11.0-alpha.0+incomp... Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2018 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdAnalyzeImports

func NewCmdAnalyzeImports(parent string, out, errout io.Writer) *cobra.Command

func NewCmdDepCheck

func NewCmdDepCheck(name string, out, errout io.Writer) *cobra.Command

func NewCmdPinImports

func NewCmdPinImports(parent string, out, errout io.Writer) *cobra.Command

func NewCmdTraceImports

func NewCmdTraceImports(parent string, out, errout io.Writer) *cobra.Command

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

type PinImportsFlags struct {
	LockFileName string
	YamlFileName string
}

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

Jump to

Keyboard shortcuts

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