Documentation
¶
Index ¶
- Constants
- type HelmChartInfo
- type ProjectAnalysis
- func (a *ProjectAnalysis) Analyze(dir string) error
- func (a *ProjectAnalysis) Builders() []build.InitBuilder
- func (a *ProjectAnalysis) ChartPaths() map[string][]string
- func (a *ProjectAnalysis) HelmChartInfo() HelmChartInfo
- func (a *ProjectAnalysis) KustomizeBases() []string
- func (a *ProjectAnalysis) KustomizePaths() []string
- func (a *ProjectAnalysis) Manifests() []string
Constants ¶
View Source
const (
ChartYaml = "Chart.yaml"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HelmChartInfo ¶
type HelmChartInfo struct {
// contains filtered or unexported fields
}
func (*HelmChartInfo) Charts ¶
func (h *HelmChartInfo) Charts() map[string][]string
type ProjectAnalysis ¶
type ProjectAnalysis struct {
// contains filtered or unexported fields
}
func NewAnalyzer ¶
func NewAnalyzer(c config.Config) *ProjectAnalysis
NewAnalyzer sets up the analysis of the directory based on the initializer configuration
func (*ProjectAnalysis) Analyze ¶
func (a *ProjectAnalysis) Analyze(dir string) error
Analyze recursively walks a directory and notifies the analyzers of files and enterDir and exitDir events at the end of the analyze function the analysis struct's analyzers should contain the state that we can use to do further computation.
func (*ProjectAnalysis) Builders ¶
func (a *ProjectAnalysis) Builders() []build.InitBuilder
func (*ProjectAnalysis) ChartPaths ¶
func (a *ProjectAnalysis) ChartPaths() map[string][]string
func (*ProjectAnalysis) HelmChartInfo ¶
func (a *ProjectAnalysis) HelmChartInfo() HelmChartInfo
func (*ProjectAnalysis) KustomizeBases ¶
func (a *ProjectAnalysis) KustomizeBases() []string
func (*ProjectAnalysis) KustomizePaths ¶
func (a *ProjectAnalysis) KustomizePaths() []string
func (*ProjectAnalysis) Manifests ¶
func (a *ProjectAnalysis) Manifests() []string
Click to show internal directories.
Click to hide internal directories.