vendortool

package
v0.9.2-DEV Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2017 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DepPackage added in v0.8.0

type DepPackage struct {
	Name     string `toml:"name,omitempty"`
	Revision string `toml:"revision,omitempty"`
}

func (*DepPackage) ArchiveFileName added in v0.8.0

func (g *DepPackage) ArchiveFileName() string

func (*DepPackage) PackagePath added in v0.8.0

func (g *DepPackage) PackagePath() string

type DepVendorTool added in v0.8.0

type DepVendorTool struct {
	Imports []DepPackage `toml:"projects,omitempty"`
}

func (*DepVendorTool) Dependencies added in v0.8.0

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

func (*DepVendorTool) LoadFile added in v0.8.0

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

func (*DepVendorTool) Name added in v0.8.0

func (g *DepVendorTool) Name() string

func (*DepVendorTool) VendorFileExists added in v0.8.0

func (g *DepVendorTool) VendorFileExists(project *domain.Project) bool

type GlidePackage added in v0.8.0

type GlidePackage struct {
	Name    string `yaml:"name,omitempty"`
	Version string `yaml:"version,omitempty"`
}

func (*GlidePackage) ArchiveFileName added in v0.8.0

func (g *GlidePackage) ArchiveFileName() string

func (*GlidePackage) PackagePath added in v0.8.0

func (g *GlidePackage) PackagePath() string

type GlideVendorTool added in v0.8.0

type GlideVendorTool struct {
	Imports     []GlidePackage `yaml:"imports,omitempty"`
	TestImports []GlidePackage `yaml:"testImports,omitempty"`
}

func (*GlideVendorTool) Dependencies added in v0.8.0

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

func (*GlideVendorTool) LoadFile added in v0.8.0

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

func (*GlideVendorTool) Name added in v0.8.0

func (g *GlideVendorTool) Name() string

func (*GlideVendorTool) VendorFileExists added in v0.8.0

func (g *GlideVendorTool) VendorFileExists(project *domain.Project) bool

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

func (*GovendorVendorTool) Name added in v0.8.0

func (g *GovendorVendorTool) Name() string

func (*GovendorVendorTool) VendorFileExists added in v0.8.0

func (g *GovendorVendorTool) VendorFileExists(project *domain.Project) bool

type PackageDepencency

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

type VendorTool

type VendorTool interface {
	Name() string
	VendorFileExists(project *domain.Project) bool
	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