Documentation
¶
Index ¶
- Constants
- func BuildXrayDependencyTree(treeHelper map[string]DepTreeNode, nodeId string) (*xrayUtils.GraphNode, map[string]*DepTreeNode)
- func CreateXrayServiceManager(serverDetails *config.ServerDetails, options ...XrayManagerOption) (manager *xray.XrayServicesManager, err error)
- func CreateXrayServiceManagerAndGetVersion(serviceDetails *config.ServerDetails, options ...XrayManagerOption) (*xray.XrayServicesManager, string, error)
- func IsEntitled(xrayManager *xray.XrayServicesManager, xrayVersion, featureId string) (entitled bool, err error)
- type DepTreeNode
- type XrayManagerOption
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 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
Click to show internal directories.
Click to hide internal directories.