Documentation ¶
Index ¶
Constants ¶
View Source
const ( GITHUB = "github" WHISK_SYSTEM = "whisk.system" )
Variables ¶
This section is empty.
Functions ¶
func CompareDependencyRecords ¶
func CompareDependencyRecords(d1 DependencyRecord, d2 DependencyRecord) bool
func LocationIsBinding ¶
func LocationIsGithub ¶
Types ¶
type DependencyRecord ¶
type DependencyRecord struct { ProjectPath string //root of the source codes of dependent projects, e.g. src_project_path/Packages Packagename string //name of the package Location string //location Version string //version Parameters whisk.KeyValueArr Annotations whisk.KeyValueArr IsBinding bool BaseRepo string SubFolder string }
func NewDependencyRecord ¶
func NewDependencyRecord(projectPath string, packagename string, location string, version string, parameters whisk.KeyValueArr, annotations whisk.KeyValueArr, isBinding bool) DependencyRecord
type GitReader ¶
type GitReader struct { Name string // the name of the dependency Url string // pkg repo location, e.g. github.com/user/repo //BaseRepo string // base url of the git repo, e.g. github.com/user/repo //SubFolder string // subfolder of the package under BaseUrl Version string ProjectPath string // The root folder of all dependency packages, e.g. src_project_path/Packages // contains filtered or unexported fields }
func NewGitReader ¶
func NewGitReader(projectName string, record DependencyRecord) *GitReader
func (*GitReader) CloneDependency ¶
Click to show internal directories.
Click to hide internal directories.