Documentation ¶
Index ¶
Constants ¶
View Source
const ( // VCSToolAzureServer represents the Azure server VCS tool name VCSToolAzureServer = "azureserver" // VCSToolAzureCloud represents the Azure cloud VCS tool name VCSToolAzureCloud = "azurecloud" // VCSToolBitbucket represents the Bitbucket VCS tool name VCSToolBitbucket = "bitbucket" // VCSToolBitbucketServer represents the Bitbucket server VCS tool name VCSToolBitbucketServer = "bitbucketserver" // VCSToolGitHub represents the GitHub VCS tool name VCSToolGitHub = "github" // VCSToolGitLabCloud represents the Gitlab Cloud VCS tool name VCSToolGitLabCloud = "gitlabcloud" // VCSToolGitLabOnPrem represents the Gitlab On-Prem VCS tool name VCSToolGitLabOnPrem = "gitlabonprem" // VCSToolGit represents the Git VCS tool name VCSToolGit = "git" // VCSToolGitHubEnterprise represents the GitHubEnterprise VCS tool name VCSToolGitHubEnterprise = "githubenterprise" )
View Source
const ( ExitCodeSuccess = 0 ExitCodeError = 1 ExitCodeWarning = 2 ExitCodeNotAuthorized = 100 ExitCodeNegative = -1 )
Variables ¶
View Source
var (
Version string
)
Functions ¶
func Execute ¶
func Execute(args []string)
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 TableWriter ¶ added in v1.0.22
func TableWriter(rows ...Row)
Types ¶
type SBOMImport ¶ added in v1.0.22
type SBOMImport struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.