Documentation ¶
Index ¶
- func RunMvn(mu *MvnUtils) error
- type MvnCommand
- func (mc *MvnCommand) CommandName() string
- func (mc *MvnCommand) IsDetailedSummary() bool
- func (mc *MvnCommand) IsXrayScan() bool
- func (mc *MvnCommand) Result() *commandsutils.Result
- func (mc *MvnCommand) Run() error
- func (mc *MvnCommand) ServerDetails() (*config.ServerDetails, error)
- func (mc *MvnCommand) SetConfigPath(configPath string) *MvnCommand
- func (mc *MvnCommand) SetConfiguration(configuration *build.BuildConfiguration) *MvnCommand
- func (mc *MvnCommand) SetDetailedSummary(detailedSummary bool) *MvnCommand
- func (mc *MvnCommand) SetGoals(goals []string) *MvnCommand
- func (mc *MvnCommand) SetInsecureTls(insecureTls bool) *MvnCommand
- func (mc *MvnCommand) SetScanOutputFormat(format format.OutputFormat) *MvnCommand
- func (mc *MvnCommand) SetServerDetails(serverDetails *config.ServerDetails) *MvnCommand
- func (mc *MvnCommand) SetThreads(threads int) *MvnCommand
- func (mc *MvnCommand) SetXrayScan(xrayScan bool) *MvnCommand
- type MvnUtils
- func (mu *MvnUtils) GetBuildInfoFilePath() string
- func (mu *MvnUtils) SetBuildArtifactsDetailsFile(buildArtifactsDetailsFile string) *MvnUtils
- func (mu *MvnUtils) SetBuildConf(buildConf *buildUtils.BuildConfiguration) *MvnUtils
- func (mu *MvnUtils) SetConfig(vConfig *viper.Viper) *MvnUtils
- func (mu *MvnUtils) SetDisableDeploy(disableDeploy bool) *MvnUtils
- func (mu *MvnUtils) SetGoals(goals []string) *MvnUtils
- func (mu *MvnUtils) SetInsecureTls(insecureTls bool) *MvnUtils
- func (mu *MvnUtils) SetOutputWriter(writer io.Writer) *MvnUtils
- func (mu *MvnUtils) SetThreads(threads int) *MvnUtils
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MvnCommand ¶
type MvnCommand struct {
// contains filtered or unexported fields
}
func NewMvnCommand ¶
func NewMvnCommand() *MvnCommand
func (*MvnCommand) CommandName ¶
func (mc *MvnCommand) CommandName() string
func (*MvnCommand) IsDetailedSummary ¶
func (mc *MvnCommand) IsDetailedSummary() bool
func (*MvnCommand) IsXrayScan ¶
func (mc *MvnCommand) IsXrayScan() bool
func (*MvnCommand) Result ¶
func (mc *MvnCommand) Result() *commandsutils.Result
func (*MvnCommand) Run ¶
func (mc *MvnCommand) Run() error
func (*MvnCommand) ServerDetails ¶
func (mc *MvnCommand) ServerDetails() (*config.ServerDetails, error)
Returns the ServerDetails. The information returns from the config file provided.
func (*MvnCommand) SetConfigPath ¶
func (mc *MvnCommand) SetConfigPath(configPath string) *MvnCommand
func (*MvnCommand) SetConfiguration ¶
func (mc *MvnCommand) SetConfiguration(configuration *build.BuildConfiguration) *MvnCommand
func (*MvnCommand) SetDetailedSummary ¶
func (mc *MvnCommand) SetDetailedSummary(detailedSummary bool) *MvnCommand
func (*MvnCommand) SetGoals ¶
func (mc *MvnCommand) SetGoals(goals []string) *MvnCommand
func (*MvnCommand) SetInsecureTls ¶
func (mc *MvnCommand) SetInsecureTls(insecureTls bool) *MvnCommand
func (*MvnCommand) SetScanOutputFormat ¶ added in v2.4.1
func (mc *MvnCommand) SetScanOutputFormat(format format.OutputFormat) *MvnCommand
func (*MvnCommand) SetServerDetails ¶
func (mc *MvnCommand) SetServerDetails(serverDetails *config.ServerDetails) *MvnCommand
func (*MvnCommand) SetThreads ¶
func (mc *MvnCommand) SetThreads(threads int) *MvnCommand
func (*MvnCommand) SetXrayScan ¶
func (mc *MvnCommand) SetXrayScan(xrayScan bool) *MvnCommand
type MvnUtils ¶ added in v2.56.6
type MvnUtils struct {
// contains filtered or unexported fields
}
func NewMvnUtils ¶ added in v2.56.6
func NewMvnUtils() *MvnUtils
func (*MvnUtils) GetBuildInfoFilePath ¶ added in v2.56.6
GetBuildInfoFilePath returns the path to the temporary build info file This file stores build-info details and is populated by the Maven extractor after CalcDependencies() is called
func (*MvnUtils) SetBuildArtifactsDetailsFile ¶ added in v2.56.6
func (*MvnUtils) SetBuildConf ¶ added in v2.56.6
func (mu *MvnUtils) SetBuildConf(buildConf *buildUtils.BuildConfiguration) *MvnUtils
func (*MvnUtils) SetDisableDeploy ¶ added in v2.56.6
func (*MvnUtils) SetInsecureTls ¶ added in v2.56.6
func (*MvnUtils) SetOutputWriter ¶ added in v2.56.6
func (*MvnUtils) SetThreads ¶ added in v2.56.6
Click to show internal directories.
Click to hide internal directories.