Documentation ¶
Index ¶
Constants ¶
View Source
const ( AppEnvironVar = "CTIROOT" AppUserDir = ".cti" )
View Source
const (
RAMLExt = ".raml"
)
Variables ¶
This section is empty.
Functions ¶
func GetCtiPackagesCacheDir ¶
func GetRootDir ¶
Types ¶
type CachedDependencyInfo ¶
type PackageIntegrityInfo ¶
type PackageIntegrityInfo struct { Source string `json:"Source"` Version string `json:"Version"` Hash string `json:"Hash"` }
type PackageManager ¶
type PackageManager interface { // Add new dependencies to index.lock Add(pkg *ctipackage.Package, depends map[string]string) error // Install dependencies from index.lock Install(pkg *ctipackage.Package) error // Download dependencies and their sub-dependencies Download(depends map[string]string) ([]CachedDependencyInfo, error) }
func New ¶
func New(options ...Option) (PackageManager, error)
Click to show internal directories.
Click to hide internal directories.