Lines Matching defs:Config

147 type Config struct {  struct
148 parent *Config
150 extensionEnabled bool
151 repoRoot string
152 pythonProjectRoot string
153 gazelleManifest *manifest.Manifest
155 excludedPatterns *singlylinkedlist.List
156 ignoreFiles map[string]struct{}
157 ignoreDependencies map[string]struct{}
158 validateImportStatements bool
159 coarseGrainedGeneration bool
160 perFileGeneration bool
161 perFileGenerationIncludeInit bool
162 perPackageGenerationRequireTestEntryPoint bool
163 libraryNamingConvention string
164 binaryNamingConvention string
165 testNamingConvention string
166 defaultVisibility []string
167 visibility []string
168 testFilePattern []string
169 labelConvention string
170 labelNormalization LabelNormalizationType
210 func (c *Config) Parent() *Config {
216 func (c *Config) NewChild() *Config {
243 func (c *Config) AddExcludedPattern(pattern string) {
248 func (c *Config) ExcludedPatterns() *singlylinkedlist.List {
253 func (c *Config) SetExtensionEnabled(enabled bool) {
258 func (c *Config) ExtensionEnabled() bool {
263 func (c *Config) SetPythonProjectRoot(pythonProjectRoot string) {
268 func (c *Config) PythonProjectRoot() string {
274 func (c *Config) SetGazelleManifest(gazelleManifest *manifest.Manifest) {
281 func (c *Config) FindThirdPartyDependency(modName string) (string, bool) {
303 func (c *Config) AddIgnoreFile(file string) {
309 func (c *Config) IgnoresFile(file string) bool {
334 func (c *Config) AddIgnoreDependency(dep string) {
340 func (c *Config) IgnoresDependency(dep string) bool {
361 func (c *Config) SetValidateImportStatements(validate bool) {
368 func (c *Config) ValidateImportStatements() bool {
374 func (c *Config) SetCoarseGrainedGeneration(coarseGrained bool) {
380 func (c *Config) CoarseGrainedGeneration() bool {
386 func (c *Config) SetPerFileGeneration(perFile bool) {
392 func (c *Config) PerFileGeneration() bool {
398 func (c *Config) SetPerFileGenerationIncludeInit(includeInit bool) {
404 func (c *Config) PerFileGenerationIncludeInit() bool {
408 …fig) SetPerPackageGenerationRequireTestEntryPoint(perPackageGenerationRequireTestEntryPoint bool) {
412 func (c *Config) PerPackageGenerationRequireTestEntryPoint() bool {
417 func (c *Config) SetLibraryNamingConvention(libraryNamingConvention string) {
423 func (c *Config) RenderLibraryName(packageName string) string {
428 func (c *Config) SetBinaryNamingConvention(binaryNamingConvention string) {
434 func (c *Config) RenderBinaryName(packageName string) string {
439 func (c *Config) SetTestNamingConvention(testNamingConvention string) {
445 func (c *Config) RenderTestName(packageName string) string {
450 func (c *Config) AppendVisibility(visibility string) {
455 func (c *Config) Visibility() []string {
460 func (c *Config) SetDefaultVisibility(visibility []string) {
465 func (c *Config) DefaultVisibilty() []string {
470 func (c *Config) SetTestFilePattern(patterns []string) {
475 func (c *Config) TestFilePattern() []string {
480 func (c *Config) SetLabelConvention(convention string) {
485 func (c *Config) LabelConvention() string {
490 func (c *Config) SetLabelNormalization(normalizationType LabelNormalizationType) {
495 func (c *Config) LabelNormalization() LabelNormalizationType {
500 …c *Config) FormatThirdPartyDependency(repositoryName string, distributionName string) label.Label {