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 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 Manifest ¶
type Manifest struct { TerraformRootModuleDirectories util.StringSet `json:"terraform_root_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"` }
Click to show internal directories.
Click to hide internal directories.