Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type YamlComponent ¶
type YamlComponent struct {
LocalPath string `yaml:"in"`
}
type YamlComponentName ¶
type YamlComponentName = string
type YamlExcludeLocalPath ¶
type YamlExcludeLocalPath = string
type YamlRules ¶
type YamlRules struct { MayDependOn []YamlComponentName `yaml:"mayDependOn"` CanUse []YamlVendorName `yaml:"canUse"` AnyProjectDeps bool `yaml:"anyProjectDeps"` AnyVendorDeps bool `yaml:"anyVendorDeps"` }
type YamlSpec ¶
type YamlSpec struct { Version int `yaml:"version"` Allow YamlAllow `yaml:"allow"` Vendors map[YamlVendorName]YamlVendor `yaml:"vendors"` Exclude []YamlExcludeLocalPath `yaml:"exclude"` ExcludeFilesRegExp []string `yaml:"excludeFiles"` Components map[YamlComponentName]YamlComponent `yaml:"components"` Dependencies map[YamlComponentName]YamlRules `yaml:"deps"` CommonComponents []YamlComponentName `yaml:"commonComponents"` CommonVendors []YamlVendorName `yaml:"commonVendors"` }
func NewYamlSpec ¶ added in v1.3.0
type YamlVendor ¶
type YamlVendor struct {
ImportPath string `yaml:"in"`
}
type YamlVendorName ¶
type YamlVendorName = string
Click to show internal directories.
Click to hide internal directories.