Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // All the following "unknown" variables are being injected at // build time via the cross-platform directive inside the Makefile // // Version is the semver coming from the VERSION file Version = "unknown" // GitSHA is the git ref that the cli was built from GitSHA = "unknown" // BuildTime is a human-readable time when the cli was built at BuildTime = "unknown" )
View Source
var SupportedPackageManagers = []string{"dpkg-query", "rpm"} // @afiune can we support ym and apk?
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func GenerateMarkdownDocs ¶ added in v0.2.4
func GenerateMarkdownDocs()
func NewDefaultState ¶ added in v0.1.3
func NewDefaultState() cliState
NewDefaultState creates a new cliState with some defaults
Types ¶
type PackageManifest ¶ added in v0.2.3
type PackageManifest struct {
OsPkgInfoList []OsPkgInfo `json:"os_pkg_info_list"`
}
Source Files ¶
- access_token.go
- api.go
- cli_state.go
- cli_unix.go
- compliance.go
- compliance_aws.go
- compliance_azure.go
- compliance_gcp.go
- configure.go
- docs.go
- emoji.go
- emoji_unix.go
- event.go
- flags.go
- integration.go
- integration_aws.go
- integration_aws_cloudwatch.go
- integration_azure.go
- integration_docker_hub.go
- integration_docker_v2.go
- integration_ecr.go
- integration_gcp.go
- integration_gcr.go
- integration_jira.go
- integration_pagerduty.go
- integration_slack_channel.go
- lql.go
- outputs.go
- package_manifest.go
- prompt.go
- root.go
- version.go
- vuln_container.go
- vuln_host.go
- vulnerability.go
Click to show internal directories.
Click to hide internal directories.