Documentation ¶
Index ¶
- type ModelV3
- type ModelV3Allow
- type ModelV3Component
- type ModelV3ComponentDependencies
- type ModelV3Vendor
- type ModelV4
- type ModelV4Component
- type ModelV4ComponentDependencies
- type ModelV4Exclude
- type ModelV4Settings
- type ModelV4SettingsImports
- type ModelV4SettingsTags
- type ModelV4Vendor
- type Reader
- type TransformContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ModelV3 ¶
type ModelV3 struct { Version int `json:"version"` WorkingDirectory string `json:"workdir"` Allow ModelV3Allow `json:"allow"` ExcludeDirectories []string `json:"exclude"` ExcludeFiles []string `json:"excludeFiles"` Components map[string]ModelV3Component `json:"components"` Vendors map[string]ModelV3Vendor `json:"vendors"` CommonComponents []string `json:"commonComponents"` CommonVendors []string `json:"commonVendors"` Dependencies map[string]ModelV3ComponentDependencies `json:"deps"` }
type ModelV3Allow ¶
type ModelV3Component ¶
type ModelV3Component struct {
In stringList `json:"in"`
}
type ModelV3Vendor ¶
type ModelV3Vendor struct {
In stringList `json:"in"`
}
type ModelV4 ¶
type ModelV4 struct { Version int `json:"version"` WorkingDirectory string `json:"workingDirectory"` Settings ModelV4Settings `json:"settings"` Exclude ModelV4Exclude `json:"exclude"` Components map[string]ModelV4Component `json:"components"` Vendors map[string]ModelV4Vendor `json:"vendors"` CommonComponents []string `json:"commonComponents"` CommonVendors []string `json:"commonVendors"` Dependencies map[string]ModelV4ComponentDependencies `json:"dependencies"` }
type ModelV4Component ¶
type ModelV4Component struct {
In stringList `json:"in"`
}
type ModelV4Exclude ¶
type ModelV4Settings ¶
type ModelV4Settings struct { Imports ModelV4SettingsImports `json:"imports"` Tags ModelV4SettingsTags `json:"structTags"` }
type ModelV4SettingsImports ¶
type ModelV4SettingsTags ¶
type ModelV4SettingsTags struct {
Allowed optional[stringList] `json:"allowed"`
}
type ModelV4Vendor ¶
type ModelV4Vendor struct {
In stringList `json:"in"`
}
type TransformContext ¶
type TransformContext struct {
// contains filtered or unexported fields
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.