Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToAppConfig ¶
Types ¶
type Config ¶
type Config struct { // GlobalRewrites replaces <import1> with <import2>, // including imports in remote protofiles. GlobalRewrites map[string]string `yaml:"globalRewrites"` VendoredForeigns []string `yaml:"vendor"` // Paths to local protofiles or their directories // that should be added to the tree Paths []string `yaml:"paths"` // Output controls where to put the resulting tree. Output string `yaml:"output"` // RepoModuleName is current repo's name. RepoModuleName string `yaml:"moduleName"` Fetchers Fetchers `yaml:"fetchers"` // RepoToBranch maps repositories to desired branches. RepoToBranch map[string]string `yaml:"branches"` }
Config is a model for pbtree.yaml.
type FetcherConf ¶ added in v0.9.6
type Fetchers ¶
type Fetchers struct {
Stack []FetcherConf `yaml:"stack"`
}
Click to show internal directories.
Click to hide internal directories.