service

package
v0.0.0-...-66c703a Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dep

type Dep struct {
	From From
	To   To
}

type From

type From string

type Instance

type Instance struct {
	// contains filtered or unexported fields
}

func New

func New() *Instance

func (Instance) Log

func (i Instance) Log() *logrus.Logger

func (Instance) NewScanOpts

func (i Instance) NewScanOpts() Opts

func (Instance) ReadStdIn

func (i Instance) ReadStdIn() string

func (Instance) Scan

func (i Instance) Scan(goModOutput string, opts Opts) (*Result, error)

func (Instance) ScanFile

func (i Instance) ScanFile(fileName string, opts Opts) (*Result, error)

type Opts

type Opts struct {
	Target Target
}

func (Opts) Validate

func (o Opts) Validate() error

type Result

type Result struct {
	Query Opts
	Chain []Dep
}

func (Result) String

func (res Result) String() string

type Target

type Target string

type To

type To string

Jump to

Keyboard shortcuts

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