Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildDependencyTree ¶
func BuildDependencyTree(params technologies.BuildInfoBomGeneratorParams) (dependencyTrees []*xrayUtils.GraphNode, uniqueDeps []string, err error)
func DefaultGemrcPaths ¶ added in v1.37.0
func DefaultGemrcPaths() []string
DefaultGemrcPaths returns the gemrc file candidates this feature consults: ~/.gemrc, followed by any files listed in GEMRC. A later file's ':sources:' overrides an earlier one.
Types ¶
type GemGraphInput ¶
type GemGraphInput struct {
Graph GemGraph `json:"graph"`
}
GemGraphInput represents the top-level structure for unmarshalling the gem dependency graph.
type GemRef ¶
type GemrcRegistryConfig ¶ added in v1.37.0
type GemrcRegistryConfig struct {
ArtifactoryUrl string
RepoName string
AuthUser string
AuthToken string
}
GemrcRegistryConfig holds the Artifactory URL, repo name, and credentials parsed from a gemrc source entry.
func GetNativeGemRegistryConfig ¶ added in v1.37.0
func GetNativeGemRegistryConfig() (*GemrcRegistryConfig, error)
GetNativeGemRegistryConfig reads gemrc's ':sources:' list and returns the first Artifactory gems source found. This is the ~/.gemrc fallback consulted only when no ruby.yaml ('jf ruby-config') is present -- see setRepoFromGemrc in the curation package for the full priority.
type NotConfiguredError ¶ added in v1.37.0
type NotConfiguredError struct {
// contains filtered or unexported fields
}
func (*NotConfiguredError) Error ¶ added in v1.37.0
func (e *NotConfiguredError) Error() string