lifecycle

package
v0.0.0-...-6673b58 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2025 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TimeoutEnvKey = "JFROG_CLI_REQUEST_TIMEOUT"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateFromBuildsSpec

type CreateFromBuildsSpec struct {
	Builds []SourceBuildSpec `json:"builds,omitempty"`
}

type CreateFromReleaseBundlesSpec

type CreateFromReleaseBundlesSpec struct {
	ReleaseBundles []SourceReleaseBundleSpec `json:"releaseBundles,omitempty"`
}

type ReleaseBundleCreateCommand

type ReleaseBundleCreateCommand struct {
	// contains filtered or unexported fields
}

func NewReleaseBundleCreateCommand

func NewReleaseBundleCreateCommand() *ReleaseBundleCreateCommand

func (*ReleaseBundleCreateCommand) CommandName

func (rbc *ReleaseBundleCreateCommand) CommandName() string

func (*ReleaseBundleCreateCommand) Run

func (rbc *ReleaseBundleCreateCommand) Run() error

func (*ReleaseBundleCreateCommand) ServerDetails

func (rbc *ReleaseBundleCreateCommand) ServerDetails() (*config.ServerDetails, error)

func (*ReleaseBundleCreateCommand) SetBuildsSpecPath

func (rbc *ReleaseBundleCreateCommand) SetBuildsSpecPath(buildsSpecPath string) *ReleaseBundleCreateCommand

Deprecated

func (*ReleaseBundleCreateCommand) SetReleaseBundleName

func (rbc *ReleaseBundleCreateCommand) SetReleaseBundleName(releaseBundleName string) *ReleaseBundleCreateCommand

func (*ReleaseBundleCreateCommand) SetReleaseBundleProject

func (rbc *ReleaseBundleCreateCommand) SetReleaseBundleProject(rbProjectKey string) *ReleaseBundleCreateCommand

func (*ReleaseBundleCreateCommand) SetReleaseBundleVersion

func (rbc *ReleaseBundleCreateCommand) SetReleaseBundleVersion(releaseBundleVersion string) *ReleaseBundleCreateCommand

func (*ReleaseBundleCreateCommand) SetReleaseBundlesSpecPath

func (rbc *ReleaseBundleCreateCommand) SetReleaseBundlesSpecPath(releaseBundlesSpecPath string) *ReleaseBundleCreateCommand

Deprecated

func (*ReleaseBundleCreateCommand) SetServerDetails

func (rbc *ReleaseBundleCreateCommand) SetServerDetails(serverDetails *config.ServerDetails) *ReleaseBundleCreateCommand

func (*ReleaseBundleCreateCommand) SetSigningKeyName

func (rbc *ReleaseBundleCreateCommand) SetSigningKeyName(signingKeyName string) *ReleaseBundleCreateCommand

func (*ReleaseBundleCreateCommand) SetSpec

func (*ReleaseBundleCreateCommand) SetSync

type ReleaseBundleDeleteCommand

type ReleaseBundleDeleteCommand struct {
	// contains filtered or unexported fields
}

func NewReleaseBundleDeleteCommand

func NewReleaseBundleDeleteCommand() *ReleaseBundleDeleteCommand

func (*ReleaseBundleDeleteCommand) CommandName

func (rbd *ReleaseBundleDeleteCommand) CommandName() string

func (*ReleaseBundleDeleteCommand) Run

func (rbd *ReleaseBundleDeleteCommand) Run() error

func (*ReleaseBundleDeleteCommand) ServerDetails

func (rbd *ReleaseBundleDeleteCommand) ServerDetails() (*config.ServerDetails, error)

func (*ReleaseBundleDeleteCommand) SetEnvironment

func (rbd *ReleaseBundleDeleteCommand) SetEnvironment(environment string) *ReleaseBundleDeleteCommand

func (*ReleaseBundleDeleteCommand) SetQuiet

func (*ReleaseBundleDeleteCommand) SetReleaseBundleName

func (rbd *ReleaseBundleDeleteCommand) SetReleaseBundleName(releaseBundleName string) *ReleaseBundleDeleteCommand

func (*ReleaseBundleDeleteCommand) SetReleaseBundleProject

func (rbd *ReleaseBundleDeleteCommand) SetReleaseBundleProject(rbProjectKey string) *ReleaseBundleDeleteCommand

func (*ReleaseBundleDeleteCommand) SetReleaseBundleVersion

func (rbd *ReleaseBundleDeleteCommand) SetReleaseBundleVersion(releaseBundleVersion string) *ReleaseBundleDeleteCommand

func (*ReleaseBundleDeleteCommand) SetServerDetails

func (rbd *ReleaseBundleDeleteCommand) SetServerDetails(serverDetails *config.ServerDetails) *ReleaseBundleDeleteCommand

func (*ReleaseBundleDeleteCommand) SetSync

type ReleaseBundleDistributeCommand

type ReleaseBundleDistributeCommand struct {
	// contains filtered or unexported fields
}

func NewReleaseBundleDistributeCommand

func NewReleaseBundleDistributeCommand() *ReleaseBundleDistributeCommand

func (*ReleaseBundleDistributeCommand) CommandName

func (rbd *ReleaseBundleDistributeCommand) CommandName() string

func (*ReleaseBundleDistributeCommand) Run

func (*ReleaseBundleDistributeCommand) ServerDetails

func (rbd *ReleaseBundleDistributeCommand) ServerDetails() (*config.ServerDetails, error)

func (*ReleaseBundleDistributeCommand) SetAutoCreateRepo

func (rbd *ReleaseBundleDistributeCommand) SetAutoCreateRepo(autoCreateRepo bool) *ReleaseBundleDistributeCommand

func (*ReleaseBundleDistributeCommand) SetDistributionRules

func (rbd *ReleaseBundleDistributeCommand) SetDistributionRules(distributionRules *spec.DistributionRules) *ReleaseBundleDistributeCommand

func (*ReleaseBundleDistributeCommand) SetDryRun

func (*ReleaseBundleDistributeCommand) SetMaxWaitMinutes

func (rbd *ReleaseBundleDistributeCommand) SetMaxWaitMinutes(maxWaitMinutes int) *ReleaseBundleDistributeCommand

func (*ReleaseBundleDistributeCommand) SetPathMappingPattern

func (rbd *ReleaseBundleDistributeCommand) SetPathMappingPattern(pathMappingPattern string) *ReleaseBundleDistributeCommand

func (*ReleaseBundleDistributeCommand) SetPathMappingTarget

func (rbd *ReleaseBundleDistributeCommand) SetPathMappingTarget(pathMappingTarget string) *ReleaseBundleDistributeCommand

func (*ReleaseBundleDistributeCommand) SetReleaseBundleName

func (rbd *ReleaseBundleDistributeCommand) SetReleaseBundleName(releaseBundleName string) *ReleaseBundleDistributeCommand

func (*ReleaseBundleDistributeCommand) SetReleaseBundleProject

func (rbd *ReleaseBundleDistributeCommand) SetReleaseBundleProject(rbProjectKey string) *ReleaseBundleDistributeCommand

func (*ReleaseBundleDistributeCommand) SetReleaseBundleVersion

func (rbd *ReleaseBundleDistributeCommand) SetReleaseBundleVersion(releaseBundleVersion string) *ReleaseBundleDistributeCommand

func (*ReleaseBundleDistributeCommand) SetServerDetails

func (*ReleaseBundleDistributeCommand) SetSync

type ReleaseBundleExportCommand

type ReleaseBundleExportCommand struct {
	// contains filtered or unexported fields
}

func NewReleaseBundleExportCommand

func NewReleaseBundleExportCommand() *ReleaseBundleExportCommand

func (*ReleaseBundleExportCommand) CommandName

func (rbe *ReleaseBundleExportCommand) CommandName() string

func (*ReleaseBundleExportCommand) Run

func (rbe *ReleaseBundleExportCommand) Run() (err error)

func (*ReleaseBundleExportCommand) ServerDetails

func (rbe *ReleaseBundleExportCommand) ServerDetails() (*config.ServerDetails, error)

func (*ReleaseBundleExportCommand) SetDownloadConfiguration

func (rbe *ReleaseBundleExportCommand) SetDownloadConfiguration(downloadConfig artUtils.DownloadConfiguration) *ReleaseBundleExportCommand

func (*ReleaseBundleExportCommand) SetProject

func (*ReleaseBundleExportCommand) SetReleaseBundleExportModifications

func (rbe *ReleaseBundleExportCommand) SetReleaseBundleExportModifications(modifications services.Modifications) *ReleaseBundleExportCommand

func (*ReleaseBundleExportCommand) SetReleaseBundleName

func (rbe *ReleaseBundleExportCommand) SetReleaseBundleName(releaseBundleName string) *ReleaseBundleExportCommand

func (*ReleaseBundleExportCommand) SetReleaseBundleVersion

func (rbe *ReleaseBundleExportCommand) SetReleaseBundleVersion(releaseBundleVersion string) *ReleaseBundleExportCommand

func (*ReleaseBundleExportCommand) SetServerDetails

func (rbe *ReleaseBundleExportCommand) SetServerDetails(serverDetails *config.ServerDetails) *ReleaseBundleExportCommand

func (*ReleaseBundleExportCommand) SetTargetPath

func (rbe *ReleaseBundleExportCommand) SetTargetPath(target string) *ReleaseBundleExportCommand

type ReleaseBundleImportCommand

type ReleaseBundleImportCommand struct {
	// contains filtered or unexported fields
}

func NewReleaseBundleImportCommand

func NewReleaseBundleImportCommand() *ReleaseBundleImportCommand

func (*ReleaseBundleImportCommand) CommandName

func (rbi *ReleaseBundleImportCommand) CommandName() string

func (*ReleaseBundleImportCommand) Run

func (rbi *ReleaseBundleImportCommand) Run() (err error)

func (*ReleaseBundleImportCommand) ServerDetails

func (rbi *ReleaseBundleImportCommand) ServerDetails() (*config.ServerDetails, error)

func (*ReleaseBundleImportCommand) SetFilepath

func (rbi *ReleaseBundleImportCommand) SetFilepath(filePath string) *ReleaseBundleImportCommand

func (*ReleaseBundleImportCommand) SetServerDetails

func (rbi *ReleaseBundleImportCommand) SetServerDetails(serverDetails *config.ServerDetails) *ReleaseBundleImportCommand

type ReleaseBundlePromoteCommand

type ReleaseBundlePromoteCommand struct {
	// contains filtered or unexported fields
}

func NewReleaseBundlePromoteCommand

func NewReleaseBundlePromoteCommand() *ReleaseBundlePromoteCommand

func (*ReleaseBundlePromoteCommand) CommandName

func (rbp *ReleaseBundlePromoteCommand) CommandName() string

func (*ReleaseBundlePromoteCommand) Run

func (*ReleaseBundlePromoteCommand) ServerDetails

func (rbp *ReleaseBundlePromoteCommand) ServerDetails() (*config.ServerDetails, error)

func (*ReleaseBundlePromoteCommand) SetEnvironment

func (rbp *ReleaseBundlePromoteCommand) SetEnvironment(environment string) *ReleaseBundlePromoteCommand

func (*ReleaseBundlePromoteCommand) SetExcludeReposPatterns

func (rbp *ReleaseBundlePromoteCommand) SetExcludeReposPatterns(excludeReposPatterns []string) *ReleaseBundlePromoteCommand

func (*ReleaseBundlePromoteCommand) SetIncludeReposPatterns

func (rbp *ReleaseBundlePromoteCommand) SetIncludeReposPatterns(includeReposPatterns []string) *ReleaseBundlePromoteCommand

func (*ReleaseBundlePromoteCommand) SetPromotionType

func (rbp *ReleaseBundlePromoteCommand) SetPromotionType(promotionType string) *ReleaseBundlePromoteCommand

func (*ReleaseBundlePromoteCommand) SetReleaseBundleName

func (rbp *ReleaseBundlePromoteCommand) SetReleaseBundleName(releaseBundleName string) *ReleaseBundlePromoteCommand

func (*ReleaseBundlePromoteCommand) SetReleaseBundleProject

func (rbp *ReleaseBundlePromoteCommand) SetReleaseBundleProject(rbProjectKey string) *ReleaseBundlePromoteCommand

func (*ReleaseBundlePromoteCommand) SetReleaseBundleVersion

func (rbp *ReleaseBundlePromoteCommand) SetReleaseBundleVersion(releaseBundleVersion string) *ReleaseBundlePromoteCommand

func (*ReleaseBundlePromoteCommand) SetServerDetails

func (rbp *ReleaseBundlePromoteCommand) SetServerDetails(serverDetails *config.ServerDetails) *ReleaseBundlePromoteCommand

func (*ReleaseBundlePromoteCommand) SetSigningKeyName

func (rbp *ReleaseBundlePromoteCommand) SetSigningKeyName(signingKeyName string) *ReleaseBundlePromoteCommand

func (*ReleaseBundlePromoteCommand) SetSync

type ReleaseBundleRemoteDeleteCommand

type ReleaseBundleRemoteDeleteCommand struct {
	// contains filtered or unexported fields
}

func NewReleaseBundleRemoteDeleteCommand

func NewReleaseBundleRemoteDeleteCommand() *ReleaseBundleRemoteDeleteCommand

func (*ReleaseBundleRemoteDeleteCommand) CommandName

func (rbd *ReleaseBundleRemoteDeleteCommand) CommandName() string

func (*ReleaseBundleRemoteDeleteCommand) Run

func (*ReleaseBundleRemoteDeleteCommand) ServerDetails

func (*ReleaseBundleRemoteDeleteCommand) SetDistributionRules

func (rbd *ReleaseBundleRemoteDeleteCommand) SetDistributionRules(distributionRules *spec.DistributionRules) *ReleaseBundleRemoteDeleteCommand

func (*ReleaseBundleRemoteDeleteCommand) SetDryRun

func (*ReleaseBundleRemoteDeleteCommand) SetMaxWaitMinutes

func (rbd *ReleaseBundleRemoteDeleteCommand) SetMaxWaitMinutes(maxWaitMinutes int) *ReleaseBundleRemoteDeleteCommand

func (*ReleaseBundleRemoteDeleteCommand) SetQuiet

func (*ReleaseBundleRemoteDeleteCommand) SetReleaseBundleName

func (rbd *ReleaseBundleRemoteDeleteCommand) SetReleaseBundleName(releaseBundleName string) *ReleaseBundleRemoteDeleteCommand

func (*ReleaseBundleRemoteDeleteCommand) SetReleaseBundleProject

func (rbd *ReleaseBundleRemoteDeleteCommand) SetReleaseBundleProject(rbProjectKey string) *ReleaseBundleRemoteDeleteCommand

func (*ReleaseBundleRemoteDeleteCommand) SetReleaseBundleVersion

func (rbd *ReleaseBundleRemoteDeleteCommand) SetReleaseBundleVersion(releaseBundleVersion string) *ReleaseBundleRemoteDeleteCommand

func (*ReleaseBundleRemoteDeleteCommand) SetServerDetails

func (*ReleaseBundleRemoteDeleteCommand) SetSync

type SourceBuildSpec

type SourceBuildSpec struct {
	Name                string `json:"name,omitempty"`
	Number              string `json:"number,omitempty"`
	Project             string `json:"project,omitempty"`
	IncludeDependencies bool   `json:"includeDependencies,omitempty"`
}

type SourceReleaseBundleSpec

type SourceReleaseBundleSpec struct {
	Name    string `json:"name,omitempty"`
	Version string `json:"version,omitempty"`
	Project string `json:"project,omitempty"`
}

Jump to

Keyboard shortcuts

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