Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterDefaultConfig ¶
func RegisterDefaultConfig(data []byte)
Types ¶
type BaseConfig ¶
type Config ¶
type Config struct {
BaseConfig
Optional OptionalConfig `json:"optional"`
Repo RepoConfig `json:"repo"`
Origin OriginConfig `json:"origin"`
}
type OptionalConfig ¶
type OptionalConfig struct {
UI bool `json:"ui"`
Dedup bool `json:"dedup"`
DirOnly bool `json:"dir"`
VulnOnly bool `json:"vuln"`
SaveDev bool `json:"dev"`
ProgressBar bool `json:"progress"`
TLSVerify bool `json:"tls"`
Proxy string `json:"proxy"`
Dynamic bool `json:"dynamic"`
Ignore []string `json:"ignore"`
}
type OriginConfig ¶
type RepoConfig ¶
type RepoConfig struct {
Maven []common.RepoConfig `json:"maven"`
Npm []common.RepoConfig `json:"npm"`
Composer []common.RepoConfig `json:"composer"`
}
Click to show internal directories.
Click to hide internal directories.