Documentation ¶
Index ¶
- func CreateTestWorkspace(t *testing.T, sourceDir string) (string, func())
- func GetAndAssertNode(t *testing.T, modules []*services.GraphNode, moduleId string) *services.GraphNode
- func GetModule(modules []*services.GraphNode, moduleId string) *services.GraphNode
- type AuditCommand
- func (auditCmd *AuditCommand) ScanDependencyTree(modulesDependencyTrees []*services.GraphNode) error
- func (auditCmd *AuditCommand) ServerDetails() (*config.ServerDetails, error)
- func (auditCmd *AuditCommand) SetFail(fail bool) *AuditCommand
- func (auditCmd *AuditCommand) SetIncludeLicenses(include bool) *AuditCommand
- func (auditCmd *AuditCommand) SetIncludeVulnerabilities(include bool) *AuditCommand
- func (auditCmd *AuditCommand) SetOutputFormat(format xrutils.OutputFormat) *AuditCommand
- func (auditCmd *AuditCommand) SetProject(project string) *AuditCommand
- func (auditCmd *AuditCommand) SetServerDetails(server *config.ServerDetails) *AuditCommand
- func (auditCmd *AuditCommand) SetTargetRepoPath(repoPath string) *AuditCommand
- func (auditCmd *AuditCommand) SetWatches(watches []string) *AuditCommand
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTestWorkspace ¶ added in v2.8.0
func GetAndAssertNode ¶ added in v2.8.0
Types ¶
type AuditCommand ¶ added in v2.4.0
type AuditCommand struct {
// contains filtered or unexported fields
}
func NewAuditCommand ¶ added in v2.4.0
func NewAuditCommand() *AuditCommand
func (*AuditCommand) ScanDependencyTree ¶ added in v2.5.0
func (auditCmd *AuditCommand) ScanDependencyTree(modulesDependencyTrees []*services.GraphNode) error
func (*AuditCommand) ServerDetails ¶ added in v2.4.0
func (auditCmd *AuditCommand) ServerDetails() (*config.ServerDetails, error)
func (*AuditCommand) SetFail ¶ added in v2.8.0
func (auditCmd *AuditCommand) SetFail(fail bool) *AuditCommand
func (*AuditCommand) SetIncludeLicenses ¶ added in v2.4.0
func (auditCmd *AuditCommand) SetIncludeLicenses(include bool) *AuditCommand
func (*AuditCommand) SetIncludeVulnerabilities ¶ added in v2.4.0
func (auditCmd *AuditCommand) SetIncludeVulnerabilities(include bool) *AuditCommand
func (*AuditCommand) SetOutputFormat ¶ added in v2.4.0
func (auditCmd *AuditCommand) SetOutputFormat(format xrutils.OutputFormat) *AuditCommand
func (*AuditCommand) SetProject ¶ added in v2.4.0
func (auditCmd *AuditCommand) SetProject(project string) *AuditCommand
func (*AuditCommand) SetServerDetails ¶ added in v2.4.0
func (auditCmd *AuditCommand) SetServerDetails(server *config.ServerDetails) *AuditCommand
func (*AuditCommand) SetTargetRepoPath ¶ added in v2.4.0
func (auditCmd *AuditCommand) SetTargetRepoPath(repoPath string) *AuditCommand
func (*AuditCommand) SetWatches ¶ added in v2.4.0
func (auditCmd *AuditCommand) SetWatches(watches []string) *AuditCommand
Click to show internal directories.
Click to hide internal directories.