Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GithubIacInventoryScanner ¶
type GithubIacInventoryScanner struct {
User string
OauthToken string
AllRepos bool
PublicRepos bool
ExplicitRepositories []string
Orgs []string
}
func (*GithubIacInventoryScanner) Name ¶
func (g *GithubIacInventoryScanner) Name() string
type GithubRepo ¶
type GithubRepo struct {
// FullName includes the organization/user, as in "soluble-ai/example".
FullName string `json:"full_name"`
// Name is only the repository name, as in "example".
Name string `json:"name"`
// "github.com/"+FullName
GitRepo string `json:"git_repo"`
// CI is the repo's configured CI system, if present.
CISystems []CI `json:"ci_systems,omitempty"`
// TerraformDirs are directories that contain '.tf' files
TerraformDirs []string `json:"terraform_dirs,omitempty"`
// CloudformationDirs are directories that contain cloudformation files
CloudformationDirs []string `json:"cloudformation_dirs,omitempty"`
// DockerfileDirs are... Dockerfile files.
DockerfileDirs []string `json:"dockerfile_files,omitempty"`
// K8sManifestDirs are directories that contain Kubernetes manifest files
K8sManifestDirs []string `json:"k8s_manifest_dirs,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.