dep

package
v0.0.0-...-160fd46 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2018 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

View Source
const LockName = "Gopkg.lock"

LockName is the lock file name used by dep.

View Source
const ManifestName = "Gopkg.toml"

ManifestName is the manifest file name used by dep.

Variables

View Source
var DepParser depParser

DepParser -

Functions

This section is empty.

Types

type Lock

type Lock struct {
	SolveMeta Meta            `toml:"solve-meta" json:"solve-meta"`
	Projects  []LockedProject `toml:"projects" json:"projects"`
}

The Lock struct from dep.

https://raw.githubusercontent.com/golang/dep/master/lock.go

Lock represents a Gopkg.lock file.

func (*Lock) Repos

func (l *Lock) Repos() []string

Repos -

type LockedProject

type LockedProject struct {
	Name      string   `toml:"name" json:"name"`
	Branch    string   `toml:"branch,omitempty" json:"branch,omitempty"`
	Revision  string   `toml:"revision" json:"revision"`
	Version   string   `toml:"version,omitempty" json:"version,omitempty"`
	Source    string   `toml:"source,omitempty" json:"source,omitempty"`
	Packages  []string `toml:"packages" json:"packages"`
	PruneOpts string   `toml:"pruneopts" json:"pruneopts"`
	Digest    string   `toml:"digest" json:"digest"`
}

LockedProject -

type Manifest

type Manifest struct {
	Constraints  []Project    `toml:"constraint,omitempty" json:"constraint,omitempty"`
	Overrides    []Project    `toml:"override,omitempty" json:"override,omitempty"`
	Ignored      []string     `toml:"ignored,omitempty" json:"ignored,omitempty"`
	Required     []string     `toml:"required,omitempty" json:"required,omitempty"`
	NoVerify     []string     `toml:"noverify,omitempty" json:"noverify,omitempty"`
	PruneOptions PruneOptions `toml:"prune,omitempty" json:"prune,omitempty"`
}

The Manifest struct from dep.

https://raw.githubusercontent.com/golang/dep/master/manifest.go

Manifest represents a Gopkg.toml file.

func (*Manifest) Deps

func (m *Manifest) Deps() []string

Deps -

type Meta

type Meta struct {
	AnalyzerName    string   `toml:"analyzer-name" json:"analyzer-name"`
	AnalyzerVersion int      `toml:"analyzer-version" json:"analyzer-version"`
	SolverName      string   `toml:"solver-name" json:"solver-name"`
	SolverVersion   int      `toml:"solver-version" json:"solver-version"`
	InputImports    []string `toml:"input-imports" json:"input-imports"`
}

Meta -

type Project

type Project struct {
	Name     string `toml:"name" json:"name"`
	Branch   string `toml:"branch,omitempty" json:"branch,omitempty"`
	Revision string `toml:"revision,omitempty" json:"revision,omitempty"`
	Version  string `toml:"version,omitempty" json:"version,omitempty"`
	Source   string `toml:"source,omitempty" json:"source,omitempty"`
}

Project -

type PruneOptions

type PruneOptions struct {
	UnusedPackages bool `toml:"unused-packages,omitempty" json:"unused-packages,omitempty"`
	NonGoFiles     bool `toml:"non-go,omitempty" json:"non-go,omitempty"`
	GoTests        bool `toml:"go-tests,omitempty" json:"go-tests,omitempty"`

	//Projects []map[string]interface{} `toml:"project,omitempty"`
	Projects []map[string]interface{}
}

PruneOptions -

Jump to

Keyboard shortcuts

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