xray

package
v1.25.0 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const MaxUniqueAppearances = 10

Variables

This section is empty.

Functions

func BuildXrayDependencyTree

func BuildXrayDependencyTree(treeHelper map[string]DepTreeNode, nodeId string) (*xrayUtils.GraphNode, map[string]*DepTreeNode)

func CreateXrayServiceManager

func CreateXrayServiceManager(serverDetails *config.ServerDetails, options ...XrayManagerOption) (manager *xray.XrayServicesManager, err error)

func CreateXrayServiceManagerAndGetVersion

func CreateXrayServiceManagerAndGetVersion(serviceDetails *config.ServerDetails, options ...XrayManagerOption) (*xray.XrayServicesManager, string, error)

func IsEntitled added in v1.21.6

func IsEntitled(xrayManager *xray.XrayServicesManager, xrayVersion, featureId string) (entitled bool, err error)

Types

type DepTreeNode

type DepTreeNode struct {
	Classifier *string   `json:"classifier"`
	Types      *[]string `json:"types"`
	Children   []string  `json:"children"`
}

type XrayManagerOption added in v1.18.0

type XrayManagerOption func(f *xray.XrayServicesManager)

Options for creating an Xray service manager.

func WithScopedProjectKey added in v1.18.0

func WithScopedProjectKey(projectKey string) XrayManagerOption

Global reference to the project key, used for API endpoints that require it for authentication

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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