Documentation ¶
Index ¶
Constants ¶
View Source
const (
DependencyDirName = ".dep"
)
View Source
const (
RAMLExt = ".raml"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CachedDependencyInfo ¶ added in v0.17.0
type DependencyManager ¶ added in v0.14.0
type DependencyManager 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 ¶ added in v0.14.0
func New(options ...Option) (DependencyManager, error)
type Option ¶ added in v0.17.0
type Option func(*dependencyManager)
func WithPackagesCache ¶ added in v0.20.0
func WithStorage ¶ added in v0.21.0
type PackageIntegrityInfo ¶ added in v0.20.0
type PackageIntegrityInfo struct { Source string `json:"Source"` Version string `json:"Version"` Hash string `json:"Hash"` }
type SourceIntegrityInfo ¶ added in v0.17.0
type SourceIntegrityInfo struct { Version string `json:"Version"` Time string `json:"Time"` Origin storage.Origin `json:"Origin"` }
Click to show internal directories.
Click to hide internal directories.