transferconfig

package
v2.29.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2023 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL