instrumentation

package
v0.54.0 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2026 License: Apache-2.0 Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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