Documentation
¶
Index ¶
- Constants
- func BuildDependencyTree(serverDetails *config.ServerDetails, depsRepo string, ...) ([]*xrayUtils.GraphNode, []string, error)
- func GetMavenPluginInstallationGoals(pluginPath string) []string
- func GetModuleTreeAndDependencies(module *moduleDepTree) (*xrayUtils.GraphNode, []string)
- type DepTreeManager
- type DepTreeParams
- type MavenDepTreeCmd
- type MavenDepTreeManager
Constants ¶
View Source
const (
GavPackageTypeIdentifier = "gav://"
)
Variables ¶
This section is empty.
Functions ¶
func BuildDependencyTree ¶
func BuildDependencyTree(serverDetails *config.ServerDetails, depsRepo string, useWrapper, isMavenDepTreeInstalled bool, tech coreutils.Technology) ([]*xrayUtils.GraphNode, []string, error)
func GetModuleTreeAndDependencies ¶
Returns a dependency tree and a flat list of the module's dependencies for the given module
Types ¶
type DepTreeManager ¶
type DepTreeManager struct {
// contains filtered or unexported fields
}
func NewDepTreeManager ¶
func NewDepTreeManager(params *DepTreeParams) DepTreeManager
type DepTreeParams ¶
type DepTreeParams struct {
UseWrapper bool
Server *config.ServerDetails
DepsRepo string
}
type MavenDepTreeCmd ¶
type MavenDepTreeCmd string
const ( Projects MavenDepTreeCmd = "projects" Tree MavenDepTreeCmd = "tree" )
type MavenDepTreeManager ¶
type MavenDepTreeManager struct {
DepTreeManager
// contains filtered or unexported fields
}
func NewMavenDepTreeManager ¶
func NewMavenDepTreeManager(params *DepTreeParams, cmdName MavenDepTreeCmd, isDepTreeInstalled bool) *MavenDepTreeManager
func (*MavenDepTreeManager) RunMavenDepTree ¶
func (mdt *MavenDepTreeManager) RunMavenDepTree() (string, error)
Click to show internal directories.
Click to hide internal directories.