Documentation ¶
Index ¶
- Constants
- type BuildAddDependenciesCommand
- func (badc *BuildAddDependenciesCommand) CommandName() string
- func (badc *BuildAddDependenciesCommand) Result() *commandsutils.Result
- func (badc *BuildAddDependenciesCommand) RtDetails() (*config.ArtifactoryDetails, error)
- func (badc *BuildAddDependenciesCommand) Run() error
- func (badc *BuildAddDependenciesCommand) SetBuildConfiguration(buildConfiguration *utils.BuildConfiguration) *BuildAddDependenciesCommand
- func (badc *BuildAddDependenciesCommand) SetDependenciesSpec(dependenciesSpec *spec.SpecFiles) *BuildAddDependenciesCommand
- func (badc *BuildAddDependenciesCommand) SetDryRun(dryRun bool) *BuildAddDependenciesCommand
- type BuildAddGitCommand
- func (config *BuildAddGitCommand) CommandName() string
- func (config *BuildAddGitCommand) DoCollect(issuesConfig *IssuesConfiguration, lastVcsRevision string) ([]buildinfo.AffectedIssue, error)
- func (config *BuildAddGitCommand) RtDetails() (*utilsconfig.ArtifactoryDetails, error)
- func (config *BuildAddGitCommand) Run() error
- func (config *BuildAddGitCommand) SetBuildConfiguration(buildConfiguration *utils.BuildConfiguration) *BuildAddGitCommand
- func (config *BuildAddGitCommand) SetConfigFilePath(configFilePath string) *BuildAddGitCommand
- func (config *BuildAddGitCommand) SetDotGitPath(dotGitPath string) *BuildAddGitCommand
- func (config *BuildAddGitCommand) SetIssuesConfig(issuesConfig *IssuesConfiguration) *BuildAddGitCommand
- func (config *BuildAddGitCommand) SetServerId(serverId string) *BuildAddGitCommand
- type BuildAppendCommand
- func (bac *BuildAppendCommand) CommandName() string
- func (bac *BuildAppendCommand) RtDetails() (*config.ArtifactoryDetails, error)
- func (bac *BuildAppendCommand) Run() error
- func (bac *BuildAppendCommand) SetBuildConfiguration(buildConfiguration *utils.BuildConfiguration) *BuildAppendCommand
- func (bac *BuildAppendCommand) SetBuildNameToAppend(buildName string) *BuildAppendCommand
- func (bac *BuildAppendCommand) SetBuildNumberToAppend(buildNumber string) *BuildAppendCommand
- func (bac *BuildAppendCommand) SetRtDetails(rtDetails *config.ArtifactoryDetails) *BuildAppendCommand
- type BuildCleanCommand
- type BuildCollectEnvCommand
- func (bcec *BuildCollectEnvCommand) CommandName() string
- func (bcec *BuildCollectEnvCommand) RtDetails() (*config.ArtifactoryDetails, error)
- func (bcec *BuildCollectEnvCommand) Run() error
- func (bcec *BuildCollectEnvCommand) SetBuildConfiguration(buildConfiguration *utils.BuildConfiguration) *BuildCollectEnvCommand
- type BuildDiscardCommand
- func (buildDiscard *BuildDiscardCommand) CommandName() string
- func (buildDiscard *BuildDiscardCommand) RtDetails() (*config.ArtifactoryDetails, error)
- func (buildDiscard *BuildDiscardCommand) Run() error
- func (buildDiscard *BuildDiscardCommand) SetDiscardBuildsParams(params services.DiscardBuildsParams) *BuildDiscardCommand
- func (buildDiscard *BuildDiscardCommand) SetRtDetails(rtDetails *config.ArtifactoryDetails) *BuildDiscardCommand
- type BuildDistributeCommnad
- func (bdc *BuildDistributeCommnad) CommandName() string
- func (bdc *BuildDistributeCommnad) RtDetails() (*config.ArtifactoryDetails, error)
- func (bdc *BuildDistributeCommnad) Run() error
- func (bdc *BuildDistributeCommnad) SetBuildDistributionParams(buildDistributeParams services.BuildDistributionParams) *BuildDistributeCommnad
- func (bdc *BuildDistributeCommnad) SetDryRun(dryRun bool) *BuildDistributeCommnad
- func (bdc *BuildDistributeCommnad) SetRtDetails(rtDetails *config.ArtifactoryDetails) *BuildDistributeCommnad
- type BuildPromotionCommand
- func (bpc *BuildPromotionCommand) CommandName() string
- func (bpc *BuildPromotionCommand) RtDetails() (*config.ArtifactoryDetails, error)
- func (bpc *BuildPromotionCommand) Run() error
- func (bpc *BuildPromotionCommand) SetDryRun(dryRun bool) *BuildPromotionCommand
- func (bpc *BuildPromotionCommand) SetPromotionParams(params services.PromotionParams) *BuildPromotionCommand
- func (bpc *BuildPromotionCommand) SetRtDetails(rtDetails *config.ArtifactoryDetails) *BuildPromotionCommand
- type BuildPublishCommand
- func (bpc *BuildPublishCommand) CommandName() string
- func (bpc *BuildPublishCommand) RtDetails() (*config.ArtifactoryDetails, error)
- func (bpc *BuildPublishCommand) Run() error
- func (bpc *BuildPublishCommand) SetBuildConfiguration(buildConfiguration *utils.BuildConfiguration) *BuildPublishCommand
- func (bpc *BuildPublishCommand) SetConfig(config *buildinfo.Configuration) *BuildPublishCommand
- func (bpc *BuildPublishCommand) SetRtDetails(rtDetails *config.ArtifactoryDetails) *BuildPublishCommand
- type BuildScanCommand
- func (bsc *BuildScanCommand) CommandName() string
- func (bsc *BuildScanCommand) RtDetails() (*config.ArtifactoryDetails, error)
- func (bsc *BuildScanCommand) Run() error
- func (bsc *BuildScanCommand) SetBuildConfiguration(buildConfiguration *utils.BuildConfiguration) *BuildScanCommand
- func (bsc *BuildScanCommand) SetFailBuild(failBuild bool) *BuildScanCommand
- func (bsc *BuildScanCommand) SetRtDetails(rtDetails *config.ArtifactoryDetails) *BuildScanCommand
- type IssuesConfiguration
- type LogCmd
Constants ¶
View Source
const ( GitLogLimit = 100 ConfigIssuesPrefix = "issues." ConfigParseValueError = "Failed parsing %s from configuration file: %s" MissingConfigurationError = "Configuration file must contain: %s" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildAddDependenciesCommand ¶
type BuildAddDependenciesCommand struct {
// contains filtered or unexported fields
}
func NewBuildAddDependenciesCommand ¶
func NewBuildAddDependenciesCommand() *BuildAddDependenciesCommand
func (*BuildAddDependenciesCommand) CommandName ¶
func (badc *BuildAddDependenciesCommand) CommandName() string
func (*BuildAddDependenciesCommand) Result ¶
func (badc *BuildAddDependenciesCommand) Result() *commandsutils.Result
func (*BuildAddDependenciesCommand) RtDetails ¶
func (badc *BuildAddDependenciesCommand) RtDetails() (*config.ArtifactoryDetails, error)
func (*BuildAddDependenciesCommand) Run ¶
func (badc *BuildAddDependenciesCommand) Run() error
func (*BuildAddDependenciesCommand) SetBuildConfiguration ¶
func (badc *BuildAddDependenciesCommand) SetBuildConfiguration(buildConfiguration *utils.BuildConfiguration) *BuildAddDependenciesCommand
func (*BuildAddDependenciesCommand) SetDependenciesSpec ¶
func (badc *BuildAddDependenciesCommand) SetDependenciesSpec(dependenciesSpec *spec.SpecFiles) *BuildAddDependenciesCommand
func (*BuildAddDependenciesCommand) SetDryRun ¶
func (badc *BuildAddDependenciesCommand) SetDryRun(dryRun bool) *BuildAddDependenciesCommand
type BuildAddGitCommand ¶
type BuildAddGitCommand struct {
// contains filtered or unexported fields
}
func NewBuildAddGitCommand ¶
func NewBuildAddGitCommand() *BuildAddGitCommand
func (*BuildAddGitCommand) CommandName ¶
func (config *BuildAddGitCommand) CommandName() string
func (*BuildAddGitCommand) DoCollect ¶
func (config *BuildAddGitCommand) DoCollect(issuesConfig *IssuesConfiguration, lastVcsRevision string) ([]buildinfo.AffectedIssue, error)
func (*BuildAddGitCommand) RtDetails ¶
func (config *BuildAddGitCommand) RtDetails() (*utilsconfig.ArtifactoryDetails, error)
Priorities for selecting server: 1. 'server-id' flag. 2. 'serverID' in config file. 3. Default server.
func (*BuildAddGitCommand) Run ¶
func (config *BuildAddGitCommand) Run() error
func (*BuildAddGitCommand) SetBuildConfiguration ¶
func (config *BuildAddGitCommand) SetBuildConfiguration(buildConfiguration *utils.BuildConfiguration) *BuildAddGitCommand
func (*BuildAddGitCommand) SetConfigFilePath ¶
func (config *BuildAddGitCommand) SetConfigFilePath(configFilePath string) *BuildAddGitCommand
func (*BuildAddGitCommand) SetDotGitPath ¶
func (config *BuildAddGitCommand) SetDotGitPath(dotGitPath string) *BuildAddGitCommand
func (*BuildAddGitCommand) SetIssuesConfig ¶
func (config *BuildAddGitCommand) SetIssuesConfig(issuesConfig *IssuesConfiguration) *BuildAddGitCommand
func (*BuildAddGitCommand) SetServerId ¶
func (config *BuildAddGitCommand) SetServerId(serverId string) *BuildAddGitCommand
type BuildAppendCommand ¶ added in v1.2.0
type BuildAppendCommand struct {
// contains filtered or unexported fields
}
func NewBuildAppendCommand ¶ added in v1.2.0
func NewBuildAppendCommand() *BuildAppendCommand
func (*BuildAppendCommand) CommandName ¶ added in v1.2.0
func (bac *BuildAppendCommand) CommandName() string
func (*BuildAppendCommand) RtDetails ¶ added in v1.2.0
func (bac *BuildAppendCommand) RtDetails() (*config.ArtifactoryDetails, error)
func (*BuildAppendCommand) Run ¶ added in v1.2.0
func (bac *BuildAppendCommand) Run() error
func (*BuildAppendCommand) SetBuildConfiguration ¶ added in v1.2.0
func (bac *BuildAppendCommand) SetBuildConfiguration(buildConfiguration *utils.BuildConfiguration) *BuildAppendCommand
func (*BuildAppendCommand) SetBuildNameToAppend ¶ added in v1.2.0
func (bac *BuildAppendCommand) SetBuildNameToAppend(buildName string) *BuildAppendCommand
func (*BuildAppendCommand) SetBuildNumberToAppend ¶ added in v1.2.0
func (bac *BuildAppendCommand) SetBuildNumberToAppend(buildNumber string) *BuildAppendCommand
func (*BuildAppendCommand) SetRtDetails ¶ added in v1.2.0
func (bac *BuildAppendCommand) SetRtDetails(rtDetails *config.ArtifactoryDetails) *BuildAppendCommand
type BuildCleanCommand ¶
type BuildCleanCommand struct {
// contains filtered or unexported fields
}
func NewBuildCleanCommand ¶
func NewBuildCleanCommand() *BuildCleanCommand
func (*BuildCleanCommand) CommandName ¶
func (bcc *BuildCleanCommand) CommandName() string
func (*BuildCleanCommand) RtDetails ¶
func (bcc *BuildCleanCommand) RtDetails() (*config.ArtifactoryDetails, error)
Returns the default Artifactory server
func (*BuildCleanCommand) Run ¶
func (bcc *BuildCleanCommand) Run() error
func (*BuildCleanCommand) SetBuildConfiguration ¶
func (bcc *BuildCleanCommand) SetBuildConfiguration(buildConfiguration *utils.BuildConfiguration) *BuildCleanCommand
type BuildCollectEnvCommand ¶
type BuildCollectEnvCommand struct {
// contains filtered or unexported fields
}
func NewBuildCollectEnvCommand ¶
func NewBuildCollectEnvCommand() *BuildCollectEnvCommand
func (*BuildCollectEnvCommand) CommandName ¶
func (bcec *BuildCollectEnvCommand) CommandName() string
func (*BuildCollectEnvCommand) RtDetails ¶
func (bcec *BuildCollectEnvCommand) RtDetails() (*config.ArtifactoryDetails, error)
Returns the default configured Artifactory server
func (*BuildCollectEnvCommand) Run ¶
func (bcec *BuildCollectEnvCommand) Run() error
func (*BuildCollectEnvCommand) SetBuildConfiguration ¶
func (bcec *BuildCollectEnvCommand) SetBuildConfiguration(buildConfiguration *utils.BuildConfiguration) *BuildCollectEnvCommand
type BuildDiscardCommand ¶
type BuildDiscardCommand struct { services.DiscardBuildsParams // contains filtered or unexported fields }
func NewBuildDiscardCommand ¶
func NewBuildDiscardCommand() *BuildDiscardCommand
func (*BuildDiscardCommand) CommandName ¶
func (buildDiscard *BuildDiscardCommand) CommandName() string
func (*BuildDiscardCommand) RtDetails ¶
func (buildDiscard *BuildDiscardCommand) RtDetails() (*config.ArtifactoryDetails, error)
func (*BuildDiscardCommand) Run ¶
func (buildDiscard *BuildDiscardCommand) Run() error
func (*BuildDiscardCommand) SetDiscardBuildsParams ¶
func (buildDiscard *BuildDiscardCommand) SetDiscardBuildsParams(params services.DiscardBuildsParams) *BuildDiscardCommand
func (*BuildDiscardCommand) SetRtDetails ¶
func (buildDiscard *BuildDiscardCommand) SetRtDetails(rtDetails *config.ArtifactoryDetails) *BuildDiscardCommand
type BuildDistributeCommnad ¶
type BuildDistributeCommnad struct { services.BuildDistributionParams // contains filtered or unexported fields }
func NewBuildDistributeCommnad ¶
func NewBuildDistributeCommnad() *BuildDistributeCommnad
func (*BuildDistributeCommnad) CommandName ¶
func (bdc *BuildDistributeCommnad) CommandName() string
func (*BuildDistributeCommnad) RtDetails ¶
func (bdc *BuildDistributeCommnad) RtDetails() (*config.ArtifactoryDetails, error)
func (*BuildDistributeCommnad) Run ¶
func (bdc *BuildDistributeCommnad) Run() error
func (*BuildDistributeCommnad) SetBuildDistributionParams ¶
func (bdc *BuildDistributeCommnad) SetBuildDistributionParams(buildDistributeParams services.BuildDistributionParams) *BuildDistributeCommnad
func (*BuildDistributeCommnad) SetDryRun ¶
func (bdc *BuildDistributeCommnad) SetDryRun(dryRun bool) *BuildDistributeCommnad
func (*BuildDistributeCommnad) SetRtDetails ¶
func (bdc *BuildDistributeCommnad) SetRtDetails(rtDetails *config.ArtifactoryDetails) *BuildDistributeCommnad
type BuildPromotionCommand ¶
type BuildPromotionCommand struct { services.PromotionParams // contains filtered or unexported fields }
func NewBuildPromotionCommand ¶
func NewBuildPromotionCommand() *BuildPromotionCommand
func (*BuildPromotionCommand) CommandName ¶
func (bpc *BuildPromotionCommand) CommandName() string
func (*BuildPromotionCommand) RtDetails ¶
func (bpc *BuildPromotionCommand) RtDetails() (*config.ArtifactoryDetails, error)
func (*BuildPromotionCommand) Run ¶
func (bpc *BuildPromotionCommand) Run() error
func (*BuildPromotionCommand) SetDryRun ¶
func (bpc *BuildPromotionCommand) SetDryRun(dryRun bool) *BuildPromotionCommand
func (*BuildPromotionCommand) SetPromotionParams ¶
func (bpc *BuildPromotionCommand) SetPromotionParams(params services.PromotionParams) *BuildPromotionCommand
func (*BuildPromotionCommand) SetRtDetails ¶
func (bpc *BuildPromotionCommand) SetRtDetails(rtDetails *config.ArtifactoryDetails) *BuildPromotionCommand
type BuildPublishCommand ¶
type BuildPublishCommand struct {
// contains filtered or unexported fields
}
func NewBuildPublishCommand ¶
func NewBuildPublishCommand() *BuildPublishCommand
func (*BuildPublishCommand) CommandName ¶
func (bpc *BuildPublishCommand) CommandName() string
func (*BuildPublishCommand) RtDetails ¶
func (bpc *BuildPublishCommand) RtDetails() (*config.ArtifactoryDetails, error)
func (*BuildPublishCommand) Run ¶
func (bpc *BuildPublishCommand) Run() error
func (*BuildPublishCommand) SetBuildConfiguration ¶
func (bpc *BuildPublishCommand) SetBuildConfiguration(buildConfiguration *utils.BuildConfiguration) *BuildPublishCommand
func (*BuildPublishCommand) SetConfig ¶
func (bpc *BuildPublishCommand) SetConfig(config *buildinfo.Configuration) *BuildPublishCommand
func (*BuildPublishCommand) SetRtDetails ¶
func (bpc *BuildPublishCommand) SetRtDetails(rtDetails *config.ArtifactoryDetails) *BuildPublishCommand
type BuildScanCommand ¶
type BuildScanCommand struct {
// contains filtered or unexported fields
}
func NewBuildScanCommand ¶
func NewBuildScanCommand() *BuildScanCommand
func (*BuildScanCommand) CommandName ¶
func (bsc *BuildScanCommand) CommandName() string
func (*BuildScanCommand) RtDetails ¶
func (bsc *BuildScanCommand) RtDetails() (*config.ArtifactoryDetails, error)
func (*BuildScanCommand) Run ¶
func (bsc *BuildScanCommand) Run() error
func (*BuildScanCommand) SetBuildConfiguration ¶
func (bsc *BuildScanCommand) SetBuildConfiguration(buildConfiguration *utils.BuildConfiguration) *BuildScanCommand
func (*BuildScanCommand) SetFailBuild ¶
func (bsc *BuildScanCommand) SetFailBuild(failBuild bool) *BuildScanCommand
func (*BuildScanCommand) SetRtDetails ¶
func (bsc *BuildScanCommand) SetRtDetails(rtDetails *config.ArtifactoryDetails) *BuildScanCommand
type IssuesConfiguration ¶
type LogCmd ¶
type LogCmd struct {
// contains filtered or unexported fields
}
func (*LogCmd) GetErrWriter ¶
func (logCmd *LogCmd) GetErrWriter() io.WriteCloser
func (*LogCmd) GetStdWriter ¶
func (logCmd *LogCmd) GetStdWriter() io.WriteCloser
Click to show internal directories.
Click to hide internal directories.