Documentation
¶
Index ¶
- Constants
- Variables
- func AssembleUrnFromUUID(uuid string) string
- func DetermineCategory(args []string, engine workflow.Engine) []string
- func DetermineStage(isCiEnvironment bool) string
- func GetKnownCommandsAndFlags(engine workflow.Engine) ([]string, []string)
- func GetTargetId(path string, idType TargetIdType, options ...TargetIdOptions) (string, error)
- func ToProductCodename(product string) string
- type TargetIdOptions
- type TargetIdType
Constants ¶
View Source
const ( FilesystemTargetId = target.FilesystemTargetId AutoDetectedTargetId = target.AutoDetectedTargetId )
Variables ¶
View Source
var KNOWN_COMMANDS = []string{
"oss",
"test",
"code",
"monitor",
"iac",
"rules",
"describe",
"container",
"debug",
"config",
"auth",
"ignore",
"log4shell",
"policy",
"fix",
"apps",
"capture",
"init",
"push",
"update-exclude-policy",
}
View Source
var WithConfiguredRepository = target.WithConfiguredRepository
Functions ¶
func AssembleUrnFromUUID ¶
func DetermineStage ¶
func GetTargetId ¶
func GetTargetId(path string, idType TargetIdType, options ...TargetIdOptions) (string, error)
GetTargetId returns the target ID for the given path Deprecated: Use target.GetTargetId instead.
func ToProductCodename ¶
Types ¶
type TargetIdOptions ¶
type TargetIdOptions = target.TargetIdOptions
type TargetIdType ¶
type TargetIdType = target.TargetIdType
Click to show internal directories.
Click to hide internal directories.