instrumentation

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 26, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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 AssembleUrnFromUUID(uuid string) string

func DetermineCategory

func DetermineCategory(args []string, engine workflow.Engine) []string

func DetermineStage

func DetermineStage(isCiEnvironment bool) string

func GetKnownCommandsAndFlags

func GetKnownCommandsAndFlags(engine workflow.Engine) ([]string, []string)

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

func ToProductCodename(product string) string

Types

type TargetIdOptions

type TargetIdOptions = target.TargetIdOptions

type TargetIdType

type TargetIdType = target.TargetIdType

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL