vendortool

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2017 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GovendorPackage

type GovendorPackage struct {
	Origin       string `json:"oriin,omitempty"`
	Path         string `json:"path,omitempty"`
	Revision     string `json:"revision,omitempty"`
	RevisionTime string `json:"revisionTime,omitempty"`
	Comment      string `json:"comment,omitempty"`
}

func (*GovendorPackage) ArchiveFileName

func (g *GovendorPackage) ArchiveFileName() string

func (*GovendorPackage) PackagePath

func (g *GovendorPackage) PackagePath() string

type GovendorVendorTool added in v0.5.0

type GovendorVendorTool struct {
	Packages []GovendorPackage `json:"package,omitempty"`
}

func (*GovendorVendorTool) Dependencies added in v0.5.0

func (g *GovendorVendorTool) Dependencies() []PackageDepencency

func (*GovendorVendorTool) LoadFile added in v0.5.0

func (g *GovendorVendorTool) LoadFile(project *domain.Project) error

type PackageDepencency

type PackageDepencency interface {
	ArchiveFileName() string
	PackagePath() string
}

type VendorTool

type VendorTool interface {
	LoadFile(project *domain.Project) error
	Dependencies() []PackageDepencency
}

Jump to

Keyboard shortcuts

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