Documentation
¶
Index ¶
- Variables
- func WithConfig(ctx context.Context, cfg *Configuration) context.Context
- type AnalysisDepth
- type AnalyzeAPIsConfiguration
- type AnalyzeConfiguration
- type AnalyzeDependenciesConfiguration
- type AnalyzeOwnershipConfiguration
- type AnalyzeReliabilityConfiguration
- type AnalyzeSQLConfiguration
- type Configuration
- type KeygenConfiguration
- type PostgresConfiguration
- type PostgresEnvironmentConfig
- type PsqlConfig
- type ReleaseConfiguration
Constants ¶
This section is empty.
Variables ¶
View Source
var AllowableAnalysisDepths = []AnalysisDepth{Diff, Repo, Organization}
Functions ¶
func WithConfig ¶
func WithConfig(ctx context.Context, cfg *Configuration) context.Context
Types ¶
type AnalysisDepth ¶ added in v0.12.0
type AnalysisDepth string
const ( Diff AnalysisDepth = "Diff" Repo AnalysisDepth = "Repo" Organization AnalysisDepth = "Organization" )
type AnalyzeAPIsConfiguration ¶ added in v0.12.0
type AnalyzeAPIsConfiguration struct {
Enabled *bool `yaml:"enabled"`
}
type AnalyzeConfiguration ¶ added in v0.12.0
type AnalyzeConfiguration struct {
AIAgent string `yaml:"aiAgent"`
Depth AnalysisDepth `yaml:"depth"`
Protos analyze.ProtosConfiguration `yaml:"protos"`
APIs AnalyzeAPIsConfiguration `yaml:"apis"`
SQL AnalyzeSQLConfiguration `yaml:"sql"`
Reliability AnalyzeReliabilityConfiguration `yaml:"reliability"`
Dependencies AnalyzeDependenciesConfiguration `yaml:"dependencies"`
Ownership AnalyzeOwnershipConfiguration `yaml:"ownership"`
}
type AnalyzeDependenciesConfiguration ¶ added in v0.12.0
type AnalyzeDependenciesConfiguration struct {
Enabled *bool `yaml:"enabled"`
}
type AnalyzeOwnershipConfiguration ¶ added in v0.12.0
type AnalyzeOwnershipConfiguration struct {
Enabled *bool `yaml:"enabled"`
}
type AnalyzeReliabilityConfiguration ¶ added in v0.12.0
type AnalyzeReliabilityConfiguration struct {
Enabled *bool `yaml:"enabled"`
}
type AnalyzeSQLConfiguration ¶ added in v0.12.0
type AnalyzeSQLConfiguration struct {
Enabled *bool `yaml:"enabled"`
}
type Configuration ¶
type Configuration struct {
Analyze AnalyzeConfiguration `yaml:"analyze"`
Keygen KeygenConfiguration `yaml:"keygen"`
Postgres PostgresConfiguration `yaml:"postgres"`
Release ReleaseConfiguration `yaml:"release"`
}
func LoadConfig ¶
func LoadConfig(configDirPath string) (*Configuration, error)
type KeygenConfiguration ¶ added in v0.9.0
type KeygenConfiguration struct {
Length *int `yaml:"length"`
}
type PostgresConfiguration ¶
type PostgresConfiguration struct {
Environments map[string]PostgresEnvironmentConfig `yaml:"environments"`
}
type PsqlConfig ¶
type ReleaseConfiguration ¶ added in v0.10.0
type ReleaseConfiguration struct{}
Click to show internal directories.
Click to hide internal directories.