Documentation ¶
Index ¶
- func FindGitDir(dir string) (string, error)
- func FindRepoRoot(dir string) (string, error)
- func PartialDecode(name string, buf []byte) map[string]string
- func PartialDecodeJSON(buf []byte) map[string]string
- func PartialDecodeYAML(buf []byte) map[string]string
- type ContentDetector
- type DirDetector
- type FileDetector
- type FinalizeDetector
- type LanguageDetector
- type Manifest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindGitDir ¶ added in v0.4.32
func FindRepoRoot ¶ added in v0.4.32
func PartialDecodeJSON ¶
func PartialDecodeYAML ¶
Types ¶
type ContentDetector ¶
type DirDetector ¶
type FileDetector ¶
type FileDetector interface {
DetectFileName(m *Manifest, path string) ContentDetector
}
type FinalizeDetector ¶ added in v0.4.42
type FinalizeDetector interface {
FinalizeDetection(m *Manifest)
}
type LanguageDetector ¶ added in v0.4.42
type LanguageDetector struct {
// contains filtered or unexported fields
}
func (*LanguageDetector) DetectFileName ¶ added in v0.4.42
func (d *LanguageDetector) DetectFileName(m *Manifest, path string) ContentDetector
func (*LanguageDetector) FinalizeDetection ¶ added in v0.4.42
func (d *LanguageDetector) FinalizeDetection(m *Manifest)
type Manifest ¶
type Manifest struct { TerraformRootModules util.StringSet `json:"terraform_root_modules"` TerraformModules util.StringSet `json:"terraform_modules"` CloudformationFiles util.StringSet `json:"cloudformation_files"` HelmCharts util.StringSet `json:"helm_charts"` KubernetesManifestDirectories util.StringSet `json:"kubernetes_manifest_directories"` CISystems util.StringSet `json:"ci_systems"` DockerDirectories util.StringSet `json:"docker_directories"` GODirectories util.StringSet `json:"go_directories"` PythonDirectories util.StringSet `json:"python_directories"` NodeDirectories util.StringSet `json:"node_directories"` JavaDirectories util.StringSet `json:"java_directories"` RubyDirectories util.StringSet `json:"ruby_directories"` CDKDirectories util.StringSet `json:"cdk_directories"` }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.