Documentation ¶
Index ¶
- type Conflict
- type ConflictType
- type TransferConfigCommand
- func (tcc *TransferConfigCommand) CommandName() string
- func (tcc *TransferConfigCommand) NewPreChecksRunner(targetServiceManager *artifactory.ArtifactoryServicesManager, configXml string) (runner *commandsUtils.PreCheckRunner)
- func (tcc *TransferConfigCommand) Run() (err error)
- func (tcc *TransferConfigCommand) SetDryRun(dryRun bool) *TransferConfigCommand
- func (tcc *TransferConfigCommand) SetExcludeReposPatterns(excludeReposPatterns []string) *TransferConfigCommand
- func (tcc *TransferConfigCommand) SetForce(force bool) *TransferConfigCommand
- func (tcc *TransferConfigCommand) SetIncludeReposPatterns(includeReposPatterns []string) *TransferConfigCommand
- func (tcc *TransferConfigCommand) SetPreChecks(preChecks bool) *TransferConfigCommand
- func (tcc *TransferConfigCommand) SetVerbose(verbose bool) *TransferConfigCommand
- func (tcc *TransferConfigCommand) SetWorkingDir(workingDir string) *TransferConfigCommand
- type TransferConfigMergeCommand
- func (tcmc *TransferConfigMergeCommand) CommandName() string
- func (tcmc *TransferConfigMergeCommand) Run() (csvPath string, err error)
- func (tcmc *TransferConfigMergeCommand) SetExcludeProjectsPatterns(excludeProjectsPatterns []string) *TransferConfigMergeCommand
- func (tcmc *TransferConfigMergeCommand) SetExcludeReposPatterns(excludeReposPatterns []string) *TransferConfigMergeCommand
- func (tcmc *TransferConfigMergeCommand) SetIncludeProjectsPatterns(includeProjectsPatterns []string) *TransferConfigMergeCommand
- func (tcmc *TransferConfigMergeCommand) SetIncludeReposPatterns(includeReposPatterns []string) *TransferConfigMergeCommand
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conflict ¶ added in v2.28.0
type Conflict struct { Type ConflictType `json:"type,omitempty"` SourceName string `json:"source_name,omitempty"` TargetName string `json:"target_name,omitempty"` DifferentProperties string `json:"different_properties,omitempty"` }
type ConflictType ¶ added in v2.28.0
type ConflictType string
const ( Repository ConflictType = "Repository" Project ConflictType = "Project" )
type TransferConfigCommand ¶
type TransferConfigCommand struct {
// contains filtered or unexported fields
}
func NewTransferConfigCommand ¶
func NewTransferConfigCommand(sourceServer, targetServer *config.ServerDetails) *TransferConfigCommand
func (*TransferConfigCommand) CommandName ¶
func (tcc *TransferConfigCommand) CommandName() string
func (*TransferConfigCommand) NewPreChecksRunner ¶ added in v2.27.0
func (tcc *TransferConfigCommand) NewPreChecksRunner(targetServiceManager *artifactory.ArtifactoryServicesManager, configXml string) (runner *commandsUtils.PreCheckRunner)
Creates the Pre-checks runner for the config import command
func (*TransferConfigCommand) Run ¶
func (tcc *TransferConfigCommand) Run() (err error)
func (*TransferConfigCommand) SetDryRun ¶
func (tcc *TransferConfigCommand) SetDryRun(dryRun bool) *TransferConfigCommand
func (*TransferConfigCommand) SetExcludeReposPatterns ¶
func (tcc *TransferConfigCommand) SetExcludeReposPatterns(excludeReposPatterns []string) *TransferConfigCommand
func (*TransferConfigCommand) SetForce ¶
func (tcc *TransferConfigCommand) SetForce(force bool) *TransferConfigCommand
func (*TransferConfigCommand) SetIncludeReposPatterns ¶
func (tcc *TransferConfigCommand) SetIncludeReposPatterns(includeReposPatterns []string) *TransferConfigCommand
func (*TransferConfigCommand) SetPreChecks ¶ added in v2.27.0
func (tcc *TransferConfigCommand) SetPreChecks(preChecks bool) *TransferConfigCommand
func (*TransferConfigCommand) SetVerbose ¶ added in v2.18.1
func (tcc *TransferConfigCommand) SetVerbose(verbose bool) *TransferConfigCommand
func (*TransferConfigCommand) SetWorkingDir ¶ added in v2.25.0
func (tcc *TransferConfigCommand) SetWorkingDir(workingDir string) *TransferConfigCommand
type TransferConfigMergeCommand ¶ added in v2.28.0
type TransferConfigMergeCommand struct {
// contains filtered or unexported fields
}
func NewTransferConfigMergeCommand ¶ added in v2.28.0
func NewTransferConfigMergeCommand(sourceServer, targetServer *config.ServerDetails) *TransferConfigMergeCommand
func (*TransferConfigMergeCommand) CommandName ¶ added in v2.28.0
func (tcmc *TransferConfigMergeCommand) CommandName() string
func (*TransferConfigMergeCommand) Run ¶ added in v2.28.0
func (tcmc *TransferConfigMergeCommand) Run() (csvPath string, err error)
func (*TransferConfigMergeCommand) SetExcludeProjectsPatterns ¶ added in v2.28.0
func (tcmc *TransferConfigMergeCommand) SetExcludeProjectsPatterns(excludeProjectsPatterns []string) *TransferConfigMergeCommand
func (*TransferConfigMergeCommand) SetExcludeReposPatterns ¶ added in v2.28.0
func (tcmc *TransferConfigMergeCommand) SetExcludeReposPatterns(excludeReposPatterns []string) *TransferConfigMergeCommand
func (*TransferConfigMergeCommand) SetIncludeProjectsPatterns ¶ added in v2.28.0
func (tcmc *TransferConfigMergeCommand) SetIncludeProjectsPatterns(includeProjectsPatterns []string) *TransferConfigMergeCommand
func (*TransferConfigMergeCommand) SetIncludeReposPatterns ¶ added in v2.28.0
func (tcmc *TransferConfigMergeCommand) SetIncludeReposPatterns(includeReposPatterns []string) *TransferConfigMergeCommand
Click to show internal directories.
Click to hide internal directories.